summaryrefslogtreecommitdiffstats
path: root/branches/1.0/bindings
diff options
context:
space:
mode:
Diffstat (limited to 'branches/1.0/bindings')
-rw-r--r--branches/1.0/bindings/_common/ActionConfig.cxx92
-rw-r--r--branches/1.0/bindings/_common/ActionConfig.h52
-rw-r--r--branches/1.0/bindings/_common/Common.h44
-rw-r--r--branches/1.0/bindings/_common/DDebug.cxx142
-rw-r--r--branches/1.0/bindings/_common/DDebug.h49
-rw-r--r--branches/1.0/bindings/_common/MediaContent.cxx169
-rw-r--r--branches/1.0/bindings/_common/MediaContent.h73
-rw-r--r--branches/1.0/bindings/_common/MediaSessionMgr.cxx114
-rw-r--r--branches/1.0/bindings/_common/MediaSessionMgr.h62
-rw-r--r--branches/1.0/bindings/_common/Msrp.cxx273
-rw-r--r--branches/1.0/bindings/_common/Msrp.h91
-rw-r--r--branches/1.0/bindings/_common/Msrp.i34
-rw-r--r--branches/1.0/bindings/_common/ProxyConsumer.cxx519
-rw-r--r--branches/1.0/bindings/_common/ProxyConsumer.h161
-rw-r--r--branches/1.0/bindings/_common/ProxyPluginMgr.cxx290
-rw-r--r--branches/1.0/bindings/_common/ProxyPluginMgr.h124
-rw-r--r--branches/1.0/bindings/_common/ProxyProducer.cxx438
-rw-r--r--branches/1.0/bindings/_common/ProxyProducer.h137
-rw-r--r--branches/1.0/bindings/_common/SMS.i7
-rw-r--r--branches/1.0/bindings/_common/SMSEncoder.cxx376
-rw-r--r--branches/1.0/bindings/_common/SMSEncoder.h115
-rw-r--r--branches/1.0/bindings/_common/SafeObject.cxx42
-rw-r--r--branches/1.0/bindings/_common/SafeObject.h41
-rw-r--r--branches/1.0/bindings/_common/SipCallback.cxx31
-rw-r--r--branches/1.0/bindings/_common/SipCallback.h54
-rw-r--r--branches/1.0/bindings/_common/SipEvent.cxx306
-rw-r--r--branches/1.0/bindings/_common/SipEvent.h193
-rw-r--r--branches/1.0/bindings/_common/SipMessage.cxx258
-rw-r--r--branches/1.0/bindings/_common/SipMessage.h66
-rw-r--r--branches/1.0/bindings/_common/SipSession.cxx727
-rw-r--r--branches/1.0/bindings/_common/SipSession.h216
-rw-r--r--branches/1.0/bindings/_common/SipStack.cxx524
-rw-r--r--branches/1.0/bindings/_common/SipStack.h109
-rw-r--r--branches/1.0/bindings/_common/SipStack.i258
-rw-r--r--branches/1.0/bindings/_common/SipUri.cxx93
-rw-r--r--branches/1.0/bindings/_common/SipUri.h49
-rw-r--r--branches/1.0/bindings/_common/Xcap.cxx564
-rw-r--r--branches/1.0/bindings/_common/Xcap.h165
-rw-r--r--branches/1.0/bindings/_common/Xcap.i22
-rw-r--r--branches/1.0/bindings/_common/tinyWRAP.i67
-rw-r--r--branches/1.0/bindings/_common/tinyWRAP_config.h68
-rw-r--r--branches/1.0/bindings/autogen.sh38
-rw-r--r--branches/1.0/bindings/csharp/ActionConfig.cs70
-rw-r--r--branches/1.0/bindings/csharp/CallSession.cs116
-rw-r--r--branches/1.0/bindings/csharp/DDebugCallback.cs116
-rw-r--r--branches/1.0/bindings/csharp/DialogEvent.cs43
-rw-r--r--branches/1.0/bindings/csharp/InviteEvent.cs71
-rw-r--r--branches/1.0/bindings/csharp/InviteSession.cs82
-rw-r--r--branches/1.0/bindings/csharp/MediaContent.cs91
-rw-r--r--branches/1.0/bindings/csharp/MediaContentCPIM.cs58
-rw-r--r--branches/1.0/bindings/csharp/MediaSessionMgr.cs81
-rw-r--r--branches/1.0/bindings/csharp/MessagingEvent.cs60
-rw-r--r--branches/1.0/bindings/csharp/MessagingSession.cs61
-rw-r--r--branches/1.0/bindings/csharp/MsrpCallback.cs74
-rw-r--r--branches/1.0/bindings/csharp/MsrpEvent.cs61
-rw-r--r--branches/1.0/bindings/csharp/MsrpMessage.cs101
-rw-r--r--branches/1.0/bindings/csharp/MsrpSession.cs81
-rw-r--r--branches/1.0/bindings/csharp/OptionsEvent.cs54
-rw-r--r--branches/1.0/bindings/csharp/OptionsSession.cs51
-rw-r--r--branches/1.0/bindings/csharp/ProxyAudioConsumer.cs67
-rw-r--r--branches/1.0/bindings/csharp/ProxyAudioConsumerCallback.cs116
-rw-r--r--branches/1.0/bindings/csharp/ProxyAudioProducer.cs62
-rw-r--r--branches/1.0/bindings/csharp/ProxyAudioProducerCallback.cs116
-rw-r--r--branches/1.0/bindings/csharp/ProxyPlugin.cs54
-rw-r--r--branches/1.0/bindings/csharp/ProxyPluginMgr.cs80
-rw-r--r--branches/1.0/bindings/csharp/ProxyPluginMgrCallback.cs88
-rw-r--r--branches/1.0/bindings/csharp/ProxyVideoConsumer.cs66
-rw-r--r--branches/1.0/bindings/csharp/ProxyVideoConsumerCallback.cs130
-rw-r--r--branches/1.0/bindings/csharp/ProxyVideoFrame.cs54
-rw-r--r--branches/1.0/bindings/csharp/ProxyVideoProducer.cs80
-rw-r--r--branches/1.0/bindings/csharp/ProxyVideoProducerCallback.cs116
-rw-r--r--branches/1.0/bindings/csharp/PublicationEvent.cs54
-rw-r--r--branches/1.0/bindings/csharp/PublicationSession.cs56
-rw-r--r--branches/1.0/bindings/csharp/RPMessage.cs62
-rw-r--r--branches/1.0/bindings/csharp/RegistrationEvent.cs60
-rw-r--r--branches/1.0/bindings/csharp/RegistrationSession.cs76
-rw-r--r--branches/1.0/bindings/csharp/SMSData.cs77
-rw-r--r--branches/1.0/bindings/csharp/SMSEncoder.cs74
-rw-r--r--branches/1.0/bindings/csharp/SafeObject.cs57
-rw-r--r--branches/1.0/bindings/csharp/SdpMessage.cs62
-rw-r--r--branches/1.0/bindings/csharp/SipCallback.cs172
-rw-r--r--branches/1.0/bindings/csharp/SipEvent.cs66
-rw-r--r--branches/1.0/bindings/csharp/SipMessage.cs93
-rw-r--r--branches/1.0/bindings/csharp/SipSession.cs112
-rw-r--r--branches/1.0/bindings/csharp/SipStack.cs224
-rw-r--r--branches/1.0/bindings/csharp/SipUri.cs92
-rw-r--r--branches/1.0/bindings/csharp/StackEvent.cs43
-rw-r--r--branches/1.0/bindings/csharp/SubscriptionEvent.cs54
-rw-r--r--branches/1.0/bindings/csharp/SubscriptionSession.cs56
-rw-r--r--branches/1.0/bindings/csharp/XcapCallback.cs74
-rw-r--r--branches/1.0/bindings/csharp/XcapEvent.cs55
-rw-r--r--branches/1.0/bindings/csharp/XcapMessage.cs87
-rw-r--r--branches/1.0/bindings/csharp/XcapSelector.cs92
-rw-r--r--branches/1.0/bindings/csharp/XcapStack.cs142
-rw-r--r--branches/1.0/bindings/csharp/csharp.i53
-rw-r--r--branches/1.0/bindings/csharp/tdav_codec_id_t.cs39
-rw-r--r--branches/1.0/bindings/csharp/test/Program.cs763
-rw-r--r--branches/1.0/bindings/csharp/test/Properties/AssemblyInfo.cs36
-rw-r--r--branches/1.0/bindings/csharp/test/test.csproj245
-rw-r--r--branches/1.0/bindings/csharp/test/test.csproj.user6
-rw-r--r--branches/1.0/bindings/csharp/test_xcap/Program.cs107
-rw-r--r--branches/1.0/bindings/csharp/test_xcap/Properties/AssemblyInfo.cs36
-rw-r--r--branches/1.0/bindings/csharp/test_xcap/test_xcap.csproj188
-rw-r--r--branches/1.0/bindings/csharp/thttp_event_type_t.cs20
-rw-r--r--branches/1.0/bindings/csharp/tinyWRAP.cs31
-rw-r--r--branches/1.0/bindings/csharp/tinyWRAP.sln530
-rw-r--r--branches/1.0/bindings/csharp/tinyWRAP.vcproj396
-rw-r--r--branches/1.0/bindings/csharp/tinyWRAPPINVOKE.cs1521
-rw-r--r--branches/1.0/bindings/csharp/tinyWRAP_wrap.cxx6541
-rw-r--r--branches/1.0/bindings/csharp/tinyWRAP_wrap.h222
-rw-r--r--branches/1.0/bindings/csharp/tmedia_bandwidth_level_t.cs17
-rw-r--r--branches/1.0/bindings/csharp/tmedia_chroma_t.cs24
-rw-r--r--branches/1.0/bindings/csharp/tmedia_qos_strength_t.cs19
-rw-r--r--branches/1.0/bindings/csharp/tmedia_qos_stype_t.cs17
-rw-r--r--branches/1.0/bindings/csharp/tmsrp_event_type_t.cs18
-rw-r--r--branches/1.0/bindings/csharp/tmsrp_request_type_t.cs18
-rw-r--r--branches/1.0/bindings/csharp/tsip_event_type_t.cs21
-rw-r--r--branches/1.0/bindings/csharp/tsip_invite_event_type_t.cs27
-rw-r--r--branches/1.0/bindings/csharp/tsip_message_event_type_t.cs16
-rw-r--r--branches/1.0/bindings/csharp/tsip_options_event_type_t.cs16
-rw-r--r--branches/1.0/bindings/csharp/tsip_publish_event_type_t.cs18
-rw-r--r--branches/1.0/bindings/csharp/tsip_register_event_type_t.cs19
-rw-r--r--branches/1.0/bindings/csharp/tsip_subscribe_event_type_t.cs20
-rw-r--r--branches/1.0/bindings/csharp/twrap_media_type_t.cs19
-rw-r--r--branches/1.0/bindings/csharp/twrap_proxy_plugin_type_t.cs18
-rw-r--r--branches/1.0/bindings/csharp/twrap_rpmessage_type_t.cs19
-rw-r--r--branches/1.0/bindings/csharp/twrap_sms_type_t.cs19
-rw-r--r--branches/1.0/bindings/java/ActionConfig.java59
-rw-r--r--branches/1.0/bindings/java/CallSession.java96
-rw-r--r--branches/1.0/bindings/java/DDebugCallback.java72
-rw-r--r--branches/1.0/bindings/java/DialogEvent.java36
-rw-r--r--branches/1.0/bindings/java/InviteEvent.java59
-rw-r--r--branches/1.0/bindings/java/InviteSession.java69
-rw-r--r--branches/1.0/bindings/java/MediaContent.java66
-rw-r--r--branches/1.0/bindings/java/MediaContentCPIM.java48
-rw-r--r--branches/1.0/bindings/java/MediaSessionMgr.java66
-rw-r--r--branches/1.0/bindings/java/MessagingEvent.java50
-rw-r--r--branches/1.0/bindings/java/MessagingSession.java52
-rw-r--r--branches/1.0/bindings/java/MsrpCallback.java60
-rw-r--r--branches/1.0/bindings/java/MsrpEvent.java50
-rw-r--r--branches/1.0/bindings/java/MsrpMessage.java84
-rw-r--r--branches/1.0/bindings/java/MsrpSession.java68
-rw-r--r--branches/1.0/bindings/java/OptionsEvent.java45
-rw-r--r--branches/1.0/bindings/java/OptionsSession.java44
-rw-r--r--branches/1.0/bindings/java/ProxyAudioConsumer.java56
-rw-r--r--branches/1.0/bindings/java/ProxyAudioConsumerCallback.java72
-rw-r--r--branches/1.0/bindings/java/ProxyAudioProducer.java52
-rw-r--r--branches/1.0/bindings/java/ProxyAudioProducerCallback.java72
-rw-r--r--branches/1.0/bindings/java/ProxyPlugin.java44
-rw-r--r--branches/1.0/bindings/java/ProxyPluginMgr.java66
-rw-r--r--branches/1.0/bindings/java/ProxyPluginMgrCallback.java64
-rw-r--r--branches/1.0/bindings/java/ProxyVideoConsumer.java56
-rw-r--r--branches/1.0/bindings/java/ProxyVideoConsumerCallback.java76
-rw-r--r--branches/1.0/bindings/java/ProxyVideoFrame.java44
-rw-r--r--branches/1.0/bindings/java/ProxyVideoProducer.java68
-rw-r--r--branches/1.0/bindings/java/ProxyVideoProducerCallback.java72
-rw-r--r--branches/1.0/bindings/java/PublicationEvent.java45
-rw-r--r--branches/1.0/bindings/java/PublicationSession.java56
-rw-r--r--branches/1.0/bindings/java/RPMessage.java52
-rw-r--r--branches/1.0/bindings/java/RegistrationEvent.java50
-rw-r--r--branches/1.0/bindings/java/RegistrationSession.java64
-rw-r--r--branches/1.0/bindings/java/SMSData.java64
-rw-r--r--branches/1.0/bindings/java/SMSEncoder.java61
-rw-r--r--branches/1.0/bindings/java/SafeObject.java48
-rw-r--r--branches/1.0/bindings/java/SdpMessage.java52
-rw-r--r--branches/1.0/bindings/java/SipCallback.java88
-rw-r--r--branches/1.0/bindings/java/SipEvent.java54
-rw-r--r--branches/1.0/bindings/java/SipMessage.java81
-rw-r--r--branches/1.0/bindings/java/SipSession.java101
-rw-r--r--branches/1.0/bindings/java/SipStack.java184
-rw-r--r--branches/1.0/bindings/java/SipUri.java76
-rw-r--r--branches/1.0/bindings/java/StackEvent.java36
-rw-r--r--branches/1.0/bindings/java/SubscriptionEvent.java45
-rw-r--r--branches/1.0/bindings/java/SubscriptionSession.java48
-rw-r--r--branches/1.0/bindings/java/XcapCallback.java60
-rw-r--r--branches/1.0/bindings/java/XcapEvent.java45
-rw-r--r--branches/1.0/bindings/java/XcapMessage.java84
-rw-r--r--branches/1.0/bindings/java/XcapSelector.java78
-rw-r--r--branches/1.0/bindings/java/XcapStack.java116
-rw-r--r--branches/1.0/bindings/java/android/ActionConfig.java59
-rw-r--r--branches/1.0/bindings/java/android/CallSession.java96
-rw-r--r--branches/1.0/bindings/java/android/DDebugCallback.java72
-rw-r--r--branches/1.0/bindings/java/android/DialogEvent.java36
-rw-r--r--branches/1.0/bindings/java/android/InviteEvent.java59
-rw-r--r--branches/1.0/bindings/java/android/InviteSession.java69
-rw-r--r--branches/1.0/bindings/java/android/MediaContent.java66
-rw-r--r--branches/1.0/bindings/java/android/MediaContentCPIM.java48
-rw-r--r--branches/1.0/bindings/java/android/MediaSessionMgr.java66
-rw-r--r--branches/1.0/bindings/java/android/MessagingEvent.java50
-rw-r--r--branches/1.0/bindings/java/android/MessagingSession.java52
-rw-r--r--branches/1.0/bindings/java/android/MsrpCallback.java60
-rw-r--r--branches/1.0/bindings/java/android/MsrpEvent.java50
-rw-r--r--branches/1.0/bindings/java/android/MsrpMessage.java84
-rw-r--r--branches/1.0/bindings/java/android/MsrpSession.java68
-rw-r--r--branches/1.0/bindings/java/android/OptionsEvent.java45
-rw-r--r--branches/1.0/bindings/java/android/OptionsSession.java44
-rw-r--r--branches/1.0/bindings/java/android/ProxyAudioConsumer.java56
-rw-r--r--branches/1.0/bindings/java/android/ProxyAudioConsumerCallback.java72
-rw-r--r--branches/1.0/bindings/java/android/ProxyAudioProducer.java52
-rw-r--r--branches/1.0/bindings/java/android/ProxyAudioProducerCallback.java72
-rw-r--r--branches/1.0/bindings/java/android/ProxyPlugin.java44
-rw-r--r--branches/1.0/bindings/java/android/ProxyPluginMgr.java66
-rw-r--r--branches/1.0/bindings/java/android/ProxyPluginMgrCallback.java64
-rw-r--r--branches/1.0/bindings/java/android/ProxyVideoConsumer.java56
-rw-r--r--branches/1.0/bindings/java/android/ProxyVideoConsumerCallback.java76
-rw-r--r--branches/1.0/bindings/java/android/ProxyVideoFrame.java44
-rw-r--r--branches/1.0/bindings/java/android/ProxyVideoProducer.java68
-rw-r--r--branches/1.0/bindings/java/android/ProxyVideoProducerCallback.java72
-rw-r--r--branches/1.0/bindings/java/android/PublicationEvent.java45
-rw-r--r--branches/1.0/bindings/java/android/PublicationSession.java56
-rw-r--r--branches/1.0/bindings/java/android/RPMessage.java52
-rw-r--r--branches/1.0/bindings/java/android/RegistrationEvent.java50
-rw-r--r--branches/1.0/bindings/java/android/RegistrationSession.java64
-rw-r--r--branches/1.0/bindings/java/android/SMSData.java64
-rw-r--r--branches/1.0/bindings/java/android/SMSEncoder.java61
-rw-r--r--branches/1.0/bindings/java/android/SafeObject.java48
-rw-r--r--branches/1.0/bindings/java/android/SdpMessage.java52
-rw-r--r--branches/1.0/bindings/java/android/SipCallback.java88
-rw-r--r--branches/1.0/bindings/java/android/SipEvent.java54
-rw-r--r--branches/1.0/bindings/java/android/SipMessage.java81
-rw-r--r--branches/1.0/bindings/java/android/SipSession.java101
-rw-r--r--branches/1.0/bindings/java/android/SipStack.java184
-rw-r--r--branches/1.0/bindings/java/android/SipUri.java76
-rw-r--r--branches/1.0/bindings/java/android/StackEvent.java36
-rw-r--r--branches/1.0/bindings/java/android/SubscriptionEvent.java45
-rw-r--r--branches/1.0/bindings/java/android/SubscriptionSession.java48
-rw-r--r--branches/1.0/bindings/java/android/XcapCallback.java60
-rw-r--r--branches/1.0/bindings/java/android/XcapEvent.java45
-rw-r--r--branches/1.0/bindings/java/android/XcapMessage.java84
-rw-r--r--branches/1.0/bindings/java/android/XcapSelector.java78
-rw-r--r--branches/1.0/bindings/java/android/XcapStack.java116
-rw-r--r--branches/1.0/bindings/java/android/buildAll.sh14
-rw-r--r--branches/1.0/bindings/java/android/droid-makefile76
-rw-r--r--branches/1.0/bindings/java/android/tdav_codec_id_t.java75
-rw-r--r--branches/1.0/bindings/java/android/thttp_event_type_t.java56
-rw-r--r--branches/1.0/bindings/java/android/tinyWRAP.java12
-rw-r--r--branches/1.0/bindings/java/android/tinyWRAPConstants.java26
-rw-r--r--branches/1.0/bindings/java/android/tinyWRAPJNI.java556
-rw-r--r--branches/1.0/bindings/java/android/tinyWRAP_wrap.cxx9660
-rw-r--r--branches/1.0/bindings/java/android/tinyWRAP_wrap.h174
-rw-r--r--branches/1.0/bindings/java/android/tmedia_bandwidth_level_t.java53
-rw-r--r--branches/1.0/bindings/java/android/tmedia_chroma_t.java60
-rw-r--r--branches/1.0/bindings/java/android/tmedia_qos_strength_t.java55
-rw-r--r--branches/1.0/bindings/java/android/tmedia_qos_stype_t.java53
-rw-r--r--branches/1.0/bindings/java/android/tmsrp_event_type_t.java54
-rw-r--r--branches/1.0/bindings/java/android/tmsrp_request_type_t.java54
-rw-r--r--branches/1.0/bindings/java/android/tsip_event_type_t.java57
-rw-r--r--branches/1.0/bindings/java/android/tsip_invite_event_type_t.java63
-rw-r--r--branches/1.0/bindings/java/android/tsip_message_event_type_t.java52
-rw-r--r--branches/1.0/bindings/java/android/tsip_options_event_type_t.java52
-rw-r--r--branches/1.0/bindings/java/android/tsip_publish_event_type_t.java54
-rw-r--r--branches/1.0/bindings/java/android/tsip_register_event_type_t.java55
-rw-r--r--branches/1.0/bindings/java/android/tsip_subscribe_event_type_t.java56
-rw-r--r--branches/1.0/bindings/java/android/twrap_media_type_t.java55
-rw-r--r--branches/1.0/bindings/java/android/twrap_proxy_plugin_type_t.java54
-rw-r--r--branches/1.0/bindings/java/android/twrap_rpmessage_type_t.java55
-rw-r--r--branches/1.0/bindings/java/android/twrap_sms_type_t.java55
-rw-r--r--branches/1.0/bindings/java/java.i79
-rw-r--r--branches/1.0/bindings/java/tdav_codec_id_t.java75
-rw-r--r--branches/1.0/bindings/java/thttp_event_type_t.java56
-rw-r--r--branches/1.0/bindings/java/tinyWRAP.java12
-rw-r--r--branches/1.0/bindings/java/tinyWRAP.sln478
-rw-r--r--branches/1.0/bindings/java/tinyWRAP.vcproj362
-rw-r--r--branches/1.0/bindings/java/tinyWRAPConstants.java26
-rw-r--r--branches/1.0/bindings/java/tinyWRAPJNI.java556
-rw-r--r--branches/1.0/bindings/java/tinyWRAP_wrap.cxx9660
-rw-r--r--branches/1.0/bindings/java/tinyWRAP_wrap.h174
-rw-r--r--branches/1.0/bindings/java/tmedia_bandwidth_level_t.java53
-rw-r--r--branches/1.0/bindings/java/tmedia_chroma_t.java60
-rw-r--r--branches/1.0/bindings/java/tmedia_qos_strength_t.java55
-rw-r--r--branches/1.0/bindings/java/tmedia_qos_stype_t.java53
-rw-r--r--branches/1.0/bindings/java/tmsrp_event_type_t.java54
-rw-r--r--branches/1.0/bindings/java/tmsrp_request_type_t.java54
-rw-r--r--branches/1.0/bindings/java/tsip_event_type_t.java57
-rw-r--r--branches/1.0/bindings/java/tsip_invite_event_type_t.java63
-rw-r--r--branches/1.0/bindings/java/tsip_message_event_type_t.java52
-rw-r--r--branches/1.0/bindings/java/tsip_options_event_type_t.java52
-rw-r--r--branches/1.0/bindings/java/tsip_publish_event_type_t.java54
-rw-r--r--branches/1.0/bindings/java/tsip_register_event_type_t.java55
-rw-r--r--branches/1.0/bindings/java/tsip_subscribe_event_type_t.java56
-rw-r--r--branches/1.0/bindings/java/twrap_media_type_t.java55
-rw-r--r--branches/1.0/bindings/java/twrap_proxy_plugin_type_t.java54
-rw-r--r--branches/1.0/bindings/java/twrap_rpmessage_type_t.java55
-rw-r--r--branches/1.0/bindings/java/twrap_sms_type_t.java55
-rw-r--r--branches/1.0/bindings/objc/objc.i7
-rw-r--r--branches/1.0/bindings/perl/perl.i7
-rw-r--r--branches/1.0/bindings/perl/tinyWRAP.pm2244
-rw-r--r--branches/1.0/bindings/perl/tinyWRAP_wrap.cxx18775
-rw-r--r--branches/1.0/bindings/python/python.i7
-rw-r--r--branches/1.0/bindings/python/tinyWRAP.py1381
-rw-r--r--branches/1.0/bindings/python/tinyWRAP_wrap.cxx19464
-rw-r--r--branches/1.0/bindings/python/tinyWRAP_wrap.h447
-rw-r--r--branches/1.0/bindings/ruby/ruby.i7
-rw-r--r--branches/1.0/bindings/ruby/tinyWRAP_wrap.cxx4293
-rw-r--r--branches/1.0/bindings/ruby/tinyWRAP_wrap.h28
-rw-r--r--branches/1.0/bindings/vs_2005/csharp/test/Form1.Designer.cs137
-rw-r--r--branches/1.0/bindings/vs_2005/csharp/test/Form1.cs245
-rw-r--r--branches/1.0/bindings/vs_2005/csharp/test/Form1.resx120
-rw-r--r--branches/1.0/bindings/vs_2005/csharp/test/Program.cs42
-rw-r--r--branches/1.0/bindings/vs_2005/csharp/test/Properties/AssemblyInfo.cs33
-rw-r--r--branches/1.0/bindings/vs_2005/csharp/test/Properties/Resources.Designer.cs71
-rw-r--r--branches/1.0/bindings/vs_2005/csharp/test/Properties/Resources.resx117
-rw-r--r--branches/1.0/bindings/vs_2005/csharp/test/Properties/Settings.Designer.cs30
-rw-r--r--branches/1.0/bindings/vs_2005/csharp/test/Properties/Settings.settings7
-rw-r--r--branches/1.0/bindings/vs_2005/csharp/test/test.csproj189
-rw-r--r--branches/1.0/bindings/vs_2005/csharp/tinyWRAP.sln246
-rw-r--r--branches/1.0/bindings/vs_2005/csharp/tinyWRAP.vcproj329
307 files changed, 0 insertions, 101487 deletions
diff --git a/branches/1.0/bindings/_common/ActionConfig.cxx b/branches/1.0/bindings/_common/ActionConfig.cxx
deleted file mode 100644
index 2182433..0000000
--- a/branches/1.0/bindings/_common/ActionConfig.cxx
+++ /dev/null
@@ -1,92 +0,0 @@
-/*
-* Copyright (C) 2009-2010 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*/
-
-#include "ActionConfig.h"
-
-tmedia_type_t _get_media_type(twrap_media_type_t type){
- int media_type = tmedia_none; // Use int because | operator not defined for enumerators
- switch(type){
- case twrap_media_msrp:
- media_type |= tmedia_msrp;
- break;
- case twrap_media_audio:
- media_type |= tmedia_audio;
- break;
- case twrap_media_video:
- media_type |= tmedia_video;
- break;
- case twrap_media_audiovideo:
- media_type |= tmedia_audiovideo;
- break;
- }
- return (tmedia_type_t)media_type;
-}
-
-ActionConfig::ActionConfig()
-{
- this->handle = tsip_action_create(tsip_atype_config,
- TSIP_ACTION_SET_NULL());
-}
-
-ActionConfig::~ActionConfig()
-{
- TSK_OBJECT_SAFE_FREE(this->handle);
-}
-
-bool ActionConfig::addHeader(const char* name, const char* value)
-{
- return (tsip_action_set(this->handle,
- TSIP_ACTION_SET_HEADER(name, value),
- TSIP_ACTION_SET_NULL()) == 0);
-}
-
-ActionConfig* ActionConfig::setResponseLine(short code, const char* phrase)
-{
- int32_t _code = code;
- tsip_action_set(this->handle,
- TSIP_ACTION_SET_RESP_LINE(_code, phrase),
- TSIP_ACTION_SET_NULL());
- return this;
-}
-
-ActionConfig* ActionConfig::setMediaString(twrap_media_type_t type, const char* key, const char* value)
-{
- tmedia_type_t media_type = _get_media_type(type);
- tsip_action_set(this->handle,
- TSIP_ACTION_SET_MEDIA(
- TMEDIA_SESSION_SET_STR(media_type, key, value),
- TMEDIA_SESSION_SET_NULL()),
- TSIP_ACTION_SET_NULL());
-
- return this;
-}
-
-ActionConfig* ActionConfig::setMediaInt(twrap_media_type_t type, const char* key, int value)
-{
- tmedia_type_t media_type = _get_media_type(type);
- tsip_action_set(this->handle,
- TSIP_ACTION_SET_MEDIA(
- TMEDIA_SESSION_SET_INT32(media_type, key, value),
- TMEDIA_SESSION_SET_NULL()),
- TSIP_ACTION_SET_NULL());
-
- return this;
-} \ No newline at end of file
diff --git a/branches/1.0/bindings/_common/ActionConfig.h b/branches/1.0/bindings/_common/ActionConfig.h
deleted file mode 100644
index b2ae0dd..0000000
--- a/branches/1.0/bindings/_common/ActionConfig.h
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
-* Copyright (C) 2009-2010 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-#ifndef TINYWRAP_ACTIONCONFIG_H
-#define TINYWRAP_ACTIONCONFIG_H
-
-#include "tinysip.h"
-#include "Common.h"
-
-class ActionConfig
-{
-public:
- ActionConfig();
- virtual ~ActionConfig();
-
- bool addHeader(const char* name, const char* value);
-
- ActionConfig* setResponseLine(short code, const char* phrase);
- ActionConfig* setMediaString(twrap_media_type_t type, const char* key, const char* value);
- ActionConfig* setMediaInt(twrap_media_type_t type, const char* key, int value);
-
-private:
- tsip_action_handle_t* handle;
-
-#if !defined(SWIG)
-public:
- const tsip_action_handle_t* getHandle()const{
- return this->handle;
- }
-#endif
-};
-
-
-#endif /* TINYWRAP_ACTIONCONFIG_H */
diff --git a/branches/1.0/bindings/_common/Common.h b/branches/1.0/bindings/_common/Common.h
deleted file mode 100644
index a9ce11a..0000000
--- a/branches/1.0/bindings/_common/Common.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
-* Copyright (C) 2009-2010 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-#ifndef TINYWRAP_COMMON_H
-#define TINYWRAP_COMMON_H
-
-#if ANDROID
-# define dyn_cast static_cast
-# define __JNIENV JNIEnv
-#else
-# define dyn_cast dynamic_cast
-# define __JNIENV void
-#endif
-
-typedef enum twrap_media_type_e
-{
- twrap_media_none,
- twrap_media_audio,
- twrap_media_video,
- twrap_media_audiovideo,
- twrap_media_msrp
-}
-twrap_media_type_t;
-
-#endif /* TINYWRAP_COMMON_H */
-
diff --git a/branches/1.0/bindings/_common/DDebug.cxx b/branches/1.0/bindings/_common/DDebug.cxx
deleted file mode 100644
index f9ec73a..0000000
--- a/branches/1.0/bindings/_common/DDebug.cxx
+++ /dev/null
@@ -1,142 +0,0 @@
-/*
-* Copyright (C) 2009-2010 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-#include "DDebug.h"
-
-#include "SipStack.h"
-
-#include "Common.h"
-
-#if ANDROID /* callbacks will fail with jni */
-# include <android/log.h>
-# define ANDROID_DEBUG_TAG "tinyWRAP"
-#endif
-
-/* Very Important ==> never call functions which could raise debug callbacks into callback functions
-* Callbacks should not used with Android (JNI).
-*/
-
-enum cb_type{
- cb_info,
- cb_warn,
- cb_error,
- cb_fatal
-};
-
-int debug_xxx_cb(const void* arg, const char* fmt, enum cb_type type, va_list *app)
-{
- int ret = -1;
- if(!arg){
- return -1;
- }
-
- const SipStack* stack = dyn_cast<const SipStack*>((const SipStack*)arg);
-
- if(stack && stack->getDebugCallback()){
- char* message = tsk_null;
- tsk_sprintf_2(&message, fmt, app);
-
- switch(type){
- case cb_info:
- ret=
-#if ANDROID
- __android_log_write(ANDROID_LOG_INFO, ANDROID_DEBUG_TAG, message);
-#else
- stack->getDebugCallback()-> OnDebugInfo(message);
-#endif
- break;
- case cb_warn:
- ret=
-#if ANDROID
- __android_log_write(ANDROID_LOG_WARN, ANDROID_DEBUG_TAG, message);
-#else
- stack->getDebugCallback()-> OnDebugWarn(message);
-#endif
- break;
- case cb_error:
- ret=
-#if ANDROID
- __android_log_write(ANDROID_LOG_ERROR, ANDROID_DEBUG_TAG, message);
-#else
- stack->getDebugCallback()-> OnDebugError(message);
-#endif
- break;
- case cb_fatal:
- ret=
-#if ANDROID
- __android_log_write(ANDROID_LOG_FATAL, ANDROID_DEBUG_TAG, message);
-#else
- stack->getDebugCallback()-> OnDebugFatal(message);
-#endif
- break;
- }
-
- TSK_FREE(message);
- }
-
- return ret;
-}
-
-int DDebugCallback::debug_info_cb(const void* arg, const char* fmt, ...)
-{
- va_list ap;
- int ret;
-
- va_start(ap, fmt);
- ret = debug_xxx_cb(arg, fmt, cb_info, &ap);
- va_end(ap);
-
- return ret;
-}
-
-int DDebugCallback::debug_warn_cb(const void* arg, const char* fmt, ...){
- va_list ap;
- int ret;
-
- va_start(ap, fmt);
- ret = debug_xxx_cb(arg, fmt, cb_warn, &ap);
- va_end(ap);
-
- return ret;
-}
-
-int DDebugCallback::debug_error_cb(const void* arg, const char* fmt, ...){
- va_list ap;
- int ret;
-
- va_start(ap, fmt);
- ret = debug_xxx_cb(arg, fmt, cb_error, &ap);
- va_end(ap);
-
- return ret;
-}
-
-int DDebugCallback::debug_fatal_cb(const void* arg, const char* fmt, ...){
- va_list ap;
- int ret;
-
- va_start(ap, fmt);
- ret = debug_xxx_cb(arg, fmt, cb_fatal, &ap);
- va_end(ap);
-
- return ret;
-}
-
diff --git a/branches/1.0/bindings/_common/DDebug.h b/branches/1.0/bindings/_common/DDebug.h
deleted file mode 100644
index 776015d..0000000
--- a/branches/1.0/bindings/_common/DDebug.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
-* Copyright (C) 2009-2010 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-#ifndef TINYWRAP_SIP_DEBUG_H
-#define TINYWRAP_SIP_DEBUG_H
-
-class DDebugCallback
-{
-public:
- DDebugCallback() { }
- virtual ~DDebugCallback() {}
-
-
- virtual int OnDebugInfo(const char* message) { return -1; }
- virtual int OnDebugWarn(const char* message) { return -1; }
- virtual int OnDebugError(const char* message) { return -1; }
- virtual int OnDebugFatal(const char* message) { return -1; }
-
-#if !defined(SWIG)
-public:
- static int debug_info_cb(const void* arg, const char* fmt, ...);
- static int debug_warn_cb(const void* arg, const char* fmt, ...);
- static int debug_error_cb(const void* arg, const char* fmt, ...);
- static int debug_fatal_cb(const void* arg, const char* fmt, ...);
-#endif
-
-private:
-
-};
-
-#endif /* TINYWRAP_SIP_DEBUG_H */
diff --git a/branches/1.0/bindings/_common/MediaContent.cxx b/branches/1.0/bindings/_common/MediaContent.cxx
deleted file mode 100644
index 8af5bcb..0000000
--- a/branches/1.0/bindings/_common/MediaContent.cxx
+++ /dev/null
@@ -1,169 +0,0 @@
-/*
-* Copyright (C) 2009-2010 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-#include "MediaContent.h"
-
-
-
-MediaContent::MediaContent(tmedia_content_t* _content)
-: data(tsk_null)
-{
- this->content = (tmedia_content_t*)tsk_object_ref(_content);
-}
-
-MediaContent::~MediaContent()
-{
- TSK_OBJECT_SAFE_FREE(this->content);
- TSK_OBJECT_SAFE_FREE(this->data);
-}
-
-const char* MediaContent::getType()
-{
- if(this->content){
- return this->content->type;
- }
- return tsk_null;
-}
-
-unsigned MediaContent::getDataLength()
-{
- if(!this->content){
- TSK_DEBUG_ERROR("Invalid internal object");
- return 0;
- }
-
- if(!this->data){
- this->data = tmedia_content_get_data(this->content);
- }
-
- return (this->data ? this->data->size : 0);
-}
-
-unsigned MediaContent::getData(void* output, unsigned maxsize)
-{
- unsigned retsize = 0;
-
- if(!this->content){
- TSK_DEBUG_ERROR("Invalid internal object");
- return 0;
- }
-
- if(!this->data){
- this->data = tmedia_content_get_data(this->content);
- }
-
- if(output && maxsize && this->data){
- retsize = (this->data->size > maxsize) ? maxsize : this->data->size;
- memcpy(output, this->data->data, retsize);
- }
-
- return retsize;
-}
-
-MediaContent* MediaContent::parse(const void* data, unsigned size, const char* type)
-{
- MediaContent* mediaContent = tsk_null;
-
- tmedia_content_t* _content = tmedia_content_parse(data, (tsk_size_t)size, type);
- if(_content){
- if(TMEDIA_CONTENT_IS_CPIM(_content)){
- mediaContent = new MediaContentCPIM(_content);
- }
- else if(TMEDIA_CONTENT_IS_DUMMY(_content)){
- // Todo
- }
- TSK_OBJECT_SAFE_FREE(_content);
- }
-
- return mediaContent;
-}
-
-MediaContentCPIM* MediaContent::parse(const void* data, unsigned size)
-{
- MediaContent* mediaContent;
- if((mediaContent = MediaContent::parse(data, size, TMEDIA_CONTENT_CPIM_TYPE))){
- return dyn_cast<MediaContentCPIM*>(mediaContent);
- }
- return tsk_null;
-}
-
-/* ============ message/CPIM ================= */
-
-MediaContentCPIM::MediaContentCPIM(tmedia_content_t* _content)
-: MediaContent(_content)
-{
-}
-
-MediaContentCPIM::~MediaContentCPIM()
-{
-}
-
-unsigned MediaContentCPIM::getPayloadLength()
-{
- if(!this->content || !TMEDIA_CONTENT_IS_CPIM(this->content)){
- TSK_DEBUG_ERROR("Invalid internal object");
- return 0;
- }
-
- return (TMEDIA_CONTENT_CPIM(this->content)->e ? TMEDIA_CONTENT_CPIM(this->content)->e->size : 0);
-}
-
-unsigned MediaContentCPIM::getPayload(void* output, unsigned maxsize)
-{
- unsigned retsize = 0;
-
- if(!this->content || !TMEDIA_CONTENT_IS_CPIM(this->content)){
- TSK_DEBUG_ERROR("Invalid internal object");
- return 0;
- }
-
- if(output && maxsize && TMEDIA_CONTENT_CPIM(this->content)->e){
- retsize = (TMEDIA_CONTENT_CPIM(this->content)->e->size > maxsize) ? maxsize : TMEDIA_CONTENT_CPIM(this->content)->e->size;
- memcpy(output, TMEDIA_CONTENT_CPIM(this->content)->e->data, retsize);
- }
-
- return retsize;
-}
-
-const char* MediaContentCPIM::getHeaderValue(const char* name)
-{
- const tmedia_content_cpim_t* cpim;
- const tsk_list_item_t* item;
-
- if(!this->content || !TMEDIA_CONTENT_IS_CPIM(this->content)){
- TSK_DEBUG_ERROR("Invalid internal object");
- return tsk_null;
- }
-
- cpim = TMEDIA_CONTENT_CPIM(this->content);
- tsk_list_foreach(item, cpim->h_headers){
- if(tsk_striequals(name, TMEDIA_CONTENT_HEADER(item->data)->name)){
- return TMEDIA_CONTENT_HEADER(item->data)->value;
- }
- }
- tsk_list_foreach(item, cpim->m_headers){
- if(tsk_striequals(name, TMEDIA_CONTENT_HEADER(item->data)->name)){
- return TMEDIA_CONTENT_HEADER(item->data)->value;
- }
- }
-
- return tsk_null;
-} \ No newline at end of file
diff --git a/branches/1.0/bindings/_common/MediaContent.h b/branches/1.0/bindings/_common/MediaContent.h
deleted file mode 100644
index 77d7160..0000000
--- a/branches/1.0/bindings/_common/MediaContent.h
+++ /dev/null
@@ -1,73 +0,0 @@
-/*
-* Copyright (C) 2009-2010 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-#ifndef TINYWRAP_MEDIA_CONTENT_H
-#define TINYWRAP_MEDIA_CONTENT_H
-
-#include "tinymedia.h"
-#include "Common.h"
-
-class MediaContentCPIM;
-
-class MediaContent
-{
-public:
-#if !defined(SWIG)
- MediaContent(tmedia_content_t* content);
-#endif
- virtual ~MediaContent();
-
-public:
- const char* getType();
- virtual unsigned getDataLength();
- virtual unsigned getData(void* output, unsigned maxsize);
-
- // SWIG %newobject()
- static MediaContent* parse(const void* data, unsigned size, const char* type);
- static MediaContentCPIM* parse(const void* data, unsigned size);
-
- virtual unsigned getPayloadLength() = 0;
- virtual unsigned getPayload(void* output, unsigned maxsize) = 0;
-
-protected:
- tmedia_content_t* content;
-
-private:
- tsk_buffer_t* data;
-};
-
-
-/* ============ message/CPIM ================= */
-class MediaContentCPIM : public MediaContent
-{
-public:
-#if !defined(SWIG)
- MediaContentCPIM(tmedia_content_t* content);
-#endif
- virtual ~MediaContentCPIM();
-
-public:
- virtual unsigned getPayloadLength();
- virtual unsigned getPayload(void* output, unsigned maxsize);
- const char* getHeaderValue(const char* name);
-};
-
-#endif /*TINYWRAP_MEDIA_CONTENT_H*/
diff --git a/branches/1.0/bindings/_common/MediaSessionMgr.cxx b/branches/1.0/bindings/_common/MediaSessionMgr.cxx
deleted file mode 100644
index 8bb6756..0000000
--- a/branches/1.0/bindings/_common/MediaSessionMgr.cxx
+++ /dev/null
@@ -1,114 +0,0 @@
-/*
-* Copyright (C) 2009-2010 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-#include "MediaSessionMgr.h"
-
-extern tmedia_type_t _get_media_type(twrap_media_type_t type);
-
-MediaSessionMgr::MediaSessionMgr(tmedia_session_mgr_t* _mgr)
-{
- this->mgr = (tmedia_session_mgr_t*)tsk_object_ref(_mgr);
-}
-
-MediaSessionMgr::~MediaSessionMgr()
-{
- TSK_OBJECT_SAFE_FREE(this->mgr);
-}
-
-bool MediaSessionMgr::sessionSetInt32(twrap_media_type_t media, const char* key, int32_t value)
-{
- TSK_DEBUG_ERROR("Not implemented");
- return false;
-}
-
-bool MediaSessionMgr::consumerSetInt32(twrap_media_type_t media, const char* key, int32_t value)
-{
- TSK_DEBUG_ERROR("Not implemented");
- return false;
-}
-
-bool MediaSessionMgr::consumerSetInt64(twrap_media_type_t media, const char* key, int64_t value)
-{
- tmedia_type_t _media = _get_media_type(media);
- return (tmedia_session_mgr_set(this->mgr,
- TMEDIA_SESSION_CONSUMER_SET_INT64(_media, key, value),
- TMEDIA_SESSION_SET_NULL()) == 0);
-}
-
-bool MediaSessionMgr::producerSetInt32(twrap_media_type_t media, const char* key, int32_t value)
-{
- TSK_DEBUG_ERROR("Not implemented");
- return false;
-}
-
-bool MediaSessionMgr::producerSetInt64(twrap_media_type_t media, const char* key, int64_t value)
-{
- tmedia_type_t _media = _get_media_type(media);
- return (tmedia_session_mgr_set(this->mgr,
- TMEDIA_SESSION_PRODUCER_SET_INT64(_media, key, value),
- TMEDIA_SESSION_SET_NULL()) == 0);
-}
-
-#include "tinydav/audio/tdav_session_audio.h"
-#include "tinydav/video/tdav_session_video.h"
-#include "ProxyPluginMgr.h"
-
-
-ProxyPlugin* MediaSessionMgr::findProxyPlugin(twrap_media_type_t media, bool consumer)
-{
- ProxyPlugin* plugin = tsk_null;
- ProxyPluginMgr* manager = ProxyPluginMgr::getInstance();
-
- if(media != twrap_media_audio && media != twrap_media_video){
- TSK_DEBUG_ERROR("Invalid media type");
- return tsk_null;
- }
-
- if(manager && this->mgr){
- tmedia_type_t _media = _get_media_type(media);
- tmedia_session_t* session = tmedia_session_mgr_find(this->mgr, _media);
- if(session){
- if(session->plugin == tdav_session_audio_plugin_def_t){
- if(consumer){
- plugin = manager->findPlugin(TDAV_SESSION_AUDIO(session)->consumer);
- }
- else{
- plugin = manager->findPlugin(TDAV_SESSION_AUDIO(session)->producer);
- }
- }
- else if(session->plugin == tdav_session_video_plugin_def_t){
- if(consumer){
- plugin = manager->findPlugin(TDAV_SESSION_VIDEO(session)->consumer);
- }
- else{
- plugin = manager->findPlugin(TDAV_SESSION_VIDEO(session)->producer);
- }
- }
- tsk_object_unref(session);
- }
- }
- else{
- TSK_DEBUG_ERROR("Invalid state");
- }
-
- return plugin;
-}
-
diff --git a/branches/1.0/bindings/_common/MediaSessionMgr.h b/branches/1.0/bindings/_common/MediaSessionMgr.h
deleted file mode 100644
index 7770785..0000000
--- a/branches/1.0/bindings/_common/MediaSessionMgr.h
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
-* Copyright (C) 2009-2010 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-#ifndef TINYWRAP_MEDIA_SESSIONMGR_H
-#define TINYWRAP_MEDIA_SESSIONMGR_H
-
-#include "tinymedia.h"
-#include "Common.h"
-
-class ProxyPlugin;
-
-class MediaSessionMgr
-{
-public:
-#if !defined(SWIG)
- MediaSessionMgr(tmedia_session_mgr_t* mgr);
-#endif
- virtual ~MediaSessionMgr();
-
-public:
- bool sessionSetInt32(twrap_media_type_t media, const char* key, int32_t value);
-
- bool consumerSetInt32(twrap_media_type_t media, const char* key, int32_t value);
- bool consumerSetInt64(twrap_media_type_t media, const char* key, int64_t value);
-
- bool producerSetInt32(twrap_media_type_t media, const char* key, int32_t value);
- bool producerSetInt64(twrap_media_type_t media, const char* key, int64_t value);
-
-#if !defined(SWIG)
- ProxyPlugin* findProxyPlugin(twrap_media_type_t media, bool consumer);
-#endif
-
- ProxyPlugin* findProxyPluginConsumer(twrap_media_type_t media){
- return this->findProxyPlugin(media, true);
- }
- ProxyPlugin* findProxyPluginProducer(twrap_media_type_t media){
- return this->findProxyPlugin(media, false);
- }
-
-private:
- tmedia_session_mgr_t* mgr;
-};
-
-#endif /* TINYWRAP_MEDIA_SESSIONMGR_H */
diff --git a/branches/1.0/bindings/_common/Msrp.cxx b/branches/1.0/bindings/_common/Msrp.cxx
deleted file mode 100644
index fc24413..0000000
--- a/branches/1.0/bindings/_common/Msrp.cxx
+++ /dev/null
@@ -1,273 +0,0 @@
-/*
-* Copyright (C) 2009-2010 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-#include "Msrp.h"
-
-#include "SipSession.h"
-#include "Common.h"
-
-/* ======================== MsrpMessage ========================*/
-MsrpMessage::MsrpMessage()
-:message(tsk_null)
-{
-}
-
-MsrpMessage::MsrpMessage(tmsrp_message_t *_message)
-{
- this->message = (tmsrp_message_t *)tsk_object_ref(_message);
-}
-
-MsrpMessage::~MsrpMessage()
-{
- TSK_OBJECT_SAFE_FREE(this->message);
-}
-
-bool MsrpMessage::isRequest()
-{
- return (this->message->type == tmsrp_request);
-}
-
-short MsrpMessage::getCode()
-{
- return TMSRP_RESPONSE_CODE(this->message);
-}
-
-const char* MsrpMessage::getPhrase()
-{
- return TMSRP_RESPONSE_PHRASE(this->message);
-}
-
-tmsrp_request_type_t MsrpMessage::getRequestType()
-{
- if(TMSRP_MESSAGE_IS_REQUEST(this->message)){
- return this->message->line.request.type;
- }
- return tmsrp_NONE;
-}
-
-void MsrpMessage::getByteRange(int64_t* start, int64_t* end, int64_t* total)
-{
- if(this->message->ByteRange){
- *start = this->message->ByteRange->start;
- *end = this->message->ByteRange->end;
- *total = this->message->ByteRange->total;
- }
- else{
- *start = *end = *total = -1;
- }
-}
-
-bool MsrpMessage::isLastChunck()
-{
- if(TMSRP_MESSAGE_IS_REQUEST(this->message)){
- return (this->message->end_line.cflag == '$');
- }
- else{
- if(this->message->ByteRange){
- return (this->message->ByteRange->end >= this->message->ByteRange->total);
- }
- }
- return false;
-}
-
-bool MsrpMessage::isFirstChunck()
-{
- return (this->message && this->message->ByteRange->start == 1);
-}
-
-char* MsrpMessage::getMsrpHeaderValue(const char* name)
-{
- const tmsrp_header_t* header = this->getMsrpHeader(name, 0);
- if(header){
- return tmsrp_header_tostring(header);
- }
- return tsk_null;
-}
-
-char* MsrpMessage::getMsrpHeaderParamValue(const char* name, const char* param)
-{
- return tsk_null;
-}
-
-unsigned MsrpMessage::getMsrpContentLength()
-{
- if(this->message &&
- this->message->Content &&
- this->message->Content->data &&
- this->message->Content->size){
- return this->message->Content->size;
- }
- return 0;
-}
-
-unsigned MsrpMessage::getMsrpContent(void* output, unsigned maxsize)
-{
- unsigned retsize = 0;
- if(!output ||
- !this->message ||
- !this->message->Content ||
- !this->message->Content->data ||
- !this->message->Content->size){
- return 0;
- }
-
-
- retsize = (this->message->Content->size > maxsize) ? maxsize : this->message->Content->size;
- memcpy(output, this->message->Content->data, retsize);
- return retsize;
-}
-
-const tmsrp_header_t* MsrpMessage::getMsrpHeader(const char* name, unsigned index /*= 0*/)
-{
- tsk_size_t pos = 0;
- const tmsrp_header_t* hdr = tsk_null;
- const tsk_list_item_t *item;
-
- /* From tmsrp_message_get_headerAt() */
- if(!this->message || !name){
- return tsk_null;
- }
-
- if(tsk_striequals(name, "To-Path")){
- if(index == 0){
- hdr = (const tmsrp_header_t*)this->message->To;
- goto bail;
- }else pos++; }
- if(tsk_striequals(name, "From-Path")){
- if(index == 0){
- hdr = (const tmsrp_header_t*)this->message->From;
- goto bail;
- }else pos++; }
- if(tsk_striequals(name, "Message-ID")){
- if(index == 0){
- hdr = (const tmsrp_header_t*)this->message->MessageID;
- goto bail;
- }else pos++; }
- if(tsk_striequals(name, "Byte-Range")){
- if(index == 0){
- hdr = (const tmsrp_header_t*)this->message->ByteRange;
- goto bail;
- }else pos++; }
- if(tsk_striequals(name, "Failure-Report")){
- if(index == 0){
- hdr = (const tmsrp_header_t*)this->message->FailureReport;
- goto bail;
- }else pos++; }
- if(tsk_striequals(name, "Success-Report")){
- if(index == 0){
- hdr = (const tmsrp_header_t*)this->message->SuccessReport;
- goto bail;
- }else pos++; }
- if(tsk_striequals(name, "Status")){
- if(index == 0){
- hdr = (const tmsrp_header_t*)this->message->Status;
- goto bail;
- }else pos++; }
- if(tsk_striequals(name, "Content-Type")){
- if(index == 0){
- hdr = (const tmsrp_header_t*)this->message->ContentType;
- goto bail;
- }else pos++; }
-
-
- /* All other headers */
- tsk_list_foreach(item, this->message->headers){
- if(tsk_striequals(tmsrp_header_get_nameex(TMSRP_HEADER(item->data)), name)){
- if(pos++ >= index){
- hdr = (const tmsrp_header_t*)item->data;
- break;
- }
- }
- }
-
-
-bail:
- return hdr;
-
-}
-
-
-
-/* ======================== MsrpEvent ========================*/
-MsrpEvent::MsrpEvent(const tmsrp_event_t *_msrpevent)
-{
- this->_event = _msrpevent;
- if(this->_event && this->_event->message){
- this->message = new MsrpMessage((tmsrp_message_t *)this->_event->message);
- }
- else{
- this->message = tsk_null;
- }
-}
-
-MsrpEvent::~MsrpEvent()
-{
- if(this->message){
- delete this->message;
- }
-}
-
-tmsrp_event_type_t MsrpEvent::getType()
-{
- if(this->_event){
- return this->_event->type;
- }
- return tmsrp_event_type_none;
-}
-
-const MsrpSession* MsrpEvent::getSipSession()
-{
- if(this->_event && this->_event->callback_data){
- return dyn_cast<const MsrpSession*>((const MsrpSession*)this->_event->callback_data);
- }
- return tsk_null;
-}
-
-const MsrpMessage* MsrpEvent::getMessage() const
-{
- return this->message;
-}
-
-
-
-
-int twrap_msrp_cb(const tmsrp_event_t* _event)
-{
- const MsrpSession* session = (const MsrpSession*)_event->callback_data;
- MsrpCallback* callback;
- int ret = -1;
-
- if(session){
- if((callback = session->getCallback())){
- MsrpEvent* e = new MsrpEvent(_event);
- ret = callback->OnEvent(e);
- delete e;
- }
- else{
- return 0;
- }
- }
- else{
- TSK_DEBUG_ERROR("Invalid parameter");
- }
-
- return ret;
-} \ No newline at end of file
diff --git a/branches/1.0/bindings/_common/Msrp.h b/branches/1.0/bindings/_common/Msrp.h
deleted file mode 100644
index d0b6448..0000000
--- a/branches/1.0/bindings/_common/Msrp.h
+++ /dev/null
@@ -1,91 +0,0 @@
-/*
-* Copyright (C) 2009-2010 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-#ifndef TINYWRAP_MSRP_H
-#define TINYWRAP_MSRP_H
-
-#include "tinymsrp.h"
-
-class MsrpSession;
-
-class MsrpMessage
-{
-public:
- MsrpMessage();
-#if !defined(SWIG)
- MsrpMessage(tmsrp_message_t *message);
-#endif
- virtual ~MsrpMessage();
-
- bool isRequest();
- short getCode();
- const char* getPhrase();
- tmsrp_request_type_t getRequestType();
-#if defined(SWIG)
- void getByteRange(int64_t* OUTPUT, int64_t* OUTPUT, int64_t* OUTPUT);
-#else
- void getByteRange(int64_t* start, int64_t* end, int64_t* total);
-#endif
- bool isLastChunck();
- bool isFirstChunck();
- char* getMsrpHeaderValue(const char* name);
- char* getMsrpHeaderParamValue(const char* name, const char* param);
- unsigned getMsrpContentLength();
- unsigned getMsrpContent(void* output, unsigned maxsize);
-
-private:
- const tmsrp_header_t* getMsrpHeader(const char* name, unsigned index = 0);
-
-private:
- tmsrp_message_t *message;
-};
-
-class MsrpEvent
-{
-public:
-#if !defined(SWIG)
- MsrpEvent(const tmsrp_event_t *_event);
-#endif
- virtual ~MsrpEvent();
-
- tmsrp_event_type_t getType();
- const MsrpSession* getSipSession();
- const MsrpMessage* getMessage() const;
-
-protected:
- const tmsrp_event_t *_event;
- MsrpMessage* message;
-};
-
-class MsrpCallback
-{
-public:
- MsrpCallback() { }
- virtual ~MsrpCallback() {}
- virtual int OnEvent(const MsrpEvent* e) { return -1; }
-};
-
-
-#if !defined(SWIG)
-int twrap_msrp_cb(const tmsrp_event_t* _event);
-#endif
-
-#endif /* TINYWRAP_MSRP_H */
diff --git a/branches/1.0/bindings/_common/Msrp.i b/branches/1.0/bindings/_common/Msrp.i
deleted file mode 100644
index 9d32cc4..0000000
--- a/branches/1.0/bindings/_common/Msrp.i
+++ /dev/null
@@ -1,34 +0,0 @@
-%{
-#include "Msrp.h"
-%}
-
-/* Callbacks */
-%feature("director") MsrpCallback;
-
-
-%nodefaultctor;
-%include "Msrp.h"
-%clearnodefaultctor;
-
-/* From tinyMSRP/tmsrp_message.h */
-typedef enum tmsrp_request_type_e
-{
- tmsrp_NONE = 0,
-
- tmsrp_SEND,
- tmsrp_REPORT,
- tmsrp_AUTH
- //...
-}
-tmsrp_request_type_t;
-
-
-/* From tinyMSRP/tmsrp_event.h */
-typedef enum tmsrp_event_type_e
-{
- tmsrp_event_type_none,
- tmsrp_event_type_connected,
- tmsrp_event_type_disconnected,
- tmsrp_event_type_message,
-}
-tmsrp_event_type_t; \ No newline at end of file
diff --git a/branches/1.0/bindings/_common/ProxyConsumer.cxx b/branches/1.0/bindings/_common/ProxyConsumer.cxx
deleted file mode 100644
index d7aa49b..0000000
--- a/branches/1.0/bindings/_common/ProxyConsumer.cxx
+++ /dev/null
@@ -1,519 +0,0 @@
-/*
-* Copyright (C) 2009-2010 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-
-/**@file ProxyConsumer.c
- * @brief Audio/Video proxy consumers.
- *
- * @author Mamadou Diop <diopmamadou(at)doubango.org>
- *
- * @date Created: Sat Nov 8 16:54:58 2009 mdiop
- */
-#include "ProxyConsumer.h"
-
-#include "tsk_memory.h"
-#include "tsk_debug.h"
-
-#include "tinydav/audio/tdav_consumer_audio.h"
-
-#define twrap_consumer_proxy_audio_set tsk_null
-#define twrap_consumer_proxy_video_set tsk_null
-
-/* ============ Audio Consumer Interface ================= */
-
-typedef struct twrap_consumer_proxy_audio_s
-{
- TDAV_DECLARE_CONSUMER_AUDIO;
-
- uint64_t id;
- tsk_bool_t started;
-}
-twrap_consumer_proxy_audio_t;
-#define TWRAP_CONSUMER_PROXY_AUDIO(self) ((twrap_consumer_proxy_audio_t*)(self))
-
-
-int twrap_consumer_proxy_audio_prepare(tmedia_consumer_t* self, const tmedia_codec_t* codec)
-{
- ProxyPluginMgr* manager;
- int ret = -1;
- if(codec && (manager = ProxyPluginMgr::getInstance())){
- ProxyAudioConsumer* audioConsumer;
- if((audioConsumer = manager->findAudioConsumer(TWRAP_CONSUMER_PROXY_AUDIO(self)->id)) && audioConsumer->getCallback()){
- ret = audioConsumer->getCallback()->prepare((int)codec->plugin->audio.ptime, codec->plugin->rate, codec->plugin->audio.channels);
- }
- }
-
- return ret;
-}
-
-int twrap_consumer_proxy_audio_start(tmedia_consumer_t* self)
-{
- ProxyPluginMgr* manager;
- int ret = -1;
- if((manager = ProxyPluginMgr::getInstance())){
- ProxyAudioConsumer* audioConsumer;
- if((audioConsumer = manager->findAudioConsumer(TWRAP_CONSUMER_PROXY_AUDIO(self)->id)) && audioConsumer->getCallback()){
- ret = audioConsumer->getCallback()->start();
- }
- }
-
- TWRAP_CONSUMER_PROXY_AUDIO(self)->started = (ret == 0);
- return ret;
-}
-
-int twrap_consumer_proxy_audio_consume(tmedia_consumer_t* self, void** buffer, tsk_size_t size, const tsk_object_t* proto_hdr)
-{
- ProxyPluginMgr* manager;
- int ret = -1;
- if((manager = ProxyPluginMgr::getInstance())){
- ProxyAudioConsumer* audioConsumer;
- if((audioConsumer = manager->findAudioConsumer(TWRAP_CONSUMER_PROXY_AUDIO(self)->id)) && audioConsumer->getCallback()){
- ret = tdav_consumer_audio_put(TDAV_CONSUMER_AUDIO(self), buffer, size, proto_hdr);
- }
- }
-
- return ret;
-}
-
-int twrap_consumer_proxy_audio_pause(tmedia_consumer_t* self)
-{
- ProxyPluginMgr* manager;
- int ret = -1;
- if((manager = ProxyPluginMgr::getInstance())){
- ProxyAudioConsumer* audioConsumer;
- if((audioConsumer = manager->findAudioConsumer(TWRAP_CONSUMER_PROXY_AUDIO(self)->id)) && audioConsumer->getCallback()){
- ret = audioConsumer->getCallback()->pause();
- }
- }
-
- return ret;
-}
-
-int twrap_consumer_proxy_audio_stop(tmedia_consumer_t* self)
-{
- ProxyPluginMgr* manager;
- int ret = -1;
- if((manager = ProxyPluginMgr::getInstance())){
- ProxyAudioConsumer* audioConsumer;
- if((audioConsumer = manager->findAudioConsumer(TWRAP_CONSUMER_PROXY_AUDIO(self)->id)) && audioConsumer->getCallback()){
- ret = audioConsumer->getCallback()->stop();
- }
- }
-
- TWRAP_CONSUMER_PROXY_AUDIO(self)->started = (ret == 0) ? tsk_false : tsk_true;
- return ret;
-}
-
-
-//
-// Audio consumer object definition
-//
-/* constructor */
-static tsk_object_t* twrap_consumer_proxy_audio_ctor(tsk_object_t * self, va_list * app)
-{
- twrap_consumer_proxy_audio_t *consumer = (twrap_consumer_proxy_audio_t *)self;
- if(consumer){
- /* init base */
- tdav_consumer_audio_init(TDAV_CONSUMER_AUDIO(consumer));
- /* init self */
-
- /* Add the plugin to the manager */
- ProxyPluginMgr* manager = ProxyPluginMgr::getInstance();
- if(manager){
- ProxyPlugin* proxyConsumer = new ProxyAudioConsumer(consumer);
- uint64_t id = proxyConsumer->getId();
- manager->addPlugin(&proxyConsumer);
- manager->getCallback()->OnPluginCreated(id, twrap_proxy_plugin_audio_consumer);
- }
- }
- return self;
-}
-/* destructor */
-static tsk_object_t* twrap_consumer_proxy_audio_dtor(tsk_object_t * self)
-{
- twrap_consumer_proxy_audio_t *consumer = (twrap_consumer_proxy_audio_t *)self;
- if(consumer){
- /* stop */
- if(consumer->started){
- twrap_consumer_proxy_audio_stop(TMEDIA_CONSUMER(consumer));
- }
-
- /* deinit base */
- tdav_consumer_audio_deinit(TDAV_CONSUMER_AUDIO(consumer));
- /* deinit self */
-
-
- /* Remove plugin from the manager */
- ProxyPluginMgr* manager = ProxyPluginMgr::getInstance();
- if(manager){
- manager->getCallback()->OnPluginDestroyed(consumer->id, twrap_proxy_plugin_audio_consumer);
- manager->removePlugin(consumer->id);
- }
- }
-
- return self;
-}
-/* object definition */
-static const tsk_object_def_t twrap_consumer_proxy_audio_def_s =
-{
- sizeof(twrap_consumer_proxy_audio_t),
- twrap_consumer_proxy_audio_ctor,
- twrap_consumer_proxy_audio_dtor,
- tdav_consumer_audio_cmp,
-};
-/* plugin definition*/
-static const tmedia_consumer_plugin_def_t twrap_consumer_proxy_audio_plugin_def_s =
-{
- &twrap_consumer_proxy_audio_def_s,
-
- tmedia_audio,
- "Audio Proxy Consumer",
-
- twrap_consumer_proxy_audio_set,
- twrap_consumer_proxy_audio_prepare,
- twrap_consumer_proxy_audio_start,
- twrap_consumer_proxy_audio_consume,
- twrap_consumer_proxy_audio_pause,
- twrap_consumer_proxy_audio_stop
-};
-
-TINYWRAP_GEXTERN const tmedia_consumer_plugin_def_t *twrap_consumer_proxy_audio_plugin_def_t = &twrap_consumer_proxy_audio_plugin_def_s;
-
-
-
-/* ============ ProxyAudioConsumer Class ================= */
-ProxyAudioConsumer::ProxyAudioConsumer(twrap_consumer_proxy_audio_t* _consumer)
-:ProxyPlugin(twrap_proxy_plugin_audio_consumer), consumer(_consumer), callback(tsk_null)
-{
- this->consumer->id = this->getId();
-}
-
-ProxyAudioConsumer::~ProxyAudioConsumer()
-{
-}
-
-unsigned ProxyAudioConsumer::pull(void* output, unsigned size)
-{
- tsk_size_t out_size = 0;
- if(this->consumer){
- void* data;
- if((data = tdav_consumer_audio_get(TDAV_CONSUMER_AUDIO(this->consumer), &out_size))){
- memcpy(output, data, TSK_MIN(size, out_size));
- TSK_FREE(data);
- return TSK_MIN(size, out_size);
- }
- }
- return out_size;
-}
-
-bool ProxyAudioConsumer::reset()
-{
- if(this->consumer){
- return (tdav_consumer_audio_reset(TDAV_CONSUMER_AUDIO(this->consumer)) == 0);
- }
- return false;
-}
-
-bool ProxyAudioConsumer::registerPlugin()
-{
- /* HACK: Unregister all other audio plugins */
- tmedia_consumer_plugin_unregister_by_type(tmedia_audio);
- /* Register our proxy plugin */
- return (tmedia_consumer_plugin_register(twrap_consumer_proxy_audio_plugin_def_t) == 0);
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-/* ============ Video Consumer Interface ================= */
-
-typedef struct twrap_consumer_proxy_video_s
-{
- TMEDIA_DECLARE_CONSUMER;
-
- uint64_t id;
- tsk_bool_t started;
-}
-twrap_consumer_proxy_video_t;
-#define TWRAP_CONSUMER_PROXY_VIDEO(self) ((twrap_consumer_proxy_video_t*)(self))
-
-
-int twrap_consumer_proxy_video_prepare(tmedia_consumer_t* self, const tmedia_codec_t* codec)
-{
- ProxyPluginMgr* manager;
- int ret = -1;
- if(codec && (manager = ProxyPluginMgr::getInstance())){
- ProxyVideoConsumer* videoConsumer;
- if((videoConsumer = manager->findVideoConsumer(TWRAP_CONSUMER_PROXY_VIDEO(self)->id)) && videoConsumer->getCallback()){
- self->video.fps = TMEDIA_CODEC_VIDEO(codec)->fps;
- // in
- self->video.in.chroma = tmedia_yuv420p;
- self->video.in.width = TMEDIA_CODEC_VIDEO(codec)->width;
- self->video.in.height = TMEDIA_CODEC_VIDEO(codec)->height;
- // display (out)
- self->video.display.chroma = videoConsumer->getChroma();
- if(!self->video.display.width){
- self->video.display.width = self->video.in.width;
- }
- if(!self->video.display.height){
- self->video.display.height = self->video.in.height;
- }
- ret = videoConsumer->getCallback()->prepare(TMEDIA_CODEC_VIDEO(codec)->width, TMEDIA_CODEC_VIDEO(codec)->height, TMEDIA_CODEC_VIDEO(codec)->fps);
- }
- }
-
- return ret;
-}
-
-int twrap_consumer_proxy_video_start(tmedia_consumer_t* self)
-{
- ProxyPluginMgr* manager;
- int ret = -1;
- if((manager = ProxyPluginMgr::getInstance())){
- ProxyVideoConsumer* videoConsumer;
- if((videoConsumer = manager->findVideoConsumer(TWRAP_CONSUMER_PROXY_VIDEO(self)->id)) && videoConsumer->getCallback()){
- ret = videoConsumer->getCallback()->start();
- }
- }
-
- TWRAP_CONSUMER_PROXY_VIDEO(self)->started = (ret == 0);
- return ret;
-}
-
-int twrap_consumer_proxy_video_consume(tmedia_consumer_t* self, void** buffer, tsk_size_t size, const tsk_object_t* proto_hdr)
-{
- ProxyPluginMgr* manager;
- int ret = -1;
-
- if(!self || !buffer || !*buffer || !size){
- TSK_DEBUG_ERROR("Invalid parameter");
- return -1;
- }
-
- if((manager = ProxyPluginMgr::getInstance())){
- ProxyVideoConsumer* videoConsumer;
- if((videoConsumer = manager->findVideoConsumer(TWRAP_CONSUMER_PROXY_VIDEO(self)->id)) && videoConsumer->getCallback()){
- ProxyVideoFrame* frame = new ProxyVideoFrame(*buffer, size);
- ret = videoConsumer->getCallback()->consume(frame);
- delete frame, frame = tsk_null;
- }
- }
-
- return ret;
-}
-
-int twrap_consumer_proxy_video_pause(tmedia_consumer_t* self)
-{
- ProxyPluginMgr* manager;
- int ret = -1;
- if((manager = ProxyPluginMgr::getInstance())){
- ProxyVideoConsumer* videoConsumer;
- if((videoConsumer = manager->findVideoConsumer(TWRAP_CONSUMER_PROXY_VIDEO(self)->id)) && videoConsumer->getCallback()){
- ret = videoConsumer->getCallback()->pause();
- }
- }
-
- return ret;
-}
-
-int twrap_consumer_proxy_video_stop(tmedia_consumer_t* self)
-{
- ProxyPluginMgr* manager;
- int ret = -1;
- if((manager = ProxyPluginMgr::getInstance())){
- ProxyVideoConsumer* videoConsumer;
- if((videoConsumer = manager->findVideoConsumer(TWRAP_CONSUMER_PROXY_VIDEO(self)->id)) && videoConsumer->getCallback()){
- ret = videoConsumer->getCallback()->stop();
- }
- }
-
- TWRAP_CONSUMER_PROXY_VIDEO(self)->started = (ret == 0) ? tsk_false : tsk_true;
- return ret;
-}
-
-
-//
-// Video consumer object definition
-//
-/* constructor */
-static tsk_object_t* twrap_consumer_proxy_video_ctor(tsk_object_t * self, va_list * app)
-{
- twrap_consumer_proxy_video_t *consumer = (twrap_consumer_proxy_video_t *)self;
- if(consumer){
- /* init base */
- tmedia_consumer_init(TMEDIA_CONSUMER(consumer));
- /* init self */
-
- /* Add the plugin to the manager */
- ProxyPluginMgr* manager = ProxyPluginMgr::getInstance();
- if(manager){
- ProxyPlugin* proxyConsumer = new ProxyVideoConsumer(ProxyVideoConsumer::getDefaultChroma(), consumer);
- uint64_t id = proxyConsumer->getId();
- manager->addPlugin(&proxyConsumer);
- manager->getCallback()->OnPluginCreated(id, twrap_proxy_plugin_video_consumer);
- }
- }
- return self;
-}
-/* destructor */
-static tsk_object_t* twrap_consumer_proxy_video_dtor(tsk_object_t * self)
-{
- twrap_consumer_proxy_video_t *consumer = (twrap_consumer_proxy_video_t *)self;
- if(consumer){
-
- /* stop */
- if(consumer->started){
- twrap_consumer_proxy_video_stop(TMEDIA_CONSUMER(consumer));
- }
-
- /* deinit base */
- tmedia_consumer_deinit(TMEDIA_CONSUMER(consumer));
- /* deinit self */
-
- /* Remove plugin from the manager */
- ProxyPluginMgr* manager = ProxyPluginMgr::getInstance();
- if(manager){
- manager->getCallback()->OnPluginDestroyed(consumer->id, twrap_proxy_plugin_video_consumer);
- manager->removePlugin(consumer->id);
- }
- }
-
- return self;
-}
-/* object definition */
-static const tsk_object_def_t twrap_consumer_proxy_video_def_s =
-{
- sizeof(twrap_consumer_proxy_video_t),
- twrap_consumer_proxy_video_ctor,
- twrap_consumer_proxy_video_dtor,
- tsk_null,
-};
-/* plugin definition*/
-static const tmedia_consumer_plugin_def_t twrap_consumer_proxy_video_plugin_def_s =
-{
- &twrap_consumer_proxy_video_def_s,
-
- tmedia_video,
- "Video Proxy Consumer",
-
- twrap_consumer_proxy_video_set,
- twrap_consumer_proxy_video_prepare,
- twrap_consumer_proxy_video_start,
- twrap_consumer_proxy_video_consume,
- twrap_consumer_proxy_video_pause,
- twrap_consumer_proxy_video_stop
-};
-
-TINYWRAP_GEXTERN const tmedia_consumer_plugin_def_t *twrap_consumer_proxy_video_plugin_def_t = &twrap_consumer_proxy_video_plugin_def_s;
-
-
-
-/* ============ ProxyVideoConsumer Class ================= */
-tmedia_chroma_t ProxyVideoConsumer::defaultChroma = tmedia_rgb565le;
-
-ProxyVideoConsumer::ProxyVideoConsumer(tmedia_chroma_t _chroma, struct twrap_consumer_proxy_video_s* _consumer)
-: chroma(_chroma), consumer(_consumer), callback(tsk_null), ProxyPlugin(twrap_proxy_plugin_video_consumer)
-{
- this->consumer->id = this->getId();
-}
-
-ProxyVideoConsumer::~ProxyVideoConsumer()
-{
-}
-
-bool ProxyVideoConsumer::setDisplaySize(int width, int height)
-{
- if((this->consumer = (twrap_consumer_proxy_video_t*)tsk_object_ref(this->consumer))){
- TMEDIA_CONSUMER(this->consumer)->video.display.width = width;
- TMEDIA_CONSUMER(this->consumer)->video.display.height = height;
- this->consumer = (twrap_consumer_proxy_video_t*)tsk_object_unref(this->consumer);
- return true;
- }
- return false;
-}
-
-tmedia_chroma_t ProxyVideoConsumer::getChroma()
-{
- return this->chroma;
-}
-
-bool ProxyVideoConsumer::registerPlugin()
-{
- /* HACK: Unregister all other video plugins */
- tmedia_consumer_plugin_unregister_by_type(tmedia_video);
- /* Register our proxy plugin */
- return (tmedia_consumer_plugin_register(twrap_consumer_proxy_video_plugin_def_t) == 0);
-}
-
-
-
-ProxyVideoFrame::ProxyVideoFrame(const void* _buffer, unsigned size)
-{
- this->buffer = _buffer;
- this->size = size;
-}
-
-ProxyVideoFrame::~ProxyVideoFrame()
-{
-}
-
-unsigned ProxyVideoFrame::getSize()
-{
- return this->size;
-}
-
-unsigned ProxyVideoFrame::getContent(void* output, unsigned maxsize)
-{
- unsigned retsize = 0;
- if(output && maxsize && this->buffer){
- retsize = (this->size > maxsize) ? maxsize : this->size;
- memcpy(output, this->buffer, retsize);
- }
- return retsize;
-}
diff --git a/branches/1.0/bindings/_common/ProxyConsumer.h b/branches/1.0/bindings/_common/ProxyConsumer.h
deleted file mode 100644
index d47b36f..0000000
--- a/branches/1.0/bindings/_common/ProxyConsumer.h
+++ /dev/null
@@ -1,161 +0,0 @@
-/*
-* Copyright (C) 2009-2010 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-
-/**@file ProxyConsumer.h
- * @brief Audio/Video proxy consumers.
- *
- * @author Mamadou Diop <diopmamadou(at)doubango.org>
- *
- * @date Created: Sat Nov 8 16:54:58 2009 mdiop
- */
-#ifndef TINYWRAP_CONSUMER_PROXY_H
-#define TINYWRAP_CONSUMER_PROXY_H
-
-#include "tinyWRAP_config.h"
-
-#include "ProxyPluginMgr.h"
-
-#include "tinymedia/tmedia_common.h"
-#include "tinymedia/tmedia_consumer.h"
-
-/* ============ ProxyAudioConsumerCallback Class ================= */
-class ProxyAudioConsumerCallback
-{
-public:
- ProxyAudioConsumerCallback() { }
- virtual ~ProxyAudioConsumerCallback(){ }
-
- virtual int prepare(int ptime, int rate, int channels) { return -1; }
- virtual int start() { return -1; }
- virtual int pause() { return -1; }
- virtual int stop() { return -1; }
-};
-
-/* ============ ProxyAudioConsumer Class ================= */
-class ProxyAudioConsumer : public ProxyPlugin
-{
-public:
-#if !defined(SWIG)
- ProxyAudioConsumer(struct twrap_consumer_proxy_audio_s* consumer);
-#endif
- virtual ~ProxyAudioConsumer();
-
- unsigned pull(void* output, unsigned size);
- bool reset();
- void setCallback(ProxyAudioConsumerCallback* _callback) { this->callback = _callback; }
-#if !defined(SWIG)
- inline ProxyAudioConsumerCallback* getCallback() { return this->callback; }
- virtual inline bool isWrapping(tsk_object_t* wrapped_plugin){
- return this->consumer == wrapped_plugin;
- }
-#endif
- virtual inline uint64_t getMediaSessionId(){
- return this->consumer ? TMEDIA_CONSUMER(this->consumer)->session_id : 0;
- }
-
-public:
- static bool registerPlugin();
-
-private:
- struct twrap_consumer_proxy_audio_s* consumer;
- ProxyAudioConsumerCallback* callback;
-};
-
-class ProxyVideoFrame;
-
-/* ============ ProxyVideoConsumerCallback Class ================= */
-class ProxyVideoConsumerCallback
-{
-public:
- ProxyVideoConsumerCallback(){}
- virtual ~ProxyVideoConsumerCallback() {}
-
- virtual int prepare(int width, int height, int fps) { return -1; }
- virtual int consume(const ProxyVideoFrame* frame) { return -1; }
- virtual int start() { return -1; }
- virtual int pause() { return -1; }
- virtual int stop() { return -1; }
-};
-
-/* ============ ProxyVideoConsumer Class ================= */
-class ProxyVideoConsumer : public ProxyPlugin
-{
-public:
-#if !defined(SWIG)
- ProxyVideoConsumer(tmedia_chroma_t chroma, struct twrap_consumer_proxy_video_s* consumer);
-#endif
- virtual ~ProxyVideoConsumer();
-
- bool setDisplaySize(int width, int height);
- void setCallback(ProxyVideoConsumerCallback* _callback) { this->callback = _callback; }
-#if !defined(SWIG)
- inline ProxyVideoConsumerCallback* getCallback() { return this->callback; }
- virtual inline bool isWrapping(tsk_object_t* wrapped_plugin){
- return this->consumer == wrapped_plugin;
- }
-#endif
- virtual inline uint64_t getMediaSessionId(){
- return this->consumer ? TMEDIA_CONSUMER(this->consumer)->session_id : 0;
- }
-
-public:
- static bool registerPlugin();
- static void setDefaultChroma(tmedia_chroma_t chroma){ ProxyVideoConsumer::defaultChroma = chroma; }
-
-#if !defined(SWIG)
- tmedia_chroma_t getChroma();
- static tmedia_chroma_t getDefaultChroma() { return ProxyVideoConsumer::defaultChroma; }
-#endif
-
-private:
- struct twrap_consumer_proxy_video_s* consumer;
- tmedia_chroma_t chroma;
- ProxyVideoConsumerCallback* callback;
- static tmedia_chroma_t defaultChroma;
-};
-
-/* ============ ProxyVideoFrame Class ================= */
-class ProxyVideoFrame
-{
-public:
-#if !defined(SWIG)
- ProxyVideoFrame(const void* buffer, unsigned size);
-#endif
- virtual ~ProxyVideoFrame();
-
-public: /* For Java/C# applications */
- unsigned getSize();
- unsigned getContent(void* output, unsigned maxsize);
-
-#if !defined(SWIG) /* For C/C++ applications */
-public:
- inline unsigned fastGetSize()const{ return size; }
- inline const void* fastGetContent()const{ return buffer; }
-#endif
-
-private:
- const void* buffer;
- unsigned size;
-};
-
-
-#endif /* TINYWRAP_CONSUMER_PROXY_H */
diff --git a/branches/1.0/bindings/_common/ProxyPluginMgr.cxx b/branches/1.0/bindings/_common/ProxyPluginMgr.cxx
deleted file mode 100644
index 39f2cac..0000000
--- a/branches/1.0/bindings/_common/ProxyPluginMgr.cxx
+++ /dev/null
@@ -1,290 +0,0 @@
-/*
-* Copyright (C) 2009-2010 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-#include "ProxyPluginMgr.h"
-
-#include "ProxyConsumer.h"
-#include "ProxyProducer.h"
-
-//
-// "twrap_proxy_plugin_t" Declarations
-//
-typedef struct twrap_proxy_plugin_s
-{
- TSK_DECLARE_OBJECT;
- ProxyPlugin* plugin;
-}
-twrap_proxy_plugin_t;
-#define TWRAP_PROXY_PLUGIN(self) ((twrap_proxy_plugin_t*)(self))
-static int pred_find_plugin_by_value(const tsk_list_item_t *item, const void *proxyPlugin);
-static twrap_proxy_plugin_t* twrap_proxy_plugin_create(ProxyPlugin** plugin);
-
-
-//
-// "ProxyPluginMgr" Class Implementation
-//
-ProxyPluginMgr* ProxyPluginMgr::instance = tsk_null;
-static uint64_t __uniqueId = 0;
-
-ProxyPluginMgr::ProxyPluginMgr(ProxyPluginMgrCallback* _callback)
-:callback(_callback)
-{
- this->plugins = tsk_list_create();
- if(!this->callback){
- TSK_DEBUG_WARN("Callback function is Null => You will have big problems as we won't check it before call");
- }
-}
-
-ProxyPluginMgr::~ProxyPluginMgr()
-{
- if(this == ProxyPluginMgr::instance){
- ProxyPluginMgr::instance = tsk_null;
- }
- TSK_OBJECT_SAFE_FREE(this->plugins);
-}
-
-ProxyPluginMgr* ProxyPluginMgr::createInstance(ProxyPluginMgrCallback* _callback)
-{
- if(!ProxyPluginMgr::instance){
- ProxyPluginMgr::instance = new ProxyPluginMgr(_callback);
- }
- else{
- TSK_DEBUG_WARN("Plugin instance already exist");
- ProxyPluginMgr::instance->callback = _callback;
- }
- return ProxyPluginMgr::instance;
-}
-
-ProxyPluginMgr* ProxyPluginMgr::getInstance()
-{
- if(!ProxyPluginMgr::instance){
- TSK_DEBUG_ERROR("No instance of the manager could be found");
- }
- return ProxyPluginMgr::instance;
-}
-
-uint64_t ProxyPluginMgr::getUniqueId()
-{
- return ++__uniqueId;
-}
-
-int ProxyPluginMgr::addPlugin(ProxyPlugin** plugin)
-{
- twrap_proxy_plugin_t* twrap_plugin;
- int ret = -1;
-
- tsk_list_lock(this->plugins);
-
- if(!plugin || !*plugin){
- TSK_DEBUG_ERROR("Invalid parameter");
- goto bail;
- }
-
- if(tsk_list_find_item_by_pred(this->plugins, pred_find_plugin_by_value, *plugin)){
- TSK_DEBUG_ERROR("Plugin already exist");
- goto bail;
- }
-
- if((twrap_plugin = twrap_proxy_plugin_create(plugin))){
- tsk_list_push_back_data(this->plugins, (void**)&twrap_plugin);
- ret = 0;
- }
- else{
- TSK_DEBUG_ERROR("Failed to create plugin");
- goto bail;
- }
-
-bail:
- tsk_list_unlock(this->plugins);
-
- return ret;
-}
-
-int ProxyPluginMgr::removePlugin(ProxyPlugin** plugin)
-{
- if(!plugin || !*plugin){
- TSK_DEBUG_ERROR("Invalid parameter");
- return -1;
- }
- return this->removePlugin((*plugin)->getId());
-}
-
-ProxyPlugin* ProxyPluginMgr::findPlugin(uint64_t id)
-{
- ProxyPlugin* ret = tsk_null;
-
- tsk_list_item_t* item;
-
- tsk_list_lock(this->plugins);
- tsk_list_foreach(item, this->plugins){
- if(TWRAP_PROXY_PLUGIN(item->data)->plugin->getId() == id){
- ret = TWRAP_PROXY_PLUGIN(item->data)->plugin;
- break;
- }
- }
- tsk_list_unlock(this->plugins);
-
- return ret;
-}
-
-ProxyPlugin* ProxyPluginMgr::findPlugin(tsk_object_t* wrapped_plugin)
-{
- ProxyPlugin* ret = tsk_null;
-
- tsk_list_item_t* item;
-
- tsk_list_lock(this->plugins);
- tsk_list_foreach(item, this->plugins){
- if(TWRAP_PROXY_PLUGIN(item->data)->plugin->isWrapping(wrapped_plugin)){
- ret = TWRAP_PROXY_PLUGIN(item->data)->plugin;
- break;
- }
- }
- tsk_list_unlock(this->plugins);
-
- return ret;
-}
-
-int ProxyPluginMgr::removePlugin(uint64_t id)
-{
- tsk_list_item_t* item;
-
- tsk_list_lock(this->plugins);
-
- tsk_list_foreach(item, this->plugins){
- if(TWRAP_PROXY_PLUGIN(item->data)->plugin->getId() == id){
- tsk_list_remove_item(this->plugins, item);
- break;
- }
- }
-
- tsk_list_unlock(this->plugins);
- return 0;
-}
-
-ProxyAudioConsumer* ProxyPluginMgr::findAudioConsumer(uint64_t id)
-{
- ProxyPlugin* audioConsumer = this->findPlugin(id);
- if(audioConsumer && audioConsumer->getType() == twrap_proxy_plugin_audio_consumer){
- return dyn_cast<ProxyAudioConsumer*>(audioConsumer);
- }
- return tsk_null;
-}
-
-ProxyVideoConsumer* ProxyPluginMgr::findVideoConsumer(uint64_t id)
-{
- ProxyPlugin* videoConsumer = this->findPlugin(id);
- if(videoConsumer && videoConsumer->getType() == twrap_proxy_plugin_video_consumer){
- return dyn_cast<ProxyVideoConsumer*>(videoConsumer);
- }
- return tsk_null;
-}
-
-ProxyAudioProducer* ProxyPluginMgr::findAudioProducer(uint64_t id)
-{
- ProxyPlugin* audioProducer = this->findPlugin(id);
- if(audioProducer && audioProducer->getType() == twrap_proxy_plugin_audio_producer){
- return dyn_cast<ProxyAudioProducer*>(audioProducer);
- }
- return tsk_null;
-}
-
-ProxyVideoProducer* ProxyPluginMgr::findVideoProducer(uint64_t id)
-{
- ProxyPlugin* videoProducer = this->findPlugin(id);
- if(videoProducer && videoProducer->getType() == twrap_proxy_plugin_video_producer){
- return dyn_cast<ProxyVideoProducer*>(videoProducer);
- }
- return tsk_null;
-}
-
-
-//
-// "twrap_proxy_plugin_t" Implementations
-//
-static tsk_object_t* twrap_proxy_plugin_ctor(tsk_object_t * self, va_list * app)
-{
- twrap_proxy_plugin_t *_self = dyn_cast<twrap_proxy_plugin_t *>(TWRAP_PROXY_PLUGIN(self));
- if(_self){
- }
- return self;
-}
-
-static tsk_object_t* twrap_proxy_plugin_dtor(tsk_object_t * self)
-{
- twrap_proxy_plugin_t *_self = dyn_cast<twrap_proxy_plugin_t *>(TWRAP_PROXY_PLUGIN(self));
- if(_self){
- if(_self->plugin){
- delete _self->plugin, _self->plugin = tsk_null;
- }
- }
-
- return self;
-}
-
-static int twrap_proxy_plugin_cmp(const tsk_object_t *_c1, const tsk_object_t *_c2)
-{
- const twrap_proxy_plugin_t *c1 = dyn_cast<const twrap_proxy_plugin_t *>(TWRAP_PROXY_PLUGIN(_c1));
- const twrap_proxy_plugin_t *c2 = dyn_cast<const twrap_proxy_plugin_t *>(TWRAP_PROXY_PLUGIN(_c2));
-
- if(c1 && c2){
- return (c1->plugin == c2->plugin); // See "ProxyPlugin::operator =="
- }
- else if(!c1 && !c2) return 0;
- else return -1;
-}
-
-static const tsk_object_def_t twrap_proxy_plugin_def_s =
-{
- sizeof(twrap_proxy_plugin_t),
- twrap_proxy_plugin_ctor,
- twrap_proxy_plugin_dtor,
- twrap_proxy_plugin_cmp,
-};
-const tsk_object_def_t *twrap_proxy_plugin_def_t = &twrap_proxy_plugin_def_s;
-
-static int pred_find_plugin_by_value(const tsk_list_item_t *item, const void *proxyPlugin)
-{
- if(item && item->data){
- const twrap_proxy_plugin_t *twrap_plugin = dyn_cast<const twrap_proxy_plugin_t *>(TWRAP_PROXY_PLUGIN(item->data));
- return (twrap_plugin->plugin == dyn_cast<const ProxyPlugin *>((const ProxyPlugin*)proxyPlugin)) ? 0 : -1;
- }
- return -1;
-}
-
-static twrap_proxy_plugin_t* twrap_proxy_plugin_create(ProxyPlugin** plugin)
-{
- if(!plugin || !*plugin){
- TSK_DEBUG_ERROR("Invalid parameter");
- return tsk_null;
- }
-
- twrap_proxy_plugin_t* twrap_plugin = (twrap_proxy_plugin_t*)tsk_object_new(twrap_proxy_plugin_def_t);
- if(!twrap_plugin){
- TSK_DEBUG_ERROR("Failed to create new instance of 'twrap_proxy_plugin_t'");
- return tsk_null;
- }
-
- twrap_plugin->plugin = *plugin,
- *plugin = tsk_null;
- return twrap_plugin;
-}
-
diff --git a/branches/1.0/bindings/_common/ProxyPluginMgr.h b/branches/1.0/bindings/_common/ProxyPluginMgr.h
deleted file mode 100644
index 38e7cf1..0000000
--- a/branches/1.0/bindings/_common/ProxyPluginMgr.h
+++ /dev/null
@@ -1,124 +0,0 @@
-/*
-* Copyright (C) 2009-2010 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-#ifndef TINYWRAP_PROXY_PLUGIN_MGR_H
-#define TINYWRAP_PROXY_PLUGIN_MGR_H
-
-#include "tinymedia.h"
-#include "Common.h"
-
-class ProxyPlugin;
-class ProxyConsumer;
-class ProxyAudioConsumer;
-class ProxyVideoConsumer;
-class ProxyAudioProducer;
-class ProxyVideoProducer;
-class ProxyPluginMgrCallback;
-
-typedef enum twrap_proxy_plugin_type_e
-{
- twrap_proxy_plugin_audio_producer,
- twrap_proxy_plugin_video_producer,
- twrap_proxy_plugin_audio_consumer,
- twrap_proxy_plugin_video_consumer,
-}
-twrap_proxy_plugin_type_t;
-
-/* ============ ProxyPluginMgr Class ================= */
-
-typedef tsk_list_t twrap_proxy_plungins_L_t; // contains "twrap_proxy_plungin_t" elements
-
-class ProxyPluginMgr
-{
-private:
- ProxyPluginMgr(ProxyPluginMgrCallback* callback);
-public:
- virtual ~ProxyPluginMgr();
-
- // SWIG %newobject
- static ProxyPluginMgr* createInstance(ProxyPluginMgrCallback* callback);
- static ProxyPluginMgr* getInstance();
-
-#if !defined(SWIG)
- static uint64_t getUniqueId();
-
- int addPlugin(ProxyPlugin**);
- ProxyPlugin* findPlugin(uint64_t id);
- ProxyPlugin* findPlugin(tsk_object_t* wrapped_plugin);
- int removePlugin(uint64_t id);
- int removePlugin(ProxyPlugin**);
-
- inline ProxyPluginMgrCallback* getCallback(){ return this->callback; }
-#endif
-
- ProxyAudioConsumer* findAudioConsumer(uint64_t id);
- ProxyVideoConsumer* findVideoConsumer(uint64_t id);
- ProxyAudioProducer* findAudioProducer(uint64_t id);
- ProxyVideoProducer* findVideoProducer(uint64_t id);
-
-private:
- static ProxyPluginMgr* instance;
- ProxyPluginMgrCallback* callback;
-
- twrap_proxy_plungins_L_t* plugins;
-};
-
-
-/* ============ ProxyPluginMgrCallback Class ================= */
-class ProxyPluginMgrCallback
-{
-public:
- ProxyPluginMgrCallback() { }
- virtual ~ProxyPluginMgrCallback() { }
-
- virtual int OnPluginCreated(uint64_t id, enum twrap_proxy_plugin_type_e type) { return -1; }
- virtual int OnPluginDestroyed(uint64_t id, enum twrap_proxy_plugin_type_e type) { return -1; }
-};
-
-/* ============ ProxyPlugin Class ================= */
-class ProxyPlugin
-{
-public:
-#if !defined SWIG
- ProxyPlugin(twrap_proxy_plugin_type_t _type) {
- this->type=_type;
- this->id = ProxyPluginMgr::getUniqueId();
- }
-#endif
- virtual ~ProxyPlugin() {}
-
-#if !defined(SWIG)
- virtual bool operator ==(const ProxyPlugin &plugin)const{
- return this->getId() == plugin.getId();
- }
- virtual inline bool isWrapping(tsk_object_t* wrapped_plugin) = 0;
- virtual inline uint64_t getMediaSessionId() = 0;
-#endif
-
- inline twrap_proxy_plugin_type_t getType()const{ return this->type; }
- inline uint64_t getId()const{ return this->id; }
-
-protected:
- uint64_t id;
- twrap_proxy_plugin_type_t type;
-};
-
-#endif /* TINYWRAP_PROXY_PLUGIN_MGR_H */
diff --git a/branches/1.0/bindings/_common/ProxyProducer.cxx b/branches/1.0/bindings/_common/ProxyProducer.cxx
deleted file mode 100644
index 6a88ddd..0000000
--- a/branches/1.0/bindings/_common/ProxyProducer.cxx
+++ /dev/null
@@ -1,438 +0,0 @@
-/*
-* Copyright (C) 2009-2010 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-
-/**@file ProxyProducer.c
- * @brief Audio/Video proxy producers.
- *
- * @author Mamadou Diop <diopmamadou(at)doubango.org>
- *
- * @date Created: Sat Nov 8 16:54:58 2009 mdiop
- */
-#include "ProxyProducer.h"
-
-#include "tsk_memory.h"
-#include "tsk_debug.h"
-
-#include "tinydav/audio/tdav_producer_audio.h"
-
-#define twrap_producer_proxy_audio_set tsk_null
-#define twrap_producer_proxy_video_set tsk_null
-
-
-/* ============ Audio Media Producer Interface ================= */
-typedef struct twrap_producer_proxy_audio_s
-{
- TDAV_DECLARE_PRODUCER_AUDIO;
-
- uint64_t id;
- tsk_bool_t started;
-}
-twrap_producer_proxy_audio_t;
-#define TWRAP_PRODUCER_PROXY_AUDIO(self) ((twrap_producer_proxy_audio_t*)(self))
-
-int twrap_producer_proxy_audio_prepare(tmedia_producer_t* self, const tmedia_codec_t* codec)
-{
- ProxyPluginMgr* manager;
- int ret = -1;
- if(codec && (manager = ProxyPluginMgr::getInstance())){
- ProxyAudioProducer* audioProducer;
- if((audioProducer = manager->findAudioProducer(TWRAP_PRODUCER_PROXY_AUDIO(self)->id)) && audioProducer->getCallback()){
- ret = audioProducer->getCallback()->prepare((int)codec->plugin->audio.ptime, codec->plugin->rate, codec->plugin->audio.channels);
- }
- }
- return ret;
-}
-
-int twrap_producer_proxy_audio_start(tmedia_producer_t* self)
-{
- ProxyPluginMgr* manager;
- int ret = -1;
- if((manager = ProxyPluginMgr::getInstance())){
- ProxyAudioProducer* audioProducer;
- if((audioProducer = manager->findAudioProducer(TWRAP_PRODUCER_PROXY_AUDIO(self)->id)) && audioProducer->getCallback()){
- ret = audioProducer->getCallback()->start();
- }
- }
-
- TWRAP_PRODUCER_PROXY_AUDIO(self)->started = (ret == 0);
- return ret;
-}
-
-int twrap_producer_proxy_audio_pause(tmedia_producer_t* self)
-{
- ProxyPluginMgr* manager;
- int ret = -1;
- if((manager = ProxyPluginMgr::getInstance())){
- ProxyAudioProducer* audioProducer;
- if((audioProducer = manager->findAudioProducer(TWRAP_PRODUCER_PROXY_AUDIO(self)->id)) && audioProducer->getCallback()){
- ret = audioProducer->getCallback()->pause();
- }
- }
- return ret;
-}
-
-int twrap_producer_proxy_audio_stop(tmedia_producer_t* self)
-{
- ProxyPluginMgr* manager;
- int ret = -1;
- if((manager = ProxyPluginMgr::getInstance())){
- ProxyAudioProducer* audioProducer;
- if((audioProducer = manager->findAudioProducer(TWRAP_PRODUCER_PROXY_AUDIO(self)->id)) && audioProducer->getCallback()){
- ret = audioProducer->getCallback()->stop();
- }
- }
- TWRAP_PRODUCER_PROXY_AUDIO(self)->started = (ret == 0) ? tsk_false : tsk_true;
- return ret;
-}
-
-
-//
-// Audio producer object definition
-//
-/* constructor */
-static tsk_object_t* twrap_producer_proxy_audio_ctor(tsk_object_t * self, va_list * app)
-{
- twrap_producer_proxy_audio_t *producer = (twrap_producer_proxy_audio_t *)self;
- if(producer){
- /* init base */
- tdav_producer_audio_init(TDAV_PRODUCER_AUDIO(producer));
- /* init self */
-
- /* Add the plugin to the manager */
- ProxyPluginMgr* manager = ProxyPluginMgr::getInstance();
- if(manager){
- ProxyPlugin* proxyProducer = new ProxyAudioProducer(producer);
- uint64_t id = proxyProducer->getId();
- manager->addPlugin(&proxyProducer);
- manager->getCallback()->OnPluginCreated(id, twrap_proxy_plugin_audio_producer);
- }
- }
- return self;
-}
-/* destructor */
-static tsk_object_t* twrap_producer_proxy_audio_dtor(tsk_object_t * self)
-{
- twrap_producer_proxy_audio_t *producer = (twrap_producer_proxy_audio_t *)self;
- if(producer){
-
- /* stop */
- if(producer->started){
- twrap_producer_proxy_audio_stop(TMEDIA_PRODUCER(producer));
- }
-
- /* deinit base */
- tdav_producer_audio_deinit(TDAV_PRODUCER_AUDIO(producer));
- /* deinit self */
-
- /* Remove plugin from the manager */
- ProxyPluginMgr* manager = ProxyPluginMgr::getInstance();
- if(manager){
- manager->getCallback()->OnPluginDestroyed(producer->id, twrap_proxy_plugin_audio_producer);
- manager->removePlugin(producer->id);
- }
- }
-
- return self;
-}
-/* object definition */
-static const tsk_object_def_t twrap_producer_proxy_audio_def_s =
-{
- sizeof(twrap_producer_proxy_audio_t),
- twrap_producer_proxy_audio_ctor,
- twrap_producer_proxy_audio_dtor,
- tdav_producer_audio_cmp,
-};
-/* plugin definition*/
-static const tmedia_producer_plugin_def_t twrap_producer_proxy_audio_plugin_def_s =
-{
- &twrap_producer_proxy_audio_def_s,
-
- tmedia_audio,
- "Audio Proxy Producer",
-
- twrap_producer_proxy_audio_set,
- twrap_producer_proxy_audio_prepare,
- twrap_producer_proxy_audio_start,
- twrap_producer_proxy_audio_pause,
- twrap_producer_proxy_audio_stop
-};
-
-TINYWRAP_GEXTERN const tmedia_producer_plugin_def_t *twrap_producer_proxy_audio_plugin_def_t = &twrap_producer_proxy_audio_plugin_def_s;
-
-
-
-/* ============ ProxyAudioProducer Class ================= */
-ProxyAudioProducer::ProxyAudioProducer(twrap_producer_proxy_audio_t* _producer)
-:callback(tsk_null), producer(_producer), ProxyPlugin(twrap_proxy_plugin_audio_producer)
-{
- this->producer->id = this->getId();
-}
-
-ProxyAudioProducer::~ProxyAudioProducer()
-{
-}
-
-int ProxyAudioProducer::push(const void* buffer, unsigned size)
-{
- if(this->producer && TMEDIA_PRODUCER(this->producer)->enc_cb.callback){
- return TMEDIA_PRODUCER(this->producer)->enc_cb.callback(TMEDIA_PRODUCER(this->producer)->enc_cb.callback_data, buffer, size);
- }
- return 0;
-}
-
-bool ProxyAudioProducer::registerPlugin()
-{
- /* HACK: Unregister all other audio plugins */
- tmedia_producer_plugin_unregister_by_type(tmedia_audio);
- /* Register our proxy plugin */
- return (tmedia_producer_plugin_register(twrap_producer_proxy_audio_plugin_def_t) == 0);
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-/* ============ Video Media Producer Interface ================= */
-typedef struct twrap_producer_proxy_video_s
-{
- TMEDIA_DECLARE_PRODUCER;
-
- int rotation;
- uint64_t id;
- tsk_bool_t started;
-}
-twrap_producer_proxy_video_t;
-#define TWRAP_PRODUCER_PROXY_VIDEO(self) ((twrap_producer_proxy_video_t*)(self))
-
-int twrap_producer_proxy_video_prepare(tmedia_producer_t* self, const tmedia_codec_t* codec)
-{
- ProxyPluginMgr* manager;
- int ret = -1;
- if(codec && (manager = ProxyPluginMgr::getInstance())){
- ProxyVideoProducer* videoProducer;
- if((videoProducer = manager->findVideoProducer(TWRAP_PRODUCER_PROXY_VIDEO(self)->id)) && videoProducer->getCallback()){
- self->video.chroma = videoProducer->getChroma();
- self->video.rotation = videoProducer->getRotation();
- ret = videoProducer->getCallback()->prepare(TMEDIA_CODEC_VIDEO(codec)->width, TMEDIA_CODEC_VIDEO(codec)->height, TMEDIA_CODEC_VIDEO(codec)->fps);
- }
- }
-
- return ret;
-}
-
-int twrap_producer_proxy_video_start(tmedia_producer_t* self)
-{
- ProxyPluginMgr* manager;
- int ret = -1;
- if((manager = ProxyPluginMgr::getInstance())){
- ProxyVideoProducer* videoProducer;
- if((videoProducer = manager->findVideoProducer(TWRAP_PRODUCER_PROXY_VIDEO(self)->id)) && videoProducer->getCallback()){
- ret = videoProducer->getCallback()->start();
- }
- }
-
- TWRAP_PRODUCER_PROXY_VIDEO(self)->started = (ret == 0);
- return ret;
-}
-
-int twrap_producer_proxy_video_pause(tmedia_producer_t* self)
-{
- ProxyPluginMgr* manager;
- int ret = -1;
- if((manager = ProxyPluginMgr::getInstance())){
- ProxyVideoProducer* videoProducer;
- if((videoProducer = manager->findVideoProducer(TWRAP_PRODUCER_PROXY_VIDEO(self)->id)) && videoProducer->getCallback()){
- ret = videoProducer->getCallback()->pause();
- }
- }
-
- return ret;
-}
-
-int twrap_producer_proxy_video_stop(tmedia_producer_t* self)
-{
- ProxyPluginMgr* manager;
- int ret = -1;
- if((manager = ProxyPluginMgr::getInstance())){
- ProxyVideoProducer* videoProducer;
- if((videoProducer = manager->findVideoProducer(TWRAP_PRODUCER_PROXY_VIDEO(self)->id)) && videoProducer->getCallback()){
- ret = videoProducer->getCallback()->stop();
- }
- }
-
- TWRAP_PRODUCER_PROXY_VIDEO(self)->started = (ret == 0) ? tsk_false : tsk_true;
- return ret;
-}
-
-
-//
-// Video producer object definition
-//
-/* constructor */
-static tsk_object_t* twrap_producer_proxy_video_ctor(tsk_object_t * self, va_list * app)
-{
- twrap_producer_proxy_video_t *producer = (twrap_producer_proxy_video_t *)self;
- if(producer){
- /* init base */
- tmedia_producer_init(TMEDIA_PRODUCER(producer));
- /* init self */
-
- /* Add the plugin to the manager */
- ProxyPluginMgr* manager = ProxyPluginMgr::getInstance();
- if(manager){
- ProxyPlugin* proxyProducer = new ProxyVideoProducer(ProxyVideoProducer::getDefaultChroma(), producer);
- uint64_t id = proxyProducer->getId();
- manager->addPlugin(&proxyProducer);
- manager->getCallback()->OnPluginCreated(id, twrap_proxy_plugin_video_producer);
- }
- }
- return self;
-}
-/* destructor */
-static tsk_object_t* twrap_producer_proxy_video_dtor(tsk_object_t * self)
-{
- twrap_producer_proxy_video_t *producer = (twrap_producer_proxy_video_t *)self;
- if(producer){
-
- /* stop */
- if(producer->started){
- twrap_producer_proxy_video_stop(TMEDIA_PRODUCER(producer));
- }
-
- /* deinit base */
- tmedia_producer_deinit(TMEDIA_PRODUCER(producer));
- /* deinit self */
-
- /* Remove plugin from the manager */
- ProxyPluginMgr* manager = ProxyPluginMgr::getInstance();
- if(manager){
- manager->getCallback()->OnPluginDestroyed(producer->id, twrap_proxy_plugin_video_producer);
- manager->removePlugin(producer->id);
- }
- }
-
- return self;
-}
-/* object definition */
-static const tsk_object_def_t twrap_producer_proxy_video_def_s =
-{
- sizeof(twrap_producer_proxy_video_t),
- twrap_producer_proxy_video_ctor,
- twrap_producer_proxy_video_dtor,
- tsk_null,
-};
-/* plugin definition*/
-static const tmedia_producer_plugin_def_t twrap_producer_proxy_video_plugin_def_s =
-{
- &twrap_producer_proxy_video_def_s,
-
- tmedia_video,
- "Video Proxy Producer",
-
- twrap_producer_proxy_video_set,
- twrap_producer_proxy_video_prepare,
- twrap_producer_proxy_video_start,
- twrap_producer_proxy_video_pause,
- twrap_producer_proxy_video_stop
-};
-
-TINYWRAP_GEXTERN const tmedia_producer_plugin_def_t *twrap_producer_proxy_video_plugin_def_t = &twrap_producer_proxy_video_plugin_def_s;
-
-
-
-/* ============ ProxyVideoProducer Class ================= */
-tmedia_chroma_t ProxyVideoProducer::defaultChroma = tmedia_nv21;
-
-ProxyVideoProducer::ProxyVideoProducer(tmedia_chroma_t _chroma, struct twrap_producer_proxy_video_s* _producer)
-:callback(tsk_null), chroma(_chroma), rotation(0), producer(_producer), ProxyPlugin(twrap_proxy_plugin_video_producer)
-{
- this->producer->id = this->getId();
-}
-
-ProxyVideoProducer::~ProxyVideoProducer()
-{
-}
-
-int ProxyVideoProducer::getRotation()
-{
- return this->rotation;
-}
-
-void ProxyVideoProducer::setRotation(int rot)
-{
- this->rotation = rot;
- if(this->producer){
- TMEDIA_PRODUCER(this->producer)->video.rotation = this->rotation;
- }
-}
-
-// encode() then send()
-int ProxyVideoProducer::push(const void* buffer, unsigned size)
-{
- if(this->producer && TMEDIA_PRODUCER(this->producer)->enc_cb.callback){
- return TMEDIA_PRODUCER(this->producer)->enc_cb.callback(TMEDIA_PRODUCER(this->producer)->enc_cb.callback_data, buffer, size);
- }
- return 0;
-}
-
-// send() "as is"
-int ProxyVideoProducer::send(const void* buffer, unsigned size, unsigned duration, bool marker)
-{
- if(this->producer && TMEDIA_PRODUCER(this->producer)->raw_cb.callback){
- return TMEDIA_PRODUCER(this->producer)->raw_cb.callback(TMEDIA_PRODUCER(this->producer)->raw_cb.callback_data, buffer, size, duration, marker);
- }
- return 0;
-}
-
-tmedia_chroma_t ProxyVideoProducer::getChroma()
-{
- return this->chroma;
-}
-
-bool ProxyVideoProducer::registerPlugin()
-{
- /* HACK: Unregister all other video plugins */
- tmedia_producer_plugin_unregister_by_type(tmedia_video);
- /* Register our proxy plugin */
- return (tmedia_producer_plugin_register(twrap_producer_proxy_video_plugin_def_t) == 0);
-}
diff --git a/branches/1.0/bindings/_common/ProxyProducer.h b/branches/1.0/bindings/_common/ProxyProducer.h
deleted file mode 100644
index 95d9b65..0000000
--- a/branches/1.0/bindings/_common/ProxyProducer.h
+++ /dev/null
@@ -1,137 +0,0 @@
-/*
-* Copyright (C) 2009-2010 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-
-/**@file ProxyProducer.h
- * @brief Audio/Video proxy consumers.
- *
- * @author Mamadou Diop <diopmamadou(at)doubango.org>
- *
- * @date Created: Sat Nov 8 16:54:58 2009 mdiop
- */
-#ifndef TINYWRAP_PRODUCER_PROXY_H
-#define TINYWRAP_PRODUCER_PROXY_H
-
-#include "tinyWRAP_config.h"
-
-#include "ProxyPluginMgr.h"
-
-#include "tinymedia/tmedia_common.h"
-#include "tinymedia/tmedia_producer.h"
-
-/* ============ ProxyAudioProducerCallback Class ================= */
-class ProxyAudioProducerCallback
-{
-public:
- ProxyAudioProducerCallback() { }
- virtual ~ProxyAudioProducerCallback(){ }
-
- virtual int prepare(int ptime, int rate, int channels) { return -1; }
- virtual int start() { return -1; }
- virtual int pause() { return -1; }
- virtual int stop() { return -1; }
-};
-
-
-/* ============ ProxyAudioProducer Class ================= */
-class ProxyAudioProducer : public ProxyPlugin
-{
-public:
-#if !defined(SWIG)
- ProxyAudioProducer(struct twrap_producer_proxy_audio_s* producer);
-#endif
- virtual ~ProxyAudioProducer();
-
- int push(const void* buffer, unsigned size);
- void setCallback(ProxyAudioProducerCallback* _callback) { this->callback = _callback; }
-#if !defined(SWIG)
- inline ProxyAudioProducerCallback* getCallback() { return this->callback; }
- virtual inline bool isWrapping(tsk_object_t* wrapped_plugin){
- return this->producer == wrapped_plugin;
- }
-#endif
- virtual inline uint64_t getMediaSessionId(){
- return this->producer ? TMEDIA_PRODUCER(this->producer)->session_id : 0;
- }
-
-public:
- static bool registerPlugin();
-
-private:
- struct twrap_producer_proxy_audio_s* producer;
- ProxyAudioProducerCallback* callback;
-};
-
-/* ============ ProxyVideoProducerCallback Class ================= */
-class ProxyVideoProducerCallback
-{
-public:
- ProxyVideoProducerCallback() { }
- virtual ~ProxyVideoProducerCallback(){ }
-
- virtual int prepare(int width, int height, int fps) { return -1; }
- virtual int start() { return -1; }
- virtual int pause() { return -1; }
- virtual int stop() { return -1; }
-};
-
-/* ============ ProxyVideoProducer Class ================= */
-class ProxyVideoProducer : public ProxyPlugin
-{
-public:
-#if !defined(SWIG)
- ProxyVideoProducer(tmedia_chroma_t chroma, struct twrap_producer_proxy_video_s* producer);
-#endif
- virtual ~ProxyVideoProducer();
-
- int getRotation();
- void setRotation(int rot);
- int push(const void* buffer, unsigned size);
- int send(const void* buffer, unsigned size, unsigned duration, bool marker);
- void setCallback(ProxyVideoProducerCallback* _callback) { this->callback = _callback; }
-#if !defined(SWIG)
- inline ProxyVideoProducerCallback* getCallback() { return this->callback; }
- virtual inline bool isWrapping(tsk_object_t* wrapped_plugin){
- return this->producer == wrapped_plugin;
- }
-#endif
- virtual inline uint64_t getMediaSessionId(){
- return this->producer ? TMEDIA_PRODUCER(this->producer)->session_id : 0;
- }
-
-public:
- static bool registerPlugin();
- static void setDefaultChroma(tmedia_chroma_t chroma){ ProxyVideoProducer::defaultChroma = chroma; }
-
-#if !defined(SWIG)
- tmedia_chroma_t getChroma();
- static tmedia_chroma_t getDefaultChroma() { return ProxyVideoProducer::defaultChroma; }
-#endif
-
-private:
- struct twrap_producer_proxy_video_s* producer;
- ProxyVideoProducerCallback* callback;
- tmedia_chroma_t chroma;
- static tmedia_chroma_t defaultChroma;
- int rotation;
-};
-
-#endif /* TINYWRAP_PRODUCER_PROXY_H */
diff --git a/branches/1.0/bindings/_common/SMS.i b/branches/1.0/bindings/_common/SMS.i
deleted file mode 100644
index d25744d..0000000
--- a/branches/1.0/bindings/_common/SMS.i
+++ /dev/null
@@ -1,7 +0,0 @@
-%{
-#include "SMSEncoder.h"
-%}
-
-%nodefaultctor;
-%include "SMSEncoder.h"
-%clearnodefaultctor; \ No newline at end of file
diff --git a/branches/1.0/bindings/_common/SMSEncoder.cxx b/branches/1.0/bindings/_common/SMSEncoder.cxx
deleted file mode 100644
index 161d5c5..0000000
--- a/branches/1.0/bindings/_common/SMSEncoder.cxx
+++ /dev/null
@@ -1,376 +0,0 @@
-/*
-* Copyright (C) 2009 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou@doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-#include "SMSEncoder.h"
-
-// Short description: http://betelco.blogspot.com/2009/10/sms-over-3gpp-ims-network.html
-
-
-RPMessage::RPMessage(twrap_rpmessage_type_t _type, tsms_rpdu_message_t* _rp_message)
-{
- this->rp_message = (tsms_rpdu_message_t*)tsk_object_ref(_rp_message);
- this->type = _type;
- this->tmpBuffer = tsk_null;
-}
-
-RPMessage::RPMessage() :
- rp_message(tsk_null),
- type(twrap_rpmessage_type_sms_none),
- tmpBuffer(tsk_null)
-{
-}
-
-twrap_rpmessage_type_t RPMessage::getType()
-{
- return this->type;
-}
-
-unsigned RPMessage::getPayloadLength()
-{
- if(!this->tmpBuffer){
- if((this->tmpBuffer = tsk_buffer_create_null())){
- tsms_rpdu_data_serialize(this->rp_message, this->tmpBuffer);
- }
- }
- return this->tmpBuffer ? this->tmpBuffer->size : 0;
-}
-
-unsigned RPMessage::getPayload(void* output, unsigned maxsize)
-{
- unsigned retsize = 0;
-
- if(!this->tmpBuffer){
- if((this->tmpBuffer = tsk_buffer_create_null())){
- tsms_rpdu_message_serialize(this->rp_message, this->tmpBuffer);
- }
- }
-
- if(output && maxsize && this->tmpBuffer && this->tmpBuffer->data){
- retsize = (this->tmpBuffer->size > maxsize) ? maxsize : this->tmpBuffer->size;
- memcpy(output, this->tmpBuffer->data, retsize);
- }
- return retsize;
-}
-
-RPMessage::~RPMessage()
-{
- TSK_OBJECT_SAFE_FREE(this->rp_message);
- TSK_OBJECT_SAFE_FREE(this->tmpBuffer);
-}
-
-
-SMSData::SMSData(twrap_sms_type_t _type, int _mr, const void* _ascii, tsk_size_t _size): oa(tsk_null), da(tsk_null)
-{
- this->type = _type;
- this->mr = _mr;
- if((this->size = _size)){
- if((this->ascii = tsk_calloc(size+1, 1))){
- memcpy(this->ascii, _ascii, _size);
- }
- }
- else{
- this->ascii = tsk_null;
- }
-}
-
-SMSData::SMSData(): oa(tsk_null), da(tsk_null)
-{
- this->type = twrap_sms_type_none;
- this->mr = 0;
- this->size = 0;
- this->ascii = tsk_null;
-}
-
-SMSData::~SMSData()
-{
- TSK_FREE(this->ascii);
- TSK_FREE(this->oa);
- TSK_FREE(this->da);
-}
-
-twrap_sms_type_t SMSData::getType()
-{
- return this->type;
-}
-
-int SMSData::getMR()
-{
- return this->mr;
-}
-
-unsigned SMSData::getPayloadLength()
-{
- return this->size;
-}
-
-unsigned SMSData::getPayload(void* output, unsigned maxsize)
-{
- unsigned retsize = 0;
-
- if(output && maxsize && this->ascii){
- retsize = (this->size > maxsize) ? maxsize : this->size;
- memcpy(output, this->ascii, retsize);
- }
- return retsize;
-}
-
-const char* SMSData::getOA()
-{
- return this->oa;
-}
-
-const char* SMSData::getDA()
-{
- return this->da;
-}
-
-void SMSData::setOA(const char* _oa)
-{
- TSK_FREE(this->oa);
- this->oa = tsk_strdup(_oa);
-}
-
-void SMSData::setDA(const char* _da)
-{
- TSK_FREE(this->da);
- this->da = tsk_strdup(_da);
-}
-
-
-// More information about RP-DATA: http://www.doubango.org/API/tinySMS/group__tsms__rpdu__group.html#tsms_rpdu_group_DATA
-RPMessage* SMSEncoder::encodeSubmit(int mr, const char *smsc, const char *destination, const char *ascii)
-{
- int ret;
- tsk_buffer_t* buffer = tsk_null;
- tsms_tpdu_submit_t* sms_submit = tsk_null;
- tsms_rpdu_data_t* rp_data = tsk_null;
-
- RPMessage* encodedData = tsk_null;
-
- if(!smsc || ! destination || !ascii){
- TSK_DEBUG_ERROR("Invalid parameter");
- return tsk_null;
- }
-
- if(mr<0 || mr>0xFF){
- TSK_DEBUG_WARN("Invalid Message Reference");
- mr &= 0xFF;
- }
-
- // create SMS-SUBMIT message
- if(!(sms_submit = tsms_tpdu_submit_create(mr, (const uint8_t*)smsc, (const uint8_t*)destination))){
- TSK_DEBUG_ERROR("Failed to create the TPDU SMS-SUBMIT message");
- goto bail;
- }
- // Set content for SMS-SUBMIT
- if((buffer = tsms_pack_to_7bit(ascii))){
- ret = tsms_tpdu_submit_set_userdata(sms_submit, buffer, tsms_alpha_7bit);
- TSK_OBJECT_SAFE_FREE(buffer);
- }
- else{
- TSK_DEBUG_ERROR("Failed to encode the TPDU SMS-SUBMIT message");
- goto bail;
- }
-
- // create RP-DATA(SMS-SUBMIT)
- if((rp_data = tsms_rpdu_data_create_mo(mr, (const uint8_t*)smsc, TSMS_TPDU_MESSAGE(sms_submit)))){
- encodedData = new RPMessage(twrap_rpmessage_type_sms_submit, TSMS_RPDU_MESSAGE(rp_data));
- }
- else{
- TSK_DEBUG_ERROR("Failed to create the RP-DATA(SMS-SUBMIT) message");
- goto bail;
- }
-
-bail:
- TSK_OBJECT_SAFE_FREE(buffer);
- TSK_OBJECT_SAFE_FREE(sms_submit);
- TSK_OBJECT_SAFE_FREE(rp_data);
-
- return encodedData;
-}
-
-// More information about RP-DATA: http://www.doubango.org/API/tinySMS/group__tsms__rpdu__group.html#tsms_rpdu_group_DATA
-RPMessage* SMSEncoder::encodeDeliver(int mr, const char* smsc, const char* originator, const char* ascii)
-{
- int ret;
- tsk_buffer_t* buffer = tsk_null;
- tsms_tpdu_deliver_t* sms_deliver = tsk_null;
- tsms_rpdu_data_t* rp_data = tsk_null;
-
- RPMessage* encodedData = tsk_null;
-
- if(!smsc || ! originator || !ascii){
- TSK_DEBUG_ERROR("Invalid parameter");
- return tsk_null;
- }
-
- if(mr<0 || mr>0xFF){
- TSK_DEBUG_WARN("Invalid Message Reference");
- mr &= 0xFF;
- }
-
- // create SMS-DELIVER message
- sms_deliver = tsms_tpdu_deliver_create((const uint8_t*)smsc, (const uint8_t*)originator);
- // Set content for SMS-DELIVER
- if((buffer = tsms_pack_to_7bit(ascii))){
- ret = tsms_tpdu_deliver_set_userdata(sms_deliver, buffer, tsms_alpha_7bit);
- TSK_OBJECT_SAFE_FREE(buffer);
- }
- // create RP-DATA message
- if((rp_data = tsms_rpdu_data_create_mt(mr, (const uint8_t*)smsc, TSMS_TPDU_MESSAGE(sms_deliver)))){
- encodedData = new RPMessage(twrap_rpmessage_type_sms_deliver, TSMS_RPDU_MESSAGE(rp_data));
- }
- else{
- TSK_DEBUG_ERROR("Failed to create the RP-DATA(SMS-DELIVER) message");
- goto bail;
- }
-
-bail:
- TSK_OBJECT_SAFE_FREE(buffer);
- TSK_OBJECT_SAFE_FREE(sms_deliver);
- TSK_OBJECT_SAFE_FREE(rp_data);
-
- return encodedData;
-}
-
-RPMessage* SMSEncoder::encodeACK(int mr, const char* smsc, const char* destination, bool forSUBMIT)
-{
- tsms_tpdu_report_t* sms_report = tsk_null;
- tsms_rpdu_ack_t* rp_ack = tsk_null;
- tsk_bool_t isSUBMIT = forSUBMIT ? tsk_true : tsk_false;
- tsk_bool_t isERROR = tsk_false;
-
- RPMessage* encodedData = tsk_null;
-
- // create SMS-DELIVER(or SUBMIT)-REPORT message
- sms_report = tsms_tpdu_report_create((const uint8_t*)smsc, isSUBMIT, isERROR);
- // create RP-ACK message (From MS to SC)
- if((rp_ack = tsms_rpdu_ack_create_mo(mr, TSMS_TPDU_MESSAGE(sms_report)))){
- encodedData = new RPMessage(twrap_rpmessage_type_sms_ack, TSMS_RPDU_MESSAGE(rp_ack));
- }
-
- TSK_OBJECT_SAFE_FREE(sms_report);
- TSK_OBJECT_SAFE_FREE(rp_ack);
-
- return encodedData;
-}
-
-RPMessage* SMSEncoder::encodeError(int mr, const char* smsc, const char* destination, bool forSUBMIT)
-{
- tsms_tpdu_report_t* sms_report = tsk_null;
- tsms_rpdu_error_t* rp_error= tsk_null;
- tsk_bool_t isSUBMIT = forSUBMIT ? tsk_true : tsk_false;
- tsk_bool_t isERROR = tsk_true;
-
- RPMessage* encodedData = tsk_null;
-
- // create SMS-DELIVER-REPORT message
- sms_report = tsms_tpdu_report_create((const uint8_t*)smsc, isSUBMIT, isERROR);
- // create RP-ERROR message
- if((rp_error = tsms_rpdu_error_create_mo(mr, TSMS_TPDU_MESSAGE(sms_report), 0x0A/*call barred*/))){
- encodedData = new RPMessage(twrap_rpmessage_type_sms_error, TSMS_RPDU_MESSAGE(rp_error));
- }
-
- TSK_OBJECT_SAFE_FREE(sms_report);
- TSK_OBJECT_SAFE_FREE(rp_error);
-
- return encodedData;
-}
-
-SMSData* SMSEncoder::decode(const void* data, unsigned size, bool MobOrig)
-{
- tsms_rpdu_message_t* rp_message = tsk_null;
- tsms_tpdu_message_t* tpdu = tsk_null;
-
- SMSData* decodedData = tsk_null;
-
- if(!(rp_message = tsms_rpdu_message_deserialize(data, size))){
- TSK_DEBUG_ERROR("Failed to deserialize the RP-MESSAGE");
- goto bail;
- }
-
- switch(rp_message->mti){
- case tsms_rpdu_type_data_mo:
- case tsms_rpdu_type_data_mt:
- {
- char* ascii = tsk_null;
- tsms_rpdu_data_t* rp_data = TSMS_RPDU_DATA(rp_message);
- if((tpdu = tsms_tpdu_message_deserialize(rp_data->udata->data, rp_data->udata->size, MobOrig))){
- if(tpdu->mti == tsms_tpdu_mti_deliver_mt || tpdu->mti == tsms_tpdu_mti_submit_mo){ /* SMS-SUBMIT or SMS-DELIVER? */
- ascii = tsms_tpdu_message_get_payload(tpdu);
- decodedData = new SMSData(twrap_sms_type_rpdata, rp_message->mr, ascii, tsk_strlen(ascii));
-
- if(tpdu->mti == tsms_tpdu_mti_deliver_mt){
- tsms_tpdu_deliver_t* tpdu_deliver = (tsms_tpdu_deliver_t*)tpdu;
- decodedData->setOA(tpdu_deliver->oa ? tpdu_deliver->oa->digits : tsk_null);
- }
- /* IMPORTANT: to not uncomment
- else if(TSK_OBJECT_DEF(tpdu) == tsms_tpdu_submit_def_t){
- tsms_tpdu_submit_t* tpdu_submit = (tsms_tpdu_submit_t*)tpdu;
- decodedData->setDA(tpdu_submit->da ? tpdu_submit->da->digits : tsk_null);
- }*/
- TSK_FREE(ascii);
- }
- }
- break;
- }
- case tsms_rpdu_type_ack_mo:
- case tsms_rpdu_type_ack_mt:
- {
- tsms_rpdu_ack_t* rp_ack = TSMS_RPDU_ACK(rp_message);
- // ...do whatever you want
- if(rp_ack->udata && (tpdu = tsms_tpdu_message_deserialize(rp_ack->udata->data, rp_ack->udata->size, MobOrig))){
- // ...do whatever you want
- }
- decodedData = new SMSData(twrap_sms_type_ack, rp_message->mr, tsk_null, 0);
- break;
- }
- case tsms_rpdu_type_error_mo:
- case tsms_rpdu_type_error_mt:
- {
- tsms_rpdu_error_t* rp_error = TSMS_RPDU_ERROR(rp_message);
- // ...do whatever you want
- if(rp_error->udata && (tpdu = tsms_tpdu_message_deserialize(rp_error->udata->data, rp_error->udata->size, MobOrig))){
- // ...do whatever you want
- }
- decodedData = new SMSData(twrap_sms_type_error, rp_message->mr, tsk_null, 0);
- break;
- }
- case tsms_rpdu_type_smma_mo:
- {
- tsms_rpdu_smma_t* rp_smma = TSMS_RPDU_SMMA(rp_message);
- // ...do whatever you want
- decodedData = new SMSData(twrap_sms_type_smma, rp_message->mr, tsk_null, 0);
- break;
- }
- default:
- {
- TSK_DEBUG_INFO("Unknown RP-Message type (%u).", rp_message->mti);
- break;
- }
- }
-
-bail:
- TSK_OBJECT_SAFE_FREE(rp_message);
- TSK_OBJECT_SAFE_FREE(tpdu);
-
- return decodedData;
-} \ No newline at end of file
diff --git a/branches/1.0/bindings/_common/SMSEncoder.h b/branches/1.0/bindings/_common/SMSEncoder.h
deleted file mode 100644
index 8026741..0000000
--- a/branches/1.0/bindings/_common/SMSEncoder.h
+++ /dev/null
@@ -1,115 +0,0 @@
-/*
-* Copyright (C) 2009 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou@doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-#ifndef TINYWRAP_SMSENCODER_H
-#define TINYWRAP_SMSENCODER_H
-
-#include "tinyWRAP_config.h"
-
-#include "tinysip.h" /* SIP/IMS */
-#include "tinysms.h" /* Binary SMS API*/
-
-typedef enum twrap_rpmessage_type_e
-{
- twrap_rpmessage_type_sms_none,
- twrap_rpmessage_type_sms_submit,
- twrap_rpmessage_type_sms_deliver,
- twrap_rpmessage_type_sms_ack,
- twrap_rpmessage_type_sms_error,
-}
-twrap_rpmessage_type_t;
-
-typedef enum twrap_sms_type_e
-{
- twrap_sms_type_none,
- twrap_sms_type_rpdata,
- twrap_sms_type_smma,
- twrap_sms_type_ack,
- twrap_sms_type_error,
-}
-twrap_sms_type_t;
-
-class RPMessage
-{
-public:
-#if !defined(SWIG)
- RPMessage(twrap_rpmessage_type_t type, tsms_rpdu_message_t* rp_message);
-#endif
- RPMessage();
-
- virtual ~RPMessage();
-
-public:
- /* Public API functions */
- twrap_rpmessage_type_t getType();
- unsigned getPayloadLength();
- unsigned getPayload(void* output, unsigned maxsize);
-
-private:
- twrap_rpmessage_type_t type;
- tsms_rpdu_message_t* rp_message;
-
- tsk_buffer_t* tmpBuffer;
-};
-
-class SMSData
-{
-public:
-#if !defined(SWIG)
- SMSData(twrap_sms_type_t type, int mr, const void* ascii, tsk_size_t size);
-#endif
- SMSData();
-
- virtual ~SMSData();
-
-public:
- /* Public API functions */
- twrap_sms_type_t getType();
- int getMR();
- unsigned getPayloadLength();
- unsigned getPayload(void* output, unsigned maxsize);
- const char* getOA();
- const char* getDA();
-#if !defined(SWIG)
- void setOA(const char* oa);
- void setDA(const char* da);
-#endif
-
-private:
- twrap_sms_type_t type;
- int mr;
- void* ascii;
- char* oa;
- char* da;
- tsk_size_t size;
-};
-
-class SMSEncoder
-{
-public:
- static RPMessage* encodeSubmit(int mr, const char* smsc, const char* destination, const char* ascii);
- static RPMessage* encodeDeliver(int mr, const char* smsc, const char* originator, const char* ascii);
- static RPMessage* encodeACK(int mr, const char* smsc, const char* destination, bool forSUBMIT);
- static RPMessage* encodeError(int mr, const char* smsc, const char* destination, bool forSUBMIT);
- static SMSData* decode(const void* data, unsigned size, bool MobOrig);
-};
-
-#endif /* TINYWRAP_SMSENCODER_H */
diff --git a/branches/1.0/bindings/_common/SafeObject.cxx b/branches/1.0/bindings/_common/SafeObject.cxx
deleted file mode 100644
index 587a4cb..0000000
--- a/branches/1.0/bindings/_common/SafeObject.cxx
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
-* Copyright (C) 2009-2010 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-#include "SafeObject.h"
-
-SafeObject::SafeObject()
-{
- this->mutex = tsk_mutex_create();
-}
-
-int SafeObject::Lock()const
-{
- return tsk_mutex_lock(this->mutex);
-}
-
-int SafeObject::UnLock()const
-{
- return tsk_mutex_unlock(this->mutex);
-}
-
-SafeObject::~SafeObject()
-{
- tsk_mutex_destroy(&this->mutex);
-}
diff --git a/branches/1.0/bindings/_common/SafeObject.h b/branches/1.0/bindings/_common/SafeObject.h
deleted file mode 100644
index 4713263..0000000
--- a/branches/1.0/bindings/_common/SafeObject.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
-* Copyright (C) 2009-2010 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-#ifndef TINYWRAP_SAFEOBJECT_H
-#define TINYWRAP_SAFEOBJECT_H
-
-#include "tsk_mutex.h"
-
-class SafeObject
-{
-public:
- SafeObject();
- virtual ~SafeObject();
-
-/* protected: */
- int Lock()const;
- int UnLock()const;
-
-private:
- tsk_mutex_handle_t *mutex;
-};
-
-#endif /* TINYWRAP_SAFEOBJECT_H */
diff --git a/branches/1.0/bindings/_common/SipCallback.cxx b/branches/1.0/bindings/_common/SipCallback.cxx
deleted file mode 100644
index d2bb1eb..0000000
--- a/branches/1.0/bindings/_common/SipCallback.cxx
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
-* Copyright (C) 2009-2010 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-#include "SipCallback.h"
-
-
-
-
-
-
-
-
-
diff --git a/branches/1.0/bindings/_common/SipCallback.h b/branches/1.0/bindings/_common/SipCallback.h
deleted file mode 100644
index f046a77..0000000
--- a/branches/1.0/bindings/_common/SipCallback.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
-* Copyright (C) 2009-2010 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-#ifndef TINYWRAP_SIPCALLBACK_H
-#define TINYWRAP_SIPCALLBACK_H
-
-class DialogEvent;
-class StackEvent;
-
-class InviteEvent;
-class MessagingEvent;
-class OptionsEvent;
-class PublicationEvent;
-class RegistrationEvent;
-class SubscriptionEvent;
-
-class SipCallback
-{
-public:
- SipCallback() { }
- virtual ~SipCallback() {}
- virtual int OnDialogEvent(const DialogEvent* e) { return -1; }
- virtual int OnStackEvent(const StackEvent* e) { return -1; }
-
- virtual int OnInviteEvent(const InviteEvent* e) { return -1; }
- virtual int OnMessagingEvent(const MessagingEvent* e) { return -1; }
- virtual int OnOptionsEvent(const OptionsEvent* e) { return -1; }
- virtual int OnPublicationEvent(const PublicationEvent* e) { return -1; }
- virtual int OnRegistrationEvent(const RegistrationEvent* e) { return -1; }
- virtual int OnSubscriptionEvent(const SubscriptionEvent* e) { return -1; }
-
-private:
-
-};
-
-#endif /* TINYWRAP_SIPCALLBACK_H */
diff --git a/branches/1.0/bindings/_common/SipEvent.cxx b/branches/1.0/bindings/_common/SipEvent.cxx
deleted file mode 100644
index 42e06e2..0000000
--- a/branches/1.0/bindings/_common/SipEvent.cxx
+++ /dev/null
@@ -1,306 +0,0 @@
-/*
-* Copyright (C) 2009-2010 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-#include "SipEvent.h"
-#include "SipSession.h"
-#include "SipMessage.h"
-
-#include "SipStack.h"
-
-/* ======================== SipEvent ========================*/
-SipEvent::SipEvent(const tsip_event_t *_sipevent)
-{
- this->sipevent = _sipevent;
- if(_sipevent){
- this->sipmessage = new SipMessage(_sipevent->sipmessage);
- }
- else{
- this->sipmessage = tsk_null;
- }
-}
-
-SipEvent::~SipEvent()
-{
- if(this->sipmessage){
- delete this->sipmessage;
- }
-}
-
-short SipEvent::getCode() const
-{
- return this->sipevent->code;
-}
-
-const char* SipEvent::getPhrase() const
-{
- return this->sipevent->phrase;
-}
-
-const SipSession* SipEvent::getBaseSession() const
-{
- const void* userdata = tsip_ssession_get_userdata(this->sipevent->ss);
- if(userdata){
- return dyn_cast<const SipSession*>((const SipSession*)userdata);
- }
- return tsk_null;
-}
-
-const SipMessage* SipEvent::getSipMessage() const
-{
- return this->sipmessage;
-}
-
-SipStack* SipEvent::getStack()const
-{
- const tsip_stack_handle_t* stack_handle = tsip_ssession_get_stack(sipevent->ss);
- const void* userdata;
- if(stack_handle && (userdata = tsip_stack_get_userdata(stack_handle))){
- return dyn_cast<SipStack*>((SipStack*)userdata);
- }
- return tsk_null;
-}
-
-
-/* ======================== DialogEvent ========================*/
-DialogEvent::DialogEvent(const tsip_event_t *_sipevent)
-:SipEvent(_sipevent){ }
-
-DialogEvent::~DialogEvent(){ }
-
-
-/* ======================== DialogEvent ========================*/
-StackEvent::StackEvent(const tsip_event_t *_sipevent)
-:SipEvent(_sipevent){ }
-
-StackEvent::~StackEvent(){ }
-
-
-/* ======================== InviteEvent ========================*/
-InviteEvent::InviteEvent(const tsip_event_t *_sipevent)
-:SipEvent(_sipevent)
-{
-}
-
-InviteEvent::~InviteEvent()
-{
-}
-
-tsip_invite_event_type_t InviteEvent::getType() const
-{
- return TSIP_INVITE_EVENT(this->sipevent)->type;
-}
-
-twrap_media_type_t InviteEvent::getMediaType()
-{
- // Ignore Mixed session (both audio/video and MSRP) as specified by GSMA RCS.
- if(this->sipevent && this->sipevent->ss){
- tmedia_type_t type = tsip_ssession_get_mediatype(this->sipevent->ss);
- if(type & tmedia_msrp){
- return twrap_media_msrp;
- }
- else{
- switch(type){
- case tmedia_audio:
- return twrap_media_audio;
- case tmedia_video:
- return twrap_media_video;
- case tmedia_audiovideo:
- return twrap_media_audiovideo;
- }
- }
- }
- return twrap_media_none;
-}
-
-const InviteSession* InviteEvent::getSession() const
-{
- return dyn_cast<const InviteSession*>(this->getBaseSession());
-}
-
-CallSession* InviteEvent::takeCallSessionOwnership() const
-{
- // TODO: Factor all takeSessionOwnership() functions
- if(this->sipevent && this->sipevent->ss && !tsip_ssession_have_ownership(this->sipevent->ss)){
- SipStack* stack = this->getStack();
- if(stack){
- /* The constructor will call take_ownerhip() */
- return new CallSession(stack, this->sipevent->ss);
- }
- }
- return tsk_null;
-}
-
-MsrpSession* InviteEvent::takeMsrpSessionOwnership() const
-{
- // TODO: Factor all takeSessionOwnership() functions
- if(this->sipevent && this->sipevent->ss && !tsip_ssession_have_ownership(this->sipevent->ss)){
- SipStack* stack = this->getStack();
- if(stack){
- /* The constructor will call take_ownerhip() */
- return new MsrpSession(stack, this->sipevent->ss);
- }
- }
- return tsk_null;
-}
-
-/* ======================== MessagingEvent ========================*/
-MessagingEvent::MessagingEvent(const tsip_event_t *_sipevent)
-:SipEvent(_sipevent)
-{
-}
-
-MessagingEvent::~MessagingEvent()
-{
-}
-
-tsip_message_event_type_t MessagingEvent::getType() const
-{
- return TSIP_MESSAGE_EVENT(this->sipevent)->type;
-}
-
-const MessagingSession* MessagingEvent::getSession() const
-{
- return dyn_cast<const MessagingSession*>(this->getBaseSession());
-}
-
-MessagingSession* MessagingEvent::takeSessionOwnership() const
-{
- // TODO: Factor all takeSessionOwnership() functions
- if(!this->sipevent || !this->sipevent->ss){
- return tsk_null;
- }
-
- if(tsip_ssession_have_ownership(this->sipevent->ss)){
- // already have ownership
- return tsk_null;
- }
- else{
- const tsip_stack_handle_t* stack_handle = tsip_ssession_get_stack(sipevent->ss);
- const void* userdata;
- if(stack_handle && (userdata = tsip_stack_get_userdata(stack_handle))){
- SipStack* stack = dyn_cast<SipStack*>((SipStack*)userdata);
- if(stack){
- // FIXME: Memory Leak ?
- /* The constructor will call take_ownerhip() */
- return new MessagingSession(stack, this->sipevent->ss);
- }
- }
- return tsk_null;
- }
-}
-
-/* ======================== OptionsEvent ========================*/
-OptionsEvent::OptionsEvent(const tsip_event_t *_sipevent)
-:SipEvent(_sipevent)
-{
-}
-
-OptionsEvent::~OptionsEvent()
-{
-}
-
-tsip_options_event_type_t OptionsEvent::getType() const
-{
- return TSIP_OPTIONS_EVENT(this->sipevent)->type;
-}
-
-const OptionsSession* OptionsEvent::getSession() const
-{
- return dyn_cast<const OptionsSession*>(this->getBaseSession());
-}
-
-
-
-/* ======================== PublicationEvent ========================*/
-PublicationEvent::PublicationEvent(const tsip_event_t *_sipevent)
-:SipEvent(_sipevent)
-{
-}
-
-PublicationEvent::~PublicationEvent()
-{
-}
-
-tsip_publish_event_type_t PublicationEvent::getType() const
-{
- return TSIP_PUBLISH_EVENT(this->sipevent)->type;
-}
-
-const PublicationSession* PublicationEvent::getSession() const
-{
- return dyn_cast<const PublicationSession*>(this->getBaseSession());
-}
-
-
-
-/* ======================== RegistrationEvent ========================*/
-RegistrationEvent::RegistrationEvent(const tsip_event_t *_sipevent)
-:SipEvent(_sipevent)
-{
-}
-
-RegistrationEvent::~RegistrationEvent()
-{
-}
-
-tsip_register_event_type_t RegistrationEvent::getType() const
-{
- return TSIP_REGISTER_EVENT(this->sipevent)->type;
-}
-
-const RegistrationSession* RegistrationEvent::getSession() const
-{
- return dyn_cast<const RegistrationSession*>(this->getBaseSession());
-}
-
-RegistrationSession* RegistrationEvent::takeSessionOwnership() const
-{
- // TODO: Factor all takeSessionOwnership() functions
- if(this->sipevent && this->sipevent->ss && !tsip_ssession_have_ownership(this->sipevent->ss)){
- SipStack* stack = this->getStack();
- if(stack){
- /* The constructor will call take_ownerhip() */
- return new RegistrationSession(stack, this->sipevent->ss);
- }
- }
- return tsk_null;
-}
-
-
-/* ======================== SubscriptionEvent ========================*/
-SubscriptionEvent::SubscriptionEvent(const tsip_event_t *sipevent)
-:SipEvent(sipevent)
-{
-}
-
-SubscriptionEvent::~SubscriptionEvent()
-{
-}
-
-tsip_subscribe_event_type_t SubscriptionEvent::getType() const
-{
- return TSIP_SUBSCRIBE_EVENT(this->sipevent)->type;
-}
-
-const SubscriptionSession* SubscriptionEvent::getSession() const
-{
- return dyn_cast<const SubscriptionSession*>(this->getBaseSession());
-} \ No newline at end of file
diff --git a/branches/1.0/bindings/_common/SipEvent.h b/branches/1.0/bindings/_common/SipEvent.h
deleted file mode 100644
index 11b919e..0000000
--- a/branches/1.0/bindings/_common/SipEvent.h
+++ /dev/null
@@ -1,193 +0,0 @@
-/*
-* Copyright (C) 2009-2010 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-#ifndef TINYWRAP_SIPEVENT_H
-#define TINYWRAP_SIPEVENT_H
-
-#include "tinysip.h"
-#include "Common.h"
-
-class SipStack;
-
-class SipSession;
-class InviteSession;
-class CallSession;
-class MsrpSession;
-class MessagingSession;
-class OptionsSession;
-class PublicationSession;
-class RegistrationSession;
-class SubscriptionSession;
-
-class SipMessage;
-
-
-/* ======================== SipEvent ========================*/
-class SipEvent
-{
-public:
-#if !defined(SWIG)
- SipEvent(const tsip_event_t *sipevent);
-#endif
- virtual ~SipEvent();
-
-public:
- short getCode() const;
- const char* getPhrase() const;
- const SipSession* getBaseSession() const;
- const SipMessage* getSipMessage() const;
-
-protected:
-#if !defined(SWIG)
- SipStack* getStack()const;
-#endif
-
-protected:
- const tsip_event_t *sipevent;
- SipMessage* sipmessage;
-};
-
-
-/* ======================== DialogEvent ========================*/
-class DialogEvent: public SipEvent
-{
-public:
-#if !defined(SWIG)
- DialogEvent(const tsip_event_t *sipevent);
-#endif
- virtual ~DialogEvent();
-
-public: /* Public API functions */
-};
-
-/* ======================== StackEvent ========================*/
-class StackEvent: public SipEvent
-{
-public:
-#if !defined(SWIG)
- StackEvent(const tsip_event_t *sipevent);
-#endif
- virtual ~StackEvent();
-
-public: /* Public API functions */
-};
-
-
-
-/* ======================== InviteEvent ========================*/
-class InviteEvent: public SipEvent
-{
-public:
-#if !defined(SWIG)
- InviteEvent(const tsip_event_t *sipevent);
-#endif
- virtual ~InviteEvent();
-
-public: /* Public API functions */
- tsip_invite_event_type_t getType() const;
- twrap_media_type_t getMediaType();
- const InviteSession* getSession() const;
- CallSession* takeCallSessionOwnership() const;
- MsrpSession* takeMsrpSessionOwnership() const;
-};
-
-
-
-/* ======================== MessagingEvent ========================*/
-class MessagingEvent: public SipEvent
-{
-public:
-#if !defined(SWIG)
- MessagingEvent(const tsip_event_t *sipevent);
-#endif
- virtual ~MessagingEvent();
-
-public: /* Public API functions */
- tsip_message_event_type_t getType() const;
- const MessagingSession* getSession() const;
- MessagingSession* takeSessionOwnership() const;
-};
-
-
-/* ======================== OptionsEvent ========================*/
-class OptionsEvent: public SipEvent
-{
-public:
-#if !defined(SWIG)
- OptionsEvent(const tsip_event_t *sipevent);
-#endif
- virtual ~OptionsEvent();
-
-public: /* Public API functions */
- tsip_options_event_type_t getType() const;
- const OptionsSession* getSession() const;
-};
-
-
-
-/* ======================== PublicationEvent ========================*/
-class PublicationEvent: public SipEvent
-{
-public:
-#if !defined(SWIG)
- PublicationEvent(const tsip_event_t *sipevent);
-#endif
- virtual ~PublicationEvent();
-
-public: /* Public API functions */
- tsip_publish_event_type_t getType() const;
- const PublicationSession* getSession() const;
-};
-
-
-
-/* ======================== RegistrationEvent ========================*/
-class RegistrationEvent: public SipEvent
-{
-public:
-#if !defined(SWIG)
- RegistrationEvent(const tsip_event_t *sipevent);
-#endif
- virtual ~RegistrationEvent();
-
-public: /* Public API functions */
- tsip_register_event_type_t getType() const;
- const RegistrationSession* getSession() const;
- RegistrationSession* takeSessionOwnership() const;
-
-};
-
-
-/* ======================== SubscriptionEvent ========================*/
-class SubscriptionEvent: public SipEvent
-{
-public:
-#if !defined(SWIG)
- SubscriptionEvent(const tsip_event_t *sipevent);
-#endif
- virtual ~SubscriptionEvent();
-
-public: /* Public API functions */
- tsip_subscribe_event_type_t getType() const;
- const SubscriptionSession* getSession() const;
-};
-
-#endif /* TINYWRAP_SIPEVENT_H */
diff --git a/branches/1.0/bindings/_common/SipMessage.cxx b/branches/1.0/bindings/_common/SipMessage.cxx
deleted file mode 100644
index 24f129a..0000000
--- a/branches/1.0/bindings/_common/SipMessage.cxx
+++ /dev/null
@@ -1,258 +0,0 @@
-/*
-* Copyright (C) 2009-2010 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-#include "SipMessage.h"
-
-
-SdpMessage::SdpMessage()
-:sdpmessage(tsk_null)
-{
-}
-
-SdpMessage::SdpMessage(tsdp_message_t *_sdpmessage)
-{
- this->sdpmessage = (tsdp_message_t *)tsk_object_ref(_sdpmessage);
-}
-
-SdpMessage::~SdpMessage()
-{
- TSK_OBJECT_SAFE_FREE(this->sdpmessage);
-}
-
-char* SdpMessage::getSdpHeaderValue(const char* media, char name, unsigned index /*= 0*/)
-{
- const tsdp_header_M_t* M;
-
- if((M = (const tsdp_header_M_t*)tsdp_message_get_header(this->sdpmessage, tsdp_htype_M))){
- tsdp_header_type_t type = tsdp_htype_Dummy;
- const tsdp_header_t* header;
- switch(name){
- case 'a': type = tsdp_htype_A; break;
- case 'b': type = tsdp_htype_B; break;
- case 'c': type = tsdp_htype_C; break;
- case 'e': type = tsdp_htype_E; break;
- case 'i': type = tsdp_htype_I; break;
- case 'k': type = tsdp_htype_K; break;
- case 'm': type = tsdp_htype_M; break;
- case 'o': type = tsdp_htype_O; break;
-
-
- case 'p': type = tsdp_htype_P; break;
- case 'r': type = tsdp_htype_R; break;
- case 's': type = tsdp_htype_S; break;
- case 't': type = tsdp_htype_T; break;
- case 'u': type = tsdp_htype_U; break;
- case 'v': type = tsdp_htype_V; break;
- case 'z': type = tsdp_htype_Z; break;
- }
-
- if((header = tsdp_message_get_headerAt(this->sdpmessage, type, index))){
- return tsdp_header_tostring(header);
- }
- }
-
- return tsk_null;
-}
-
-char* SdpMessage::getSdpHeaderAValue(const char* media, const char* attributeName)
-{
- const tsdp_header_M_t* M;
- tsk_size_t i;
-
- for(i = 0; (M = (const tsdp_header_M_t*)tsdp_message_get_headerAt(this->sdpmessage, tsdp_htype_M, i)); i++){
- if(tsk_striequals(M->media, media)){
- const tsdp_header_A_t* A;
- if((A = tsdp_header_M_findA(M, attributeName))){
- return tsk_strdup(A->value);
- }
- }
- }
-
- return tsk_null;
-}
-
-
-SipMessage::SipMessage()
-:sipmessage(tsk_null), sdpmessage(tsk_null)
-{
-}
-
-SipMessage::SipMessage(tsip_message_t *_sipmessage)
-: sdpmessage(tsk_null)
-{
- this->sipmessage = (tsip_message_t *)tsk_object_ref(_sipmessage);
-}
-
-SipMessage::~SipMessage()
-{
- TSK_OBJECT_SAFE_FREE(this->sipmessage);
- if(this->sdpmessage){
- delete this->sdpmessage;
- }
-}
-
-const tsip_header_t* SipMessage::getSipHeader(const char* name, unsigned index /* =0 */)
-{
- /* Do not worry about calling tsk_striequals() several times because the function
- * is fully optimized.
- */
- /* Code below comes from tsip_message_get_headerAt() */
- tsk_size_t pos = 0;
- const tsk_list_item_t *item;
- const tsip_header_t* hdr = tsk_null;
- if(!this->sipmessage || !name){
- return tsk_null;
- }
-
- if(tsk_striequals(name, "v") || tsk_striequals(name, "via")){
- if(index == 0){
- hdr = (const tsip_header_t*)this->sipmessage->firstVia;
- goto bail;
- }else pos++; }
- if(tsk_striequals(name, "f") || tsk_striequals(name, "from")){
- if(index == 0){
- hdr = (const tsip_header_t*)this->sipmessage->From;
- goto bail;
- }else pos++; }
- if(tsk_striequals(name, "t") || tsk_striequals(name, "to")){
- if(index == 0){
- hdr = (const tsip_header_t*)this->sipmessage->To;
- goto bail;
- }else pos++; }
- if(tsk_striequals(name, "m") || tsk_striequals(name, "contact")){
- if(index == 0){
- hdr = (const tsip_header_t*)this->sipmessage->Contact;
- goto bail;
- }else pos++; }
- if(tsk_striequals(name, "i") || tsk_striequals(name, "call-id")){
- if(index == 0){
- hdr = (const tsip_header_t*)this->sipmessage->Call_ID;
- goto bail;
- }else pos++; }
- if(tsk_striequals(name, "cseq")){
- if(index == 0){
- hdr = (const tsip_header_t*)this->sipmessage->CSeq;
- goto bail;
- }else pos++; }
- if(tsk_striequals(name, "expires")){
- if(index == 0){
- hdr = (const tsip_header_t*)this->sipmessage->Expires;
- goto bail;
- }else pos++; }
- if(tsk_striequals(name, "c") || tsk_striequals(name, "content-type")){
- if(index == 0){
- hdr = (const tsip_header_t*)this->sipmessage->Content_Type;
- goto bail;
- }else pos++; }
- if(tsk_striequals(name, "l") || tsk_striequals(name, "content-length")){
- if(index == 0){
- hdr = (const tsip_header_t*)this->sipmessage->Content_Length;
- goto bail;
- }else pos++; }
-
-
- tsk_list_foreach(item, this->sipmessage->headers){
- if(tsk_striequals(tsip_header_get_name_2(TSIP_HEADER(item->data)), name)){
- if(pos++ >= index){
- hdr = (const tsip_header_t*)item->data;
- break;
- }
- }
- }
-
-
-bail:
- return hdr;
-}
-
-// e.g. getHeaderParamValue("content-type");
-char* SipMessage::getSipHeaderValue(const char* name, unsigned index /* = 0*/)
-{
- const tsip_header_t* header;
- if((header = this->getSipHeader(name, index))){
-
- switch(header->type){
- case tsip_htype_From:
- return tsip_uri_tostring(((const tsip_header_From_t*)header)->uri, tsk_false, tsk_false);
- case tsip_htype_To:
- return tsip_uri_tostring(((const tsip_header_To_t*)header)->uri, tsk_false, tsk_false);
- break;
- case tsip_htype_P_Asserted_Identity:
- return tsip_uri_tostring(((const tsip_header_P_Asserted_Identity_t*)header)->uri, tsk_false, tsk_false);
- break;
-
- default:
- return tsip_header_value_tostring(header);
- }
- }
- // SWIG: %newobject getHeaderValueAt;
- return tsk_null;
-}
-
-// e.g. getHeaderParamValue("content-type", "charset");
-char* SipMessage::getSipHeaderParamValue(const char* name, const char* param, unsigned index /*=0*/)
-{
- const tsip_header_t* header;
-
- if((header = this->getSipHeader(name, index))){
- return tsip_header_get_param_value(header, param);
- }
-
- // SWIG: %newobject getSipHeaderParamValue;
- return tsk_null;
-}
-
-/** Returns the content length.
-*/
-unsigned SipMessage::getSipContentLength()
-{
- return TSIP_MESSAGE_CONTENT_DATA_LENGTH(this->sipmessage);
-}
-
-/** Gets the message content
-* @param output A pointer to the output buffer where to copy the data. MUST
-* be allocated by the caller.
-* @param maxsize The maximum number of octets to copy. Should be less than the size of the
-* @a output buffer. You can use @a getSipContentLength() to get the right value to use.
-* @retval The number of octet copied in the @a output buffer.
-*/
-unsigned SipMessage::getSipContent(void* output, unsigned maxsize)
-{
- unsigned retsize = 0;
- if(output && maxsize && TSIP_MESSAGE_HAS_CONTENT(this->sipmessage)){
- retsize = (this->sipmessage->Content->size > maxsize) ? maxsize : this->sipmessage->Content->size;
- memcpy(output, this->sipmessage->Content->data, retsize);
- }
- return retsize;
-}
-
-const SdpMessage* SipMessage::getSdpMessage()
-{
- if(!this->sdpmessage && TSIP_MESSAGE_HAS_CONTENT(this->sipmessage)){
- tsdp_message_t* sdp = tsdp_message_parse(this->sipmessage->Content->data, this->sipmessage->Content->size);
- if(sdp){
- this->sdpmessage = new SdpMessage(sdp);
- TSK_OBJECT_SAFE_FREE(sdp);
- }
- }
-
- return this->sdpmessage;
-}
diff --git a/branches/1.0/bindings/_common/SipMessage.h b/branches/1.0/bindings/_common/SipMessage.h
deleted file mode 100644
index 803285e..0000000
--- a/branches/1.0/bindings/_common/SipMessage.h
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
-* Copyright (C) 2009-2010 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-#ifndef TINYWRAP_SIPMESSAGE_H
-#define TINYWRAP_SIPMESSAGE_H
-
-#include "tinysip.h"
-
-class SdpMessage
-{
-public:
- SdpMessage();
-#if !defined(SWIG)
- SdpMessage(tsdp_message_t *sdpmessage);
-#endif
- virtual ~SdpMessage();
-
- char* getSdpHeaderValue(const char* media, char name, unsigned index = 0);
- char* getSdpHeaderAValue(const char* media, const char* attributeName);
-
-private:
- tsdp_message_t *sdpmessage;
-};
-
-class SipMessage
-{
-public:
- SipMessage();
-#if !defined(SWIG)
- SipMessage(tsip_message_t *sipmessage);
-#endif
- virtual ~SipMessage();
-
- char* getSipHeaderValue(const char* name, unsigned index = 0);
- char* getSipHeaderParamValue(const char* name, const char* param, unsigned index = 0);
- unsigned getSipContentLength();
- unsigned getSipContent(void* output, unsigned maxsize);
- const SdpMessage* getSdpMessage();
-
-private:
- const tsip_header_t* getSipHeader(const char* name, unsigned index = 0);
-
-private:
- tsip_message_t *sipmessage;
- SdpMessage *sdpmessage;
-};
-
-#endif /* TINYWRAP_SIPMESSAGE_H */
diff --git a/branches/1.0/bindings/_common/SipSession.cxx b/branches/1.0/bindings/_common/SipSession.cxx
deleted file mode 100644
index f8dbe72..0000000
--- a/branches/1.0/bindings/_common/SipSession.cxx
+++ /dev/null
@@ -1,727 +0,0 @@
-/*
-* Copyright (C) 2009-2010 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-#include "SipSession.h"
-#include "SipStack.h"
-#include "MediaSessionMgr.h"
-
-#include "Msrp.h"
-
-/* ======================== AsyncAction ========================*/
-typedef struct twrap_async_action_s
-{
- const tsip_ssession_handle_t *session;
- const ActionConfig* config;
-}
-twrap_async_action_t;
-
-
-
-
-/* ======================== SipSession ========================*/
-SipSession::SipSession(SipStack* stack)
-{
- this->init(stack);
-}
-
-SipSession::SipSession(SipStack* stack, tsip_ssession_handle_t* handle)
-{
- this->init(stack, handle);
-}
-
-SipSession::~SipSession()
-{
- tsip_ssession_set(this->handle,
- TSIP_SSESSION_SET_USERDATA(tsk_null),
- TSIP_SSESSION_SET_NULL());
-
- TSK_OBJECT_SAFE_FREE(this->handle);
-}
-
-void SipSession::init(SipStack* _stack, tsip_ssession_handle_t* _handle/*=tsk_null*/)
-{
- if(_handle){
- /* "server-side-session" */
- if(tsip_ssession_take_ownership(_handle)){ /* should never happen */
- TSK_DEBUG_ERROR("Failed to take ownership");
- return;
- }
- this->handle = _handle;
- }
- else{
- /* "client-side-session" */
- this->handle = tsip_ssession_create(_stack->getHandle(),
- TSIP_SSESSION_SET_USERDATA(this),
- TSIP_SSESSION_SET_NULL());
- }
-
- /* set userdata (context) and ref. the stack handle */
- tsip_ssession_set(this->handle,
- TSIP_SSESSION_SET_USERDATA(this),
- TSIP_SSESSION_SET_NULL());
- this->stack = _stack;
-}
-
-bool SipSession::addHeader(const char* name, const char* value)
-{
- return (tsip_ssession_set(this->handle,
- TSIP_SSESSION_SET_HEADER(name, value),
- TSIP_SSESSION_SET_NULL()) == 0);
-}
-
-bool SipSession::haveOwnership()
-{
- return (tsip_ssession_have_ownership(this->handle) == tsk_true);
-}
-
-bool SipSession::removeHeader(const char* name)
-{
- return (tsip_ssession_set(this->handle,
- TSIP_SSESSION_UNSET_HEADER(name),
- TSIP_SSESSION_SET_NULL()) == 0);
-}
-
-bool SipSession::addCaps(const char* name, const char* value)
-{
- return (tsip_ssession_set(this->handle,
- TSIP_SSESSION_SET_CAPS(name, value),
- TSIP_SSESSION_SET_NULL()) == 0);
-}
-
-bool SipSession::addCaps(const char* name)
-{
- return (tsip_ssession_set(this->handle,
- TSIP_SSESSION_SET_CAPS(name, tsk_null),
- TSIP_SSESSION_SET_NULL()) == 0);
-}
-
-bool SipSession::removeCaps(const char* name)
-{
- return (tsip_ssession_set(this->handle,
- TSIP_SSESSION_UNSET_CAPS(name),
- TSIP_SSESSION_SET_NULL()) == 0);
-}
-
-bool SipSession::setExpires(unsigned expires)
-{
- return (tsip_ssession_set(this->handle,
- TSIP_SSESSION_SET_EXPIRES(expires),
- TSIP_SSESSION_SET_NULL()) == 0);
-}
-
-bool SipSession::setFromUri(const char* fromUri)
-{
- return (tsip_ssession_set(this->handle,
- TSIP_SSESSION_SET_FROM(fromUri),
- TSIP_SSESSION_SET_NULL()) == 0);
-}
-
-bool SipSession::setToUri(const char* toUri)
-{
- return (tsip_ssession_set(this->handle,
- TSIP_SSESSION_SET_TO(toUri),
- TSIP_SSESSION_SET_NULL()) == 0);
-}
-
-bool SipSession::setSilentHangup(bool silent)
-{
- return (tsip_ssession_set(this->handle,
- TSIP_SSESSION_SET_SILENT_HANGUP(silent ? tsk_true : tsk_false),
- TSIP_SSESSION_SET_NULL()) == 0);
-}
-
-bool SipSession::addSigCompCompartment(const char* compId)
-{
- return (tsip_ssession_set(this->handle,
- TSIP_SSESSION_SET_SIGCOMP_COMPARTMENT(compId),
- TSIP_SSESSION_SET_NULL()) == 0);
-}
-
-bool SipSession::removeSigCompCompartment()
-{
- return (tsip_ssession_set(this->handle,
- TSIP_SSESSION_UNSET_SIGCOMP_COMPARTMENT(),
- TSIP_SSESSION_SET_NULL()) == 0);
-}
-
-unsigned SipSession::getId()
-{
- return (unsigned)tsip_ssession_get_id(this->handle);
-}
-
-const SipStack* SipSession::getStack()const
-{
- return this->stack;
-}
-
-
-/* ======================== InviteSession ========================*/
-
-InviteSession::InviteSession(SipStack* Stack)
-: SipSession(Stack), mediaMgr(tsk_null)
-{
-}
-
-InviteSession::InviteSession(SipStack* Stack, tsip_ssession_handle_t* handle)
-: SipSession(Stack, handle), mediaMgr(tsk_null)
-{
-
-}
-
-InviteSession::~InviteSession()
-{
- if(this->mediaMgr){
- delete this->mediaMgr, this->mediaMgr = tsk_null;
- }
-}
-
-#if ANDROID
-static void *__droid_hangup(void *param)
-{
- twrap_async_action_t* asyn_action = (twrap_async_action_t*)param;
- const tsip_action_handle_t* action_cfg = asyn_action->config ? asyn_action->config->getHandle() : tsk_null;
-
- tsip_action_BYE(asyn_action->session,
- TSIP_ACTION_SET_CONFIG(action_cfg),
- TSIP_ACTION_SET_NULL());
-
- return tsk_null;
-}
-
-bool InviteSession::hangup(ActionConfig* config/*=tsk_null*/)
-{
- void* tid[1] = {0};
- tsip_ssession_handle_t *handle;
- int ret;
- twrap_async_action_t asyn_action = {0};
-
- handle = tsk_object_ref(this->handle);
- asyn_action.config = config;
- asyn_action.session = handle;
- ret = tsk_thread_create(tid, __droid_hangup, &asyn_action);
- tsk_thread_join(tid);
- tsk_object_unref(handle);
-
- return (ret == 0);
-}
-#else
-bool InviteSession::hangup(ActionConfig* config/*=tsk_null*/)
-{
- return (tsip_action_BYE(this->handle,
- TSIP_ACTION_SET_NULL()) == 0);
-}
-#endif
-
-#if ANDROID
-static void *__droid_reject(void *param)
-{
- twrap_async_action_t* asyn_action = (twrap_async_action_t*)param;
- const tsip_action_handle_t* action_cfg = asyn_action->config ? asyn_action->config->getHandle() : tsk_null;
-
- tsip_action_REJECT(asyn_action->session,
- TSIP_ACTION_SET_CONFIG(action_cfg),
- TSIP_ACTION_SET_NULL());
-
- return tsk_null;
-}
-
-bool InviteSession::reject(ActionConfig* config/*=tsk_null*/)
-{
- void* tid[1] = {0};
- tsip_ssession_handle_t *handle;
- int ret;
- twrap_async_action_t asyn_action = {0};
-
- handle = tsk_object_ref(this->handle);
- asyn_action.config = config;
- asyn_action.session = handle;
- ret = tsk_thread_create(tid, __droid_reject, &asyn_action);
- tsk_thread_join(tid);
- tsk_object_unref(handle);
-
- return (ret == 0);
-}
-#else
-bool InviteSession::reject(ActionConfig* config/*=tsk_null*/)
-{
- const tsip_action_handle_t* action_cfg = config ? config->getHandle() : tsk_null;
-
- return (tsip_action_REJECT(this->handle,
- TSIP_ACTION_SET_CONFIG(action_cfg),
- TSIP_ACTION_SET_NULL()) == 0);
-}
-#endif
-
-#if ANDROID
-static void *__droid_accept(void *param)
-{
- twrap_async_action_t* asyn_action = (twrap_async_action_t*)param;
- const tsip_action_handle_t* action_cfg = asyn_action->config ? asyn_action->config->getHandle() : tsk_null;
-
- tsip_action_ACCEPT(asyn_action->session,
- TSIP_ACTION_SET_CONFIG(action_cfg),
- TSIP_ACTION_SET_NULL());
-
- return tsk_null;
-}
-
-bool InviteSession::accept(ActionConfig* config/*=tsk_null*/)
-{
- void* tid[1] = {0};
- tsip_ssession_handle_t *handle;
- int ret;
- twrap_async_action_t asyn_action = {0};
-
-
- handle = tsk_object_ref(this->handle);
- asyn_action.config = config;
- asyn_action.session = handle;
- ret = tsk_thread_create(tid, __droid_accept, &asyn_action);
- tsk_thread_join(tid);
- tsk_object_unref(handle);
-
- return (ret == 0);
-}
-#else
-bool InviteSession::accept(ActionConfig* config/*=tsk_null*/)
-{
- const tsip_action_handle_t* action_cfg = config ? config->getHandle() : tsk_null;
-
- return (tsip_action_ACCEPT(this->handle,
- TSIP_ACTION_SET_CONFIG(action_cfg),
- TSIP_ACTION_SET_NULL()) == 0);
-}
-#endif
-
-const MediaSessionMgr* InviteSession::getMediaMgr()
-{
- if(!this->mediaMgr && this->handle){
- tmedia_session_mgr_t* mgr = tsip_session_get_mediamgr(this->handle);
- if(mgr){
- this->mediaMgr = new MediaSessionMgr(mgr);
- tsk_object_unref(mgr);
- }
- else{
- TSK_DEBUG_WARN("No media session associated to this session");
- }
- }
- return this->mediaMgr;
-}
-
-
-/* ======================== CallSession ========================*/
-CallSession::CallSession(SipStack* Stack)
-: InviteSession(Stack)
-{
-}
-
-CallSession::CallSession(SipStack* Stack, tsip_ssession_handle_t* handle)
-: InviteSession(Stack, handle)
-{
-}
-
-CallSession::~CallSession()
-{
-}
-
-#define ANDROID32 1
-
-#if ANDROID
-typedef struct twrap_async_action_call_s
-{
- const tsip_ssession_handle_t *session;
- const ActionConfig* config;
- tmedia_type_t media_type;
-}
-twrap_async_action_call_t;
-
-static void *__droid_call_thread(void *param)
-{
- twrap_async_action_call_t* asyn_action = (twrap_async_action_call_t*)param;
- const tsip_action_handle_t* action_cfg = asyn_action->config ? asyn_action->config->getHandle() : tsk_null;
-
- tsip_action_INVITE(asyn_action->session, asyn_action->media_type,
- TSIP_ACTION_SET_CONFIG(action_cfg),
- TSIP_ACTION_SET_NULL());
-
- return tsk_null;
-}
-
-static bool __droid_call(tsip_ssession_handle_t * session_handle, tmedia_type_t type, ActionConfig* config/*=tsk_null*/)
-{
- void* tid[1] = {0};
- tsip_ssession_handle_t *handle;
- int ret;
- twrap_async_action_call_t asyn_action = {0};
-
- handle = tsk_object_ref(session_handle);
- asyn_action.config = config;
- asyn_action.session = handle;
- asyn_action.media_type = type;
-
- ret = tsk_thread_create(tid, __droid_call_thread, &asyn_action);
- tsk_thread_join(tid);
- tsk_object_unref(handle);
-
- return (ret == 0);
-}
-#endif
-
-bool CallSession::callAudio(const char* remoteUri, ActionConfig* config/*=tsk_null*/)
-{
- tsip_ssession_set(this->handle,
- TSIP_SSESSION_SET_TO(remoteUri),
- TSIP_SSESSION_SET_NULL());
-#if ANDROID
- __droid_call(this->handle, tmedia_audio, config);
- return true;
-#else
- const tsip_action_handle_t* action_cfg = config ? config->getHandle() : tsk_null;
- return (tsip_action_INVITE(this->handle, tmedia_audio,
- TSIP_ACTION_SET_CONFIG(action_cfg),
- TSIP_ACTION_SET_NULL()) == 0);
-#endif
-}
-
-bool CallSession::callAudioVideo(const char* remoteUri, ActionConfig* config/*=tsk_null*/)
-{
- tsip_ssession_set(this->handle,
- TSIP_SSESSION_SET_TO(remoteUri),
- TSIP_SSESSION_SET_NULL());
-#if ANDROID
- __droid_call(this->handle, (tmedia_type_t)(tmedia_audio | tmedia_video), config);
- return true;
-#else
- const tsip_action_handle_t* action_cfg = config ? config->getHandle() : tsk_null;
- return (tsip_action_INVITE(this->handle, (tmedia_type_t)(tmedia_audio | tmedia_video),
- TSIP_ACTION_SET_CONFIG(action_cfg),
- TSIP_ACTION_SET_NULL()) == 0);
-#endif
-}
-
-bool CallSession::callVideo(const char* remoteUri, ActionConfig* config/*=tsk_null*/)
-{
- tsip_ssession_set(this->handle,
- TSIP_SSESSION_SET_TO(remoteUri),
- TSIP_SSESSION_SET_NULL());
-#if ANDROID
- __droid_call(this->handle, tmedia_video, config);
- return true;
-#else
- const tsip_action_handle_t* action_cfg = config ? config->getHandle() : tsk_null;
- return (tsip_action_INVITE(this->handle, tmedia_video,
- TSIP_ACTION_SET_CONFIG(action_cfg),
- TSIP_ACTION_SET_NULL()) == 0);
-#endif
-}
-
-bool CallSession::setSessionTimer(unsigned timeout, const char* refresher)
-{
- return (tsip_ssession_set(this->handle,
- TSIP_SSESSION_SET_MEDIA(
- TSIP_MSESSION_SET_TIMERS(timeout, refresher),
- TSIP_MSESSION_SET_NULL()
- ),
- TSIP_SSESSION_SET_NULL()) == 0);
-}
-
-bool CallSession::set100rel(bool enabled)
-{
- if(enabled){
- return (tsip_ssession_set(this->handle,
- TSIP_SSESSION_SET_MEDIA(
- TSIP_MSESSION_SET_100rel(),
- TSIP_MSESSION_SET_NULL()
- ),
- TSIP_SSESSION_SET_NULL()) == 0);
- }
- else{
- return (tsip_ssession_set(this->handle,
- TSIP_SSESSION_SET_MEDIA(
- TSIP_MSESSION_UNSET_100rel(),
- TSIP_MSESSION_SET_NULL()
- ),
- TSIP_SSESSION_SET_NULL()) == 0);
- }
-}
-
-bool CallSession::setQoS(tmedia_qos_stype_t type, tmedia_qos_strength_t strength)
-{
- return (tsip_ssession_set(this->handle,
- TSIP_SSESSION_SET_MEDIA(
- TSIP_MSESSION_SET_QOS(type, strength),
- TSIP_MSESSION_SET_NULL()
- ),
- TSIP_SSESSION_SET_NULL()) == 0);
-}
-
-bool CallSession::hold(ActionConfig* config/*=tsk_null*/)
-{
- const tsip_action_handle_t* action_cfg = config ? config->getHandle() : tsk_null;
-
- return (tsip_action_HOLD(this->handle, tmedia_all,
- TSIP_ACTION_SET_CONFIG(action_cfg),
- TSIP_ACTION_SET_NULL()) ==0 );
-}
-
-bool CallSession::resume(ActionConfig* config/*=tsk_null*/)
-{
- const tsip_action_handle_t* action_cfg = config ? config->getHandle() : tsk_null;
-
- return (tsip_action_RESUME(this->handle, tmedia_all,
- TSIP_ACTION_SET_CONFIG(action_cfg),
- TSIP_ACTION_SET_NULL()) == 0);
-}
-
-bool CallSession::sendDTMF(int number)
-{
- return (tsip_action_DTMF(this->handle, number,
- TSIP_ACTION_SET_NULL()) == 0);
-}
-
-
-/* ======================== MsrpSession ========================*/
-
-MsrpSession::MsrpSession(SipStack* Stack, MsrpCallback* _callback)
-: InviteSession(Stack), callback(_callback)
-{
- tsip_ssession_set(this->handle,
- TSIP_SSESSION_SET_MEDIA(
- TSIP_MSESSION_SET_MSRP_CB(twrap_msrp_cb),
- TSIP_MSESSION_SET_NULL()
- ),
- TSIP_SSESSION_SET_NULL());
-}
-
-MsrpSession::MsrpSession(SipStack* Stack, tsip_ssession_handle_t* handle)
-: InviteSession(Stack, handle), callback(tsk_null)
-{
- tsip_ssession_set(this->handle,
- TSIP_SSESSION_SET_MEDIA(
- TSIP_MSESSION_SET_MSRP_CB(twrap_msrp_cb),
- TSIP_MSESSION_SET_NULL()
- ),
- TSIP_SSESSION_SET_NULL());
-}
-
-MsrpSession::~MsrpSession()
-{
-}
-
-bool MsrpSession::setCallback(MsrpCallback* _callback)
-{
- this->callback = _callback;
- return true;
-}
-
-bool MsrpSession::callMsrp(const char* remoteUri, ActionConfig* config/*=tsk_null*/)
-{
- const tsip_action_handle_t* action_cfg = config ? config->getHandle() : tsk_null;
-
- tsip_ssession_set(this->handle,
- TSIP_SSESSION_SET_TO(remoteUri),
- TSIP_SSESSION_SET_NULL());
-
- return (tsip_action_INVITE(this->handle, tmedia_msrp,
- TSIP_ACTION_SET_CONFIG(action_cfg),
- TSIP_ACTION_SET_NULL()) == 0);
-}
-
-bool MsrpSession::sendMessage(const void* payload, unsigned len, ActionConfig* config/*=tsk_null*/)
-{
- const tsip_action_handle_t* action_cfg = config ? config->getHandle() : tsk_null;
-
- return (tsip_action_LARGE_MESSAGE(this->handle,
- TSIP_ACTION_SET_PAYLOAD(payload, len),
- TSIP_ACTION_SET_CONFIG(action_cfg),
- TSIP_ACTION_SET_NULL()) == 0);
-}
-
-bool MsrpSession::sendFile(ActionConfig* config/*=tsk_null*/)
-{
- return false;
-}
-
-/* ======================== MessagingSession ========================*/
-MessagingSession::MessagingSession(SipStack* Stack)
-: SipSession(Stack)
-{
-}
-
-MessagingSession::MessagingSession(SipStack* Stack, tsip_ssession_handle_t* handle)
-: SipSession(Stack, handle)
-{
-}
-
-MessagingSession::~MessagingSession()
-{
-}
-
-bool MessagingSession::send(const void* payload, unsigned len)
-{
- TSK_DEBUG_INFO("MessagingSession::Send()");
- int ret;
- if(payload && len){
- ret = tsip_action_MESSAGE(this->handle,
- TSIP_ACTION_SET_PAYLOAD(payload, len),
- TSIP_ACTION_SET_NULL());
- }
- else{
- ret = tsip_action_PUBLISH(this->handle,
- TSIP_ACTION_SET_NULL());
- }
- return (ret == 0);
-}
-
-bool MessagingSession::accept()
-{
- return (tsip_action_ACCEPT(this->handle,
- TSIP_ACTION_SET_NULL()) == 0);
-}
-
-bool MessagingSession::reject()
-{
- return (tsip_action_REJECT(this->handle,
- TSIP_ACTION_SET_NULL()) == 0);
-}
-
-
-/* ======================== OptionsSession ========================*/
-OptionsSession::OptionsSession(SipStack* Stack)
-: SipSession(Stack)
-{
-}
-
-OptionsSession::~OptionsSession()
-{
-}
-
-bool OptionsSession::send()
-{
- return (tsip_action_OPTIONS(this->handle,
- TSIP_ACTION_SET_NULL()) == 0);
-}
-
-
-
-
-
-/* ======================== PublicationSession ========================*/
-PublicationSession::PublicationSession(SipStack* Stack)
-: SipSession(Stack)
-{
-}
-
-PublicationSession::~PublicationSession()
-{
-}
-
-bool PublicationSession::publish(const void* payload, unsigned len)
-{
- int ret;
- if(payload && len){
- ret = tsip_action_PUBLISH(this->handle,
- TSIP_ACTION_SET_PAYLOAD(payload, len),
- TSIP_ACTION_SET_NULL());
- }
- else{
- ret = tsip_action_PUBLISH(this->handle,
- TSIP_ACTION_SET_NULL());
- }
- return (ret == 0);
-}
-
-bool PublicationSession::unPublish()
-{
- return (tsip_action_UNPUBLISH(this->handle,
- TSIP_ACTION_SET_NULL()) == 0);
-}
-
-
-
-/* ======================== RegistrationSession ========================*/
-RegistrationSession::RegistrationSession(SipStack* Stack)
-: SipSession(Stack)
-{
-}
-
-RegistrationSession::RegistrationSession(SipStack* Stack, tsip_ssession_handle_t* handle)
-: SipSession(Stack, handle)
-{
-
-}
-
-RegistrationSession::~RegistrationSession()
-{
-}
-
-bool RegistrationSession::register_()
-{
- return (tsip_action_REGISTER(this->handle,
- TSIP_ACTION_SET_NULL()) == 0);
-}
-
-bool RegistrationSession::unRegister()
-{
- return (tsip_action_UNREGISTER(this->handle,
- TSIP_ACTION_SET_NULL()) == 0);
-}
-
-bool RegistrationSession::accept(ActionConfig* config/*=tsk_null*/)
-{
- const tsip_action_handle_t* action_cfg = config ? config->getHandle() : tsk_null;
-
- return (tsip_action_ACCEPT(this->handle,
- TSIP_ACTION_SET_CONFIG(action_cfg),
- TSIP_ACTION_SET_NULL()) == 0);
-}
-
-bool RegistrationSession::reject(ActionConfig* config/*=tsk_null*/)
-{
- const tsip_action_handle_t* action_cfg = config ? config->getHandle() : tsk_null;
-
- return (tsip_action_REJECT(this->handle,
- TSIP_ACTION_SET_CONFIG(action_cfg),
- TSIP_ACTION_SET_NULL()) == 0);
-}
-
-
-/* ======================== SubscriptionSession ========================*/
-SubscriptionSession::SubscriptionSession(SipStack* Stack)
-: SipSession(Stack)
-{
-}
-
-SubscriptionSession::~SubscriptionSession()
-{
-}
-
-bool SubscriptionSession::subscribe()
-{
- return (tsip_action_SUBSCRIBE(this->handle,
- TSIP_ACTION_SET_NULL()) == 0);
-}
-
-bool SubscriptionSession::unSubscribe()
-{
- return (tsip_action_UNSUBSCRIBE(this->handle,
- TSIP_ACTION_SET_NULL()) == 0);
-}
diff --git a/branches/1.0/bindings/_common/SipSession.h b/branches/1.0/bindings/_common/SipSession.h
deleted file mode 100644
index 3f53db4..0000000
--- a/branches/1.0/bindings/_common/SipSession.h
+++ /dev/null
@@ -1,216 +0,0 @@
-/*
-* Copyright (C) 2009-2010 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-#ifndef TINYWRAP_SIPSESSION_H
-#define TINYWRAP_SIPSESSION_H
-
-#include "tinysip.h"
-#include "tinymedia/tmedia_qos.h"
-#include "ActionConfig.h"
-
-class SipStack;
-class MsrpCallback;
-class MediaSessionMgr;
-
-/* ======================== SipSession ========================*/
-class SipSession
-{
-public:
- SipSession(SipStack* stack);
-#if !defined(SWIG)
- SipSession(SipStack* stack, tsip_ssession_handle_t* handle);
-#endif
- virtual ~SipSession();
-
-public:
- bool haveOwnership();
- bool addHeader(const char* name, const char* value);
- bool removeHeader(const char* name);
- bool addCaps(const char* name, const char* value);
- bool addCaps(const char* name);
- bool removeCaps(const char* name);
- bool setExpires(unsigned expires);
- bool setFromUri(const char* fromUri);
- bool setToUri(const char* toUri);
- bool setSilentHangup(bool silent);
- bool addSigCompCompartment(const char* compId);
- bool removeSigCompCompartment();
- unsigned getId();
-
-#if !defined(SWIG)
- const SipStack* getStack() const;
-#endif
-
-private:
- void init(SipStack* stack, tsip_ssession_handle_t* handle=tsk_null);
-
-protected:
- tsip_ssession_handle_t* handle;
- const SipStack* stack;
-};
-
-/* ======================== InviteSession ========================*/
-class InviteSession : public SipSession
-{
-public: /* ctor() and dtor() */
- InviteSession(SipStack* Stack);
-#if !defined(SWIG)
- InviteSession(SipStack* Stack, tsip_ssession_handle_t* handle);
-#endif
- virtual ~InviteSession();
-
-public: /* Public functions */
- bool accept(ActionConfig* config=tsk_null);
- bool hangup(ActionConfig* config=tsk_null);
- bool reject(ActionConfig* config=tsk_null);
- const MediaSessionMgr* getMediaMgr();
-
-private:
- MediaSessionMgr* mediaMgr;
-};
-
-
-/* ======================== CallSession ========================*/
-class CallSession : public InviteSession
-{
-public: /* ctor() and dtor() */
- CallSession(SipStack* Stack);
-#if !defined(SWIG)
- CallSession(SipStack* Stack, tsip_ssession_handle_t* handle);
-#endif
- virtual ~CallSession();
-
-public: /* Public functions */
- bool callAudio(const char* remoteUri, ActionConfig* config=tsk_null);
- bool callAudioVideo(const char* remoteUri, ActionConfig* config=tsk_null);
- bool callVideo(const char* remoteUri, ActionConfig* config=tsk_null);
- bool setSessionTimer(unsigned timeout, const char* refresher);
- bool set100rel(bool enabled);
- bool setQoS(tmedia_qos_stype_t type, tmedia_qos_strength_t strength);
- bool hold(ActionConfig* config=tsk_null);
- bool resume(ActionConfig* config=tsk_null);
- bool sendDTMF(int number);
-};
-
-/* ======================== MsrpSession ========================*/
-class MsrpSession : public InviteSession
-{
-public: /* ctor() and dtor() */
- MsrpSession(SipStack* Stack, MsrpCallback* callback);
-#if !defined(SWIG)
- MsrpSession(SipStack* Stack, tsip_ssession_handle_t* handle);
-#endif
- virtual ~MsrpSession();
-
-public: /* Public functions */
- bool setCallback(MsrpCallback* callback);
- bool callMsrp(const char* remoteUri, ActionConfig* config=tsk_null);
- bool sendMessage(const void* payload, unsigned len, ActionConfig* config=tsk_null);
- bool sendFile(ActionConfig* config=tsk_null);
-
- public: /* Public helper function */
-#if !defined(SWIG)
- inline MsrpCallback* getCallback()const{
- return this->callback;
- }
-#endif
-
-private:
- MsrpCallback* callback;
-};
-
-
-
-/* ======================== MessagingSession ========================*/
-class MessagingSession : public SipSession
-{
-public: /* ctor() and dtor() */
- MessagingSession(SipStack* Stack);
-#if !defined(SWIG)
- MessagingSession(SipStack* Stack, tsip_ssession_handle_t* handle);
-#endif
- virtual ~MessagingSession();
-
-public: /* Public functions */
- bool send(const void* payload, unsigned len);
- bool accept();
- bool reject();
-};
-
-/* ======================== OptionsSession ========================*/
-class OptionsSession : public SipSession
-{
-public: /* ctor() and dtor() */
- OptionsSession(SipStack* Stack);
- virtual ~OptionsSession();
-
-public: /* Public functions */
- bool send();
- /* bool Accept(); */
- /* bool Reject(); */
-};
-
-
-
-/* ======================== PublicationSession ========================*/
-class PublicationSession : public SipSession
-{
-public: /* ctor() and dtor() */
- PublicationSession(SipStack* Stack);
- virtual ~PublicationSession();
-
-public: /* Public functions */
- bool publish(const void* payload, unsigned len);
- bool unPublish();
-};
-
-
-/* ======================== RegistrationSession ========================*/
-class RegistrationSession : public SipSession
-{
-public: /* ctor() and dtor() */
- RegistrationSession(SipStack* Stack);
-#if !defined(SWIG)
- RegistrationSession(SipStack* Stack, tsip_ssession_handle_t* handle);
-#endif
- virtual ~RegistrationSession();
-
-public: /* Public functions */
- bool register_();
- bool unRegister();
- bool accept(ActionConfig* config=tsk_null);
- bool reject(ActionConfig* config=tsk_null);
-};
-
-
-/* ======================== SubscriptionSession ========================*/
-class SubscriptionSession : public SipSession
-{
-public: /* ctor() and dtor() */
- SubscriptionSession(SipStack* Stack);
- virtual ~SubscriptionSession();
-
-public: /* Public functions */
- bool subscribe();
- bool unSubscribe();
-};
-
-#endif /* TINYWRAP_SIPSESSION_H */
diff --git a/branches/1.0/bindings/_common/SipStack.cxx b/branches/1.0/bindings/_common/SipStack.cxx
deleted file mode 100644
index 22640f9..0000000
--- a/branches/1.0/bindings/_common/SipStack.cxx
+++ /dev/null
@@ -1,524 +0,0 @@
-/*
-* Copyright (C) 2009-2010 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-#include "SipStack.h"
-
-#include "SipSession.h"
-#include "SipEvent.h"
-
-#include "DDebug.h"
-
-#include "Common.h"
-
-unsigned SipStack::count = 0;
-
-
-/* === ANSI-C functions (local use) === */
-static int stack_callback(const tsip_event_t *sipevent);
-static int session_handle_event(const tsip_event_t *sipevent);
-
-/* === default values === */
-#ifndef DEFAULT_LOCAL_IP
-//# ifdef ANDROID /* On the emulator */
-//# define DEFAULT_LOCAL_IP "10.0.2.15"
-//# else
-# define DEFAULT_LOCAL_IP TNET_SOCKET_HOST_ANY
-//# endif
-#endif
-
-SipStack::SipStack(SipCallback* callback_, const char* realm_uri, const char* impi_uri, const char* impu_uri)
-:SafeObject()
-{
- this->debugCallback = tsk_null;
- this->callback = callback_;
-
- /* Initialize network layer */
- if(SipStack::count == 0){
- tdav_init();
- tnet_startup();
- }
-
- /* Creates stack handle */
- this->handle = tsip_stack_create(stack_callback, realm_uri, impi_uri, impu_uri,
- TSIP_STACK_SET_LOCAL_IP(DEFAULT_LOCAL_IP),
- TSIP_STACK_SET_USERDATA(this), /* used as context (useful for server-initiated requests) */
- TSIP_STACK_SET_NULL());
-
- SipStack::count++;
-}
-
-SipStack::~SipStack()
-{
- this->stop();
-
- /* Destroy stack handle */
- TSK_OBJECT_SAFE_FREE(this->handle);
-
- /* DeInitialize the network layer (only if last stack) */
- if(--SipStack::count == 0){
- tdav_deinit();
- tnet_cleanup();
- }
-}
-
-bool SipStack::start()
-{
- return (tsip_stack_start(this->handle) == 0);
-}
-
-bool SipStack::setDebugCallback(DDebugCallback* callback)
-{
- if(this && callback){
- this->debugCallback = callback;
- tsk_debug_set_arg_data(this);
- tsk_debug_set_info_cb(DDebugCallback::debug_info_cb);
- tsk_debug_set_warn_cb(DDebugCallback::debug_warn_cb);
- tsk_debug_set_error_cb(DDebugCallback::debug_error_cb);
- tsk_debug_set_fatal_cb(DDebugCallback::debug_fatal_cb);
- }
- else if(this){
- this->debugCallback = tsk_null;
- tsk_debug_set_arg_data(tsk_null);
- tsk_debug_set_info_cb(tsk_null);
- tsk_debug_set_warn_cb(tsk_null);
- tsk_debug_set_error_cb(tsk_null);
- tsk_debug_set_fatal_cb(tsk_null);
- }
-
- return true;
-}
-
-bool SipStack::setRealm(const char* realm_uri)
-{
- int ret = tsip_stack_set(this->handle,
- TSIP_STACK_SET_REALM(realm_uri),
- TSIP_STACK_SET_NULL());
- return (ret == 0);
-}
-
-bool SipStack::setIMPI(const char* impi)
-{
- return (tsip_stack_set(this->handle,
- TSIP_STACK_SET_IMPI(impi),
- TSIP_STACK_SET_NULL()) == 0);
-}
-
-bool SipStack::setIMPU(const char* impu_uri)
-{
- return (tsip_stack_set(this->handle,
- TSIP_STACK_SET_IMPU(impu_uri),
- TSIP_STACK_SET_NULL()) == 0);
-}
-
-bool SipStack::setPassword(const char* password)
-{
- return (tsip_stack_set(this->handle,
- TSIP_STACK_SET_PASSWORD(password),
- TSIP_STACK_SET_NULL()) == 0);
-}
-
-bool SipStack::setAMF(const char* amf)
-{
- uint16_t _amf = (uint16_t)tsk_atox(amf);
- return (tsip_stack_set(this->handle,
- TSIP_STACK_SET_IMS_AKA_AMF(_amf),
- TSIP_STACK_SET_NULL()) == 0);
-}
-
-bool SipStack::setOperatorId(const char* opid)
-{
- return (tsip_stack_set(this->handle,
- TSIP_STACK_SET_IMS_AKA_OPERATOR_ID(opid),
- TSIP_STACK_SET_NULL()) == 0);
-}
-
-bool SipStack::setProxyCSCF(const char* fqdn, unsigned short port, const char* transport, const char* ipversion)
-{
- unsigned _port = port;//promote
- return (tsip_stack_set(this->handle,
- TSIP_STACK_SET_PROXY_CSCF(fqdn, _port, transport, ipversion),
- TSIP_STACK_SET_NULL()) == 0);
-}
-
-bool SipStack::setLocalIP(const char* ip)
-{
- return (tsip_stack_set(this->handle,
- TSIP_STACK_SET_LOCAL_IP(ip),
- TSIP_STACK_SET_NULL()) == 0);
-}
-
-bool SipStack::setLocalPort(unsigned short port)
-{
- unsigned _port = port;//promote
- return (tsip_stack_set(this->handle,
- TSIP_STACK_SET_LOCAL_PORT(_port),
- TSIP_STACK_SET_NULL()) == 0);
-}
-
-bool SipStack::setEarlyIMS(bool enabled){
- return (tsip_stack_set(this->handle,
- TSIP_STACK_SET_EARLY_IMS(enabled? tsk_true : tsk_false),
- TSIP_STACK_SET_NULL()) == 0);
-}
-
-bool SipStack::addHeader(const char* name, const char* value)
-{
- return (tsip_stack_set(this->handle,
- TSIP_STACK_SET_HEADER(name, value),
- TSIP_STACK_SET_NULL()) == 0);
-}
-
-bool SipStack::removeHeader(const char* name)
-{
- return (tsip_stack_set(this->handle,
- TSIP_STACK_UNSET_HEADER(name),
- TSIP_STACK_SET_NULL()) == 0);
-}
-
-bool SipStack::addDnsServer(const char* ip)
-{
- return (tsip_stack_set(this->handle,
- TSIP_STACK_SET_DNS_SERVER(ip),
- TSIP_STACK_SET_NULL()) == 0);
-}
-
-bool SipStack::setDnsDiscovery(bool enabled)
-{
- tsk_bool_t _enabled = enabled;// 32bit/64bit workaround
- return (tsip_stack_set(this->handle,
- TSIP_STACK_SET_DISCOVERY_NAPTR(_enabled),
- TSIP_STACK_SET_NULL()) == 0);
-}
-
-bool SipStack::setAoR(const char* ip, int port)
-{
- return (tsip_stack_set(this->handle,
- TSIP_STACK_SET_AOR(ip, port),
- TSIP_STACK_SET_NULL()) == 0);
-}
-
-bool SipStack::setModeServer()
-{
- return (tsip_stack_set(this->handle,
- TSIP_STACK_SET_MODE_SERVER(),
- TSIP_STACK_SET_NULL()) == 0);
-}
-
-bool SipStack::setSigCompParams(unsigned dms, unsigned sms, unsigned cpb, bool enablePresDict)
-{
- tsk_bool_t _enablePresDict= enablePresDict;// 32bit/64bit workaround
- return (tsip_stack_set(this->handle,
- TSIP_STACK_SET_SIGCOMP(dms, sms, cpb, _enablePresDict),
- TSIP_STACK_SET_NULL()) == 0);
-}
-
-bool SipStack::addSigCompCompartment(const char* compId)
-{
- return (tsip_stack_set(this->handle,
- TSIP_STACK_SET_SIGCOMP_NEW_COMPARTMENT(compId),
- TSIP_STACK_SET_NULL()) == 0);
-}
-
-bool SipStack::removeSigCompCompartment(const char* compId)
-{
- return (tsip_stack_set(this->handle,
- TSIP_STACK_UNSET_SIGCOMP_COMPARTMENT(compId),
- TSIP_STACK_SET_NULL()) == 0);
-}
-
-bool SipStack::setSTUNServer(const char* ip, unsigned short port)
-{
- unsigned _port = port;//promote
- return (tsip_stack_set(this->handle,
- TSIP_STACK_SET_STUN_SERVER(ip, _port),
- TSIP_STACK_SET_NULL()) == 0);
-}
-
-bool SipStack::setSTUNCred(const char* login, const char* password)
-{
- return (tsip_stack_set(this->handle,
- TSIP_STACK_SET_STUN_CRED(login, password),
- TSIP_STACK_SET_NULL()) == 0);
-}
-
-bool SipStack::setTLSSecAgree(bool enabled)
-{
- tsk_bool_t _enable = enabled;
- return (tsip_stack_set(this->handle,
- TSIP_STACK_SET_SECAGREE_TLS(_enable),
- TSIP_STACK_SET_NULL()) == 0);
-}
-
-bool SipStack::setSSLCretificates(const char* privKey, const char* pubKey, const char* caKey)
-{
- return (tsip_stack_set(this->handle,
- TSIP_STACK_SET_TLS_CERTS(caKey, pubKey, privKey),
- TSIP_STACK_SET_NULL()) == 0);
-}
-
-bool SipStack::setIPSecSecAgree(bool enabled)
-{
- tsk_bool_t _enable = enabled;
- return (tsip_stack_set(this->handle,
- TSIP_STACK_SET_SECAGREE_IPSEC(_enable),
- TSIP_STACK_SET_NULL()) == 0);
-}
-
-bool SipStack::setIPSecParameters(const char* algo, const char* ealgo, const char* mode, const char* proto)
-{
- return (tsip_stack_set(this->handle,
- TSIP_STACK_SET_IPSEC_PARAMS(algo, ealgo, mode, proto),
- TSIP_STACK_SET_NULL()) == 0);
-}
-
-char* SipStack::dnsENUM(const char* service, const char* e164num, const char* domain)
-{
- tnet_dns_ctx_t* dnsctx = tsip_stack_get_dnsctx(this->handle);
- char* uri = tsk_null;
-
- if(dnsctx){
- if(!(uri = tnet_dns_enum_2(dnsctx, service, e164num, domain))){
- TSK_DEBUG_ERROR("ENUM(%s) failed", e164num);
- }
- tsk_object_unref(dnsctx);
- return uri;
- }
- else{
- TSK_DEBUG_ERROR("No DNS Context could be found");
- return tsk_null;
- }
-}
-
-char* SipStack::dnsNaptrSrv(const char* domain, const char* service, unsigned short *OUTPUT)
-{
- tnet_dns_ctx_t* dnsctx = tsip_stack_get_dnsctx(this->handle);
- char* ip = tsk_null;
- tnet_port_t port;
- *OUTPUT = 0;
-
-
- if(dnsctx){
- if(!tnet_dns_query_naptr_srv(dnsctx, domain, service, &ip, &port)){
- *OUTPUT = port;
- }
- tsk_object_unref(dnsctx);
- return ip;
- }
- else{
- TSK_DEBUG_ERROR("No DNS Context could be found");
- return tsk_null;
- }
-}
-
-char* SipStack::dnsSrv(const char* service, unsigned short* OUTPUT)
-{
- tnet_dns_ctx_t* dnsctx = tsip_stack_get_dnsctx(this->handle);
- char* ip = tsk_null;
- tnet_port_t port = 0;
- *OUTPUT = 0;
-
- if(dnsctx){
- if(!tnet_dns_query_srv(dnsctx, service, &ip, &port)){
- *OUTPUT = port;
- }
- tsk_object_unref(dnsctx);
- return ip;
- }
- else{
- TSK_DEBUG_ERROR("No DNS Context could be found");
- return tsk_null;
- }
-}
-
-char* SipStack::getLocalIPnPort(const char* protocol, unsigned short* OUTPUT)
-{
- tnet_ip_t ip;
- tnet_port_t port;
- int ret;
-
- if(!OUTPUT || !protocol){
- TSK_DEBUG_ERROR("invalid parameter");
- return tsk_null;
- }
-
- if((ret = tsip_stack_get_local_ip_n_port(this->handle, protocol, &port, &ip))){
- TSK_DEBUG_ERROR("Failed to get local ip and port with error code=%d", ret);
- return tsk_null;
- }
-
- *OUTPUT = port;
- return tsk_strdup(ip); // See Swig %newobject
-}
-
-char* SipStack::getPreferredIdentity()
-{
- tsip_uri_t* ppid = tsip_stack_get_preferred_id(this->handle);
- char* str_ppid = tsk_null;
- if(ppid){
- str_ppid = tsip_uri_tostring(ppid, tsk_false, tsk_false);
- TSK_OBJECT_SAFE_FREE(ppid);
- }
- return str_ppid;
-}
-
-bool SipStack::isValid()
-{
- return (this->handle != tsk_null);
-}
-
-bool SipStack::stop()
-{
- int ret = tsip_stack_stop(this->handle);
- return (ret == 0);
-}
-
-void SipStack::setCodecs(tdav_codec_id_t codecs)
-{
- tdav_set_codecs(codecs);
-}
-
-void SipStack::setCodecs_2(int codecs) // For stupid languages
-{
- tdav_set_codecs((tdav_codec_id_t)codecs);
-}
-
-bool SipStack::isCodecSupported(tdav_codec_id_t codec)
-{
- return tdav_codec_is_supported(codec) ? true : false;
-}
-
-int stack_callback(const tsip_event_t *sipevent)
-{
- int ret = 0;
- const SipStack* Stack = tsk_null;
- SipEvent* e = tsk_null;
-
- if(!sipevent){ /* should never happen ...but who know? */
- TSK_DEBUG_WARN("Null SIP event.");
- return -1;
- }
- else {
- if(sipevent->type == tsip_event_stack && sipevent->userdata){
- /* sessionless event */
- Stack = dyn_cast<const SipStack*>((const SipStack*)sipevent->userdata);
- }
- else {
- const void* userdata;
- /* gets the stack from the session */
- const tsip_stack_handle_t* stack_handle = tsip_ssession_get_stack(sipevent->ss);
- if(stack_handle && (userdata = tsip_stack_get_userdata(stack_handle))){
- Stack = dyn_cast<const SipStack*>((const SipStack*)userdata);
- }
- }
- }
-
- if(!Stack){
- TSK_DEBUG_WARN("Invalid SIP event (Stack is Null).");
- return -2;
- }
-
- Stack->Lock();
-
- switch(sipevent->type){
- case tsip_event_register:
- { /* REGISTER */
- if(Stack->getCallback()){
- e = new RegistrationEvent(sipevent);
- Stack->getCallback()->OnRegistrationEvent((const RegistrationEvent*)e);
- }
- break;
- }
- case tsip_event_invite:
- { /* INVITE */
- if(Stack->getCallback()){
- e = new InviteEvent(sipevent);
- Stack->getCallback()->OnInviteEvent((const InviteEvent*)e);
- }
- break;
- }
- case tsip_event_message:
- { /* MESSAGE */
- if(Stack->getCallback()){
- e = new MessagingEvent(sipevent);
- Stack->getCallback()->OnMessagingEvent((const MessagingEvent*)e);
- }
- break;
- }
- case tsip_event_options:
- { /* OPTIONS */
- if(Stack->getCallback()){
- e = new OptionsEvent(sipevent);
- Stack->getCallback()->OnOptionsEvent((const OptionsEvent*)e);
- }
- break;
- }
- case tsip_event_publish:
- { /* PUBLISH */
- if(Stack->getCallback()){
- e = new PublicationEvent(sipevent);
- Stack->getCallback()->OnPublicationEvent((const PublicationEvent*)e);
- }
- break;
- }
- case tsip_event_subscribe:
- { /* SUBSCRIBE */
- if(Stack->getCallback()){
- e = new SubscriptionEvent(sipevent);
- Stack->getCallback()->OnSubscriptionEvent((const SubscriptionEvent*)e);
- }
- break;
- }
-
- case tsip_event_dialog:
- { /* Common to all dialogs */
- if(Stack->getCallback()){
- e = new DialogEvent(sipevent);
- Stack->getCallback()->OnDialogEvent((const DialogEvent*)e);
- }
- break;
- }
-
- case tsip_event_stack:
- { /* Stack event */
- if(Stack->getCallback()){
- e = new StackEvent(sipevent);
- Stack->getCallback()->OnStackEvent((const StackEvent*)e);
- }
- break;
- }
-
- default:
- { /* Unsupported */
- TSK_DEBUG_WARN("%d not supported as SIP event.", sipevent->type);
- ret = -3;
- break;
- }
- }
-
- Stack->UnLock();
-
- if(e){
- delete e;
- }
-
- return ret;
-}
-
diff --git a/branches/1.0/bindings/_common/SipStack.h b/branches/1.0/bindings/_common/SipStack.h
deleted file mode 100644
index bba308e..0000000
--- a/branches/1.0/bindings/_common/SipStack.h
+++ /dev/null
@@ -1,109 +0,0 @@
-/*
-* Copyright (C) 2009-2010 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-#ifndef TINYWRAP_SIPSTACK_H
-#define TINYWRAP_SIPSTACK_H
-
-#include "SipCallback.h"
-#include "SafeObject.h"
-
-#include "tinydav/tdav.h"
-#include "tinysip.h"
-
-class DDebugCallback;
-
-class SipStack: public SafeObject
-{
-public: /* ctor() and dtor() */
- SipStack(SipCallback* callback, const char* realm_uri, const char* impi_uri, const char* impu_uri);
- ~SipStack();
-
-public: /* API functions */
- bool start();
- bool setDebugCallback(DDebugCallback* callback);
- bool setRealm(const char* realm_uri);
- bool setIMPI(const char* impi);
- bool setIMPU(const char* impu_uri);
- bool setPassword(const char* password);
- bool setAMF(const char* amf);
- bool setOperatorId(const char* opid);
- bool setProxyCSCF(const char* fqdn, unsigned short port, const char* transport, const char* ipversion);
- bool setLocalIP(const char* ip);
- bool setLocalPort(unsigned short port);
- bool setEarlyIMS(bool enabled);
- bool addHeader(const char* name, const char* value);
- bool removeHeader(const char* name);
- bool addDnsServer(const char* ip);
- bool setDnsDiscovery(bool enabled);
- bool setAoR(const char* ip, int port);
-#if !defined(SWIG)
- bool setModeServer();
-#endif
-
- bool setSigCompParams(unsigned dms, unsigned sms, unsigned cpb, bool enablePresDict);
- bool addSigCompCompartment(const char* compId);
- bool removeSigCompCompartment(const char* compId);
-
- bool setSTUNServer(const char* ip, unsigned short port);
- bool setSTUNCred(const char* login, const char* password);
-
- bool setTLSSecAgree(bool enabled);
- bool setSSLCretificates(const char* privKey, const char* pubKey, const char* caKey);
- bool setIPSecSecAgree(bool enabled);
- bool setIPSecParameters(const char* algo, const char* ealgo, const char* mode, const char* proto);
-
- char* dnsENUM(const char* service, const char* e164num, const char* domain);
- char* dnsNaptrSrv(const char* domain, const char* service, unsigned short *OUTPUT);
- char* dnsSrv(const char* service, unsigned short* OUTPUT);
-
- char* getLocalIPnPort(const char* protocol, unsigned short* OUTPUT);
-
- char* getPreferredIdentity();
-
- bool isValid();
- bool stop();
-
- static void setCodecs(tdav_codec_id_t codecs);
- static void setCodecs_2(int codecs); // For stupid languages
- static bool isCodecSupported(tdav_codec_id_t codec);
-
-public: /* Public helper function */
-#if !defined(SWIG)
- inline tsip_stack_handle_t* getHandle()const{
- return this->handle;
- }
- inline SipCallback* getCallback()const{
- return this->callback;
- }
- inline DDebugCallback* getDebugCallback() const{
- return this->debugCallback;
- }
-#endif
-
-private:
- SipCallback* callback;
- DDebugCallback* debugCallback;
- tsip_stack_handle_t *handle;
-
- static unsigned count;
-};
-
-#endif /* TINYWRAP_SIPSTACK_H */
diff --git a/branches/1.0/bindings/_common/SipStack.i b/branches/1.0/bindings/_common/SipStack.i
deleted file mode 100644
index 9e9b633..0000000
--- a/branches/1.0/bindings/_common/SipStack.i
+++ /dev/null
@@ -1,258 +0,0 @@
-
-%{
-#include "ActionConfig.h"
-#include "MediaSessionMgr.h"
-#include "MediaContent.h"
-#include "SipUri.h"
-#include "SipMessage.h"
-#include "SipEvent.h"
-#include "SipSession.h"
-
-#include "ProxyPluginMgr.h"
-#include "ProxyConsumer.h"
-#include "ProxyProducer.h"
-
-#include "SipCallback.h"
-#include "SafeObject.h"
-#include "SipStack.h"
-%}
-
-/* Callbacks */
-%feature("director") SipCallback;
-%feature("director") ProxyPluginMgrCallback;
-%feature("director") ProxyAudioConsumerCallback;
-%feature("director") ProxyVideoConsumerCallback;
-%feature("director") ProxyAudioProducerCallback;
-%feature("director") ProxyVideoProducerCallback;
-
-
-%nodefaultctor;
-%include "ActionConfig.h"
-%include "MediaSessionMgr.h"
-%include "MediaContent.h"
-%include "SipUri.h"
-%include "SipMessage.h"
-%include "SipEvent.h"
-%include "SipSession.h"
-
-%include "ProxyPluginMgr.h"
-%include "ProxyConsumer.h"
-%include "ProxyProducer.h"
-
-%include "SipCallback.h"
-%include "SafeObject.h"
-%include "SipStack.h"
-%clearnodefaultctor;
-
-
-
-
-
-/* ====== From "tinySIP\include\tinysip\tsip_event.h" ====== */
-typedef enum tsip_event_type_e
-{
- tsip_event_invite,
- tsip_event_message,
- tsip_event_options,
- tsip_event_publish,
- tsip_event_register,
- tsip_event_subscribe,
-
- tsip_event_dialog
-}
-tsip_event_type_t;
-
-// 7xx ==> errors
-#define tsip_event_code_dialog_transport_error 702
-#define tsip_event_code_dialog_global_error 703
-#define tsip_event_code_dialog_message_error 704
-
-// 8xx ==> success
-#define tsip_event_code_dialog_request_incoming 800
-#define tsip_event_code_dialog_request_cancelled 801
-#define tsip_event_code_dialog_request_sent 802
-
-// 9xx ==> Informational
-#define tsip_event_code_dialog_connecting 900
-#define tsip_event_code_dialog_connected 901
-#define tsip_event_code_dialog_terminating 902
-#define tsip_event_code_dialog_terminated 903
-#define tsip_event_code_stack_started 950
-#define tsip_event_code_stack_stopped 951
-#define tsip_event_code_stack_failed_to_start 952
-#define tsip_event_code_stack_failed_to_stop 953
-
-/* ====== From "tinySIP\include\tinysip\tsip_api_register.h" ====== */
-typedef enum tsip_register_event_type_e
-{
- tsip_i_newreg,
-
- tsip_i_register, // refresh
- tsip_ao_register,
-
- tsip_i_unregister,
- tsip_ao_unregister,
-}
-tsip_register_event_type_t;
-
-/* ====== From "tinySIP\include\tinysip\tsip_api_subscribe.h" ====== */
-typedef enum tsip_subscribe_event_type_e
-{
- tsip_i_subscribe,
- tsip_ao_subscribe,
-
- tsip_i_unsubscribe,
- tsip_ao_unsubscribe,
-
- tsip_i_notify,
- tsip_ao_notify
-}
-tsip_subscribe_event_type_t;
-
-/* ====== From "tinySIP\include\tinysip\tsip_api_publish.h" ====== */
-typedef enum tsip_publish_event_type_e
-{
- tsip_i_publish,
- tsip_ao_publish,
-
- tsip_i_unpublish,
- tsip_ao_unpublish
-}
-tsip_publish_event_type_t;
-
-/* ====== From "tinySIP\include\tinysip\tsip_api_message.h" ====== */
-typedef enum tsip_message_event_type_e
-{
- tsip_i_message,
- tsip_ao_message,
-}
-tsip_message_event_type_t;
-
-/* ====== From "tinySIP\include\tinysip\tsip_api_options.h" ====== */
-typedef enum tsip_options_event_type_e
-{
- tsip_i_options,
- tsip_ao_options,
-}
-tsip_options_event_type_t;
-
-
-/* ====== From "tinySIP\include\tinysip\tsip_api_invite.h" ====== */
-typedef enum tsip_invite_event_type_e
-{
- // ============================
- // Sip Events
- //
- tsip_i_newcall,
-
- //! in-dialog requests/reponses
- tsip_i_request,
- tsip_ao_request,
-
- /* Explicit Call Transfer (ECT) */
- tsip_o_ect_ok,
- tsip_o_ect_nok,
- tsip_i_ect,
-
- // ============================
- // Media Events
- //
-
- tsip_m_early_media,
-
- /* 3GPP TS 24.610: Communication Hold */
- tsip_m_local_hold_ok,
- tsip_m_local_hold_nok,
- tsip_m_local_resume_ok,
- tsip_m_local_resume_nok,
- tsip_m_remote_hold,
- tsip_m_remote_resume,
-}
-tsip_invite_event_type_t;
-
-
-
-/* ====== From "tinymedia/tmedia_common.h" ====== */
-// used by tinyWRAP
-typedef enum tmedia_chroma_e
-{
- tmedia_rgb24, // will be stored as bgr24 on x86 (little endians) machines; e.g. WindowsPhone7
- tmedia_bgr24, // used by windows consumer (DirectShow) -
- tmedia_rgb32, // used by iOS4 consumer (iPhone and iPod touch)
- tmedia_rgb565le, // (used by both android and wince consumers)
- tmedia_rgb565be,
- tmedia_nv12, // used by iOS4 producer (iPhone and iPod Touch 3GS and 4)
- tmedia_nv21, // Yuv420 SP (used by android producer)
- tmedia_yuv422p,
- tmedia_uyvy422, // used by iOS4 producer (iPhone and iPod Touch 3G)
- tmedia_yuv420p, // Default
-}
-tmedia_chroma_t;
-
-/* ====== From "tinymedia/tmedia_qos.h" ====== */
-typedef enum tmedia_qos_stype_e
-{
- tmedia_qos_stype_none,/* not part of the RFC */
-
- tmedia_qos_stype_segmented,
- tmedia_qos_stype_e2e,
-}
-tmedia_qos_stype_t;
-
-/* ====== From "tinymedia/tmedia_qos.h" ====== */
-typedef enum tmedia_qos_strength_e
-{
- /* do no change the order (none -> optional -> manadatory) */
- tmedia_qos_strength_none,
- tmedia_qos_strength_failure,
- tmedia_qos_strength_unknown,
- tmedia_qos_strength_optional,
- tmedia_qos_strength_mandatory
-}
-tmedia_qos_strength_t;
-
-/* ====== From "tinymedia/tmedia_common.h" ====== */
-typedef enum tmedia_bandwidth_level_e
-{
- tmedia_bl_low,
- tmedia_bl_medium,
- tmedia_bl_hight
-}
-tmedia_bandwidth_level_t;
-
-
-/* ====== From "tinydav/tdav.h" ====== */
-typedef enum tdav_codec_id_e
-{
- tdav_codec_id_none = 0x00000000,
-
- tdav_codec_id_amr_nb_oa = 0x00000001<<0,
- tdav_codec_id_amr_nb_be = 0x00000001<<1,
- tdav_codec_id_amr_wb_oa = 0x00000001<<2,
- tdav_codec_id_amr_wb_be = 0x00000001<<3,
- tdav_codec_id_gsm = 0x00000001<<4,
- tdav_codec_id_pcma = 0x00000001<<5,
- tdav_codec_id_pcmu = 0x00000001<<6,
- tdav_codec_id_ilbc = 0x00000001<<7,
- tdav_codec_id_speex_nb = 0x00000001<<8,
- tdav_codec_id_speex_wb = 0x00000001<<9,
- tdav_codec_id_speex_uwb = 0x00000001<<10,
- tdav_codec_id_bv16 = 0x00000001<<11,
- tdav_codec_id_bv32 = 0x00000001<<12,
- tdav_codec_id_evrc = 0x00000001<<13,
- tdav_codec_id_g729ab = 0x00000001<<14,
-
- /* room for new Audio codecs */
-
- tdav_codec_id_h261 = 0x00010000<<0,
- tdav_codec_id_h263 = 0x00010000<<1,
- tdav_codec_id_h263p = 0x00010000<<2,
- tdav_codec_id_h263pp = 0x00010000<<3,
- tdav_codec_id_h264_bp10 = 0x00010000<<4,
- tdav_codec_id_h264_bp20 = 0x00010000<<5,
- tdav_codec_id_h264_bp30 = 0x00010000<<6,
- tdav_codec_id_theora = 0x00010000<<7,
- tdav_codec_id_mp4ves_es = 0x00010000<<8,
-
-}
-tdav_codec_id_t; \ No newline at end of file
diff --git a/branches/1.0/bindings/_common/SipUri.cxx b/branches/1.0/bindings/_common/SipUri.cxx
deleted file mode 100644
index 1508d11..0000000
--- a/branches/1.0/bindings/_common/SipUri.cxx
+++ /dev/null
@@ -1,93 +0,0 @@
-/*
-* Copyright (C) 2009-2010 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-#include "SipUri.h"
-
-SipUri::SipUri(const char* uristring)
-{
- this->uri = tsip_uri_parse(uristring, tsk_strlen(uristring));
-}
-
-SipUri::~SipUri()
-{
- TSK_OBJECT_SAFE_FREE(this->uri);
-}
-
-bool SipUri::isValid(const char* uriString)
-{
- tsip_uri_t* _uri;
- bool ret = false;
-
- if((_uri = tsip_uri_parse(uriString, tsk_strlen(uriString)))){
- ret = (_uri->type != uri_unknown)
- && (!tsk_strnullORempty(_uri->host));
- TSK_OBJECT_SAFE_FREE(_uri);
- }
- return ret;
-}
-
-bool SipUri::isValid()
-{
- return (this->uri != tsk_null);
-}
-
-const char* SipUri::getScheme()
-{
- if(this->uri){
- return this->uri->scheme;
- }
- return tsk_null;
-}
-
-const char* SipUri::getHost()
-{
- return this->uri ? this->uri->host : tsk_null;
-}
-
-unsigned short SipUri::getPort()
-{
- return this->uri ? this->uri->port : 0;
-}
-
-const char* SipUri::getUserName()
-{
- return this->uri ? this->uri->user_name : tsk_null;
-}
-
-const char* SipUri::getPassword()
-{
- return this->uri ? this->uri->password : tsk_null;
-}
-
-const char* SipUri::getDisplayName()
-{
- return this->uri ? this->uri->display_name : tsk_null;
-}
-
-const char* SipUri::getParamValue(const char* pname)
-{
- if(this->uri && this->uri->params){
- const char* pvalue = tsk_params_get_param_value(this->uri->params, pname);
- return pvalue;
- }
- return tsk_null;
-}
-
diff --git a/branches/1.0/bindings/_common/SipUri.h b/branches/1.0/bindings/_common/SipUri.h
deleted file mode 100644
index e4a9727..0000000
--- a/branches/1.0/bindings/_common/SipUri.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
-* Copyright (C) 2009-2010 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-#ifndef TINYWRAP_SIPURI_H
-#define TINYWRAP_SIPURI_H
-
-#include "tinysip.h"
-
-class SipUri
-{
-public:
- SipUri(const char*);
- ~SipUri();
-
-public:
- static bool isValid(const char*);
-
- bool isValid();
- const char* getScheme();
- const char* getHost();
- unsigned short getPort();
- const char* getUserName();
- const char* getPassword();
- const char* getDisplayName();
- const char* getParamValue(const char* pname);
-
-private:
- tsip_uri_t* uri;
-};
-
-#endif /* TINYWRAP_SIPURI_H */
diff --git a/branches/1.0/bindings/_common/Xcap.cxx b/branches/1.0/bindings/_common/Xcap.cxx
deleted file mode 100644
index c459179..0000000
--- a/branches/1.0/bindings/_common/Xcap.cxx
+++ /dev/null
@@ -1,564 +0,0 @@
-/*
-* Copyright (C) 2009-2010 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-#include "Xcap.h"
-
-#include "Common.h"
-
-unsigned XcapStack::count = 0;
-
-/* === ANSI-C functions (local use) === */
-static int stack_callback(const thttp_event_t *httpevent);
-
-/* =================================== XCAP Event ==================================== */
-typedef enum twrap_xcap_step_type_e
-{
- txst_name,
- txst_pos,
- txst_att,
- txst_pos_n_att,
- txst_ns
-}
-twrap_xcap_step_type_t;
-
-typedef struct twrap_xcap_step_s
-{
- TSK_DECLARE_OBJECT;
-
- twrap_xcap_step_type_t type;
- char* qname;
- char* att_qname;
- char* att_value;
- unsigned pos;
- struct{
- char* prefix;
- char* value;
- } ns;
-}
-twrap_xcap_step_t;
-
-static tsk_object_t* twrap_xcap_step_ctor(tsk_object_t * self, va_list * app)
-{
- twrap_xcap_step_t *step = (twrap_xcap_step_t *)self;
- if(step){
- }
- return self;
-}
-
-static tsk_object_t* twrap_xcap_step_dtor(tsk_object_t * self)
-{
- twrap_xcap_step_t *step = (twrap_xcap_step_t *)self;
- if(step){
- TSK_FREE(step->qname);
- TSK_FREE(step->att_qname);
- TSK_FREE(step->att_value);
- TSK_FREE(step->ns.prefix);
- TSK_FREE(step->ns.value);
- }
-
- return self;
-}
-
-static const tsk_object_def_t twrap_xcap_step_def_s =
-{
- sizeof(twrap_xcap_step_t),
- twrap_xcap_step_ctor,
- twrap_xcap_step_dtor,
- tsk_null,
-};
-const tsk_object_def_t *twrap_xcap_step_def_t = &twrap_xcap_step_def_s;
-
-twrap_xcap_step_t* twrap_xcap_step_create(twrap_xcap_step_type_t type){
- twrap_xcap_step_t* step;
- if((step = (twrap_xcap_step_t*)tsk_object_new(twrap_xcap_step_def_t))){
- step->type = type;
- }
- return step;
-}
-
-XcapSelector::XcapSelector(XcapStack* stack)
-: auid(tsk_null)
-{
- if(stack){
- this->stack_handle = tsk_object_ref(stack->getHandle());
- }
- this->steps = tsk_list_create();
-}
-
-
-XcapSelector* XcapSelector::setAUID(const char* auid)
-{
- tsk_strupdate(&this->auid, auid);
- return this;
-}
-
-XcapSelector* XcapSelector::setName(const char* qname)
-{
- twrap_xcap_step_t* step;
- if((step = twrap_xcap_step_create(txst_name))){
- step->qname = tsk_strdup(qname);
- tsk_list_push_back_data(this->steps, (void**)&step);
- }
- return this;
-}
-
-XcapSelector* XcapSelector::setAttribute(const char* qname, const char* att_qname, const char* att_value)
-{
- twrap_xcap_step_t* step;
- if((step = twrap_xcap_step_create(txst_att))){
- step->qname = tsk_strdup(qname);
- step->att_qname = tsk_strdup(att_qname);
- step->att_value = tsk_strdup(att_value);
- tsk_list_push_back_data(this->steps, (void**)&step);
- }
- return this;
-}
-
-XcapSelector* XcapSelector::setPos(const char* qname, unsigned pos)
-{
- twrap_xcap_step_t* step;
- if((step = twrap_xcap_step_create(txst_pos))){
- step->qname = tsk_strdup(qname);
- step->pos = pos;
- tsk_list_push_back_data(this->steps, (void**)&step);
- }
- return this;
-}
-
-XcapSelector* XcapSelector::setPosAttribute(const char* qname, unsigned pos, const char* att_qname, const char* att_value)
-{
- twrap_xcap_step_t* step;
- if((step = twrap_xcap_step_create(txst_pos))){
- step->qname = tsk_strdup(qname);
- step->pos = pos;
- step->att_qname = tsk_strdup(att_qname);
- step->att_value = tsk_strdup(att_value);
- tsk_list_push_back_data(this->steps, (void**)&step);
- }
- return this;
-}
-
-XcapSelector* XcapSelector::setNamespace(const char* prefix, const char* value)
-{
- twrap_xcap_step_t* step;
- if((step = twrap_xcap_step_create(txst_ns))){
- step->ns.prefix = tsk_strdup(prefix);
- step->ns.value = tsk_strdup(value);
- tsk_list_push_back_data(this->steps, (void**)&step);
- }
- return this;
-}
-
-/* From tinyXCAP::txcap_selector_get_node_2() */
-char* XcapSelector::getString()
-{
- char* node = tsk_null;
- char* temp = tsk_null;
- char* _namespace = tsk_null;
- tsk_buffer_t* buffer = tsk_buffer_create_null();
- const tsk_list_item_t* item;
- const twrap_xcap_step_t* step;
-
- /* Node */
- tsk_list_foreach(item, this->steps){
- step = (twrap_xcap_step_t*)item->data;
- switch(step->type){
- case txst_name:
- if(tsk_buffer_append_2(buffer, "/%s", step->qname)){
- goto bail;
- }
- break;
-
- case txst_pos:
- tsk_buffer_append_2(buffer, "/%s%%5B%u%%5D",
- step->att_qname, step->pos);
- break;
-
- case txst_att:
- tsk_buffer_append_2(buffer, "/%s%%5B@%s=%%22%s%%22%%5D",
- step->qname, step->att_qname, step->att_value);
- break;
-
- case txst_pos_n_att:
- tsk_buffer_append_2(buffer, "/%s%%5B%u%%5D%%5B@%s=%%22%s%%22%%5D",
- step->qname, step->pos, step->att_qname, step->att_value);
- break;
-
- case txst_ns:
- tsk_sprintf(&temp, "%sxmlns(%s=%%22%s%%22)",
- _namespace?"":"%3F", step->ns.prefix, step->ns.value);
- tsk_strcat(&_namespace, temp);
- TSK_FREE(temp);
- break;
-
-
- } /* switch */
- } /* for */
-
- /* append the namespace */
- if(_namespace){
- tsk_buffer_append(buffer, _namespace, strlen(_namespace));
- TSK_FREE(_namespace);
- }
-
-bail:
- if(TSK_BUFFER_DATA(buffer) && TSK_BUFFER_SIZE(buffer)){
- node = tsk_strndup((const char*)TSK_BUFFER_DATA(buffer), TSK_BUFFER_SIZE(buffer));
- }
- TSK_OBJECT_SAFE_FREE(buffer);
-
-
- /* Document */
- if(this->auid){
- char* document;
- if((document = txcap_selector_get_document(this->stack_handle, this->auid))){
- if(node){
- tsk_strcat_2(&document, "/~~/%s%s", this->auid, node);
- TSK_FREE(node);
- }
- return document;
- }
- }
-
- return node;
-}
-
-void XcapSelector::reset()
-{
- TSK_FREE(this->auid);
- tsk_list_clear_items(this->steps);
-}
-
-XcapSelector::~XcapSelector()
-{
- this->reset();
- TSK_OBJECT_SAFE_FREE(this->steps);
-
- tsk_object_unref(this->stack_handle);
-}
-
-/* =================================== XCAP Message ==================================== */
-XcapMessage::XcapMessage() :
-httpmessage(tsk_null)
-{
-}
-
-XcapMessage::XcapMessage(const thttp_message_t *_httpmessage)
-{
- this->httpmessage = _httpmessage;
-}
-
-XcapMessage::~XcapMessage()
-{
-}
-
-short XcapMessage::getCode() const
-{
- if(this->httpmessage){
- return this->httpmessage->line.response.status_code;
- }
- return 0;
-}
-
-const char* XcapMessage::getPhrase() const
-{
- if(this->httpmessage){
- return this->httpmessage->line.response.reason_phrase;
- }
- return tsk_null;
-}
-
-char* XcapMessage::getXcapHeaderValue(const char* name, unsigned index /*= 0*/)
-{
- const thttp_header_t* header;
- if((header = thttp_message_get_headerByName(this->httpmessage, name))){
- return thttp_header_value_tostring(header);
- }
- return tsk_null;
-}
-
-char* XcapMessage::getXcapHeaderParamValue(const char* name, const char* pname, unsigned index /*= 0*/)
-{
- const thttp_header_t* header;
- if((header = thttp_message_get_headerByName(this->httpmessage, name))){
- const tsk_param_t* param;
- if((param = tsk_params_get_param_by_name(header->params, pname))){
- return tsk_strdup(param->value);
- }
- }
- return tsk_null;
-}
-
-unsigned XcapMessage::getXcapContentLength()
-{
- if(this->httpmessage && this->httpmessage->Content){
- return this->httpmessage->Content->size;
- }
- return 0;
-}
-
-unsigned XcapMessage::getXcapContent(void* output, unsigned maxsize)
-{
- unsigned retsize = 0;
- if(output && maxsize && this->httpmessage->Content){
- retsize = (this->httpmessage->Content->size > maxsize) ? maxsize : this->httpmessage->Content->size;
- memcpy(output, this->httpmessage->Content->data, retsize);
- }
- return retsize;
-}
-
-
-/* =================================== XCAP Event ==================================== */
-XcapEvent::XcapEvent(const thttp_event_t *_httpevent)
-{
- this->httpevent = _httpevent;
- if(_httpevent){
- this->httpmessage = new XcapMessage(_httpevent->message);
- }
- else{
- this->httpmessage = tsk_null;
- }
-}
-
-XcapEvent::~XcapEvent()
-{
- if(this->httpmessage){
- delete this->httpmessage;
- }
-}
-
-thttp_event_type_t XcapEvent::getType()
-{
- return this->httpevent->type;
-}
-
-const XcapMessage* XcapEvent::getXcapMessage() const
-{
- return this->httpmessage;
-}
-
-
-
-
-/* =================================== XCAP Callback ==================================== */
-XcapCallback::XcapCallback()
-{
-}
-
-XcapCallback::~XcapCallback()
-{
-}
-
-
-
-
-
-/* =================================== XCAP Stack ==================================== */
-XcapStack::XcapStack(XcapCallback* _callback, const char* xui, const char* password, const char* xcap_root)
-{
- /* Initialize network layer */
- if(XcapStack::count == 0){
- tnet_startup();
- }
-
- this->callback = _callback;
- this->handle = txcap_stack_create(stack_callback, xui, password, xcap_root,
- TXCAP_STACK_SET_USERDATA(this),
- TXCAP_STACK_SET_NULL());
-}
-
-XcapStack::~XcapStack()
-{
- TSK_OBJECT_SAFE_FREE(this->handle);
-
- /* DeInitialize the network layer (only if last stack) */
- if(--XcapStack::count == 0){
- tnet_cleanup();
- }
-}
-
-bool XcapStack::registerAUID(const char* id, const char* mime_type, const char* ns, const char* document_name, bool is_global)
-{
- txcap_stack_t* stack = (txcap_stack_t*)this->handle;
- if(stack){
- tsk_bool_t _global = is_global?tsk_true:tsk_false; // 32bit <-> 64bit workaround
- return (txcap_auid_register(stack->auids, id, mime_type, ns, document_name, _global) == 0);
- }
- return false;
-}
-
-bool XcapStack::start()
-{
- return (txcap_stack_start(this->handle) == 0);
-}
-
-bool XcapStack::setCredentials(const char* xui, const char* password)
-{
- return txcap_stack_set(this->handle,
- TXCAP_STACK_SET_XUI(xui),
- TXCAP_STACK_SET_PASSWORD(password),
- TXCAP_STACK_SET_NULL()) == 0;
-}
-
-bool XcapStack::setXcapRoot(const char* xcap_root)
-{
- return txcap_stack_set(this->handle,
- TXCAP_STACK_SET_ROOT(xcap_root),
- TXCAP_STACK_SET_NULL()) == 0;
-}
-
-bool XcapStack::setLocalIP(const char* ip)
-{
- return txcap_stack_set(this->handle,
- TXCAP_STACK_SET_LOCAL_IP(ip),
- TXCAP_STACK_SET_NULL()) == 0;
-}
-
-bool XcapStack::setLocalPort(unsigned port)
-{
- tsk_istr_t port_str;
- tsk_itoa(port, &port_str);
- return txcap_stack_set(this->handle,
- TXCAP_STACK_SET_LOCAL_PORT(port_str),
- TXCAP_STACK_SET_NULL()) == 0;
-}
-
-bool XcapStack::addHeader(const char* name, const char* value)
-{
- return txcap_stack_set(this->handle,
- TXCAP_STACK_SET_HEADER(name, value),
- TXCAP_STACK_SET_NULL()) == 0;
-}
-
-bool XcapStack::removeHeader(const char* name)
-{
- return txcap_stack_set(this->handle,
- TXCAP_STACK_UNSET_HEADER(name),
- TXCAP_STACK_SET_NULL()) == 0;
-}
-
-bool XcapStack::setTimeout(unsigned timeout)
-{
- tsk_istr_t timeout_str;
- tsk_itoa(timeout, &timeout_str);
- return txcap_stack_set(this->handle,
- TXCAP_STACK_SET_TIMEOUT(timeout_str),
- TXCAP_STACK_SET_NULL()) == 0;
-}
-
-bool XcapStack::getDocument(const char* url)
-{
- return txcap_action_fetch_document(this->handle,
- TXCAP_ACTION_SET_REQUEST_URI(url),
- TXCAP_ACTION_SET_NULL()) == 0;
-}
-
-bool XcapStack::getElement(const char* url)
-{
- return txcap_action_fetch_element(this->handle,
- TXCAP_ACTION_SET_REQUEST_URI(url),
- TXCAP_ACTION_SET_NULL()) == 0;
-}
-
-bool XcapStack::getAttribute(const char* url)
-{
- return txcap_action_fetch_attribute(this->handle,
- TXCAP_ACTION_SET_REQUEST_URI(url),
- TXCAP_ACTION_SET_NULL()) == 0;
-}
-
-bool XcapStack::deleteDocument(const char* url)
-{
- return txcap_action_delete_document(this->handle,
- TXCAP_ACTION_SET_REQUEST_URI(url),
- TXCAP_ACTION_SET_NULL()) == 0;
-}
-
-bool XcapStack::deleteElement(const char* url)
-{
- return txcap_action_delete_element(this->handle,
- TXCAP_ACTION_SET_REQUEST_URI(url),
- TXCAP_ACTION_SET_NULL()) == 0;
-}
-
-bool XcapStack::deleteAttribute(const char* url)
-{
- return txcap_action_delete_attribute(this->handle,
- TXCAP_ACTION_SET_REQUEST_URI(url),
- TXCAP_ACTION_SET_NULL()) == 0;
-}
-
-
-bool XcapStack::putDocument(const char* url, const void* payload, unsigned len, const char* contentType)
-{
- return txcap_action_create_document(this->handle,
- TXCAP_ACTION_SET_REQUEST_URI(url),
- TXCAP_ACTION_SET_PAYLOAD(payload, len),
- TXCAP_ACTION_SET_HEADER("Content-Type", contentType),
- TXCAP_ACTION_SET_NULL()) == 0;
-}
-
-bool XcapStack::putElement(const char* url, const void* payload, unsigned len)
-{
- return txcap_action_create_element(this->handle,
- TXCAP_ACTION_SET_REQUEST_URI(url),
- TXCAP_ACTION_SET_PAYLOAD(payload, len),
- TXCAP_ACTION_SET_NULL()) == 0;
-}
-
-bool XcapStack::putAttribute(const char* url, const void* payload, unsigned len)
-{
- return txcap_action_create_attribute(this->handle,
- TXCAP_ACTION_SET_REQUEST_URI(url),
- TXCAP_ACTION_SET_PAYLOAD(payload, len),
- TXCAP_ACTION_SET_NULL()) == 0;
-}
-
-
-bool XcapStack::stop()
-{
- return (txcap_stack_stop(this->handle) == 0);
-}
-
-
-int stack_callback(const thttp_event_t *httpevent)
-{
- int ret = 0;
- const XcapStack* stack = tsk_null;
- XcapEvent* e = tsk_null;
-
- const txcap_stack_handle_t* stack_handle = thttp_session_get_userdata(httpevent->session);
- if(!stack_handle || !(stack = dyn_cast<const XcapStack*>((const XcapStack*)stack_handle))){
- TSK_DEBUG_ERROR("Invalid user data");
- return -1;
- }
-
- if(stack->getCallback()){
- if((e = new XcapEvent(httpevent))){
- stack->getCallback()->onEvent(e);
- delete e;
- }
- }
- return 0;
-}
-
-
-
diff --git a/branches/1.0/bindings/_common/Xcap.h b/branches/1.0/bindings/_common/Xcap.h
deleted file mode 100644
index 786300f..0000000
--- a/branches/1.0/bindings/_common/Xcap.h
+++ /dev/null
@@ -1,165 +0,0 @@
-/*
-* Copyright (C) 2009-2010 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-#ifndef TINYWRAP_XCAP_H
-#define TINYWRAP_XCAP_H
-
-#include "tinyxcap.h"
-
-class XcapStack;
-
-typedef tsk_list_t twrap_xcap_steps_L_t;
-
-//
-// XcapSelector
-//
-class XcapSelector
-{
-public:
- XcapSelector(XcapStack* stack);
- virtual ~XcapSelector();
-
-public: /* API functions */
- XcapSelector* setAUID(const char* auid);
- XcapSelector* setName(const char* qname);
- XcapSelector* setAttribute(const char* qname, const char* att_qname, const char* att_value);
- XcapSelector* setPos(const char* qname, unsigned pos);
- XcapSelector* setPosAttribute(const char* qname, unsigned pos, const char* att_qname, const char* att_value);
- XcapSelector* setNamespace(const char* prefix, const char* value);
-
- char* getString();// %newobject
- void reset();
-
-private:
- txcap_stack_handle_t* stack_handle;
- char* auid;
- twrap_xcap_steps_L_t* steps;
-};
-
-//
-// XcapMessage
-//
-class XcapMessage
-{
-public:
- XcapMessage();
-#if !defined(SWIG)
- XcapMessage(const thttp_message_t *httpmessage);
-#endif
- virtual ~XcapMessage();
-
- short getCode() const;
- const char* getPhrase() const;
-
- char* getXcapHeaderValue(const char* name, unsigned index = 0);
- char* getXcapHeaderParamValue(const char* name, const char* param, unsigned index = 0);
- unsigned getXcapContentLength();
- unsigned getXcapContent(void* output, unsigned maxsize);
-
-private:
- const thttp_message_t *httpmessage;
-};
-
-//
-// XcapEvent
-//
-class XcapEvent
-{
-public:
-#if !defined(SWIG)
- XcapEvent(const thttp_event_t *httpevent);
-#endif
- virtual ~XcapEvent();
- thttp_event_type_t getType();
- const XcapMessage* getXcapMessage() const;
-
-private:
- const thttp_event_t *httpevent;
- const XcapMessage* httpmessage;
-};
-
-
-//
-// XcapCallback
-//
-class XcapCallback
-{
-public:
- XcapCallback();
- virtual ~XcapCallback();
-
- virtual int onEvent(const XcapEvent* e)const { return -1; }
-};
-
-
-//
-// XcapStack
-//
-class XcapStack
-{
-public:
- XcapStack(XcapCallback* callback, const char* xui, const char* password, const char* xcap_root);
- virtual ~XcapStack();
-
-public: /* API functions */
- bool registerAUID(const char* id, const char* mime_type, const char* ns, const char* document_name, bool is_global);
- bool start();
- bool setCredentials(const char* xui, const char* password);
- bool setXcapRoot(const char* xcap_root);
- bool setLocalIP(const char* ip);
- bool setLocalPort(unsigned port);
- bool addHeader(const char* name, const char* value);
- bool removeHeader(const char* name);
- bool setTimeout(unsigned timeout);
-
- bool getDocument(const char* url);
- bool getElement(const char* url);
- bool getAttribute(const char* url);
-
- bool deleteDocument(const char* url);
- bool deleteElement(const char* url);
- bool deleteAttribute(const char* url);
-
- bool putDocument(const char* url, const void* payload, unsigned len, const char* contentType);
- bool putElement(const char* url, const void* payload, unsigned len);
- bool putAttribute(const char* url, const void* payload, unsigned len);
-
- bool stop();
-
-public: /* Public helper function */
-#if !defined(SWIG)
- txcap_stack_handle_t* getHandle(){
- return this->handle;
- }
- XcapCallback* getCallback()const{
- return this->callback;
- }
-#endif
-
-private:
- txcap_stack_handle_t* handle;
- XcapCallback* callback;
-
- static unsigned count;
-};
-
-
-#endif /* TINYWRAP_XCAP_H */
diff --git a/branches/1.0/bindings/_common/Xcap.i b/branches/1.0/bindings/_common/Xcap.i
deleted file mode 100644
index 2c69147..0000000
--- a/branches/1.0/bindings/_common/Xcap.i
+++ /dev/null
@@ -1,22 +0,0 @@
-%{
-#include "Xcap.h"
-%}
-
-/* Callbacks */
-%feature("director") XcapCallback;
-
-
-%nodefaultctor;
-%include "Xcap.h"
-%clearnodefaultctor;
-
-typedef enum thttp_event_type_e
-{
- thttp_event_dialog_started,
- thttp_event_message,
- thttp_event_auth_failed,
- thttp_event_closed,
- thttp_event_transport_error,
- thttp_event_dialog_terminated
-}
-thttp_event_type_t; \ No newline at end of file
diff --git a/branches/1.0/bindings/_common/tinyWRAP.i b/branches/1.0/bindings/_common/tinyWRAP.i
deleted file mode 100644
index 0b89742..0000000
--- a/branches/1.0/bindings/_common/tinyWRAP.i
+++ /dev/null
@@ -1,67 +0,0 @@
-/* File : tinyWRAP.i */
-%module(directors="1") tinyWRAP
-%include "typemaps.i"
-%include <stdint.i>
-
-%{
-#include "DDebug.h"
-%}
-
-%feature("director") DDebugCallback;
-
-%nodefaultctor;
-%include "DDebug.h"
-%include "Common.h"
-%clearnodefaultctor;
-
-
-
-
-
-/* ========== Sip/Sdp Stack ========== */
-%newobject getSipHeaderValue;
-%newobject getSdpHeaderValue;
-%newobject getSdpHeaderAValue;
-%newobject getSipHeaderParamValue;
-%newobject SipStack::dnsENUM;
-%newobject SipStack::dnsNaptrSrv;
-%newobject SipStack::dnsSrv;
-%newobject SipStack::getPreferredIdentity;
-%newobject SipStack::getLocalIPnPort;
-
-%newobject MessagingEvent::takeSessionOwnership;
-%newobject InviteEvent::takeCallSessionOwnership;
-%newobject InviteEvent::takeMsrpSessionOwnership;
-%newobject RegistrationEvent::takeSessionOwnership;
-
-%newobject ProxyPluginMgr::createInstance;
-
-%newobject MediaContent::parse;
-
-%include SipStack.i
-
-
-/* ========== Xcap Stack ========== */
-%newobject XcapSelector::getString;
-
-%newobject getXcapHeaderValue;
-%newobject getXcapHeaderParamValue;
-
-%include Xcap.i
-
-
-/* ========== SMS ========== */
-%newobject SMSEncoder::encodeSubmit;
-%newobject SMSEncoder::encodeDeliver;
-%newobject SMSEncoder::encodeACK;
-%newobject SMSEncoder::encodeError;
-%newobject SMSEncoder::decode;
-
-%include SMS.i
-
-
-/* ========== MSRP ========== */
-%newobject getMsrpHeaderValue;
-%newobject getMsrpHeaderParamValue;
-
-%include Msrp.i
diff --git a/branches/1.0/bindings/_common/tinyWRAP_config.h b/branches/1.0/bindings/_common/tinyWRAP_config.h
deleted file mode 100644
index 493afb6..0000000
--- a/branches/1.0/bindings/_common/tinyWRAP_config.h
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
-* Copyright (C) 2009-2010 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-
-#ifndef TINYWRAP_CONFIG_H
-#define TINYWRAP_CONFIG_H
-
-#ifdef __SYMBIAN32__
-#undef _WIN32 /* Because of WINSCW */
-#endif
-
-/* Windows (XP/Vista/7/CE and Windows Mobile) macro definition.
-*/
-#if defined(WIN32)|| defined(_WIN32) || defined(_WIN32_WCE)
-# define TWRAP_UNDER_WINDOWS 1
-#endif
-
-#if (TWRAP_UNDER_WINDOWS || defined(__SYMBIAN32__)) && defined(TINYWRAP_EXPORTS)
-# define TINYWRAP_API __declspec(dllexport)
-# define TINYWRAP_GEXTERN __declspec(dllexport)
-#elif (TWRAP_UNDER_WINDOWS || defined(__SYMBIAN32__)) /*&& defined(TINYWRAP_IMPORTS)*/
-# define TINYWRAP_API __declspec(dllimport)
-# define TINYWRAP_GEXTERN __declspec(dllimport)
-#else
-# define TINYWRAP_API
-# define TINYWRAP_GEXTERN extern
-#endif
-
-/* Guards against C++ name mangling
-*/
-#ifdef __cplusplus
-# define TWRAP_BEGIN_DECLS extern "C" {
-# define TWRAP_END_DECLS }
-#else
-# define TWRAP_BEGIN_DECLS
-# define TWRAP_END_DECLS
-#endif
-
-/* Disable some well-known warnings
-*/
-#ifdef _MSC_VER
-# define _CRT_SECURE_NO_WARNINGS
-#endif
-
-
-#if HAVE_CONFIG_H
- #include "../config.h"
-#endif
-
-#endif // TINYWRAP_CONFIG_H
diff --git a/branches/1.0/bindings/autogen.sh b/branches/1.0/bindings/autogen.sh
deleted file mode 100644
index aa6fa33..0000000
--- a/branches/1.0/bindings/autogen.sh
+++ /dev/null
@@ -1,38 +0,0 @@
-##### CSharp
-echo "--->CSharp...<---"
-swig -c++ -csharp -namespace org.doubango.tinyWRAP -outdir csharp -o csharp/tinyWRAP_wrap.cxx csharp/csharp.i
-
-##### Objective-C
-#echo "--->Objective-C...<---"
-#swig -c++ -objc -outdir objc -o -objc/tinyWRAP_wrap.cxx -objc/-objc.i
-
-
-##### Java
-echo "--->Java...<---"
-swig -c++ -java -package org.doubango.tinyWRAP -outdir java -o java/tinyWRAP_wrap.cxx java/java.i
-echo "Java(Google Dalvik)..."
-echo "Google Android special tasks"
-swig -c++ -java -package org.doubango.tinyWRAP -outdir java/android -o java/android/tinyWRAP_wrap.cxx java/java.i
-sed -i 's/dynamic_cast/static_cast/g' java/android/tinyWRAP_wrap.cxx
-sed -i 's/AttachCurrentThread((void \*\*)/AttachCurrentThread((JNIEnv \*\*)/g' java/android/tinyWRAP_wrap.cxx
-sed -i 's/_director_connect(this, swigCPtr, swigCMemOwn, true)/_director_connect(this, swigCPtr, swigCMemOwn, false)/g' java/android/SipCallback.java
-sed -i 's/_director_connect(this, swigCPtr, swigCMemOwn, true)/_director_connect(this, swigCPtr, swigCMemOwn, false)/g' java/android/DDebugCallback.java
-sed -i 's/_director_connect(this, swigCPtr, swigCMemOwn, true)/_director_connect(this, swigCPtr, swigCMemOwn, false)/g' java/android/ProxyPluginMgrCallback.java
-sed -i 's/_director_connect(this, swigCPtr, swigCMemOwn, true)/_director_connect(this, swigCPtr, swigCMemOwn, false)/g' java/android/ProxyAudioConsumerCallback.java
-sed -i 's/_director_connect(this, swigCPtr, swigCMemOwn, true)/_director_connect(this, swigCPtr, swigCMemOwn, false)/g' java/android/ProxyAudioProducerCallback.java
-sed -i 's/_director_connect(this, swigCPtr, swigCMemOwn, true)/_director_connect(this, swigCPtr, swigCMemOwn, false)/g' java/android/ProxyVideoProducerCallback.java
-sed -i 's/_director_connect(this, swigCPtr, swigCMemOwn, true)/_director_connect(this, swigCPtr, swigCMemOwn, false)/g' java/android/ProxyVideoConsumerCallback.java
-sed -i 's/_director_connect(this, swigCPtr, swigCMemOwn, true)/_director_connect(this, swigCPtr, swigCMemOwn, false)/g' java/android/XcapCallback.java
-sed -i 's/_director_connect(this, swigCPtr, swigCMemOwn, true)/_director_connect(this, swigCPtr, swigCMemOwn, false)/g' java/android/MsrpCallback.java
-
-##### Python
-echo "--->Python...<---"
-swig -c++ -python -outdir python -o python/tinyWRAP_wrap.cxx python/python.i
-
-##### Perl
-echo "--->Perl...<---"
-swig -c++ -perl -outdir perl -o Perl/tinyWRAP_wrap.cxx perl/perl.i
-
-##### Ruby
-echo "--->Ruby...<---"
-#swig -c++ -ruby -outdir Ruby -o Ruby/tinyWRAP_wrap.cxx ruby/ruby.i \ No newline at end of file
diff --git a/branches/1.0/bindings/csharp/ActionConfig.cs b/branches/1.0/bindings/csharp/ActionConfig.cs
deleted file mode 100644
index 8e1d5d7..0000000
--- a/branches/1.0/bindings/csharp/ActionConfig.cs
+++ /dev/null
@@ -1,70 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class ActionConfig : IDisposable {
- private HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal ActionConfig(IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(ActionConfig obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~ActionConfig() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_ActionConfig(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- }
- }
-
- public ActionConfig() : this(tinyWRAPPINVOKE.new_ActionConfig(), true) {
- }
-
- public bool addHeader(string name, string value) {
- bool ret = tinyWRAPPINVOKE.ActionConfig_addHeader(swigCPtr, name, value);
- return ret;
- }
-
- public ActionConfig setResponseLine(short code, string phrase) {
- IntPtr cPtr = tinyWRAPPINVOKE.ActionConfig_setResponseLine(swigCPtr, code, phrase);
- ActionConfig ret = (cPtr == IntPtr.Zero) ? null : new ActionConfig(cPtr, false);
- return ret;
- }
-
- public ActionConfig setMediaString(twrap_media_type_t type, string key, string value) {
- IntPtr cPtr = tinyWRAPPINVOKE.ActionConfig_setMediaString(swigCPtr, (int)type, key, value);
- ActionConfig ret = (cPtr == IntPtr.Zero) ? null : new ActionConfig(cPtr, false);
- return ret;
- }
-
- public ActionConfig setMediaInt(twrap_media_type_t type, string key, int value) {
- IntPtr cPtr = tinyWRAPPINVOKE.ActionConfig_setMediaInt(swigCPtr, (int)type, key, value);
- ActionConfig ret = (cPtr == IntPtr.Zero) ? null : new ActionConfig(cPtr, false);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/CallSession.cs b/branches/1.0/bindings/csharp/CallSession.cs
deleted file mode 100644
index c48e8b6..0000000
--- a/branches/1.0/bindings/csharp/CallSession.cs
+++ /dev/null
@@ -1,116 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class CallSession : InviteSession {
- private HandleRef swigCPtr;
-
- internal CallSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.CallSessionUpcast(cPtr), cMemoryOwn) {
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(CallSession obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~CallSession() {
- Dispose();
- }
-
- public override void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_CallSession(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- base.Dispose();
- }
- }
-
- public CallSession(SipStack Stack) : this(tinyWRAPPINVOKE.new_CallSession(SipStack.getCPtr(Stack)), true) {
- }
-
- public bool callAudio(string remoteUri, ActionConfig config) {
- bool ret = tinyWRAPPINVOKE.CallSession_callAudio__SWIG_0(swigCPtr, remoteUri, ActionConfig.getCPtr(config));
- return ret;
- }
-
- public bool callAudio(string remoteUri) {
- bool ret = tinyWRAPPINVOKE.CallSession_callAudio__SWIG_1(swigCPtr, remoteUri);
- return ret;
- }
-
- public bool callAudioVideo(string remoteUri, ActionConfig config) {
- bool ret = tinyWRAPPINVOKE.CallSession_callAudioVideo__SWIG_0(swigCPtr, remoteUri, ActionConfig.getCPtr(config));
- return ret;
- }
-
- public bool callAudioVideo(string remoteUri) {
- bool ret = tinyWRAPPINVOKE.CallSession_callAudioVideo__SWIG_1(swigCPtr, remoteUri);
- return ret;
- }
-
- public bool callVideo(string remoteUri, ActionConfig config) {
- bool ret = tinyWRAPPINVOKE.CallSession_callVideo__SWIG_0(swigCPtr, remoteUri, ActionConfig.getCPtr(config));
- return ret;
- }
-
- public bool callVideo(string remoteUri) {
- bool ret = tinyWRAPPINVOKE.CallSession_callVideo__SWIG_1(swigCPtr, remoteUri);
- return ret;
- }
-
- public bool setSessionTimer(uint timeout, string refresher) {
- bool ret = tinyWRAPPINVOKE.CallSession_setSessionTimer(swigCPtr, timeout, refresher);
- return ret;
- }
-
- public bool set100rel(bool enabled) {
- bool ret = tinyWRAPPINVOKE.CallSession_set100rel(swigCPtr, enabled);
- return ret;
- }
-
- public bool setQoS(tmedia_qos_stype_t type, tmedia_qos_strength_t strength) {
- bool ret = tinyWRAPPINVOKE.CallSession_setQoS(swigCPtr, (int)type, (int)strength);
- return ret;
- }
-
- public bool hold(ActionConfig config) {
- bool ret = tinyWRAPPINVOKE.CallSession_hold__SWIG_0(swigCPtr, ActionConfig.getCPtr(config));
- return ret;
- }
-
- public bool hold() {
- bool ret = tinyWRAPPINVOKE.CallSession_hold__SWIG_1(swigCPtr);
- return ret;
- }
-
- public bool resume(ActionConfig config) {
- bool ret = tinyWRAPPINVOKE.CallSession_resume__SWIG_0(swigCPtr, ActionConfig.getCPtr(config));
- return ret;
- }
-
- public bool resume() {
- bool ret = tinyWRAPPINVOKE.CallSession_resume__SWIG_1(swigCPtr);
- return ret;
- }
-
- public bool sendDTMF(int number) {
- bool ret = tinyWRAPPINVOKE.CallSession_sendDTMF(swigCPtr, number);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/DDebugCallback.cs b/branches/1.0/bindings/csharp/DDebugCallback.cs
deleted file mode 100644
index eef4626..0000000
--- a/branches/1.0/bindings/csharp/DDebugCallback.cs
+++ /dev/null
@@ -1,116 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class DDebugCallback : IDisposable {
- private HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal DDebugCallback(IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(DDebugCallback obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~DDebugCallback() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_DDebugCallback(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- }
- }
-
- public DDebugCallback() : this(tinyWRAPPINVOKE.new_DDebugCallback(), true) {
- SwigDirectorConnect();
- }
-
- public virtual int OnDebugInfo(string message) {
- int ret = ((this.GetType() == typeof(DDebugCallback)) ? tinyWRAPPINVOKE.DDebugCallback_OnDebugInfo(swigCPtr, message) : tinyWRAPPINVOKE.DDebugCallback_OnDebugInfoSwigExplicitDDebugCallback(swigCPtr, message));
- return ret;
- }
-
- public virtual int OnDebugWarn(string message) {
- int ret = ((this.GetType() == typeof(DDebugCallback)) ? tinyWRAPPINVOKE.DDebugCallback_OnDebugWarn(swigCPtr, message) : tinyWRAPPINVOKE.DDebugCallback_OnDebugWarnSwigExplicitDDebugCallback(swigCPtr, message));
- return ret;
- }
-
- public virtual int OnDebugError(string message) {
- int ret = ((this.GetType() == typeof(DDebugCallback)) ? tinyWRAPPINVOKE.DDebugCallback_OnDebugError(swigCPtr, message) : tinyWRAPPINVOKE.DDebugCallback_OnDebugErrorSwigExplicitDDebugCallback(swigCPtr, message));
- return ret;
- }
-
- public virtual int OnDebugFatal(string message) {
- int ret = ((this.GetType() == typeof(DDebugCallback)) ? tinyWRAPPINVOKE.DDebugCallback_OnDebugFatal(swigCPtr, message) : tinyWRAPPINVOKE.DDebugCallback_OnDebugFatalSwigExplicitDDebugCallback(swigCPtr, message));
- return ret;
- }
-
- private void SwigDirectorConnect() {
- if (SwigDerivedClassHasMethod("OnDebugInfo", swigMethodTypes0))
- swigDelegate0 = new SwigDelegateDDebugCallback_0(SwigDirectorOnDebugInfo);
- if (SwigDerivedClassHasMethod("OnDebugWarn", swigMethodTypes1))
- swigDelegate1 = new SwigDelegateDDebugCallback_1(SwigDirectorOnDebugWarn);
- if (SwigDerivedClassHasMethod("OnDebugError", swigMethodTypes2))
- swigDelegate2 = new SwigDelegateDDebugCallback_2(SwigDirectorOnDebugError);
- if (SwigDerivedClassHasMethod("OnDebugFatal", swigMethodTypes3))
- swigDelegate3 = new SwigDelegateDDebugCallback_3(SwigDirectorOnDebugFatal);
- tinyWRAPPINVOKE.DDebugCallback_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3);
- }
-
- private bool SwigDerivedClassHasMethod(string methodName, Type[] methodTypes) {
- System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance, null, methodTypes, null);
- bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(DDebugCallback));
- return hasDerivedMethod;
- }
-
- private int SwigDirectorOnDebugInfo(string message) {
- return OnDebugInfo(message);
- }
-
- private int SwigDirectorOnDebugWarn(string message) {
- return OnDebugWarn(message);
- }
-
- private int SwigDirectorOnDebugError(string message) {
- return OnDebugError(message);
- }
-
- private int SwigDirectorOnDebugFatal(string message) {
- return OnDebugFatal(message);
- }
-
- public delegate int SwigDelegateDDebugCallback_0(string message);
- public delegate int SwigDelegateDDebugCallback_1(string message);
- public delegate int SwigDelegateDDebugCallback_2(string message);
- public delegate int SwigDelegateDDebugCallback_3(string message);
-
- private SwigDelegateDDebugCallback_0 swigDelegate0;
- private SwigDelegateDDebugCallback_1 swigDelegate1;
- private SwigDelegateDDebugCallback_2 swigDelegate2;
- private SwigDelegateDDebugCallback_3 swigDelegate3;
-
- private static Type[] swigMethodTypes0 = new Type[] { typeof(string) };
- private static Type[] swigMethodTypes1 = new Type[] { typeof(string) };
- private static Type[] swigMethodTypes2 = new Type[] { typeof(string) };
- private static Type[] swigMethodTypes3 = new Type[] { typeof(string) };
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/DialogEvent.cs b/branches/1.0/bindings/csharp/DialogEvent.cs
deleted file mode 100644
index e8bfc0d..0000000
--- a/branches/1.0/bindings/csharp/DialogEvent.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class DialogEvent : SipEvent {
- private HandleRef swigCPtr;
-
- internal DialogEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.DialogEventUpcast(cPtr), cMemoryOwn) {
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(DialogEvent obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~DialogEvent() {
- Dispose();
- }
-
- public override void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_DialogEvent(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- base.Dispose();
- }
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/InviteEvent.cs b/branches/1.0/bindings/csharp/InviteEvent.cs
deleted file mode 100644
index 4c489d6..0000000
--- a/branches/1.0/bindings/csharp/InviteEvent.cs
+++ /dev/null
@@ -1,71 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class InviteEvent : SipEvent {
- private HandleRef swigCPtr;
-
- internal InviteEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.InviteEventUpcast(cPtr), cMemoryOwn) {
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(InviteEvent obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~InviteEvent() {
- Dispose();
- }
-
- public override void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_InviteEvent(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- base.Dispose();
- }
- }
-
- public tsip_invite_event_type_t getType() {
- tsip_invite_event_type_t ret = (tsip_invite_event_type_t)tinyWRAPPINVOKE.InviteEvent_getType(swigCPtr);
- return ret;
- }
-
- public twrap_media_type_t getMediaType() {
- twrap_media_type_t ret = (twrap_media_type_t)tinyWRAPPINVOKE.InviteEvent_getMediaType(swigCPtr);
- return ret;
- }
-
- public InviteSession getSession() {
- IntPtr cPtr = tinyWRAPPINVOKE.InviteEvent_getSession(swigCPtr);
- InviteSession ret = (cPtr == IntPtr.Zero) ? null : new InviteSession(cPtr, false);
- return ret;
- }
-
- public CallSession takeCallSessionOwnership() {
- IntPtr cPtr = tinyWRAPPINVOKE.InviteEvent_takeCallSessionOwnership(swigCPtr);
- CallSession ret = (cPtr == IntPtr.Zero) ? null : new CallSession(cPtr, true);
- return ret;
- }
-
- public MsrpSession takeMsrpSessionOwnership() {
- IntPtr cPtr = tinyWRAPPINVOKE.InviteEvent_takeMsrpSessionOwnership(swigCPtr);
- MsrpSession ret = (cPtr == IntPtr.Zero) ? null : new MsrpSession(cPtr, true);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/InviteSession.cs b/branches/1.0/bindings/csharp/InviteSession.cs
deleted file mode 100644
index 5339614..0000000
--- a/branches/1.0/bindings/csharp/InviteSession.cs
+++ /dev/null
@@ -1,82 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class InviteSession : SipSession {
- private HandleRef swigCPtr;
-
- internal InviteSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.InviteSessionUpcast(cPtr), cMemoryOwn) {
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(InviteSession obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~InviteSession() {
- Dispose();
- }
-
- public override void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_InviteSession(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- base.Dispose();
- }
- }
-
- public InviteSession(SipStack Stack) : this(tinyWRAPPINVOKE.new_InviteSession(SipStack.getCPtr(Stack)), true) {
- }
-
- public bool accept(ActionConfig config) {
- bool ret = tinyWRAPPINVOKE.InviteSession_accept__SWIG_0(swigCPtr, ActionConfig.getCPtr(config));
- return ret;
- }
-
- public bool accept() {
- bool ret = tinyWRAPPINVOKE.InviteSession_accept__SWIG_1(swigCPtr);
- return ret;
- }
-
- public bool hangup(ActionConfig config) {
- bool ret = tinyWRAPPINVOKE.InviteSession_hangup__SWIG_0(swigCPtr, ActionConfig.getCPtr(config));
- return ret;
- }
-
- public bool hangup() {
- bool ret = tinyWRAPPINVOKE.InviteSession_hangup__SWIG_1(swigCPtr);
- return ret;
- }
-
- public bool reject(ActionConfig config) {
- bool ret = tinyWRAPPINVOKE.InviteSession_reject__SWIG_0(swigCPtr, ActionConfig.getCPtr(config));
- return ret;
- }
-
- public bool reject() {
- bool ret = tinyWRAPPINVOKE.InviteSession_reject__SWIG_1(swigCPtr);
- return ret;
- }
-
- public MediaSessionMgr getMediaMgr() {
- IntPtr cPtr = tinyWRAPPINVOKE.InviteSession_getMediaMgr(swigCPtr);
- MediaSessionMgr ret = (cPtr == IntPtr.Zero) ? null : new MediaSessionMgr(cPtr, false);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/MediaContent.cs b/branches/1.0/bindings/csharp/MediaContent.cs
deleted file mode 100644
index 5c3f3b1..0000000
--- a/branches/1.0/bindings/csharp/MediaContent.cs
+++ /dev/null
@@ -1,91 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class MediaContent : IDisposable {
- private HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal MediaContent(IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(MediaContent obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~MediaContent() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_MediaContent(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- }
- }
-
- public byte[] getPayload() {
- uint clen = this.getPayloadLength();
- if(clen>0){
- byte[] bytes = new byte[clen];
- this.getPayload(bytes, clen);
- return bytes;
- }
- return null;
- }
-
- public string getType() {
- string ret = tinyWRAPPINVOKE.MediaContent_getType(swigCPtr);
- return ret;
- }
-
- public virtual uint getDataLength() {
- uint ret = tinyWRAPPINVOKE.MediaContent_getDataLength(swigCPtr);
- return ret;
- }
-
- public virtual uint getData(byte[] output, uint maxsize) {
- uint ret = tinyWRAPPINVOKE.MediaContent_getData(swigCPtr, output, maxsize);
- return ret;
- }
-
- public static MediaContent parse(byte[] data, uint size, string type) {
- IntPtr cPtr = tinyWRAPPINVOKE.MediaContent_parse__SWIG_0(data, size, type);
- MediaContent ret = (cPtr == IntPtr.Zero) ? null : new MediaContent(cPtr, true);
- return ret;
- }
-
- public static MediaContentCPIM parse(byte[] data, uint size) {
- IntPtr cPtr = tinyWRAPPINVOKE.MediaContent_parse__SWIG_1(data, size);
- MediaContentCPIM ret = (cPtr == IntPtr.Zero) ? null : new MediaContentCPIM(cPtr, true);
- return ret;
- }
-
- public virtual uint getPayloadLength() {
- uint ret = tinyWRAPPINVOKE.MediaContent_getPayloadLength(swigCPtr);
- return ret;
- }
-
- public virtual uint getPayload(byte[] output, uint maxsize) {
- uint ret = tinyWRAPPINVOKE.MediaContent_getPayload(swigCPtr, output, maxsize);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/MediaContentCPIM.cs b/branches/1.0/bindings/csharp/MediaContentCPIM.cs
deleted file mode 100644
index 52d102a..0000000
--- a/branches/1.0/bindings/csharp/MediaContentCPIM.cs
+++ /dev/null
@@ -1,58 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class MediaContentCPIM : MediaContent {
- private HandleRef swigCPtr;
-
- internal MediaContentCPIM(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.MediaContentCPIMUpcast(cPtr), cMemoryOwn) {
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(MediaContentCPIM obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~MediaContentCPIM() {
- Dispose();
- }
-
- public override void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_MediaContentCPIM(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- base.Dispose();
- }
- }
-
- public override uint getPayloadLength() {
- uint ret = tinyWRAPPINVOKE.MediaContentCPIM_getPayloadLength(swigCPtr);
- return ret;
- }
-
- public override uint getPayload(byte[] output, uint maxsize) {
- uint ret = tinyWRAPPINVOKE.MediaContentCPIM_getPayload(swigCPtr, output, maxsize);
- return ret;
- }
-
- public string getHeaderValue(string name) {
- string ret = tinyWRAPPINVOKE.MediaContentCPIM_getHeaderValue(swigCPtr, name);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/MediaSessionMgr.cs b/branches/1.0/bindings/csharp/MediaSessionMgr.cs
deleted file mode 100644
index d99820b..0000000
--- a/branches/1.0/bindings/csharp/MediaSessionMgr.cs
+++ /dev/null
@@ -1,81 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class MediaSessionMgr : IDisposable {
- private HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal MediaSessionMgr(IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(MediaSessionMgr obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~MediaSessionMgr() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_MediaSessionMgr(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- }
- }
-
- public bool sessionSetInt32(twrap_media_type_t media, string key, int value) {
- bool ret = tinyWRAPPINVOKE.MediaSessionMgr_sessionSetInt32(swigCPtr, (int)media, key, value);
- return ret;
- }
-
- public bool consumerSetInt32(twrap_media_type_t media, string key, int value) {
- bool ret = tinyWRAPPINVOKE.MediaSessionMgr_consumerSetInt32(swigCPtr, (int)media, key, value);
- return ret;
- }
-
- public bool consumerSetInt64(twrap_media_type_t media, string key, long value) {
- bool ret = tinyWRAPPINVOKE.MediaSessionMgr_consumerSetInt64(swigCPtr, (int)media, key, value);
- return ret;
- }
-
- public bool producerSetInt32(twrap_media_type_t media, string key, int value) {
- bool ret = tinyWRAPPINVOKE.MediaSessionMgr_producerSetInt32(swigCPtr, (int)media, key, value);
- return ret;
- }
-
- public bool producerSetInt64(twrap_media_type_t media, string key, long value) {
- bool ret = tinyWRAPPINVOKE.MediaSessionMgr_producerSetInt64(swigCPtr, (int)media, key, value);
- return ret;
- }
-
- public ProxyPlugin findProxyPluginConsumer(twrap_media_type_t media) {
- IntPtr cPtr = tinyWRAPPINVOKE.MediaSessionMgr_findProxyPluginConsumer(swigCPtr, (int)media);
- ProxyPlugin ret = (cPtr == IntPtr.Zero) ? null : new ProxyPlugin(cPtr, false);
- return ret;
- }
-
- public ProxyPlugin findProxyPluginProducer(twrap_media_type_t media) {
- IntPtr cPtr = tinyWRAPPINVOKE.MediaSessionMgr_findProxyPluginProducer(swigCPtr, (int)media);
- ProxyPlugin ret = (cPtr == IntPtr.Zero) ? null : new ProxyPlugin(cPtr, false);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/MessagingEvent.cs b/branches/1.0/bindings/csharp/MessagingEvent.cs
deleted file mode 100644
index 6c41de2..0000000
--- a/branches/1.0/bindings/csharp/MessagingEvent.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class MessagingEvent : SipEvent {
- private HandleRef swigCPtr;
-
- internal MessagingEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.MessagingEventUpcast(cPtr), cMemoryOwn) {
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(MessagingEvent obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~MessagingEvent() {
- Dispose();
- }
-
- public override void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_MessagingEvent(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- base.Dispose();
- }
- }
-
- public tsip_message_event_type_t getType() {
- tsip_message_event_type_t ret = (tsip_message_event_type_t)tinyWRAPPINVOKE.MessagingEvent_getType(swigCPtr);
- return ret;
- }
-
- public MessagingSession getSession() {
- IntPtr cPtr = tinyWRAPPINVOKE.MessagingEvent_getSession(swigCPtr);
- MessagingSession ret = (cPtr == IntPtr.Zero) ? null : new MessagingSession(cPtr, false);
- return ret;
- }
-
- public MessagingSession takeSessionOwnership() {
- IntPtr cPtr = tinyWRAPPINVOKE.MessagingEvent_takeSessionOwnership(swigCPtr);
- MessagingSession ret = (cPtr == IntPtr.Zero) ? null : new MessagingSession(cPtr, true);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/MessagingSession.cs b/branches/1.0/bindings/csharp/MessagingSession.cs
deleted file mode 100644
index 123fad7..0000000
--- a/branches/1.0/bindings/csharp/MessagingSession.cs
+++ /dev/null
@@ -1,61 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class MessagingSession : SipSession {
- private HandleRef swigCPtr;
-
- internal MessagingSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.MessagingSessionUpcast(cPtr), cMemoryOwn) {
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(MessagingSession obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~MessagingSession() {
- Dispose();
- }
-
- public override void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_MessagingSession(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- base.Dispose();
- }
- }
-
- public MessagingSession(SipStack Stack) : this(tinyWRAPPINVOKE.new_MessagingSession(SipStack.getCPtr(Stack)), true) {
- }
-
- public bool send(byte[] payload, uint len) {
- bool ret = tinyWRAPPINVOKE.MessagingSession_send(swigCPtr, payload, len);
- return ret;
- }
-
- public bool accept() {
- bool ret = tinyWRAPPINVOKE.MessagingSession_accept(swigCPtr);
- return ret;
- }
-
- public bool reject() {
- bool ret = tinyWRAPPINVOKE.MessagingSession_reject(swigCPtr);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/MsrpCallback.cs b/branches/1.0/bindings/csharp/MsrpCallback.cs
deleted file mode 100644
index 98fd5b3..0000000
--- a/branches/1.0/bindings/csharp/MsrpCallback.cs
+++ /dev/null
@@ -1,74 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class MsrpCallback : IDisposable {
- private HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal MsrpCallback(IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(MsrpCallback obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~MsrpCallback() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_MsrpCallback(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- }
- }
-
- public MsrpCallback() : this(tinyWRAPPINVOKE.new_MsrpCallback(), true) {
- SwigDirectorConnect();
- }
-
- public virtual int OnEvent(MsrpEvent e) {
- int ret = ((this.GetType() == typeof(MsrpCallback)) ? tinyWRAPPINVOKE.MsrpCallback_OnEvent(swigCPtr, MsrpEvent.getCPtr(e)) : tinyWRAPPINVOKE.MsrpCallback_OnEventSwigExplicitMsrpCallback(swigCPtr, MsrpEvent.getCPtr(e)));
- return ret;
- }
-
- private void SwigDirectorConnect() {
- if (SwigDerivedClassHasMethod("OnEvent", swigMethodTypes0))
- swigDelegate0 = new SwigDelegateMsrpCallback_0(SwigDirectorOnEvent);
- tinyWRAPPINVOKE.MsrpCallback_director_connect(swigCPtr, swigDelegate0);
- }
-
- private bool SwigDerivedClassHasMethod(string methodName, Type[] methodTypes) {
- System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance, null, methodTypes, null);
- bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(MsrpCallback));
- return hasDerivedMethod;
- }
-
- private int SwigDirectorOnEvent(IntPtr e) {
- return OnEvent((e == IntPtr.Zero) ? null : new MsrpEvent(e, false));
- }
-
- public delegate int SwigDelegateMsrpCallback_0(IntPtr e);
-
- private SwigDelegateMsrpCallback_0 swigDelegate0;
-
- private static Type[] swigMethodTypes0 = new Type[] { typeof(MsrpEvent) };
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/MsrpEvent.cs b/branches/1.0/bindings/csharp/MsrpEvent.cs
deleted file mode 100644
index 92956e3..0000000
--- a/branches/1.0/bindings/csharp/MsrpEvent.cs
+++ /dev/null
@@ -1,61 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class MsrpEvent : IDisposable {
- private HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal MsrpEvent(IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(MsrpEvent obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~MsrpEvent() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_MsrpEvent(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- }
- }
-
- public tmsrp_event_type_t getType() {
- tmsrp_event_type_t ret = (tmsrp_event_type_t)tinyWRAPPINVOKE.MsrpEvent_getType(swigCPtr);
- return ret;
- }
-
- public MsrpSession getSipSession() {
- IntPtr cPtr = tinyWRAPPINVOKE.MsrpEvent_getSipSession(swigCPtr);
- MsrpSession ret = (cPtr == IntPtr.Zero) ? null : new MsrpSession(cPtr, false);
- return ret;
- }
-
- public MsrpMessage getMessage() {
- IntPtr cPtr = tinyWRAPPINVOKE.MsrpEvent_getMessage(swigCPtr);
- MsrpMessage ret = (cPtr == IntPtr.Zero) ? null : new MsrpMessage(cPtr, false);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/MsrpMessage.cs b/branches/1.0/bindings/csharp/MsrpMessage.cs
deleted file mode 100644
index b69953e..0000000
--- a/branches/1.0/bindings/csharp/MsrpMessage.cs
+++ /dev/null
@@ -1,101 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class MsrpMessage : IDisposable {
- private HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal MsrpMessage(IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(MsrpMessage obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~MsrpMessage() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_MsrpMessage(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- }
- }
-
- public MsrpMessage() : this(tinyWRAPPINVOKE.new_MsrpMessage(), true) {
- }
-
- public bool isRequest() {
- bool ret = tinyWRAPPINVOKE.MsrpMessage_isRequest(swigCPtr);
- return ret;
- }
-
- public short getCode() {
- short ret = tinyWRAPPINVOKE.MsrpMessage_getCode(swigCPtr);
- return ret;
- }
-
- public string getPhrase() {
- string ret = tinyWRAPPINVOKE.MsrpMessage_getPhrase(swigCPtr);
- return ret;
- }
-
- public tmsrp_request_type_t getRequestType() {
- tmsrp_request_type_t ret = (tmsrp_request_type_t)tinyWRAPPINVOKE.MsrpMessage_getRequestType(swigCPtr);
- return ret;
- }
-
- public void getByteRange(out long arg0, out long arg1, out long arg2) {
- tinyWRAPPINVOKE.MsrpMessage_getByteRange(swigCPtr, out arg0, out arg1, out arg2);
- }
-
- public bool isLastChunck() {
- bool ret = tinyWRAPPINVOKE.MsrpMessage_isLastChunck(swigCPtr);
- return ret;
- }
-
- public bool isFirstChunck() {
- bool ret = tinyWRAPPINVOKE.MsrpMessage_isFirstChunck(swigCPtr);
- return ret;
- }
-
- public string getMsrpHeaderValue(string name) {
- string ret = tinyWRAPPINVOKE.MsrpMessage_getMsrpHeaderValue(swigCPtr, name);
- return ret;
- }
-
- public string getMsrpHeaderParamValue(string name, string param) {
- string ret = tinyWRAPPINVOKE.MsrpMessage_getMsrpHeaderParamValue(swigCPtr, name, param);
- return ret;
- }
-
- public uint getMsrpContentLength() {
- uint ret = tinyWRAPPINVOKE.MsrpMessage_getMsrpContentLength(swigCPtr);
- return ret;
- }
-
- public uint getMsrpContent(byte[] output, uint maxsize) {
- uint ret = tinyWRAPPINVOKE.MsrpMessage_getMsrpContent(swigCPtr, output, maxsize);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/MsrpSession.cs b/branches/1.0/bindings/csharp/MsrpSession.cs
deleted file mode 100644
index 41a12ca..0000000
--- a/branches/1.0/bindings/csharp/MsrpSession.cs
+++ /dev/null
@@ -1,81 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class MsrpSession : InviteSession {
- private HandleRef swigCPtr;
-
- internal MsrpSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.MsrpSessionUpcast(cPtr), cMemoryOwn) {
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(MsrpSession obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~MsrpSession() {
- Dispose();
- }
-
- public override void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_MsrpSession(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- base.Dispose();
- }
- }
-
- public MsrpSession(SipStack Stack, MsrpCallback callback) : this(tinyWRAPPINVOKE.new_MsrpSession(SipStack.getCPtr(Stack), MsrpCallback.getCPtr(callback)), true) {
- }
-
- public bool setCallback(MsrpCallback callback) {
- bool ret = tinyWRAPPINVOKE.MsrpSession_setCallback(swigCPtr, MsrpCallback.getCPtr(callback));
- return ret;
- }
-
- public bool callMsrp(string remoteUri, ActionConfig config) {
- bool ret = tinyWRAPPINVOKE.MsrpSession_callMsrp__SWIG_0(swigCPtr, remoteUri, ActionConfig.getCPtr(config));
- return ret;
- }
-
- public bool callMsrp(string remoteUri) {
- bool ret = tinyWRAPPINVOKE.MsrpSession_callMsrp__SWIG_1(swigCPtr, remoteUri);
- return ret;
- }
-
- public bool sendMessage(byte[] payload, uint len, ActionConfig config) {
- bool ret = tinyWRAPPINVOKE.MsrpSession_sendMessage__SWIG_0(swigCPtr, payload, len, ActionConfig.getCPtr(config));
- return ret;
- }
-
- public bool sendMessage(byte[] payload, uint len) {
- bool ret = tinyWRAPPINVOKE.MsrpSession_sendMessage__SWIG_1(swigCPtr, payload, len);
- return ret;
- }
-
- public bool sendFile(ActionConfig config) {
- bool ret = tinyWRAPPINVOKE.MsrpSession_sendFile__SWIG_0(swigCPtr, ActionConfig.getCPtr(config));
- return ret;
- }
-
- public bool sendFile() {
- bool ret = tinyWRAPPINVOKE.MsrpSession_sendFile__SWIG_1(swigCPtr);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/OptionsEvent.cs b/branches/1.0/bindings/csharp/OptionsEvent.cs
deleted file mode 100644
index 537e818..0000000
--- a/branches/1.0/bindings/csharp/OptionsEvent.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class OptionsEvent : SipEvent {
- private HandleRef swigCPtr;
-
- internal OptionsEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.OptionsEventUpcast(cPtr), cMemoryOwn) {
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(OptionsEvent obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~OptionsEvent() {
- Dispose();
- }
-
- public override void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_OptionsEvent(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- base.Dispose();
- }
- }
-
- public tsip_options_event_type_t getType() {
- tsip_options_event_type_t ret = (tsip_options_event_type_t)tinyWRAPPINVOKE.OptionsEvent_getType(swigCPtr);
- return ret;
- }
-
- public OptionsSession getSession() {
- IntPtr cPtr = tinyWRAPPINVOKE.OptionsEvent_getSession(swigCPtr);
- OptionsSession ret = (cPtr == IntPtr.Zero) ? null : new OptionsSession(cPtr, false);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/OptionsSession.cs b/branches/1.0/bindings/csharp/OptionsSession.cs
deleted file mode 100644
index 9b9f282..0000000
--- a/branches/1.0/bindings/csharp/OptionsSession.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class OptionsSession : SipSession {
- private HandleRef swigCPtr;
-
- internal OptionsSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.OptionsSessionUpcast(cPtr), cMemoryOwn) {
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(OptionsSession obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~OptionsSession() {
- Dispose();
- }
-
- public override void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_OptionsSession(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- base.Dispose();
- }
- }
-
- public OptionsSession(SipStack Stack) : this(tinyWRAPPINVOKE.new_OptionsSession(SipStack.getCPtr(Stack)), true) {
- }
-
- public bool send() {
- bool ret = tinyWRAPPINVOKE.OptionsSession_send(swigCPtr);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/ProxyAudioConsumer.cs b/branches/1.0/bindings/csharp/ProxyAudioConsumer.cs
deleted file mode 100644
index c4ef083..0000000
--- a/branches/1.0/bindings/csharp/ProxyAudioConsumer.cs
+++ /dev/null
@@ -1,67 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class ProxyAudioConsumer : ProxyPlugin {
- private HandleRef swigCPtr;
-
- internal ProxyAudioConsumer(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.ProxyAudioConsumerUpcast(cPtr), cMemoryOwn) {
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(ProxyAudioConsumer obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~ProxyAudioConsumer() {
- Dispose();
- }
-
- public override void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_ProxyAudioConsumer(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- base.Dispose();
- }
- }
-
- public uint pull(byte[] output, uint size) {
- uint ret = tinyWRAPPINVOKE.ProxyAudioConsumer_pull(swigCPtr, output, size);
- return ret;
- }
-
- public bool reset() {
- bool ret = tinyWRAPPINVOKE.ProxyAudioConsumer_reset(swigCPtr);
- return ret;
- }
-
- public void setCallback(ProxyAudioConsumerCallback _callback) {
- tinyWRAPPINVOKE.ProxyAudioConsumer_setCallback(swigCPtr, ProxyAudioConsumerCallback.getCPtr(_callback));
- }
-
- public virtual ulong getMediaSessionId() {
- ulong ret = tinyWRAPPINVOKE.ProxyAudioConsumer_getMediaSessionId(swigCPtr);
- return ret;
- }
-
- public static bool registerPlugin() {
- bool ret = tinyWRAPPINVOKE.ProxyAudioConsumer_registerPlugin();
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/ProxyAudioConsumerCallback.cs b/branches/1.0/bindings/csharp/ProxyAudioConsumerCallback.cs
deleted file mode 100644
index 9e4661e..0000000
--- a/branches/1.0/bindings/csharp/ProxyAudioConsumerCallback.cs
+++ /dev/null
@@ -1,116 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class ProxyAudioConsumerCallback : IDisposable {
- private HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal ProxyAudioConsumerCallback(IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(ProxyAudioConsumerCallback obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~ProxyAudioConsumerCallback() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_ProxyAudioConsumerCallback(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- }
- }
-
- public ProxyAudioConsumerCallback() : this(tinyWRAPPINVOKE.new_ProxyAudioConsumerCallback(), true) {
- SwigDirectorConnect();
- }
-
- public virtual int prepare(int ptime, int rate, int channels) {
- int ret = ((this.GetType() == typeof(ProxyAudioConsumerCallback)) ? tinyWRAPPINVOKE.ProxyAudioConsumerCallback_prepare(swigCPtr, ptime, rate, channels) : tinyWRAPPINVOKE.ProxyAudioConsumerCallback_prepareSwigExplicitProxyAudioConsumerCallback(swigCPtr, ptime, rate, channels));
- return ret;
- }
-
- public virtual int start() {
- int ret = ((this.GetType() == typeof(ProxyAudioConsumerCallback)) ? tinyWRAPPINVOKE.ProxyAudioConsumerCallback_start(swigCPtr) : tinyWRAPPINVOKE.ProxyAudioConsumerCallback_startSwigExplicitProxyAudioConsumerCallback(swigCPtr));
- return ret;
- }
-
- public virtual int pause() {
- int ret = ((this.GetType() == typeof(ProxyAudioConsumerCallback)) ? tinyWRAPPINVOKE.ProxyAudioConsumerCallback_pause(swigCPtr) : tinyWRAPPINVOKE.ProxyAudioConsumerCallback_pauseSwigExplicitProxyAudioConsumerCallback(swigCPtr));
- return ret;
- }
-
- public virtual int stop() {
- int ret = ((this.GetType() == typeof(ProxyAudioConsumerCallback)) ? tinyWRAPPINVOKE.ProxyAudioConsumerCallback_stop(swigCPtr) : tinyWRAPPINVOKE.ProxyAudioConsumerCallback_stopSwigExplicitProxyAudioConsumerCallback(swigCPtr));
- return ret;
- }
-
- private void SwigDirectorConnect() {
- if (SwigDerivedClassHasMethod("prepare", swigMethodTypes0))
- swigDelegate0 = new SwigDelegateProxyAudioConsumerCallback_0(SwigDirectorprepare);
- if (SwigDerivedClassHasMethod("start", swigMethodTypes1))
- swigDelegate1 = new SwigDelegateProxyAudioConsumerCallback_1(SwigDirectorstart);
- if (SwigDerivedClassHasMethod("pause", swigMethodTypes2))
- swigDelegate2 = new SwigDelegateProxyAudioConsumerCallback_2(SwigDirectorpause);
- if (SwigDerivedClassHasMethod("stop", swigMethodTypes3))
- swigDelegate3 = new SwigDelegateProxyAudioConsumerCallback_3(SwigDirectorstop);
- tinyWRAPPINVOKE.ProxyAudioConsumerCallback_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3);
- }
-
- private bool SwigDerivedClassHasMethod(string methodName, Type[] methodTypes) {
- System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance, null, methodTypes, null);
- bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(ProxyAudioConsumerCallback));
- return hasDerivedMethod;
- }
-
- private int SwigDirectorprepare(int ptime, int rate, int channels) {
- return prepare(ptime, rate, channels);
- }
-
- private int SwigDirectorstart() {
- return start();
- }
-
- private int SwigDirectorpause() {
- return pause();
- }
-
- private int SwigDirectorstop() {
- return stop();
- }
-
- public delegate int SwigDelegateProxyAudioConsumerCallback_0(int ptime, int rate, int channels);
- public delegate int SwigDelegateProxyAudioConsumerCallback_1();
- public delegate int SwigDelegateProxyAudioConsumerCallback_2();
- public delegate int SwigDelegateProxyAudioConsumerCallback_3();
-
- private SwigDelegateProxyAudioConsumerCallback_0 swigDelegate0;
- private SwigDelegateProxyAudioConsumerCallback_1 swigDelegate1;
- private SwigDelegateProxyAudioConsumerCallback_2 swigDelegate2;
- private SwigDelegateProxyAudioConsumerCallback_3 swigDelegate3;
-
- private static Type[] swigMethodTypes0 = new Type[] { typeof(int), typeof(int), typeof(int) };
- private static Type[] swigMethodTypes1 = new Type[] { };
- private static Type[] swigMethodTypes2 = new Type[] { };
- private static Type[] swigMethodTypes3 = new Type[] { };
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/ProxyAudioProducer.cs b/branches/1.0/bindings/csharp/ProxyAudioProducer.cs
deleted file mode 100644
index 04066ab..0000000
--- a/branches/1.0/bindings/csharp/ProxyAudioProducer.cs
+++ /dev/null
@@ -1,62 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class ProxyAudioProducer : ProxyPlugin {
- private HandleRef swigCPtr;
-
- internal ProxyAudioProducer(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.ProxyAudioProducerUpcast(cPtr), cMemoryOwn) {
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(ProxyAudioProducer obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~ProxyAudioProducer() {
- Dispose();
- }
-
- public override void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_ProxyAudioProducer(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- base.Dispose();
- }
- }
-
- public int push(byte[] buffer, uint size) {
- int ret = tinyWRAPPINVOKE.ProxyAudioProducer_push(swigCPtr, buffer, size);
- return ret;
- }
-
- public void setCallback(ProxyAudioProducerCallback _callback) {
- tinyWRAPPINVOKE.ProxyAudioProducer_setCallback(swigCPtr, ProxyAudioProducerCallback.getCPtr(_callback));
- }
-
- public virtual ulong getMediaSessionId() {
- ulong ret = tinyWRAPPINVOKE.ProxyAudioProducer_getMediaSessionId(swigCPtr);
- return ret;
- }
-
- public static bool registerPlugin() {
- bool ret = tinyWRAPPINVOKE.ProxyAudioProducer_registerPlugin();
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/ProxyAudioProducerCallback.cs b/branches/1.0/bindings/csharp/ProxyAudioProducerCallback.cs
deleted file mode 100644
index 8106471..0000000
--- a/branches/1.0/bindings/csharp/ProxyAudioProducerCallback.cs
+++ /dev/null
@@ -1,116 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class ProxyAudioProducerCallback : IDisposable {
- private HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal ProxyAudioProducerCallback(IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(ProxyAudioProducerCallback obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~ProxyAudioProducerCallback() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_ProxyAudioProducerCallback(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- }
- }
-
- public ProxyAudioProducerCallback() : this(tinyWRAPPINVOKE.new_ProxyAudioProducerCallback(), true) {
- SwigDirectorConnect();
- }
-
- public virtual int prepare(int ptime, int rate, int channels) {
- int ret = ((this.GetType() == typeof(ProxyAudioProducerCallback)) ? tinyWRAPPINVOKE.ProxyAudioProducerCallback_prepare(swigCPtr, ptime, rate, channels) : tinyWRAPPINVOKE.ProxyAudioProducerCallback_prepareSwigExplicitProxyAudioProducerCallback(swigCPtr, ptime, rate, channels));
- return ret;
- }
-
- public virtual int start() {
- int ret = ((this.GetType() == typeof(ProxyAudioProducerCallback)) ? tinyWRAPPINVOKE.ProxyAudioProducerCallback_start(swigCPtr) : tinyWRAPPINVOKE.ProxyAudioProducerCallback_startSwigExplicitProxyAudioProducerCallback(swigCPtr));
- return ret;
- }
-
- public virtual int pause() {
- int ret = ((this.GetType() == typeof(ProxyAudioProducerCallback)) ? tinyWRAPPINVOKE.ProxyAudioProducerCallback_pause(swigCPtr) : tinyWRAPPINVOKE.ProxyAudioProducerCallback_pauseSwigExplicitProxyAudioProducerCallback(swigCPtr));
- return ret;
- }
-
- public virtual int stop() {
- int ret = ((this.GetType() == typeof(ProxyAudioProducerCallback)) ? tinyWRAPPINVOKE.ProxyAudioProducerCallback_stop(swigCPtr) : tinyWRAPPINVOKE.ProxyAudioProducerCallback_stopSwigExplicitProxyAudioProducerCallback(swigCPtr));
- return ret;
- }
-
- private void SwigDirectorConnect() {
- if (SwigDerivedClassHasMethod("prepare", swigMethodTypes0))
- swigDelegate0 = new SwigDelegateProxyAudioProducerCallback_0(SwigDirectorprepare);
- if (SwigDerivedClassHasMethod("start", swigMethodTypes1))
- swigDelegate1 = new SwigDelegateProxyAudioProducerCallback_1(SwigDirectorstart);
- if (SwigDerivedClassHasMethod("pause", swigMethodTypes2))
- swigDelegate2 = new SwigDelegateProxyAudioProducerCallback_2(SwigDirectorpause);
- if (SwigDerivedClassHasMethod("stop", swigMethodTypes3))
- swigDelegate3 = new SwigDelegateProxyAudioProducerCallback_3(SwigDirectorstop);
- tinyWRAPPINVOKE.ProxyAudioProducerCallback_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3);
- }
-
- private bool SwigDerivedClassHasMethod(string methodName, Type[] methodTypes) {
- System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance, null, methodTypes, null);
- bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(ProxyAudioProducerCallback));
- return hasDerivedMethod;
- }
-
- private int SwigDirectorprepare(int ptime, int rate, int channels) {
- return prepare(ptime, rate, channels);
- }
-
- private int SwigDirectorstart() {
- return start();
- }
-
- private int SwigDirectorpause() {
- return pause();
- }
-
- private int SwigDirectorstop() {
- return stop();
- }
-
- public delegate int SwigDelegateProxyAudioProducerCallback_0(int ptime, int rate, int channels);
- public delegate int SwigDelegateProxyAudioProducerCallback_1();
- public delegate int SwigDelegateProxyAudioProducerCallback_2();
- public delegate int SwigDelegateProxyAudioProducerCallback_3();
-
- private SwigDelegateProxyAudioProducerCallback_0 swigDelegate0;
- private SwigDelegateProxyAudioProducerCallback_1 swigDelegate1;
- private SwigDelegateProxyAudioProducerCallback_2 swigDelegate2;
- private SwigDelegateProxyAudioProducerCallback_3 swigDelegate3;
-
- private static Type[] swigMethodTypes0 = new Type[] { typeof(int), typeof(int), typeof(int) };
- private static Type[] swigMethodTypes1 = new Type[] { };
- private static Type[] swigMethodTypes2 = new Type[] { };
- private static Type[] swigMethodTypes3 = new Type[] { };
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/ProxyPlugin.cs b/branches/1.0/bindings/csharp/ProxyPlugin.cs
deleted file mode 100644
index cb62dd6..0000000
--- a/branches/1.0/bindings/csharp/ProxyPlugin.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class ProxyPlugin : IDisposable {
- private HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal ProxyPlugin(IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(ProxyPlugin obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~ProxyPlugin() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_ProxyPlugin(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- }
- }
-
- public twrap_proxy_plugin_type_t getType() {
- twrap_proxy_plugin_type_t ret = (twrap_proxy_plugin_type_t)tinyWRAPPINVOKE.ProxyPlugin_getType(swigCPtr);
- return ret;
- }
-
- public ulong getId() {
- ulong ret = tinyWRAPPINVOKE.ProxyPlugin_getId(swigCPtr);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/ProxyPluginMgr.cs b/branches/1.0/bindings/csharp/ProxyPluginMgr.cs
deleted file mode 100644
index ef1be3f..0000000
--- a/branches/1.0/bindings/csharp/ProxyPluginMgr.cs
+++ /dev/null
@@ -1,80 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class ProxyPluginMgr : IDisposable {
- private HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal ProxyPluginMgr(IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(ProxyPluginMgr obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~ProxyPluginMgr() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_ProxyPluginMgr(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- }
- }
-
- public static ProxyPluginMgr createInstance(ProxyPluginMgrCallback callback) {
- IntPtr cPtr = tinyWRAPPINVOKE.ProxyPluginMgr_createInstance(ProxyPluginMgrCallback.getCPtr(callback));
- ProxyPluginMgr ret = (cPtr == IntPtr.Zero) ? null : new ProxyPluginMgr(cPtr, true);
- return ret;
- }
-
- public static ProxyPluginMgr getInstance() {
- IntPtr cPtr = tinyWRAPPINVOKE.ProxyPluginMgr_getInstance();
- ProxyPluginMgr ret = (cPtr == IntPtr.Zero) ? null : new ProxyPluginMgr(cPtr, false);
- return ret;
- }
-
- public ProxyAudioConsumer findAudioConsumer(ulong id) {
- IntPtr cPtr = tinyWRAPPINVOKE.ProxyPluginMgr_findAudioConsumer(swigCPtr, id);
- ProxyAudioConsumer ret = (cPtr == IntPtr.Zero) ? null : new ProxyAudioConsumer(cPtr, false);
- return ret;
- }
-
- public ProxyVideoConsumer findVideoConsumer(ulong id) {
- IntPtr cPtr = tinyWRAPPINVOKE.ProxyPluginMgr_findVideoConsumer(swigCPtr, id);
- ProxyVideoConsumer ret = (cPtr == IntPtr.Zero) ? null : new ProxyVideoConsumer(cPtr, false);
- return ret;
- }
-
- public ProxyAudioProducer findAudioProducer(ulong id) {
- IntPtr cPtr = tinyWRAPPINVOKE.ProxyPluginMgr_findAudioProducer(swigCPtr, id);
- ProxyAudioProducer ret = (cPtr == IntPtr.Zero) ? null : new ProxyAudioProducer(cPtr, false);
- return ret;
- }
-
- public ProxyVideoProducer findVideoProducer(ulong id) {
- IntPtr cPtr = tinyWRAPPINVOKE.ProxyPluginMgr_findVideoProducer(swigCPtr, id);
- ProxyVideoProducer ret = (cPtr == IntPtr.Zero) ? null : new ProxyVideoProducer(cPtr, false);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/ProxyPluginMgrCallback.cs b/branches/1.0/bindings/csharp/ProxyPluginMgrCallback.cs
deleted file mode 100644
index f391f36..0000000
--- a/branches/1.0/bindings/csharp/ProxyPluginMgrCallback.cs
+++ /dev/null
@@ -1,88 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class ProxyPluginMgrCallback : IDisposable {
- private HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal ProxyPluginMgrCallback(IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(ProxyPluginMgrCallback obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~ProxyPluginMgrCallback() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_ProxyPluginMgrCallback(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- }
- }
-
- public ProxyPluginMgrCallback() : this(tinyWRAPPINVOKE.new_ProxyPluginMgrCallback(), true) {
- SwigDirectorConnect();
- }
-
- public virtual int OnPluginCreated(ulong id, twrap_proxy_plugin_type_t type) {
- int ret = ((this.GetType() == typeof(ProxyPluginMgrCallback)) ? tinyWRAPPINVOKE.ProxyPluginMgrCallback_OnPluginCreated(swigCPtr, id, (int)type) : tinyWRAPPINVOKE.ProxyPluginMgrCallback_OnPluginCreatedSwigExplicitProxyPluginMgrCallback(swigCPtr, id, (int)type));
- return ret;
- }
-
- public virtual int OnPluginDestroyed(ulong id, twrap_proxy_plugin_type_t type) {
- int ret = ((this.GetType() == typeof(ProxyPluginMgrCallback)) ? tinyWRAPPINVOKE.ProxyPluginMgrCallback_OnPluginDestroyed(swigCPtr, id, (int)type) : tinyWRAPPINVOKE.ProxyPluginMgrCallback_OnPluginDestroyedSwigExplicitProxyPluginMgrCallback(swigCPtr, id, (int)type));
- return ret;
- }
-
- private void SwigDirectorConnect() {
- if (SwigDerivedClassHasMethod("OnPluginCreated", swigMethodTypes0))
- swigDelegate0 = new SwigDelegateProxyPluginMgrCallback_0(SwigDirectorOnPluginCreated);
- if (SwigDerivedClassHasMethod("OnPluginDestroyed", swigMethodTypes1))
- swigDelegate1 = new SwigDelegateProxyPluginMgrCallback_1(SwigDirectorOnPluginDestroyed);
- tinyWRAPPINVOKE.ProxyPluginMgrCallback_director_connect(swigCPtr, swigDelegate0, swigDelegate1);
- }
-
- private bool SwigDerivedClassHasMethod(string methodName, Type[] methodTypes) {
- System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance, null, methodTypes, null);
- bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(ProxyPluginMgrCallback));
- return hasDerivedMethod;
- }
-
- private int SwigDirectorOnPluginCreated(ulong id, int type) {
- return OnPluginCreated(id, (twrap_proxy_plugin_type_t)type);
- }
-
- private int SwigDirectorOnPluginDestroyed(ulong id, int type) {
- return OnPluginDestroyed(id, (twrap_proxy_plugin_type_t)type);
- }
-
- public delegate int SwigDelegateProxyPluginMgrCallback_0(ulong id, int type);
- public delegate int SwigDelegateProxyPluginMgrCallback_1(ulong id, int type);
-
- private SwigDelegateProxyPluginMgrCallback_0 swigDelegate0;
- private SwigDelegateProxyPluginMgrCallback_1 swigDelegate1;
-
- private static Type[] swigMethodTypes0 = new Type[] { typeof(ulong), typeof(twrap_proxy_plugin_type_t) };
- private static Type[] swigMethodTypes1 = new Type[] { typeof(ulong), typeof(twrap_proxy_plugin_type_t) };
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/ProxyVideoConsumer.cs b/branches/1.0/bindings/csharp/ProxyVideoConsumer.cs
deleted file mode 100644
index 9dfdefb..0000000
--- a/branches/1.0/bindings/csharp/ProxyVideoConsumer.cs
+++ /dev/null
@@ -1,66 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class ProxyVideoConsumer : ProxyPlugin {
- private HandleRef swigCPtr;
-
- internal ProxyVideoConsumer(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.ProxyVideoConsumerUpcast(cPtr), cMemoryOwn) {
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(ProxyVideoConsumer obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~ProxyVideoConsumer() {
- Dispose();
- }
-
- public override void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_ProxyVideoConsumer(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- base.Dispose();
- }
- }
-
- public bool setDisplaySize(int width, int height) {
- bool ret = tinyWRAPPINVOKE.ProxyVideoConsumer_setDisplaySize(swigCPtr, width, height);
- return ret;
- }
-
- public void setCallback(ProxyVideoConsumerCallback _callback) {
- tinyWRAPPINVOKE.ProxyVideoConsumer_setCallback(swigCPtr, ProxyVideoConsumerCallback.getCPtr(_callback));
- }
-
- public virtual ulong getMediaSessionId() {
- ulong ret = tinyWRAPPINVOKE.ProxyVideoConsumer_getMediaSessionId(swigCPtr);
- return ret;
- }
-
- public static bool registerPlugin() {
- bool ret = tinyWRAPPINVOKE.ProxyVideoConsumer_registerPlugin();
- return ret;
- }
-
- public static void setDefaultChroma(tmedia_chroma_t chroma) {
- tinyWRAPPINVOKE.ProxyVideoConsumer_setDefaultChroma((int)chroma);
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/ProxyVideoConsumerCallback.cs b/branches/1.0/bindings/csharp/ProxyVideoConsumerCallback.cs
deleted file mode 100644
index 0944db5..0000000
--- a/branches/1.0/bindings/csharp/ProxyVideoConsumerCallback.cs
+++ /dev/null
@@ -1,130 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class ProxyVideoConsumerCallback : IDisposable {
- private HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal ProxyVideoConsumerCallback(IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(ProxyVideoConsumerCallback obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~ProxyVideoConsumerCallback() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_ProxyVideoConsumerCallback(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- }
- }
-
- public ProxyVideoConsumerCallback() : this(tinyWRAPPINVOKE.new_ProxyVideoConsumerCallback(), true) {
- SwigDirectorConnect();
- }
-
- public virtual int prepare(int width, int height, int fps) {
- int ret = ((this.GetType() == typeof(ProxyVideoConsumerCallback)) ? tinyWRAPPINVOKE.ProxyVideoConsumerCallback_prepare(swigCPtr, width, height, fps) : tinyWRAPPINVOKE.ProxyVideoConsumerCallback_prepareSwigExplicitProxyVideoConsumerCallback(swigCPtr, width, height, fps));
- return ret;
- }
-
- public virtual int consume(ProxyVideoFrame frame) {
- int ret = ((this.GetType() == typeof(ProxyVideoConsumerCallback)) ? tinyWRAPPINVOKE.ProxyVideoConsumerCallback_consume(swigCPtr, ProxyVideoFrame.getCPtr(frame)) : tinyWRAPPINVOKE.ProxyVideoConsumerCallback_consumeSwigExplicitProxyVideoConsumerCallback(swigCPtr, ProxyVideoFrame.getCPtr(frame)));
- return ret;
- }
-
- public virtual int start() {
- int ret = ((this.GetType() == typeof(ProxyVideoConsumerCallback)) ? tinyWRAPPINVOKE.ProxyVideoConsumerCallback_start(swigCPtr) : tinyWRAPPINVOKE.ProxyVideoConsumerCallback_startSwigExplicitProxyVideoConsumerCallback(swigCPtr));
- return ret;
- }
-
- public virtual int pause() {
- int ret = ((this.GetType() == typeof(ProxyVideoConsumerCallback)) ? tinyWRAPPINVOKE.ProxyVideoConsumerCallback_pause(swigCPtr) : tinyWRAPPINVOKE.ProxyVideoConsumerCallback_pauseSwigExplicitProxyVideoConsumerCallback(swigCPtr));
- return ret;
- }
-
- public virtual int stop() {
- int ret = ((this.GetType() == typeof(ProxyVideoConsumerCallback)) ? tinyWRAPPINVOKE.ProxyVideoConsumerCallback_stop(swigCPtr) : tinyWRAPPINVOKE.ProxyVideoConsumerCallback_stopSwigExplicitProxyVideoConsumerCallback(swigCPtr));
- return ret;
- }
-
- private void SwigDirectorConnect() {
- if (SwigDerivedClassHasMethod("prepare", swigMethodTypes0))
- swigDelegate0 = new SwigDelegateProxyVideoConsumerCallback_0(SwigDirectorprepare);
- if (SwigDerivedClassHasMethod("consume", swigMethodTypes1))
- swigDelegate1 = new SwigDelegateProxyVideoConsumerCallback_1(SwigDirectorconsume);
- if (SwigDerivedClassHasMethod("start", swigMethodTypes2))
- swigDelegate2 = new SwigDelegateProxyVideoConsumerCallback_2(SwigDirectorstart);
- if (SwigDerivedClassHasMethod("pause", swigMethodTypes3))
- swigDelegate3 = new SwigDelegateProxyVideoConsumerCallback_3(SwigDirectorpause);
- if (SwigDerivedClassHasMethod("stop", swigMethodTypes4))
- swigDelegate4 = new SwigDelegateProxyVideoConsumerCallback_4(SwigDirectorstop);
- tinyWRAPPINVOKE.ProxyVideoConsumerCallback_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4);
- }
-
- private bool SwigDerivedClassHasMethod(string methodName, Type[] methodTypes) {
- System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance, null, methodTypes, null);
- bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(ProxyVideoConsumerCallback));
- return hasDerivedMethod;
- }
-
- private int SwigDirectorprepare(int width, int height, int fps) {
- return prepare(width, height, fps);
- }
-
- private int SwigDirectorconsume(IntPtr frame) {
- return consume((frame == IntPtr.Zero) ? null : new ProxyVideoFrame(frame, false));
- }
-
- private int SwigDirectorstart() {
- return start();
- }
-
- private int SwigDirectorpause() {
- return pause();
- }
-
- private int SwigDirectorstop() {
- return stop();
- }
-
- public delegate int SwigDelegateProxyVideoConsumerCallback_0(int width, int height, int fps);
- public delegate int SwigDelegateProxyVideoConsumerCallback_1(IntPtr frame);
- public delegate int SwigDelegateProxyVideoConsumerCallback_2();
- public delegate int SwigDelegateProxyVideoConsumerCallback_3();
- public delegate int SwigDelegateProxyVideoConsumerCallback_4();
-
- private SwigDelegateProxyVideoConsumerCallback_0 swigDelegate0;
- private SwigDelegateProxyVideoConsumerCallback_1 swigDelegate1;
- private SwigDelegateProxyVideoConsumerCallback_2 swigDelegate2;
- private SwigDelegateProxyVideoConsumerCallback_3 swigDelegate3;
- private SwigDelegateProxyVideoConsumerCallback_4 swigDelegate4;
-
- private static Type[] swigMethodTypes0 = new Type[] { typeof(int), typeof(int), typeof(int) };
- private static Type[] swigMethodTypes1 = new Type[] { typeof(ProxyVideoFrame) };
- private static Type[] swigMethodTypes2 = new Type[] { };
- private static Type[] swigMethodTypes3 = new Type[] { };
- private static Type[] swigMethodTypes4 = new Type[] { };
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/ProxyVideoFrame.cs b/branches/1.0/bindings/csharp/ProxyVideoFrame.cs
deleted file mode 100644
index 48cb7cb..0000000
--- a/branches/1.0/bindings/csharp/ProxyVideoFrame.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class ProxyVideoFrame : IDisposable {
- private HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal ProxyVideoFrame(IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(ProxyVideoFrame obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~ProxyVideoFrame() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_ProxyVideoFrame(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- }
- }
-
- public uint getSize() {
- uint ret = tinyWRAPPINVOKE.ProxyVideoFrame_getSize(swigCPtr);
- return ret;
- }
-
- public uint getContent(byte[] output, uint maxsize) {
- uint ret = tinyWRAPPINVOKE.ProxyVideoFrame_getContent(swigCPtr, output, maxsize);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/ProxyVideoProducer.cs b/branches/1.0/bindings/csharp/ProxyVideoProducer.cs
deleted file mode 100644
index dc3d94d..0000000
--- a/branches/1.0/bindings/csharp/ProxyVideoProducer.cs
+++ /dev/null
@@ -1,80 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class ProxyVideoProducer : ProxyPlugin {
- private HandleRef swigCPtr;
-
- internal ProxyVideoProducer(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.ProxyVideoProducerUpcast(cPtr), cMemoryOwn) {
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(ProxyVideoProducer obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~ProxyVideoProducer() {
- Dispose();
- }
-
- public override void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_ProxyVideoProducer(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- base.Dispose();
- }
- }
-
- public int getRotation() {
- int ret = tinyWRAPPINVOKE.ProxyVideoProducer_getRotation(swigCPtr);
- return ret;
- }
-
- public void setRotation(int rot) {
- tinyWRAPPINVOKE.ProxyVideoProducer_setRotation(swigCPtr, rot);
- }
-
- public int push(byte[] buffer, uint size) {
- int ret = tinyWRAPPINVOKE.ProxyVideoProducer_push(swigCPtr, buffer, size);
- return ret;
- }
-
- public int send(byte[] buffer, uint size, uint duration, bool marker) {
- int ret = tinyWRAPPINVOKE.ProxyVideoProducer_send(swigCPtr, buffer, size, duration, marker);
- return ret;
- }
-
- public void setCallback(ProxyVideoProducerCallback _callback) {
- tinyWRAPPINVOKE.ProxyVideoProducer_setCallback(swigCPtr, ProxyVideoProducerCallback.getCPtr(_callback));
- }
-
- public virtual ulong getMediaSessionId() {
- ulong ret = tinyWRAPPINVOKE.ProxyVideoProducer_getMediaSessionId(swigCPtr);
- return ret;
- }
-
- public static bool registerPlugin() {
- bool ret = tinyWRAPPINVOKE.ProxyVideoProducer_registerPlugin();
- return ret;
- }
-
- public static void setDefaultChroma(tmedia_chroma_t chroma) {
- tinyWRAPPINVOKE.ProxyVideoProducer_setDefaultChroma((int)chroma);
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/ProxyVideoProducerCallback.cs b/branches/1.0/bindings/csharp/ProxyVideoProducerCallback.cs
deleted file mode 100644
index 7deb2a7..0000000
--- a/branches/1.0/bindings/csharp/ProxyVideoProducerCallback.cs
+++ /dev/null
@@ -1,116 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class ProxyVideoProducerCallback : IDisposable {
- private HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal ProxyVideoProducerCallback(IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(ProxyVideoProducerCallback obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~ProxyVideoProducerCallback() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_ProxyVideoProducerCallback(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- }
- }
-
- public ProxyVideoProducerCallback() : this(tinyWRAPPINVOKE.new_ProxyVideoProducerCallback(), true) {
- SwigDirectorConnect();
- }
-
- public virtual int prepare(int width, int height, int fps) {
- int ret = ((this.GetType() == typeof(ProxyVideoProducerCallback)) ? tinyWRAPPINVOKE.ProxyVideoProducerCallback_prepare(swigCPtr, width, height, fps) : tinyWRAPPINVOKE.ProxyVideoProducerCallback_prepareSwigExplicitProxyVideoProducerCallback(swigCPtr, width, height, fps));
- return ret;
- }
-
- public virtual int start() {
- int ret = ((this.GetType() == typeof(ProxyVideoProducerCallback)) ? tinyWRAPPINVOKE.ProxyVideoProducerCallback_start(swigCPtr) : tinyWRAPPINVOKE.ProxyVideoProducerCallback_startSwigExplicitProxyVideoProducerCallback(swigCPtr));
- return ret;
- }
-
- public virtual int pause() {
- int ret = ((this.GetType() == typeof(ProxyVideoProducerCallback)) ? tinyWRAPPINVOKE.ProxyVideoProducerCallback_pause(swigCPtr) : tinyWRAPPINVOKE.ProxyVideoProducerCallback_pauseSwigExplicitProxyVideoProducerCallback(swigCPtr));
- return ret;
- }
-
- public virtual int stop() {
- int ret = ((this.GetType() == typeof(ProxyVideoProducerCallback)) ? tinyWRAPPINVOKE.ProxyVideoProducerCallback_stop(swigCPtr) : tinyWRAPPINVOKE.ProxyVideoProducerCallback_stopSwigExplicitProxyVideoProducerCallback(swigCPtr));
- return ret;
- }
-
- private void SwigDirectorConnect() {
- if (SwigDerivedClassHasMethod("prepare", swigMethodTypes0))
- swigDelegate0 = new SwigDelegateProxyVideoProducerCallback_0(SwigDirectorprepare);
- if (SwigDerivedClassHasMethod("start", swigMethodTypes1))
- swigDelegate1 = new SwigDelegateProxyVideoProducerCallback_1(SwigDirectorstart);
- if (SwigDerivedClassHasMethod("pause", swigMethodTypes2))
- swigDelegate2 = new SwigDelegateProxyVideoProducerCallback_2(SwigDirectorpause);
- if (SwigDerivedClassHasMethod("stop", swigMethodTypes3))
- swigDelegate3 = new SwigDelegateProxyVideoProducerCallback_3(SwigDirectorstop);
- tinyWRAPPINVOKE.ProxyVideoProducerCallback_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3);
- }
-
- private bool SwigDerivedClassHasMethod(string methodName, Type[] methodTypes) {
- System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance, null, methodTypes, null);
- bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(ProxyVideoProducerCallback));
- return hasDerivedMethod;
- }
-
- private int SwigDirectorprepare(int width, int height, int fps) {
- return prepare(width, height, fps);
- }
-
- private int SwigDirectorstart() {
- return start();
- }
-
- private int SwigDirectorpause() {
- return pause();
- }
-
- private int SwigDirectorstop() {
- return stop();
- }
-
- public delegate int SwigDelegateProxyVideoProducerCallback_0(int width, int height, int fps);
- public delegate int SwigDelegateProxyVideoProducerCallback_1();
- public delegate int SwigDelegateProxyVideoProducerCallback_2();
- public delegate int SwigDelegateProxyVideoProducerCallback_3();
-
- private SwigDelegateProxyVideoProducerCallback_0 swigDelegate0;
- private SwigDelegateProxyVideoProducerCallback_1 swigDelegate1;
- private SwigDelegateProxyVideoProducerCallback_2 swigDelegate2;
- private SwigDelegateProxyVideoProducerCallback_3 swigDelegate3;
-
- private static Type[] swigMethodTypes0 = new Type[] { typeof(int), typeof(int), typeof(int) };
- private static Type[] swigMethodTypes1 = new Type[] { };
- private static Type[] swigMethodTypes2 = new Type[] { };
- private static Type[] swigMethodTypes3 = new Type[] { };
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/PublicationEvent.cs b/branches/1.0/bindings/csharp/PublicationEvent.cs
deleted file mode 100644
index 55de1e3..0000000
--- a/branches/1.0/bindings/csharp/PublicationEvent.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class PublicationEvent : SipEvent {
- private HandleRef swigCPtr;
-
- internal PublicationEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.PublicationEventUpcast(cPtr), cMemoryOwn) {
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(PublicationEvent obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~PublicationEvent() {
- Dispose();
- }
-
- public override void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_PublicationEvent(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- base.Dispose();
- }
- }
-
- public tsip_publish_event_type_t getType() {
- tsip_publish_event_type_t ret = (tsip_publish_event_type_t)tinyWRAPPINVOKE.PublicationEvent_getType(swigCPtr);
- return ret;
- }
-
- public PublicationSession getSession() {
- IntPtr cPtr = tinyWRAPPINVOKE.PublicationEvent_getSession(swigCPtr);
- PublicationSession ret = (cPtr == IntPtr.Zero) ? null : new PublicationSession(cPtr, false);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/PublicationSession.cs b/branches/1.0/bindings/csharp/PublicationSession.cs
deleted file mode 100644
index 375c8e5..0000000
--- a/branches/1.0/bindings/csharp/PublicationSession.cs
+++ /dev/null
@@ -1,56 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class PublicationSession : SipSession {
- private HandleRef swigCPtr;
-
- internal PublicationSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.PublicationSessionUpcast(cPtr), cMemoryOwn) {
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(PublicationSession obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~PublicationSession() {
- Dispose();
- }
-
- public override void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_PublicationSession(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- base.Dispose();
- }
- }
-
- public PublicationSession(SipStack Stack) : this(tinyWRAPPINVOKE.new_PublicationSession(SipStack.getCPtr(Stack)), true) {
- }
-
- public bool publish(byte[] payload, uint len) {
- bool ret = tinyWRAPPINVOKE.PublicationSession_publish(swigCPtr, payload, len);
- return ret;
- }
-
- public bool unPublish() {
- bool ret = tinyWRAPPINVOKE.PublicationSession_unPublish(swigCPtr);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/RPMessage.cs b/branches/1.0/bindings/csharp/RPMessage.cs
deleted file mode 100644
index c984c07..0000000
--- a/branches/1.0/bindings/csharp/RPMessage.cs
+++ /dev/null
@@ -1,62 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class RPMessage : IDisposable {
- private HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal RPMessage(IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(RPMessage obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~RPMessage() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_RPMessage(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- }
- }
-
- public RPMessage() : this(tinyWRAPPINVOKE.new_RPMessage(), true) {
- }
-
- public twrap_rpmessage_type_t getType() {
- twrap_rpmessage_type_t ret = (twrap_rpmessage_type_t)tinyWRAPPINVOKE.RPMessage_getType(swigCPtr);
- return ret;
- }
-
- public uint getPayloadLength() {
- uint ret = tinyWRAPPINVOKE.RPMessage_getPayloadLength(swigCPtr);
- return ret;
- }
-
- public uint getPayload(byte[] output, uint maxsize) {
- uint ret = tinyWRAPPINVOKE.RPMessage_getPayload(swigCPtr, output, maxsize);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/RegistrationEvent.cs b/branches/1.0/bindings/csharp/RegistrationEvent.cs
deleted file mode 100644
index 21dbc2a..0000000
--- a/branches/1.0/bindings/csharp/RegistrationEvent.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class RegistrationEvent : SipEvent {
- private HandleRef swigCPtr;
-
- internal RegistrationEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.RegistrationEventUpcast(cPtr), cMemoryOwn) {
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(RegistrationEvent obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~RegistrationEvent() {
- Dispose();
- }
-
- public override void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_RegistrationEvent(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- base.Dispose();
- }
- }
-
- public tsip_register_event_type_t getType() {
- tsip_register_event_type_t ret = (tsip_register_event_type_t)tinyWRAPPINVOKE.RegistrationEvent_getType(swigCPtr);
- return ret;
- }
-
- public RegistrationSession getSession() {
- IntPtr cPtr = tinyWRAPPINVOKE.RegistrationEvent_getSession(swigCPtr);
- RegistrationSession ret = (cPtr == IntPtr.Zero) ? null : new RegistrationSession(cPtr, false);
- return ret;
- }
-
- public RegistrationSession takeSessionOwnership() {
- IntPtr cPtr = tinyWRAPPINVOKE.RegistrationEvent_takeSessionOwnership(swigCPtr);
- RegistrationSession ret = (cPtr == IntPtr.Zero) ? null : new RegistrationSession(cPtr, true);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/RegistrationSession.cs b/branches/1.0/bindings/csharp/RegistrationSession.cs
deleted file mode 100644
index f107c83..0000000
--- a/branches/1.0/bindings/csharp/RegistrationSession.cs
+++ /dev/null
@@ -1,76 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class RegistrationSession : SipSession {
- private HandleRef swigCPtr;
-
- internal RegistrationSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.RegistrationSessionUpcast(cPtr), cMemoryOwn) {
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(RegistrationSession obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~RegistrationSession() {
- Dispose();
- }
-
- public override void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_RegistrationSession(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- base.Dispose();
- }
- }
-
- public RegistrationSession(SipStack Stack) : this(tinyWRAPPINVOKE.new_RegistrationSession(SipStack.getCPtr(Stack)), true) {
- }
-
- public bool register_() {
- bool ret = tinyWRAPPINVOKE.RegistrationSession_register_(swigCPtr);
- return ret;
- }
-
- public bool unRegister() {
- bool ret = tinyWRAPPINVOKE.RegistrationSession_unRegister(swigCPtr);
- return ret;
- }
-
- public bool accept(ActionConfig config) {
- bool ret = tinyWRAPPINVOKE.RegistrationSession_accept__SWIG_0(swigCPtr, ActionConfig.getCPtr(config));
- return ret;
- }
-
- public bool accept() {
- bool ret = tinyWRAPPINVOKE.RegistrationSession_accept__SWIG_1(swigCPtr);
- return ret;
- }
-
- public bool reject(ActionConfig config) {
- bool ret = tinyWRAPPINVOKE.RegistrationSession_reject__SWIG_0(swigCPtr, ActionConfig.getCPtr(config));
- return ret;
- }
-
- public bool reject() {
- bool ret = tinyWRAPPINVOKE.RegistrationSession_reject__SWIG_1(swigCPtr);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/SMSData.cs b/branches/1.0/bindings/csharp/SMSData.cs
deleted file mode 100644
index 4d17a21..0000000
--- a/branches/1.0/bindings/csharp/SMSData.cs
+++ /dev/null
@@ -1,77 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class SMSData : IDisposable {
- private HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal SMSData(IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(SMSData obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~SMSData() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_SMSData(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- }
- }
-
- public SMSData() : this(tinyWRAPPINVOKE.new_SMSData(), true) {
- }
-
- public twrap_sms_type_t getType() {
- twrap_sms_type_t ret = (twrap_sms_type_t)tinyWRAPPINVOKE.SMSData_getType(swigCPtr);
- return ret;
- }
-
- public int getMR() {
- int ret = tinyWRAPPINVOKE.SMSData_getMR(swigCPtr);
- return ret;
- }
-
- public uint getPayloadLength() {
- uint ret = tinyWRAPPINVOKE.SMSData_getPayloadLength(swigCPtr);
- return ret;
- }
-
- public uint getPayload(byte[] output, uint maxsize) {
- uint ret = tinyWRAPPINVOKE.SMSData_getPayload(swigCPtr, output, maxsize);
- return ret;
- }
-
- public string getOA() {
- string ret = tinyWRAPPINVOKE.SMSData_getOA(swigCPtr);
- return ret;
- }
-
- public string getDA() {
- string ret = tinyWRAPPINVOKE.SMSData_getDA(swigCPtr);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/SMSEncoder.cs b/branches/1.0/bindings/csharp/SMSEncoder.cs
deleted file mode 100644
index 30eaaff..0000000
--- a/branches/1.0/bindings/csharp/SMSEncoder.cs
+++ /dev/null
@@ -1,74 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class SMSEncoder : IDisposable {
- private HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal SMSEncoder(IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(SMSEncoder obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~SMSEncoder() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_SMSEncoder(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- }
- }
-
- public static RPMessage encodeSubmit(int mr, string smsc, string destination, string ascii) {
- IntPtr cPtr = tinyWRAPPINVOKE.SMSEncoder_encodeSubmit(mr, smsc, destination, ascii);
- RPMessage ret = (cPtr == IntPtr.Zero) ? null : new RPMessage(cPtr, true);
- return ret;
- }
-
- public static RPMessage encodeDeliver(int mr, string smsc, string originator, string ascii) {
- IntPtr cPtr = tinyWRAPPINVOKE.SMSEncoder_encodeDeliver(mr, smsc, originator, ascii);
- RPMessage ret = (cPtr == IntPtr.Zero) ? null : new RPMessage(cPtr, true);
- return ret;
- }
-
- public static RPMessage encodeACK(int mr, string smsc, string destination, bool forSUBMIT) {
- IntPtr cPtr = tinyWRAPPINVOKE.SMSEncoder_encodeACK(mr, smsc, destination, forSUBMIT);
- RPMessage ret = (cPtr == IntPtr.Zero) ? null : new RPMessage(cPtr, true);
- return ret;
- }
-
- public static RPMessage encodeError(int mr, string smsc, string destination, bool forSUBMIT) {
- IntPtr cPtr = tinyWRAPPINVOKE.SMSEncoder_encodeError(mr, smsc, destination, forSUBMIT);
- RPMessage ret = (cPtr == IntPtr.Zero) ? null : new RPMessage(cPtr, true);
- return ret;
- }
-
- public static SMSData decode(byte[] data, uint size, bool MobOrig) {
- IntPtr cPtr = tinyWRAPPINVOKE.SMSEncoder_decode(data, size, MobOrig);
- SMSData ret = (cPtr == IntPtr.Zero) ? null : new SMSData(cPtr, true);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/SafeObject.cs b/branches/1.0/bindings/csharp/SafeObject.cs
deleted file mode 100644
index 28217da..0000000
--- a/branches/1.0/bindings/csharp/SafeObject.cs
+++ /dev/null
@@ -1,57 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class SafeObject : IDisposable {
- private HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal SafeObject(IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(SafeObject obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~SafeObject() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_SafeObject(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- }
- }
-
- public SafeObject() : this(tinyWRAPPINVOKE.new_SafeObject(), true) {
- }
-
- public int Lock() {
- int ret = tinyWRAPPINVOKE.SafeObject_Lock(swigCPtr);
- return ret;
- }
-
- public int UnLock() {
- int ret = tinyWRAPPINVOKE.SafeObject_UnLock(swigCPtr);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/SdpMessage.cs b/branches/1.0/bindings/csharp/SdpMessage.cs
deleted file mode 100644
index 2a54b1a..0000000
--- a/branches/1.0/bindings/csharp/SdpMessage.cs
+++ /dev/null
@@ -1,62 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class SdpMessage : IDisposable {
- private HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal SdpMessage(IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(SdpMessage obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~SdpMessage() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_SdpMessage(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- }
- }
-
- public SdpMessage() : this(tinyWRAPPINVOKE.new_SdpMessage(), true) {
- }
-
- public string getSdpHeaderValue(string media, char name, uint index) {
- string ret = tinyWRAPPINVOKE.SdpMessage_getSdpHeaderValue__SWIG_0(swigCPtr, media, name, index);
- return ret;
- }
-
- public string getSdpHeaderValue(string media, char name) {
- string ret = tinyWRAPPINVOKE.SdpMessage_getSdpHeaderValue__SWIG_1(swigCPtr, media, name);
- return ret;
- }
-
- public string getSdpHeaderAValue(string media, string attributeName) {
- string ret = tinyWRAPPINVOKE.SdpMessage_getSdpHeaderAValue(swigCPtr, media, attributeName);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/SipCallback.cs b/branches/1.0/bindings/csharp/SipCallback.cs
deleted file mode 100644
index 1a5ae0a..0000000
--- a/branches/1.0/bindings/csharp/SipCallback.cs
+++ /dev/null
@@ -1,172 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class SipCallback : IDisposable {
- private HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal SipCallback(IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(SipCallback obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~SipCallback() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_SipCallback(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- }
- }
-
- public SipCallback() : this(tinyWRAPPINVOKE.new_SipCallback(), true) {
- SwigDirectorConnect();
- }
-
- public virtual int OnDialogEvent(DialogEvent e) {
- int ret = ((this.GetType() == typeof(SipCallback)) ? tinyWRAPPINVOKE.SipCallback_OnDialogEvent(swigCPtr, DialogEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnDialogEventSwigExplicitSipCallback(swigCPtr, DialogEvent.getCPtr(e)));
- return ret;
- }
-
- public virtual int OnStackEvent(StackEvent e) {
- int ret = ((this.GetType() == typeof(SipCallback)) ? tinyWRAPPINVOKE.SipCallback_OnStackEvent(swigCPtr, StackEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnStackEventSwigExplicitSipCallback(swigCPtr, StackEvent.getCPtr(e)));
- return ret;
- }
-
- public virtual int OnInviteEvent(InviteEvent e) {
- int ret = ((this.GetType() == typeof(SipCallback)) ? tinyWRAPPINVOKE.SipCallback_OnInviteEvent(swigCPtr, InviteEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnInviteEventSwigExplicitSipCallback(swigCPtr, InviteEvent.getCPtr(e)));
- return ret;
- }
-
- public virtual int OnMessagingEvent(MessagingEvent e) {
- int ret = ((this.GetType() == typeof(SipCallback)) ? tinyWRAPPINVOKE.SipCallback_OnMessagingEvent(swigCPtr, MessagingEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnMessagingEventSwigExplicitSipCallback(swigCPtr, MessagingEvent.getCPtr(e)));
- return ret;
- }
-
- public virtual int OnOptionsEvent(OptionsEvent e) {
- int ret = ((this.GetType() == typeof(SipCallback)) ? tinyWRAPPINVOKE.SipCallback_OnOptionsEvent(swigCPtr, OptionsEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnOptionsEventSwigExplicitSipCallback(swigCPtr, OptionsEvent.getCPtr(e)));
- return ret;
- }
-
- public virtual int OnPublicationEvent(PublicationEvent e) {
- int ret = ((this.GetType() == typeof(SipCallback)) ? tinyWRAPPINVOKE.SipCallback_OnPublicationEvent(swigCPtr, PublicationEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnPublicationEventSwigExplicitSipCallback(swigCPtr, PublicationEvent.getCPtr(e)));
- return ret;
- }
-
- public virtual int OnRegistrationEvent(RegistrationEvent e) {
- int ret = ((this.GetType() == typeof(SipCallback)) ? tinyWRAPPINVOKE.SipCallback_OnRegistrationEvent(swigCPtr, RegistrationEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnRegistrationEventSwigExplicitSipCallback(swigCPtr, RegistrationEvent.getCPtr(e)));
- return ret;
- }
-
- public virtual int OnSubscriptionEvent(SubscriptionEvent e) {
- int ret = ((this.GetType() == typeof(SipCallback)) ? tinyWRAPPINVOKE.SipCallback_OnSubscriptionEvent(swigCPtr, SubscriptionEvent.getCPtr(e)) : tinyWRAPPINVOKE.SipCallback_OnSubscriptionEventSwigExplicitSipCallback(swigCPtr, SubscriptionEvent.getCPtr(e)));
- return ret;
- }
-
- private void SwigDirectorConnect() {
- if (SwigDerivedClassHasMethod("OnDialogEvent", swigMethodTypes0))
- swigDelegate0 = new SwigDelegateSipCallback_0(SwigDirectorOnDialogEvent);
- if (SwigDerivedClassHasMethod("OnStackEvent", swigMethodTypes1))
- swigDelegate1 = new SwigDelegateSipCallback_1(SwigDirectorOnStackEvent);
- if (SwigDerivedClassHasMethod("OnInviteEvent", swigMethodTypes2))
- swigDelegate2 = new SwigDelegateSipCallback_2(SwigDirectorOnInviteEvent);
- if (SwigDerivedClassHasMethod("OnMessagingEvent", swigMethodTypes3))
- swigDelegate3 = new SwigDelegateSipCallback_3(SwigDirectorOnMessagingEvent);
- if (SwigDerivedClassHasMethod("OnOptionsEvent", swigMethodTypes4))
- swigDelegate4 = new SwigDelegateSipCallback_4(SwigDirectorOnOptionsEvent);
- if (SwigDerivedClassHasMethod("OnPublicationEvent", swigMethodTypes5))
- swigDelegate5 = new SwigDelegateSipCallback_5(SwigDirectorOnPublicationEvent);
- if (SwigDerivedClassHasMethod("OnRegistrationEvent", swigMethodTypes6))
- swigDelegate6 = new SwigDelegateSipCallback_6(SwigDirectorOnRegistrationEvent);
- if (SwigDerivedClassHasMethod("OnSubscriptionEvent", swigMethodTypes7))
- swigDelegate7 = new SwigDelegateSipCallback_7(SwigDirectorOnSubscriptionEvent);
- tinyWRAPPINVOKE.SipCallback_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7);
- }
-
- private bool SwigDerivedClassHasMethod(string methodName, Type[] methodTypes) {
- System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance, null, methodTypes, null);
- bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(SipCallback));
- return hasDerivedMethod;
- }
-
- private int SwigDirectorOnDialogEvent(IntPtr e) {
- return OnDialogEvent((e == IntPtr.Zero) ? null : new DialogEvent(e, false));
- }
-
- private int SwigDirectorOnStackEvent(IntPtr e) {
- return OnStackEvent((e == IntPtr.Zero) ? null : new StackEvent(e, false));
- }
-
- private int SwigDirectorOnInviteEvent(IntPtr e) {
- return OnInviteEvent((e == IntPtr.Zero) ? null : new InviteEvent(e, false));
- }
-
- private int SwigDirectorOnMessagingEvent(IntPtr e) {
- return OnMessagingEvent((e == IntPtr.Zero) ? null : new MessagingEvent(e, false));
- }
-
- private int SwigDirectorOnOptionsEvent(IntPtr e) {
- return OnOptionsEvent((e == IntPtr.Zero) ? null : new OptionsEvent(e, false));
- }
-
- private int SwigDirectorOnPublicationEvent(IntPtr e) {
- return OnPublicationEvent((e == IntPtr.Zero) ? null : new PublicationEvent(e, false));
- }
-
- private int SwigDirectorOnRegistrationEvent(IntPtr e) {
- return OnRegistrationEvent((e == IntPtr.Zero) ? null : new RegistrationEvent(e, false));
- }
-
- private int SwigDirectorOnSubscriptionEvent(IntPtr e) {
- return OnSubscriptionEvent((e == IntPtr.Zero) ? null : new SubscriptionEvent(e, false));
- }
-
- public delegate int SwigDelegateSipCallback_0(IntPtr e);
- public delegate int SwigDelegateSipCallback_1(IntPtr e);
- public delegate int SwigDelegateSipCallback_2(IntPtr e);
- public delegate int SwigDelegateSipCallback_3(IntPtr e);
- public delegate int SwigDelegateSipCallback_4(IntPtr e);
- public delegate int SwigDelegateSipCallback_5(IntPtr e);
- public delegate int SwigDelegateSipCallback_6(IntPtr e);
- public delegate int SwigDelegateSipCallback_7(IntPtr e);
-
- private SwigDelegateSipCallback_0 swigDelegate0;
- private SwigDelegateSipCallback_1 swigDelegate1;
- private SwigDelegateSipCallback_2 swigDelegate2;
- private SwigDelegateSipCallback_3 swigDelegate3;
- private SwigDelegateSipCallback_4 swigDelegate4;
- private SwigDelegateSipCallback_5 swigDelegate5;
- private SwigDelegateSipCallback_6 swigDelegate6;
- private SwigDelegateSipCallback_7 swigDelegate7;
-
- private static Type[] swigMethodTypes0 = new Type[] { typeof(DialogEvent) };
- private static Type[] swigMethodTypes1 = new Type[] { typeof(StackEvent) };
- private static Type[] swigMethodTypes2 = new Type[] { typeof(InviteEvent) };
- private static Type[] swigMethodTypes3 = new Type[] { typeof(MessagingEvent) };
- private static Type[] swigMethodTypes4 = new Type[] { typeof(OptionsEvent) };
- private static Type[] swigMethodTypes5 = new Type[] { typeof(PublicationEvent) };
- private static Type[] swigMethodTypes6 = new Type[] { typeof(RegistrationEvent) };
- private static Type[] swigMethodTypes7 = new Type[] { typeof(SubscriptionEvent) };
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/SipEvent.cs b/branches/1.0/bindings/csharp/SipEvent.cs
deleted file mode 100644
index f81cc55..0000000
--- a/branches/1.0/bindings/csharp/SipEvent.cs
+++ /dev/null
@@ -1,66 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class SipEvent : IDisposable {
- private HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal SipEvent(IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(SipEvent obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~SipEvent() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_SipEvent(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- }
- }
-
- public short getCode() {
- short ret = tinyWRAPPINVOKE.SipEvent_getCode(swigCPtr);
- return ret;
- }
-
- public string getPhrase() {
- string ret = tinyWRAPPINVOKE.SipEvent_getPhrase(swigCPtr);
- return ret;
- }
-
- public SipSession getBaseSession() {
- IntPtr cPtr = tinyWRAPPINVOKE.SipEvent_getBaseSession(swigCPtr);
- SipSession ret = (cPtr == IntPtr.Zero) ? null : new SipSession(cPtr, false);
- return ret;
- }
-
- public SipMessage getSipMessage() {
- IntPtr cPtr = tinyWRAPPINVOKE.SipEvent_getSipMessage(swigCPtr);
- SipMessage ret = (cPtr == IntPtr.Zero) ? null : new SipMessage(cPtr, false);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/SipMessage.cs b/branches/1.0/bindings/csharp/SipMessage.cs
deleted file mode 100644
index 01fde2d..0000000
--- a/branches/1.0/bindings/csharp/SipMessage.cs
+++ /dev/null
@@ -1,93 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class SipMessage : IDisposable {
- private HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal SipMessage(IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(SipMessage obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~SipMessage() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_SipMessage(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- }
- }
-
- public byte[] getSipContent() {
- uint clen = this.getSipContentLength();
- if(clen>0){
- byte[] bytes = new byte[clen];
- this.getSipContent(bytes, clen);
- return bytes;
- }
- return null;
- }
-
- public SipMessage() : this(tinyWRAPPINVOKE.new_SipMessage(), true) {
- }
-
- public string getSipHeaderValue(string name, uint index) {
- string ret = tinyWRAPPINVOKE.SipMessage_getSipHeaderValue__SWIG_0(swigCPtr, name, index);
- return ret;
- }
-
- public string getSipHeaderValue(string name) {
- string ret = tinyWRAPPINVOKE.SipMessage_getSipHeaderValue__SWIG_1(swigCPtr, name);
- return ret;
- }
-
- public string getSipHeaderParamValue(string name, string param, uint index) {
- string ret = tinyWRAPPINVOKE.SipMessage_getSipHeaderParamValue__SWIG_0(swigCPtr, name, param, index);
- return ret;
- }
-
- public string getSipHeaderParamValue(string name, string param) {
- string ret = tinyWRAPPINVOKE.SipMessage_getSipHeaderParamValue__SWIG_1(swigCPtr, name, param);
- return ret;
- }
-
- public uint getSipContentLength() {
- uint ret = tinyWRAPPINVOKE.SipMessage_getSipContentLength(swigCPtr);
- return ret;
- }
-
- public uint getSipContent(byte[] output, uint maxsize) {
- uint ret = tinyWRAPPINVOKE.SipMessage_getSipContent(swigCPtr, output, maxsize);
- return ret;
- }
-
- public SdpMessage getSdpMessage() {
- IntPtr cPtr = tinyWRAPPINVOKE.SipMessage_getSdpMessage(swigCPtr);
- SdpMessage ret = (cPtr == IntPtr.Zero) ? null : new SdpMessage(cPtr, false);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/SipSession.cs b/branches/1.0/bindings/csharp/SipSession.cs
deleted file mode 100644
index d3d46e7..0000000
--- a/branches/1.0/bindings/csharp/SipSession.cs
+++ /dev/null
@@ -1,112 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class SipSession : IDisposable {
- private HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal SipSession(IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(SipSession obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~SipSession() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_SipSession(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- }
- }
-
- public SipSession(SipStack stack) : this(tinyWRAPPINVOKE.new_SipSession(SipStack.getCPtr(stack)), true) {
- }
-
- public bool haveOwnership() {
- bool ret = tinyWRAPPINVOKE.SipSession_haveOwnership(swigCPtr);
- return ret;
- }
-
- public bool addHeader(string name, string value) {
- bool ret = tinyWRAPPINVOKE.SipSession_addHeader(swigCPtr, name, value);
- return ret;
- }
-
- public bool removeHeader(string name) {
- bool ret = tinyWRAPPINVOKE.SipSession_removeHeader(swigCPtr, name);
- return ret;
- }
-
- public bool addCaps(string name, string value) {
- bool ret = tinyWRAPPINVOKE.SipSession_addCaps__SWIG_0(swigCPtr, name, value);
- return ret;
- }
-
- public bool addCaps(string name) {
- bool ret = tinyWRAPPINVOKE.SipSession_addCaps__SWIG_1(swigCPtr, name);
- return ret;
- }
-
- public bool removeCaps(string name) {
- bool ret = tinyWRAPPINVOKE.SipSession_removeCaps(swigCPtr, name);
- return ret;
- }
-
- public bool setExpires(uint expires) {
- bool ret = tinyWRAPPINVOKE.SipSession_setExpires(swigCPtr, expires);
- return ret;
- }
-
- public bool setFromUri(string fromUri) {
- bool ret = tinyWRAPPINVOKE.SipSession_setFromUri(swigCPtr, fromUri);
- return ret;
- }
-
- public bool setToUri(string toUri) {
- bool ret = tinyWRAPPINVOKE.SipSession_setToUri(swigCPtr, toUri);
- return ret;
- }
-
- public bool setSilentHangup(bool silent) {
- bool ret = tinyWRAPPINVOKE.SipSession_setSilentHangup(swigCPtr, silent);
- return ret;
- }
-
- public bool addSigCompCompartment(string compId) {
- bool ret = tinyWRAPPINVOKE.SipSession_addSigCompCompartment(swigCPtr, compId);
- return ret;
- }
-
- public bool removeSigCompCompartment() {
- bool ret = tinyWRAPPINVOKE.SipSession_removeSigCompCompartment(swigCPtr);
- return ret;
- }
-
- public uint getId() {
- uint ret = tinyWRAPPINVOKE.SipSession_getId(swigCPtr);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/SipStack.cs b/branches/1.0/bindings/csharp/SipStack.cs
deleted file mode 100644
index c4c0c57..0000000
--- a/branches/1.0/bindings/csharp/SipStack.cs
+++ /dev/null
@@ -1,224 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class SipStack : SafeObject {
- private HandleRef swigCPtr;
-
- internal SipStack(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.SipStackUpcast(cPtr), cMemoryOwn) {
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(SipStack obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~SipStack() {
- Dispose();
- }
-
- public override void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_SipStack(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- base.Dispose();
- }
- }
-
- public SipStack(SipCallback callback, string realm_uri, string impi_uri, string impu_uri) : this(tinyWRAPPINVOKE.new_SipStack(SipCallback.getCPtr(callback), realm_uri, impi_uri, impu_uri), true) {
- }
-
- public bool start() {
- bool ret = tinyWRAPPINVOKE.SipStack_start(swigCPtr);
- return ret;
- }
-
- public bool setDebugCallback(DDebugCallback callback) {
- bool ret = tinyWRAPPINVOKE.SipStack_setDebugCallback(swigCPtr, DDebugCallback.getCPtr(callback));
- return ret;
- }
-
- public bool setRealm(string realm_uri) {
- bool ret = tinyWRAPPINVOKE.SipStack_setRealm(swigCPtr, realm_uri);
- return ret;
- }
-
- public bool setIMPI(string impi) {
- bool ret = tinyWRAPPINVOKE.SipStack_setIMPI(swigCPtr, impi);
- return ret;
- }
-
- public bool setIMPU(string impu_uri) {
- bool ret = tinyWRAPPINVOKE.SipStack_setIMPU(swigCPtr, impu_uri);
- return ret;
- }
-
- public bool setPassword(string password) {
- bool ret = tinyWRAPPINVOKE.SipStack_setPassword(swigCPtr, password);
- return ret;
- }
-
- public bool setAMF(string amf) {
- bool ret = tinyWRAPPINVOKE.SipStack_setAMF(swigCPtr, amf);
- return ret;
- }
-
- public bool setOperatorId(string opid) {
- bool ret = tinyWRAPPINVOKE.SipStack_setOperatorId(swigCPtr, opid);
- return ret;
- }
-
- public bool setProxyCSCF(string fqdn, ushort port, string transport, string ipversion) {
- bool ret = tinyWRAPPINVOKE.SipStack_setProxyCSCF(swigCPtr, fqdn, port, transport, ipversion);
- return ret;
- }
-
- public bool setLocalIP(string ip) {
- bool ret = tinyWRAPPINVOKE.SipStack_setLocalIP(swigCPtr, ip);
- return ret;
- }
-
- public bool setLocalPort(ushort port) {
- bool ret = tinyWRAPPINVOKE.SipStack_setLocalPort(swigCPtr, port);
- return ret;
- }
-
- public bool setEarlyIMS(bool enabled) {
- bool ret = tinyWRAPPINVOKE.SipStack_setEarlyIMS(swigCPtr, enabled);
- return ret;
- }
-
- public bool addHeader(string name, string value) {
- bool ret = tinyWRAPPINVOKE.SipStack_addHeader(swigCPtr, name, value);
- return ret;
- }
-
- public bool removeHeader(string name) {
- bool ret = tinyWRAPPINVOKE.SipStack_removeHeader(swigCPtr, name);
- return ret;
- }
-
- public bool addDnsServer(string ip) {
- bool ret = tinyWRAPPINVOKE.SipStack_addDnsServer(swigCPtr, ip);
- return ret;
- }
-
- public bool setDnsDiscovery(bool enabled) {
- bool ret = tinyWRAPPINVOKE.SipStack_setDnsDiscovery(swigCPtr, enabled);
- return ret;
- }
-
- public bool setAoR(string ip, int port) {
- bool ret = tinyWRAPPINVOKE.SipStack_setAoR(swigCPtr, ip, port);
- return ret;
- }
-
- public bool setSigCompParams(uint dms, uint sms, uint cpb, bool enablePresDict) {
- bool ret = tinyWRAPPINVOKE.SipStack_setSigCompParams(swigCPtr, dms, sms, cpb, enablePresDict);
- return ret;
- }
-
- public bool addSigCompCompartment(string compId) {
- bool ret = tinyWRAPPINVOKE.SipStack_addSigCompCompartment(swigCPtr, compId);
- return ret;
- }
-
- public bool removeSigCompCompartment(string compId) {
- bool ret = tinyWRAPPINVOKE.SipStack_removeSigCompCompartment(swigCPtr, compId);
- return ret;
- }
-
- public bool setSTUNServer(string ip, ushort port) {
- bool ret = tinyWRAPPINVOKE.SipStack_setSTUNServer(swigCPtr, ip, port);
- return ret;
- }
-
- public bool setSTUNCred(string login, string password) {
- bool ret = tinyWRAPPINVOKE.SipStack_setSTUNCred(swigCPtr, login, password);
- return ret;
- }
-
- public bool setTLSSecAgree(bool enabled) {
- bool ret = tinyWRAPPINVOKE.SipStack_setTLSSecAgree(swigCPtr, enabled);
- return ret;
- }
-
- public bool setSSLCretificates(string privKey, string pubKey, string caKey) {
- bool ret = tinyWRAPPINVOKE.SipStack_setSSLCretificates(swigCPtr, privKey, pubKey, caKey);
- return ret;
- }
-
- public bool setIPSecSecAgree(bool enabled) {
- bool ret = tinyWRAPPINVOKE.SipStack_setIPSecSecAgree(swigCPtr, enabled);
- return ret;
- }
-
- public bool setIPSecParameters(string algo, string ealgo, string mode, string proto) {
- bool ret = tinyWRAPPINVOKE.SipStack_setIPSecParameters(swigCPtr, algo, ealgo, mode, proto);
- return ret;
- }
-
- public string dnsENUM(string service, string e164num, string domain) {
- string ret = tinyWRAPPINVOKE.SipStack_dnsENUM(swigCPtr, service, e164num, domain);
- return ret;
- }
-
- public string dnsNaptrSrv(string domain, string service, out ushort OUTPUT) {
- string ret = tinyWRAPPINVOKE.SipStack_dnsNaptrSrv(swigCPtr, domain, service, out OUTPUT);
- return ret;
- }
-
- public string dnsSrv(string service, out ushort OUTPUT) {
- string ret = tinyWRAPPINVOKE.SipStack_dnsSrv(swigCPtr, service, out OUTPUT);
- return ret;
- }
-
- public string getLocalIPnPort(string protocol, out ushort OUTPUT) {
- string ret = tinyWRAPPINVOKE.SipStack_getLocalIPnPort(swigCPtr, protocol, out OUTPUT);
- return ret;
- }
-
- public string getPreferredIdentity() {
- string ret = tinyWRAPPINVOKE.SipStack_getPreferredIdentity(swigCPtr);
- return ret;
- }
-
- public bool isValid() {
- bool ret = tinyWRAPPINVOKE.SipStack_isValid(swigCPtr);
- return ret;
- }
-
- public bool stop() {
- bool ret = tinyWRAPPINVOKE.SipStack_stop(swigCPtr);
- return ret;
- }
-
- public static void setCodecs(tdav_codec_id_t codecs) {
- tinyWRAPPINVOKE.SipStack_setCodecs((int)codecs);
- }
-
- public static void setCodecs_2(int codecs) {
- tinyWRAPPINVOKE.SipStack_setCodecs_2(codecs);
- }
-
- public static bool isCodecSupported(tdav_codec_id_t codec) {
- bool ret = tinyWRAPPINVOKE.SipStack_isCodecSupported((int)codec);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/SipUri.cs b/branches/1.0/bindings/csharp/SipUri.cs
deleted file mode 100644
index 0db641e..0000000
--- a/branches/1.0/bindings/csharp/SipUri.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class SipUri : IDisposable {
- private HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal SipUri(IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(SipUri obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~SipUri() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_SipUri(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- }
- }
-
- public SipUri(string arg0) : this(tinyWRAPPINVOKE.new_SipUri(arg0), true) {
- }
-
- public static bool isValid(string arg0) {
- bool ret = tinyWRAPPINVOKE.SipUri_isValid__SWIG_0(arg0);
- return ret;
- }
-
- public bool isValid() {
- bool ret = tinyWRAPPINVOKE.SipUri_isValid__SWIG_1(swigCPtr);
- return ret;
- }
-
- public string getScheme() {
- string ret = tinyWRAPPINVOKE.SipUri_getScheme(swigCPtr);
- return ret;
- }
-
- public string getHost() {
- string ret = tinyWRAPPINVOKE.SipUri_getHost(swigCPtr);
- return ret;
- }
-
- public ushort getPort() {
- ushort ret = tinyWRAPPINVOKE.SipUri_getPort(swigCPtr);
- return ret;
- }
-
- public string getUserName() {
- string ret = tinyWRAPPINVOKE.SipUri_getUserName(swigCPtr);
- return ret;
- }
-
- public string getPassword() {
- string ret = tinyWRAPPINVOKE.SipUri_getPassword(swigCPtr);
- return ret;
- }
-
- public string getDisplayName() {
- string ret = tinyWRAPPINVOKE.SipUri_getDisplayName(swigCPtr);
- return ret;
- }
-
- public string getParamValue(string pname) {
- string ret = tinyWRAPPINVOKE.SipUri_getParamValue(swigCPtr, pname);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/StackEvent.cs b/branches/1.0/bindings/csharp/StackEvent.cs
deleted file mode 100644
index e222042..0000000
--- a/branches/1.0/bindings/csharp/StackEvent.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class StackEvent : SipEvent {
- private HandleRef swigCPtr;
-
- internal StackEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.StackEventUpcast(cPtr), cMemoryOwn) {
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(StackEvent obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~StackEvent() {
- Dispose();
- }
-
- public override void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_StackEvent(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- base.Dispose();
- }
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/SubscriptionEvent.cs b/branches/1.0/bindings/csharp/SubscriptionEvent.cs
deleted file mode 100644
index a00691c..0000000
--- a/branches/1.0/bindings/csharp/SubscriptionEvent.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class SubscriptionEvent : SipEvent {
- private HandleRef swigCPtr;
-
- internal SubscriptionEvent(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.SubscriptionEventUpcast(cPtr), cMemoryOwn) {
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(SubscriptionEvent obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~SubscriptionEvent() {
- Dispose();
- }
-
- public override void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_SubscriptionEvent(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- base.Dispose();
- }
- }
-
- public tsip_subscribe_event_type_t getType() {
- tsip_subscribe_event_type_t ret = (tsip_subscribe_event_type_t)tinyWRAPPINVOKE.SubscriptionEvent_getType(swigCPtr);
- return ret;
- }
-
- public SubscriptionSession getSession() {
- IntPtr cPtr = tinyWRAPPINVOKE.SubscriptionEvent_getSession(swigCPtr);
- SubscriptionSession ret = (cPtr == IntPtr.Zero) ? null : new SubscriptionSession(cPtr, false);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/SubscriptionSession.cs b/branches/1.0/bindings/csharp/SubscriptionSession.cs
deleted file mode 100644
index abefa12..0000000
--- a/branches/1.0/bindings/csharp/SubscriptionSession.cs
+++ /dev/null
@@ -1,56 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class SubscriptionSession : SipSession {
- private HandleRef swigCPtr;
-
- internal SubscriptionSession(IntPtr cPtr, bool cMemoryOwn) : base(tinyWRAPPINVOKE.SubscriptionSessionUpcast(cPtr), cMemoryOwn) {
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(SubscriptionSession obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~SubscriptionSession() {
- Dispose();
- }
-
- public override void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_SubscriptionSession(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- base.Dispose();
- }
- }
-
- public SubscriptionSession(SipStack Stack) : this(tinyWRAPPINVOKE.new_SubscriptionSession(SipStack.getCPtr(Stack)), true) {
- }
-
- public bool subscribe() {
- bool ret = tinyWRAPPINVOKE.SubscriptionSession_subscribe(swigCPtr);
- return ret;
- }
-
- public bool unSubscribe() {
- bool ret = tinyWRAPPINVOKE.SubscriptionSession_unSubscribe(swigCPtr);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/XcapCallback.cs b/branches/1.0/bindings/csharp/XcapCallback.cs
deleted file mode 100644
index 29af421..0000000
--- a/branches/1.0/bindings/csharp/XcapCallback.cs
+++ /dev/null
@@ -1,74 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class XcapCallback : IDisposable {
- private HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal XcapCallback(IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(XcapCallback obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~XcapCallback() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_XcapCallback(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- }
- }
-
- public XcapCallback() : this(tinyWRAPPINVOKE.new_XcapCallback(), true) {
- SwigDirectorConnect();
- }
-
- public virtual int onEvent(XcapEvent e) {
- int ret = ((this.GetType() == typeof(XcapCallback)) ? tinyWRAPPINVOKE.XcapCallback_onEvent(swigCPtr, XcapEvent.getCPtr(e)) : tinyWRAPPINVOKE.XcapCallback_onEventSwigExplicitXcapCallback(swigCPtr, XcapEvent.getCPtr(e)));
- return ret;
- }
-
- private void SwigDirectorConnect() {
- if (SwigDerivedClassHasMethod("onEvent", swigMethodTypes0))
- swigDelegate0 = new SwigDelegateXcapCallback_0(SwigDirectoronEvent);
- tinyWRAPPINVOKE.XcapCallback_director_connect(swigCPtr, swigDelegate0);
- }
-
- private bool SwigDerivedClassHasMethod(string methodName, Type[] methodTypes) {
- System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance, null, methodTypes, null);
- bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(XcapCallback));
- return hasDerivedMethod;
- }
-
- private int SwigDirectoronEvent(IntPtr e) {
- return onEvent((e == IntPtr.Zero) ? null : new XcapEvent(e, false));
- }
-
- public delegate int SwigDelegateXcapCallback_0(IntPtr e);
-
- private SwigDelegateXcapCallback_0 swigDelegate0;
-
- private static Type[] swigMethodTypes0 = new Type[] { typeof(XcapEvent) };
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/XcapEvent.cs b/branches/1.0/bindings/csharp/XcapEvent.cs
deleted file mode 100644
index 4358aec..0000000
--- a/branches/1.0/bindings/csharp/XcapEvent.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class XcapEvent : IDisposable {
- private HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal XcapEvent(IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(XcapEvent obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~XcapEvent() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_XcapEvent(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- }
- }
-
- public thttp_event_type_t getType() {
- thttp_event_type_t ret = (thttp_event_type_t)tinyWRAPPINVOKE.XcapEvent_getType(swigCPtr);
- return ret;
- }
-
- public XcapMessage getXcapMessage() {
- IntPtr cPtr = tinyWRAPPINVOKE.XcapEvent_getXcapMessage(swigCPtr);
- XcapMessage ret = (cPtr == IntPtr.Zero) ? null : new XcapMessage(cPtr, false);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/XcapMessage.cs b/branches/1.0/bindings/csharp/XcapMessage.cs
deleted file mode 100644
index 3850644..0000000
--- a/branches/1.0/bindings/csharp/XcapMessage.cs
+++ /dev/null
@@ -1,87 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class XcapMessage : IDisposable {
- private HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal XcapMessage(IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(XcapMessage obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~XcapMessage() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_XcapMessage(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- }
- }
-
- public XcapMessage() : this(tinyWRAPPINVOKE.new_XcapMessage(), true) {
- }
-
- public short getCode() {
- short ret = tinyWRAPPINVOKE.XcapMessage_getCode(swigCPtr);
- return ret;
- }
-
- public string getPhrase() {
- string ret = tinyWRAPPINVOKE.XcapMessage_getPhrase(swigCPtr);
- return ret;
- }
-
- public string getXcapHeaderValue(string name, uint index) {
- string ret = tinyWRAPPINVOKE.XcapMessage_getXcapHeaderValue__SWIG_0(swigCPtr, name, index);
- return ret;
- }
-
- public string getXcapHeaderValue(string name) {
- string ret = tinyWRAPPINVOKE.XcapMessage_getXcapHeaderValue__SWIG_1(swigCPtr, name);
- return ret;
- }
-
- public string getXcapHeaderParamValue(string name, string param, uint index) {
- string ret = tinyWRAPPINVOKE.XcapMessage_getXcapHeaderParamValue__SWIG_0(swigCPtr, name, param, index);
- return ret;
- }
-
- public string getXcapHeaderParamValue(string name, string param) {
- string ret = tinyWRAPPINVOKE.XcapMessage_getXcapHeaderParamValue__SWIG_1(swigCPtr, name, param);
- return ret;
- }
-
- public uint getXcapContentLength() {
- uint ret = tinyWRAPPINVOKE.XcapMessage_getXcapContentLength(swigCPtr);
- return ret;
- }
-
- public uint getXcapContent(byte[] output, uint maxsize) {
- uint ret = tinyWRAPPINVOKE.XcapMessage_getXcapContent(swigCPtr, output, maxsize);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/XcapSelector.cs b/branches/1.0/bindings/csharp/XcapSelector.cs
deleted file mode 100644
index bb420a1..0000000
--- a/branches/1.0/bindings/csharp/XcapSelector.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class XcapSelector : IDisposable {
- private HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal XcapSelector(IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(XcapSelector obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~XcapSelector() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_XcapSelector(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- }
- }
-
- public XcapSelector(XcapStack stack) : this(tinyWRAPPINVOKE.new_XcapSelector(XcapStack.getCPtr(stack)), true) {
- }
-
- public XcapSelector setAUID(string auid) {
- IntPtr cPtr = tinyWRAPPINVOKE.XcapSelector_setAUID(swigCPtr, auid);
- XcapSelector ret = (cPtr == IntPtr.Zero) ? null : new XcapSelector(cPtr, false);
- return ret;
- }
-
- public XcapSelector setName(string qname) {
- IntPtr cPtr = tinyWRAPPINVOKE.XcapSelector_setName(swigCPtr, qname);
- XcapSelector ret = (cPtr == IntPtr.Zero) ? null : new XcapSelector(cPtr, false);
- return ret;
- }
-
- public XcapSelector setAttribute(string qname, string att_qname, string att_value) {
- IntPtr cPtr = tinyWRAPPINVOKE.XcapSelector_setAttribute(swigCPtr, qname, att_qname, att_value);
- XcapSelector ret = (cPtr == IntPtr.Zero) ? null : new XcapSelector(cPtr, false);
- return ret;
- }
-
- public XcapSelector setPos(string qname, uint pos) {
- IntPtr cPtr = tinyWRAPPINVOKE.XcapSelector_setPos(swigCPtr, qname, pos);
- XcapSelector ret = (cPtr == IntPtr.Zero) ? null : new XcapSelector(cPtr, false);
- return ret;
- }
-
- public XcapSelector setPosAttribute(string qname, uint pos, string att_qname, string att_value) {
- IntPtr cPtr = tinyWRAPPINVOKE.XcapSelector_setPosAttribute(swigCPtr, qname, pos, att_qname, att_value);
- XcapSelector ret = (cPtr == IntPtr.Zero) ? null : new XcapSelector(cPtr, false);
- return ret;
- }
-
- public XcapSelector setNamespace(string prefix, string value) {
- IntPtr cPtr = tinyWRAPPINVOKE.XcapSelector_setNamespace(swigCPtr, prefix, value);
- XcapSelector ret = (cPtr == IntPtr.Zero) ? null : new XcapSelector(cPtr, false);
- return ret;
- }
-
- public string getString() {
- string ret = tinyWRAPPINVOKE.XcapSelector_getString(swigCPtr);
- return ret;
- }
-
- public void reset() {
- tinyWRAPPINVOKE.XcapSelector_reset(swigCPtr);
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/XcapStack.cs b/branches/1.0/bindings/csharp/XcapStack.cs
deleted file mode 100644
index 04d0f52..0000000
--- a/branches/1.0/bindings/csharp/XcapStack.cs
+++ /dev/null
@@ -1,142 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class XcapStack : IDisposable {
- private HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal XcapStack(IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new HandleRef(this, cPtr);
- }
-
- internal static HandleRef getCPtr(XcapStack obj) {
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~XcapStack() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPPINVOKE.delete_XcapStack(swigCPtr);
- }
- swigCPtr = new HandleRef(null, IntPtr.Zero);
- GC.SuppressFinalize(this);
- }
- }
-
- public XcapStack(XcapCallback callback, string xui, string password, string xcap_root) : this(tinyWRAPPINVOKE.new_XcapStack(XcapCallback.getCPtr(callback), xui, password, xcap_root), true) {
- }
-
- public bool registerAUID(string id, string mime_type, string ns, string document_name, bool is_global) {
- bool ret = tinyWRAPPINVOKE.XcapStack_registerAUID(swigCPtr, id, mime_type, ns, document_name, is_global);
- return ret;
- }
-
- public bool start() {
- bool ret = tinyWRAPPINVOKE.XcapStack_start(swigCPtr);
- return ret;
- }
-
- public bool setCredentials(string xui, string password) {
- bool ret = tinyWRAPPINVOKE.XcapStack_setCredentials(swigCPtr, xui, password);
- return ret;
- }
-
- public bool setXcapRoot(string xcap_root) {
- bool ret = tinyWRAPPINVOKE.XcapStack_setXcapRoot(swigCPtr, xcap_root);
- return ret;
- }
-
- public bool setLocalIP(string ip) {
- bool ret = tinyWRAPPINVOKE.XcapStack_setLocalIP(swigCPtr, ip);
- return ret;
- }
-
- public bool setLocalPort(uint port) {
- bool ret = tinyWRAPPINVOKE.XcapStack_setLocalPort(swigCPtr, port);
- return ret;
- }
-
- public bool addHeader(string name, string value) {
- bool ret = tinyWRAPPINVOKE.XcapStack_addHeader(swigCPtr, name, value);
- return ret;
- }
-
- public bool removeHeader(string name) {
- bool ret = tinyWRAPPINVOKE.XcapStack_removeHeader(swigCPtr, name);
- return ret;
- }
-
- public bool setTimeout(uint timeout) {
- bool ret = tinyWRAPPINVOKE.XcapStack_setTimeout(swigCPtr, timeout);
- return ret;
- }
-
- public bool getDocument(string url) {
- bool ret = tinyWRAPPINVOKE.XcapStack_getDocument(swigCPtr, url);
- return ret;
- }
-
- public bool getElement(string url) {
- bool ret = tinyWRAPPINVOKE.XcapStack_getElement(swigCPtr, url);
- return ret;
- }
-
- public bool getAttribute(string url) {
- bool ret = tinyWRAPPINVOKE.XcapStack_getAttribute(swigCPtr, url);
- return ret;
- }
-
- public bool deleteDocument(string url) {
- bool ret = tinyWRAPPINVOKE.XcapStack_deleteDocument(swigCPtr, url);
- return ret;
- }
-
- public bool deleteElement(string url) {
- bool ret = tinyWRAPPINVOKE.XcapStack_deleteElement(swigCPtr, url);
- return ret;
- }
-
- public bool deleteAttribute(string url) {
- bool ret = tinyWRAPPINVOKE.XcapStack_deleteAttribute(swigCPtr, url);
- return ret;
- }
-
- public bool putDocument(string url, byte[] payload, uint len, string contentType) {
- bool ret = tinyWRAPPINVOKE.XcapStack_putDocument(swigCPtr, url, payload, len, contentType);
- return ret;
- }
-
- public bool putElement(string url, byte[] payload, uint len) {
- bool ret = tinyWRAPPINVOKE.XcapStack_putElement(swigCPtr, url, payload, len);
- return ret;
- }
-
- public bool putAttribute(string url, byte[] payload, uint len) {
- bool ret = tinyWRAPPINVOKE.XcapStack_putAttribute(swigCPtr, url, payload, len);
- return ret;
- }
-
- public bool stop() {
- bool ret = tinyWRAPPINVOKE.XcapStack_stop(swigCPtr);
- return ret;
- }
-
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/csharp.i b/branches/1.0/bindings/csharp/csharp.i
deleted file mode 100644
index dfbe47c..0000000
--- a/branches/1.0/bindings/csharp/csharp.i
+++ /dev/null
@@ -1,53 +0,0 @@
-/* File : csharp.i
-* http://www.swig.org/Doc1.3/CSharp.html
-*/
-
-
-%define %cs_marshal_array(TYPE, CSTYPE)
-%typemap(ctype) TYPE[] "void*"
-%typemap(imtype,
-inattributes="[MarshalAs(UnmanagedType.LPArray)]") TYPE[] "CSTYPE[]"
-%typemap(cstype) TYPE[] "CSTYPE[]"
-%typemap(in) TYPE[] %{ $1 = (TYPE*)$input; %}
-%typemap(csin) TYPE[] "$csinput"
-%enddef
-
-// Mapping void* as byte[]
-%typemap(ctype) void * "void *"
-%typemap(imtype) void * "byte[]"
-%typemap(cstype) void * "byte[]"
-%typemap(csin) void * "$csinput"
-%typemap(csout) void * { return $imcall; }
-%typemap(in) void * %{ $1 = $input; %}
-%typemap(out) void * %{ $result = $1; %}
-%typemap(csdirectorin) void * "$iminput"
-
-
-//======== SipMessage ========//
-%typemap(cscode) SipMessage %{
- public byte[] getSipContent() {
- uint clen = this.getSipContentLength();
- if(clen>0){
- byte[] bytes = new byte[clen];
- this.getSipContent(bytes, clen);
- return bytes;
- }
- return null;
- }
-%}
-
-
-//======= MediaContent ========//
-%typemap(cscode) MediaContent %{
- public byte[] getPayload() {
- uint clen = this.getPayloadLength();
- if(clen>0){
- byte[] bytes = new byte[clen];
- this.getPayload(bytes, clen);
- return bytes;
- }
- return null;
- }
-%}
-
-%include ../_common/tinyWRAP.i
diff --git a/branches/1.0/bindings/csharp/tdav_codec_id_t.cs b/branches/1.0/bindings/csharp/tdav_codec_id_t.cs
deleted file mode 100644
index c233286..0000000
--- a/branches/1.0/bindings/csharp/tdav_codec_id_t.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-public enum tdav_codec_id_t {
- tdav_codec_id_none = 0x00000000,
- tdav_codec_id_amr_nb_oa = 0x00000001 << 0,
- tdav_codec_id_amr_nb_be = 0x00000001 << 1,
- tdav_codec_id_amr_wb_oa = 0x00000001 << 2,
- tdav_codec_id_amr_wb_be = 0x00000001 << 3,
- tdav_codec_id_gsm = 0x00000001 << 4,
- tdav_codec_id_pcma = 0x00000001 << 5,
- tdav_codec_id_pcmu = 0x00000001 << 6,
- tdav_codec_id_ilbc = 0x00000001 << 7,
- tdav_codec_id_speex_nb = 0x00000001 << 8,
- tdav_codec_id_speex_wb = 0x00000001 << 9,
- tdav_codec_id_speex_uwb = 0x00000001 << 10,
- tdav_codec_id_bv16 = 0x00000001 << 11,
- tdav_codec_id_bv32 = 0x00000001 << 12,
- tdav_codec_id_evrc = 0x00000001 << 13,
- tdav_codec_id_g729ab = 0x00000001 << 14,
- tdav_codec_id_h261 = 0x00010000 << 0,
- tdav_codec_id_h263 = 0x00010000 << 1,
- tdav_codec_id_h263p = 0x00010000 << 2,
- tdav_codec_id_h263pp = 0x00010000 << 3,
- tdav_codec_id_h264_bp10 = 0x00010000 << 4,
- tdav_codec_id_h264_bp20 = 0x00010000 << 5,
- tdav_codec_id_h264_bp30 = 0x00010000 << 6,
- tdav_codec_id_theora = 0x00010000 << 7,
- tdav_codec_id_mp4ves_es = 0x00010000 << 8
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/test/Program.cs b/branches/1.0/bindings/csharp/test/Program.cs
deleted file mode 100644
index 032852b..0000000
--- a/branches/1.0/bindings/csharp/test/Program.cs
+++ /dev/null
@@ -1,763 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading;
-using org.doubango.tinyWRAP;
-
-namespace test
-{
- class Program
- {
- public const String REALM = "open-ims.test";
- public const String USER = "122";
- public const String PROXY_CSCF_IP = "192.168.0.10";
- public const ushort PROXY_CSCF_PORT = 5060;
- public const String PASSWORD = "mamadou";
- public const String SMSC = "123";
-
- /*
- const String REALM = "sip2sip.info";
- const String USER = "2233392625";
- const String PASSWORD = "d3sb7j4fb8";
- const String PROXY_CSCF_IP = "192.168.0.13";
- const uint PROXY_CSCF_PORT = 5081;
- */
-
- static void Main(string[] args)
- {
- Boolean success;
-
- /* Create callbacks */
- sipCallback = new MySipCallback();
- msrpCallback = new MyMsrpCallback();
- //sipDebugCallback = new MySipDebugCallback();
-
- /* Create consumers */
- audioConsumer = new MyProxyAudioConsumer();
- videoConsumer = new MyProxyVideoConsumer(tmedia_chroma_t.tmedia_rgb565le);
- /* Create producers */
- audioProducer = new MyProxyAudioProducer();
- videoProducer = new MyProxyVideoProducer(tmedia_chroma_t.tmedia_rgb24);
-
-
- /* Create and configure the IMS/LTE stack */
- sipStack = new SipStack(sipCallback, String.Format("sip:{0}", REALM), /*String.Format("{0}@{1}", USER, REALM)*/USER, String.Format("sip:{0}@{1}", USER, REALM));
- sipStack.setDebugCallback(sipDebugCallback);
- sipStack.addHeader("Allow", "INVITE, ACK, CANCEL, BYE, MESSAGE, OPTIONS, NOTIFY, PRACK, UPDATE, REFER");
- sipStack.addHeader("Privacy", "header; id");
- sipStack.addHeader("P-Access-Network-Info", "ADSL;utran-cell-id-3gpp=00000000");
- sipStack.addHeader("User-Agent", "IM-client/OMA1.0 doubango/v1.0.0");
-
- /* Do it after stack creation */
- ProxyAudioConsumer.registerPlugin();
- ProxyAudioProducer.registerPlugin();
- ProxyVideoProducer.registerPlugin();
- ProxyVideoConsumer.registerPlugin();
-
-
- /* Sets Proxy-CSCF */
- success = sipStack.setProxyCSCF(PROXY_CSCF_IP, PROXY_CSCF_PORT, "udp", "ipv4");
- // STUN
- //sipStack.setSTUNServer("numb.viagenie.ca", 3478);
- //sipStack.setSTUNCred("login", "password");
- // DNS Discovery
- //sipStack.setDnsDiscovery(true);
- /* Starts the stack */
- success = sipStack.start();
-
- /* Set Password */
- sipStack.setPassword(PASSWORD);
-
- /* Early IMS */
- sipStack.setEarlyIMS(true);
- /* AMF and Operator Id */
- sipStack.setAMF("0x00FF");
- sipStack.setOperatorId("0xFF0000000000000000000000000000FF");
-
- // SigComp
- //sipStack.addSigCompCompartment("urn:uuid:2e5fdc76-00be-4314-8202-1116fa82a876");
-
- //sipStack.setAoR("127.0.0.1", 1234);
-
- audioConsumer.setActivate(true);
- audioProducer.setActivate(true);
- videoProducer.setActivate(true);
- videoConsumer.setActivate(true);
-
-
- /* Send REGISTER */
- regSession = new RegistrationSession(sipStack);
- regSession.addCaps("+g.oma.sip-im");
- regSession.addCaps("+g.3gpp.smsip");
- regSession.addCaps("language", "\"en,fr\"");
- regSession.setExpires(350);
- //regSession.addSigCompCompartment("urn:uuid:2e5fdc76-00be-4314-8202-1116fa82a876");
- regSession.register_();
-
- Console.ReadLine();
-
-
- ActionConfig actionConfig = new ActionConfig();
- actionConfig
- .setMediaString(twrap_media_type_t.twrap_media_msrp, "file-path", "C:\\Users\\root\\Desktop\\Debian.iso")
- //.setMediaString(twrap_media_type_t.twrap_media_msrp, "file-path", "C:\\avatar.png")
- .setMediaString(twrap_media_type_t.twrap_media_msrp, "accept-types", "application/octet-stream")
- .setMediaString(twrap_media_type_t.twrap_media_msrp, "file-disposition", "attachment")
- .setMediaString(twrap_media_type_t.twrap_media_msrp, "file-icon", "cid:test@doubango.org")
- .setMediaInt(twrap_media_type_t.twrap_media_msrp, "chunck-duration", 500);
- MsrpSession msrpSession = new MsrpSession(sipStack, msrpCallback);
- msrpSession.callMsrp(String.Format("sip:johndoe@{0}", REALM), actionConfig);
- actionConfig.Dispose();
-
- Console.ReadLine();
- msrpSession.hangup();
- Console.ReadLine();
-
- //RPMessage rpMessage = SMSEncoder.encodeDeliver(25, SMSC, "123456789", "salut comment tu vas?\n hdjdhfjfhfjhr, ");
- //if (rpMessage != null)
- //{
- // uint pay_len = rpMessage.getPayloadLength();
- // if (pay_len > 0)
- // {
- // byte[] pay = new byte[pay_len];
- // rpMessage.getPayload(pay, (uint)pay.Length);
-
- // MessagingSession m = new MessagingSession(sipStack);
- // m.setToUri(String.Format("sip:{0}@{1}", SMSC, REALM));
- // m.addHeader("Content-Type", "application/vnd.3gpp.sms");
- // m.addHeader("Content-Transfer-Encoding", "binary");
- // m.addHeader("P-Asserted-Identity", String.Format("sip:{0}@{1}", USER, REALM));
-
- // m.send(pay, (uint)pay.Length);
-
- // m.Dispose();
- // }
- // rpMessage.Dispose();
- //}
-
- //Console.ReadLine();
-
-
-
-
- //String sipUri = sipStack.dnsENUM("E2U+SIP", "+1-800-555-5555", "e164.org");
- //ushort port = 0;
- //String ipAddress = sipStack.dnsNaptrSrv("sip2sip.info", "SIP+D2U", out port);
- //String ipAddress = sipStack.dnsSrv("_sip._udp.sip2sip.info", out port);
-
- /*ActionConfig actionConfig = new ActionConfig();
- actionConfig.setMediaInt(twrap_media_type_t.twrap_media_audiovideo, "bandwidth-level", (int)tmedia_bandwidth_level_t.tmedia_bl_medium);
- callSession = new CallSession(sipStack);
- callSession.set100rel(true);
- callSession.setSessionTimer(90, "uas");
- callSession.setQoS(tmedia_qos_stype_t.tmedia_qos_stype_segmented, tmedia_qos_strength_t.tmedia_qos_strength_optional);
- callSession.callVideo(String.Format("sip:bob@{0}", REALM), actionConfig);
- actionConfig.Dispose();*/
-
- //tcb = new TimerCallback(OnTimer);
- //timer = new Timer(tcb, new AutoResetEvent(false), 0, 20);
-
- //Console.ReadLine();
- //callSession.sendDTMF(1);
- //Console.ReadLine();
- //callSession.sendDTMF(2);
- //Console.ReadLine();
- //callSession.sendDTMF(11);
- //Console.ReadLine();
-
- ////Console.ReadLine();
- ////callSession.hold();
- ////Console.ReadLine();
- ////callSession.resume();
- //Console.ReadLine();
- //callSession.hangup();
-
-
- ////Thread.Sleep(2000);
-
- /*RPData rpdata = SMSEncoder.encodeSubmit(25, "+33160188661", "+33660188661", "salut");
- if (rpdata != null)
- {
- uint pay_len = rpdata.getPayloadLength();
- if (pay_len > 0)
- {
- byte[] pay = new byte[pay_len];
- rpdata.getPayload(pay, (uint)pay.Length);
-
- MessagingSession m = new MessagingSession(sipStack);
- m.setToUri(String.Format("sip:+33160188661@{0}", REALM));
- m.addHeader("Content-Type", "application/vnd.3gpp.sms");
- m.addHeader("Transfer-Encoding", "binary");
- m.send(pay, (uint)pay.Length);
-
- m.Dispose();
- }
- rpdata.Dispose();
- }
-
- Console.ReadLine();*/
-
- ///* Send SUBSCRIBE(reg) */
- //subSession = new SubscriptionSession(sipStack);
- //subSession.addHeader("Event", "reg");
- //subSession.addHeader("Accept", "application/reginfo+xml");
- //subSession.addHeader("Allow-Events", "refer, presence, presence.winfo, xcap-diff, conference");
- //subSession.setExpires(35);
- ////subSession.Subscribe();
-
- ///* Send MESSAGE */
- //MessagingSession msg = new MessagingSession(sipStack);
- //byte [] content = Encoding.ASCII.GetBytes("Hello World");
- //msg.setToUri(String.Format("sip:{0}@{1}", "alice", REALM));
- //msg.addHeader("NS", "imdn <urn:ietf:params:imdn>");
- //msg.addHeader("imdn.Message-ID", "34jk324j");
- //msg.addHeader("DateTime", "2006-04-04T12:16:49-05:00");
- //msg.addHeader("imdn.Disposition-Notification", "positive-delivery, negative-delivery");
- //msg.addHeader("Content-Type", "text/plain");
- ////msg.Send(content, (uint)content.Length);
-
- ///* Send OPTIONS */
- //OptionsSession opt = new OptionsSession(sipStack);
- //opt.setToUri(String.Format("sip:{0}@{1}", "hacking_the_aor", REALM));
- //opt.Send();
-
- Console.ReadLine();
-
- sipStack.stop();
- }
-
-
- public static void OnTimer(Object stateInfo)
- {
- //byte[] bytesAudio = new byte[320];
- //uint ret = audioConsumer.pull(bytesAudio, (uint)bytesAudio.Length);
- //Console.WriteLine("pull="+ret);
-
- //int ret2 = audioProducer.push(bytesAudio, (uint)bytesAudio.Length);
- //Console.WriteLine("push=" + ret);
-
- //byte[] bytesVideo = new byte[176*144*3];
- //int ret3 = videoProducer.push(bytesVideo, (uint)bytesVideo.Length);
- }
-
- static Timer timer;
- static TimerCallback tcb;
- static CallSession callSession;
- static RegistrationSession regSession;
- static SubscriptionSession subSession;
- public static MyMsrpCallback msrpCallback;
- static MySipCallback sipCallback;
- public static SipStack sipStack;
- static MySipDebugCallback sipDebugCallback;
- static MyProxyAudioConsumer audioConsumer;
- static MyProxyAudioProducer audioProducer;
- static MyProxyVideoProducer videoProducer;
- public static MyProxyVideoConsumer videoConsumer;
- }
-
-
- public class MySipDebugCallback : DDebugCallback
- {
- public override int OnDebugInfo(string message)
- {
- Console.WriteLine(".NET____" + message);
- return 0;
- }
-
- public override int OnDebugWarn(string message)
- {
- Console.WriteLine(".NET____" + message);
- return 0;
- }
-
- public override int OnDebugError(string message)
- {
- Console.WriteLine(".NET____" + message);
- return 0;
- }
-
- public override int OnDebugFatal(string message)
- {
- Console.WriteLine(".NET____" + message);
- return 0;
- }
- }
-
- public class MyProxyAudioConsumer : ProxyAudioConsumer
- {
- public override int prepare(int ptime, int rate, int channels)
- {
- return base.prepare(ptime, rate, channels);
- }
-
- public override int start()
- {
- return base.start();
- }
-
- public override int pause()
- {
- return base.pause();
- }
-
- public override int stop()
- {
- return base.stop();
- }
- }
-
- public class MyProxyAudioProducer : ProxyAudioProducer
- {
- public override int prepare(int ptime, int rate, int channels)
- {
- return base.prepare(ptime, rate, channels);
- }
-
- public override int start()
- {
- return base.start();
- }
-
- public override int pause()
- {
- return base.pause();
- }
-
- public override int stop()
- {
- return base.stop();
- }
- }
-
- public class MyProxyVideoProducer : ProxyVideoProducer
- {
- public MyProxyVideoProducer(tmedia_chroma_t chroma)
- : base(chroma)
- {
- }
-
- public override int prepare(int width, int height, int fps)
- {
- return base.prepare(width, height, fps);
- }
-
- public override int start()
- {
- return base.start();
- }
-
- public override int pause()
- {
- return base.pause();
- }
-
- public override int stop()
- {
- return base.stop();
- }
- }
-
- public class MyProxyVideoConsumer : ProxyVideoConsumer
- {
- public MyProxyVideoConsumer(tmedia_chroma_t chroma)
- : base(chroma)
- {
- }
-
- public override int prepare(int width, int height, int fps)
- {
- return base.prepare(width, height, fps);
- }
-
- public override int start()
- {
- Program.videoConsumer.setDisplaySize(352, 288);
- return base.start();
- }
-
- public override int consume(ProxyVideoFrame frame)
- {
- uint size = frame.getSize(); // for test
- byte[] bytes = new byte[1200];
- uint ret = frame.getContent(bytes, (uint)bytes.Length);
- Program.videoConsumer.setDisplaySize(176, 144);
- return 0;
- }
-
- public override int pause()
- {
- return base.pause();
- }
-
- public override int stop()
- {
- return base.stop();
- }
- }
-
- public class MyMsrpCallback : MsrpCallback
- {
- public override int OnEvent(MsrpEvent e)
- {
- MsrpSession session = e.getSipSession();
- MsrpMessage message = e.getMessage();
- if (session != null && message != null)
- {
- uint id = session.getId();
- //Console.WriteLine("Msrp Event {0} {1}", id, message.getMsrpHeaderValue("Byte-Range"));
-
- long start, end, total;
- //message.getByteRange(out start, out end, out total);
- //Console.WriteLine("Byte-Range {0}-{1}/{2}", start, end, total);
-
- //if (message.isRequest())
- // {
- // uint size = message.getMsrpContentLength();
- // byte[] bytes = new byte[(int)size];
- // message.getMsrpContent(bytes, (uint)bytes.Length);
- // }
-
-
- if (!message.isRequest() && message.getCode() == 200)
- {
- if (message.isLastChunck())
- {
- session.hangup();
- }
- }
- }
- return 0;
- }
- }
-
- public class MySipCallback : SipCallback
- {
- public MySipCallback()
- : base()
- {
- }
-
- public override int OnRegistrationEvent(RegistrationEvent e)
- {
- short code = e.getCode();
- tsip_register_event_type_t type = e.getType();
- RegistrationSession session = e.getSession();
- SipMessage message = e.getSipMessage();
-
- if (message != null)
- {
- Console.WriteLine("call-id={0}", message.getSipHeaderValue("call-id"));
- //byte[] bytes = message.getContent();
- }
-
- switch (type)
- {
- case tsip_register_event_type_t.tsip_ao_register:
- case tsip_register_event_type_t.tsip_ao_unregister:
- break;
- }
-
- Console.WriteLine("OnRegistrationChanged() ==> {0}:{1}", code, e.getPhrase());
-
- return 0;
- }
-
- public override int OnInviteEvent(InviteEvent e)
- {
- tsip_invite_event_type_t type = e.getType();
- InviteSession session = e.getSession();
- SipMessage message = e.getSipMessage();
-
- switch(type){
- case tsip_invite_event_type_t.tsip_i_newcall:
- SdpMessage sdp = message.getSdpMessage();
-
- if (session != null){
- Console.WriteLine("ERRRRRRRRRRRORRRR");
- return 0;
- }
- else{
- switch(e.getMediaType()){
- case twrap_media_type_t.twrap_media_audio:
- case twrap_media_type_t.twrap_media_video:
- case twrap_media_type_t.twrap_media_audiovideo:
- session = e.takeCallSessionOwnership();
- break;
- case twrap_media_type_t.twrap_media_msrp:
- if ((session = e.takeMsrpSessionOwnership()) != null){
- (session as MsrpSession).setCallback(Program.msrpCallback);
- }
- break;
- }
- if(session != null){
- ActionConfig actionConfig = new ActionConfig();
- session.accept(actionConfig);
- actionConfig.Dispose();
- }
- }
-
- /*else if ((session = e.takeSessionOwnership()) != null)
- {
- SdpMessage sdp = message.getSdpMessage();
- if (sdp != null)
- {
- String fileSelector = sdp.getSdpHeaderAValue("message", "file-selector");
- Console.WriteLine("file-selector={0}", fileSelector);
- }
-
- ActionConfig actionConfig = new ActionConfig();
- //actionConfig.setMediaInt(twrap_media_type_t.twrap_media_audiovideo, "bandwidth-level", (int)tmedia_bandwidth_level_t.tmedia_bl_low);
- actionConfig.setMediaString(twrap_media_type_t.twrap_media_file, "file-path", "C:\\tmp\\myfile");
- session.accept(actionConfig);
- actionConfig.Dispose();
- }*/
- break;
- case tsip_invite_event_type_t.tsip_i_request:
- break;
- case tsip_invite_event_type_t.tsip_ao_request:
- break;
- case tsip_invite_event_type_t.tsip_o_ect_ok:
- break;
- case tsip_invite_event_type_t.tsip_o_ect_nok:
- break;
- case tsip_invite_event_type_t.tsip_i_ect:
- break;
- case tsip_invite_event_type_t.tsip_m_local_hold_ok:
- Console.WriteLine("Local Hold OK");
- break;
- case tsip_invite_event_type_t.tsip_m_local_hold_nok:
- Console.WriteLine("Local Hold NOK");
- break;
- case tsip_invite_event_type_t.tsip_m_local_resume_ok:
- Console.WriteLine("Local Resume OK");
- break;
- case tsip_invite_event_type_t.tsip_m_local_resume_nok:
- Console.WriteLine("Local Resume NOK");
- break;
- case tsip_invite_event_type_t.tsip_m_remote_hold:
- Console.WriteLine("Remote Hold");
- break;
- case tsip_invite_event_type_t.tsip_m_remote_resume:
- Console.WriteLine("Remote Resume");
- break;
- }
-
-
-
-
-
-
-
- return 0;
- }
-
- public override int OnOptionsEvent(OptionsEvent e)
- {
- short code = e.getCode();
- tsip_options_event_type_t type = e.getType();
- OptionsSession session = e.getSession();
- SipMessage message = e.getSipMessage();
-
- if (message != null)
- {
- Console.WriteLine("call-id={0}", message.getSipHeaderValue("call-id"));
- //byte[] bytes = message.getContent();
- }
-
- switch (type)
- {
- case tsip_options_event_type_t.tsip_ao_options:
- String rport = message.getSipHeaderParamValue("v", "rport");
- String received_ip = message.getSipHeaderParamValue("v", "received");
- if (rport == null)
- { /* Ericsson SDS */
- rport = message.getSipHeaderParamValue("v", "received_port_ext");
- }
- Console.WriteLine("Via(rport, received)=({0}, {1})", rport, received_ip);
- break;
- case tsip_options_event_type_t.tsip_i_options:
- break;
- }
-
- Console.WriteLine("OnRegistrationChanged() ==> {0}:{1}", code, e.getPhrase());
-
- return 0;
- }
-
- public override int OnMessagingEvent(MessagingEvent e)
- {
- short code = e.getCode();
- tsip_message_event_type_t type = e.getType();
- MessagingSession session = e.getSession();
- SipMessage message = e.getSipMessage();
-
- if (session == null && message != null)
- { /* "Server-side-session" e.g. Initial MESSAGE/INVITE sent by the remote party */
- session = e.takeSessionOwnership();
- }
-
- //Console.WriteLine("From:{0} == To:{1}", message.getSipHeaderValue("f"), message.getSipHeaderValue("t"));
- if (message == null)
- {
- return 0;
- }
-
- switch (type)
- {
- case tsip_message_event_type_t.tsip_i_message:
- byte[] content = message.getSipContent();
- if (content != null)
- {
- Console.WriteLine("Message Content ==> {0}", Encoding.UTF8.GetString(content));
- session.accept();
-
- String contentType = message.getSipHeaderValue("c");
- if (contentType != null && contentType.Equals("application/vnd.3gpp.sms", StringComparison.InvariantCultureIgnoreCase))
- {
- SMSData smsData = SMSEncoder.decode(content, (uint)content.Length, false);
- if (smsData != null)
- {
- twrap_sms_type_t smsType = smsData.getType();
- if (smsType == twrap_sms_type_t.twrap_sms_type_rpdata)
- {
- uint payLength = smsData.getPayloadLength();
- String P_Asserted_Identity = message.getSipHeaderValue("P-Asserted-Identity");
- if (payLength > 0)
- {
- /* Send RP-ACK */
- String destination = smsData.getOA();
- RPMessage rpACK = SMSEncoder.encodeACK(smsData.getMR(), Program.SMSC, destination == null ? "123456789" : destination, false);
- if (rpACK != null)
- {
- uint pay_len = rpACK.getPayloadLength();
- if (pay_len > 0)
- {
- byte[] pay = new byte[pay_len];
- rpACK.getPayload(pay, (uint)pay.Length);
-
- //byte[] pay = Encoding.UTF8.GetBytes("\x03\x01\x41\x09\x01\x00\x01\x80\x01\x32\x42\x00\x69");
-
- MessagingSession m = new MessagingSession(Program.sipStack);
- m.setToUri(String.Format("sip:{0}@{1}", Program.SMSC, Program.REALM));
- m.addHeader("Content-Type", "application/vnd.3gpp.sms");
- m.addHeader("Content-Transfer-Encoding", "binary");
- m.send(pay, (uint)pay.Length);
-
- m.Dispose();
- }
- rpACK.Dispose();
- }
-
- /* Print payload */
- byte[] payload = new byte[payLength];
- smsData.getPayload(payload, (uint)payload.Length);
- Console.WriteLine("SMS content ={0} and OA={1}", Encoding.UTF8.GetString(payload), smsData.getOA());
- }
- else
- {
- /* Send RP-ERROR */
- /* payload is mandatory in RP-DATA messages */
- /* Send RP-ACK */
- String destination = smsData.getOA();
- RPMessage rpError = SMSEncoder.encodeError(smsData.getMR(), Program.SMSC, destination == null ? "123456789" : destination, false);
- if (rpError != null)
- {
- uint pay_len = rpError.getPayloadLength();
- if (pay_len > 0)
- {
- byte[] pay = new byte[pay_len];
- rpError.getPayload(pay, (uint)pay.Length);
-
- MessagingSession m = new MessagingSession(Program.sipStack);
- m.setToUri(String.Format("sip:{0}@{1}", Program.SMSC, Program.REALM));
- m.addHeader("Content-Type", "application/vnd.3gpp.sms");
- m.addHeader("Content-Transfer-Encoding", "binary");
- m.send(pay, (uint)pay.Length);
-
- m.Dispose();
- }
- rpError.Dispose();
- }
- }
- }
- }
- }
- }
- else
- {
- session.reject();
- }
- break;
- case tsip_message_event_type_t.tsip_ao_message:
- break;
- }
-
- Console.WriteLine("OnMessagingEvent() ==> {0}:{1}", code, e.getPhrase());
-
- return 0;
- }
-
- public override int OnSubscriptionEvent(SubscriptionEvent e)
- {
- short code = e.getCode();
- tsip_subscribe_event_type_t type = e.getType();
- SubscriptionSession session = e.getSession();
- SipMessage message = e.getSipMessage();
-
- switch (type)
- {
- case tsip_subscribe_event_type_t.tsip_ao_subscribe:
- case tsip_subscribe_event_type_t.tsip_ao_unsubscribe:
- break;
-
- case tsip_subscribe_event_type_t.tsip_i_notify:
- byte[] content = message.getSipContent();
- if (content != null)
- Console.WriteLine("Notify Content ==> {0}", Encoding.UTF8.GetString(content));
- break;
- }
-
- Console.WriteLine("OnSubscriptioChanged() ==> {0}:{1}", code, e.getPhrase());
-
- return 0;
- }
-
-
-
- const String PUBLISH_PAYLOAD = "<?xml version=\"1.0\" encoding=\"utf-8\"?>" +
-"<presence xmlns:cp=\"urn:ietf:params:xml:ns:pidf:cipid\" xmlns:caps=\"urn:ietf:params:xml:ns:pidf:caps\" xmlns:rpid=\"urn:ietf:params:xml:ns:pidf:rpid\" xmlns:pdm=\"urn:ietf:params:xml:ns:pidf:data-model\" xmlns:p=\"urn:ietf:params:xml:ns:pidf-diff\" xmlns:op=\"urn:oma:xml:prs:pidf:oma-pres\" entity=\"sip:bob@ims.inexbee.com\" xmlns=\"urn:ietf:params:xml:ns:pidf\">" +
- "<pdm:person id=\"RPVRYNJH\">" +
- "<op:overriding-willingness>" +
- "<op:basic>open</op:basic>" +
- "</op:overriding-willingness>" +
- "<rpid:activities>" +
- "<rpid:busy />" +
- "</rpid:activities>" +
- "<rpid:mood>" +
- "<rpid:guilty />" +
- "</rpid:mood>" +
- "<cp:homepage>http://doubango.org</cp:homepage>" +
- "<pdm:note>Come share with me RCS Experience</pdm:note>" +
- "</pdm:person>" +
- "<pdm:device id=\"d0001\">" +
- "<status>" +
- "<basic>open</basic>" +
- "</status>" +
- "<caps:devcaps>" +
- "<caps:mobility>" +
- "<caps:supported>" +
- "<caps:fixed />" +
- "</caps:supported>" +
- "</caps:mobility>" +
- "</caps:devcaps>" +
- "<op:network-availability>" +
- "<op:network id=\"IMS\">" +
- "<op:active />" +
- "</op:network>" +
- "</op:network-availability>" +
- "<pdm:deviceID>urn:uuid:3ca50bcb-7a67-44f1-afd0-994a55f930f4</pdm:deviceID>" +
- "</pdm:device>" +
-"</presence>";
- }
-}
diff --git a/branches/1.0/bindings/csharp/test/Properties/AssemblyInfo.cs b/branches/1.0/bindings/csharp/test/Properties/AssemblyInfo.cs
deleted file mode 100644
index a5f9dc9..0000000
--- a/branches/1.0/bindings/csharp/test/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("test")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("test")]
-[assembly: AssemblyCopyright("Copyright © 2010")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("1903970d-f108-480c-bd31-9b394c9e9fa9")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/branches/1.0/bindings/csharp/test/test.csproj b/branches/1.0/bindings/csharp/test/test.csproj
deleted file mode 100644
index 7d46171..0000000
--- a/branches/1.0/bindings/csharp/test/test.csproj
+++ /dev/null
@@ -1,245 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>9.0.21022</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{CE53BD89-639D-4F7D-BC47-FB82A294AFDC}</ProjectGuid>
- <OutputType>Exe</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>test</RootNamespace>
- <AssemblyName>test</AssemblyName>
- <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
- <FileAlignment>512</FileAlignment>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>bin\Debug\</OutputPath>
- <DefineConstants>DEBUG;TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>bin\Release\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="System" />
- <Reference Include="System.Core">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Xml.Linq">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Data.DataSetExtensions">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Data" />
- <Reference Include="System.Xml" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="..\ActionConfig.cs">
- <Link>ActionConfig.cs</Link>
- </Compile>
- <Compile Include="..\CallSession.cs">
- <Link>CallSession.cs</Link>
- </Compile>
- <Compile Include="..\DDebugCallback.cs">
- <Link>DDebugCallback.cs</Link>
- </Compile>
- <Compile Include="..\DialogEvent.cs">
- <Link>DialogEvent.cs</Link>
- </Compile>
- <Compile Include="..\InviteEvent.cs">
- <Link>InviteEvent.cs</Link>
- </Compile>
- <Compile Include="..\InviteSession.cs">
- <Link>InviteSession.cs</Link>
- </Compile>
- <Compile Include="..\MessagingEvent.cs">
- <Link>MessagingEvent.cs</Link>
- </Compile>
- <Compile Include="..\MessagingSession.cs">
- <Link>MessagingSession.cs</Link>
- </Compile>
- <Compile Include="..\MsrpCallback.cs">
- <Link>MsrpCallback.cs</Link>
- </Compile>
- <Compile Include="..\MsrpEvent.cs">
- <Link>MsrpEvent.cs</Link>
- </Compile>
- <Compile Include="..\MsrpMessage.cs">
- <Link>MsrpMessage.cs</Link>
- </Compile>
- <Compile Include="..\MsrpSession.cs">
- <Link>MsrpSession.cs</Link>
- </Compile>
- <Compile Include="..\OptionsEvent.cs">
- <Link>OptionsEvent.cs</Link>
- </Compile>
- <Compile Include="..\OptionsSession.cs">
- <Link>OptionsSession.cs</Link>
- </Compile>
- <Compile Include="..\ProxyAudioConsumer.cs">
- <Link>ProxyAudioConsumer.cs</Link>
- </Compile>
- <Compile Include="..\ProxyAudioProducer.cs">
- <Link>ProxyAudioProducer.cs</Link>
- </Compile>
- <Compile Include="..\ProxyVideoConsumer.cs">
- <Link>ProxyVideoConsumer.cs</Link>
- </Compile>
- <Compile Include="..\ProxyVideoFrame.cs">
- <Link>ProxyVideoFrame.cs</Link>
- </Compile>
- <Compile Include="..\ProxyVideoProducer.cs">
- <Link>ProxyVideoProducer.cs</Link>
- </Compile>
- <Compile Include="..\PublicationEvent.cs">
- <Link>PublicationEvent.cs</Link>
- </Compile>
- <Compile Include="..\PublicationSession.cs">
- <Link>PublicationSession.cs</Link>
- </Compile>
- <Compile Include="..\RegistrationEvent.cs">
- <Link>RegistrationEvent.cs</Link>
- </Compile>
- <Compile Include="..\RegistrationSession.cs">
- <Link>RegistrationSession.cs</Link>
- </Compile>
- <Compile Include="..\RPMessage.cs">
- <Link>RPMessage.cs</Link>
- </Compile>
- <Compile Include="..\SafeObject.cs">
- <Link>SafeObject.cs</Link>
- </Compile>
- <Compile Include="..\SdpMessage.cs">
- <Link>SdpMessage.cs</Link>
- </Compile>
- <Compile Include="..\SipCallback.cs">
- <Link>SipCallback.cs</Link>
- </Compile>
- <Compile Include="..\SipEvent.cs">
- <Link>SipEvent.cs</Link>
- </Compile>
- <Compile Include="..\SipMessage.cs">
- <Link>SipMessage.cs</Link>
- </Compile>
- <Compile Include="..\SipSession.cs">
- <Link>SipSession.cs</Link>
- </Compile>
- <Compile Include="..\SipStack.cs">
- <Link>SipStack.cs</Link>
- </Compile>
- <Compile Include="..\SipUri.cs">
- <Link>SipUri.cs</Link>
- </Compile>
- <Compile Include="..\SMSData.cs">
- <Link>SMSData.cs</Link>
- </Compile>
- <Compile Include="..\SMSEncoder.cs">
- <Link>SMSEncoder.cs</Link>
- </Compile>
- <Compile Include="..\StackEvent.cs">
- <Link>StackEvent.cs</Link>
- </Compile>
- <Compile Include="..\SubscriptionEvent.cs">
- <Link>SubscriptionEvent.cs</Link>
- </Compile>
- <Compile Include="..\SubscriptionSession.cs">
- <Link>SubscriptionSession.cs</Link>
- </Compile>
- <Compile Include="..\tdav_codec_id_t.cs">
- <Link>tdav_codec_id_t.cs</Link>
- </Compile>
- <Compile Include="..\thttp_event_type_t.cs">
- <Link>thttp_event_type_t.cs</Link>
- </Compile>
- <Compile Include="..\tinyWRAP.cs">
- <Link>tinyWRAP.cs</Link>
- </Compile>
- <Compile Include="..\tinyWRAPPINVOKE.cs">
- <Link>tinyWRAPPINVOKE.cs</Link>
- </Compile>
- <Compile Include="..\tmedia_bandwidth_level_t.cs">
- <Link>tmedia_bandwidth_level_t.cs</Link>
- </Compile>
- <Compile Include="..\tmedia_chroma_t.cs">
- <Link>tmedia_chroma_t.cs</Link>
- </Compile>
- <Compile Include="..\tmedia_qos_strength_t.cs">
- <Link>tmedia_qos_strength_t.cs</Link>
- </Compile>
- <Compile Include="..\tmedia_qos_stype_t.cs">
- <Link>tmedia_qos_stype_t.cs</Link>
- </Compile>
- <Compile Include="..\tmsrp_event_type_t.cs">
- <Link>tmsrp_event_type_t.cs</Link>
- </Compile>
- <Compile Include="..\tmsrp_request_type_t.cs">
- <Link>tmsrp_request_type_t.cs</Link>
- </Compile>
- <Compile Include="..\tsip_event_type_t.cs">
- <Link>tsip_event_type_t.cs</Link>
- </Compile>
- <Compile Include="..\tsip_invite_event_type_t.cs">
- <Link>tsip_invite_event_type_t.cs</Link>
- </Compile>
- <Compile Include="..\tsip_message_event_type_t.cs">
- <Link>tsip_message_event_type_t.cs</Link>
- </Compile>
- <Compile Include="..\tsip_options_event_type_t.cs">
- <Link>tsip_options_event_type_t.cs</Link>
- </Compile>
- <Compile Include="..\tsip_publish_event_type_t.cs">
- <Link>tsip_publish_event_type_t.cs</Link>
- </Compile>
- <Compile Include="..\tsip_register_event_type_t.cs">
- <Link>tsip_register_event_type_t.cs</Link>
- </Compile>
- <Compile Include="..\tsip_subscribe_event_type_t.cs">
- <Link>tsip_subscribe_event_type_t.cs</Link>
- </Compile>
- <Compile Include="..\twrap_media_type_t.cs">
- <Link>twrap_media_type_t.cs</Link>
- </Compile>
- <Compile Include="..\twrap_rpmessage_type_t.cs">
- <Link>twrap_rpmessage_type_t.cs</Link>
- </Compile>
- <Compile Include="..\twrap_sms_type_t.cs">
- <Link>twrap_sms_type_t.cs</Link>
- </Compile>
- <Compile Include="..\XcapCallback.cs">
- <Link>XcapCallback.cs</Link>
- </Compile>
- <Compile Include="..\XcapEvent.cs">
- <Link>XcapEvent.cs</Link>
- </Compile>
- <Compile Include="..\XcapMessage.cs">
- <Link>XcapMessage.cs</Link>
- </Compile>
- <Compile Include="..\XcapSelector.cs">
- <Link>XcapSelector.cs</Link>
- </Compile>
- <Compile Include="..\XcapStack.cs">
- <Link>XcapStack.cs</Link>
- </Compile>
- <Compile Include="Program.cs" />
- <Compile Include="Properties\AssemblyInfo.cs" />
- </ItemGroup>
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
- -->
-</Project> \ No newline at end of file
diff --git a/branches/1.0/bindings/csharp/test/test.csproj.user b/branches/1.0/bindings/csharp/test/test.csproj.user
deleted file mode 100644
index 209cfef..0000000
--- a/branches/1.0/bindings/csharp/test/test.csproj.user
+++ /dev/null
@@ -1,6 +0,0 @@
-<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <EnableUnmanagedDebugging>true</EnableUnmanagedDebugging>
- <StartWorkingDirectory>C:\Projects\Doubango\bindings\csharp\Debug\</StartWorkingDirectory>
- </PropertyGroup>
-</Project> \ No newline at end of file
diff --git a/branches/1.0/bindings/csharp/test_xcap/Program.cs b/branches/1.0/bindings/csharp/test_xcap/Program.cs
deleted file mode 100644
index 3c88733..0000000
--- a/branches/1.0/bindings/csharp/test_xcap/Program.cs
+++ /dev/null
@@ -1,107 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace test_xcap
-{
- class Program
- {
- const String REALM = "micromethod.com";
- const String USER = "mamadou";
- const String PASSWORD = "mamadou";
- const String HOST = "192.168.0.10";
- const int PORT = 8080;
-
- static void Main(string[] args)
- {
- xcapStack = new MyXcapStack(new MyXcapCallback(), String.Format("sip:{0}@{1}", USER, REALM), PASSWORD, String.Format("http://{0}:{1}/services", HOST, PORT));
- xcapSelector = new XcapSelector(xcapStack);
-
- if (!xcapStack.start())
- {
- Console.WriteLine("Failed to start the XCAP stack");
- }
-
- xcapStack.addHeader("Connection", "Keep-Alive");
- xcapStack.addHeader("User-Agent", "XDM-client/OMA1.1");
- xcapStack.addHeader("X-3GPP-Intended-Identity", String.Format("sip:{0}@{1}", USER, REALM));
-
- //xcapSelector.setAUID("resource-lists").
- // setAttribute("list", "name", "rcs").
- // setAttribute("entry", "uri", String.Format("sip:{0}@{1}", USER, REALM)).
- // setName("display-name");
-
- //xcapSelector.setAUID("xcap-caps");
- // xcapStack.getDocument(xcapSelector.getString());
- // xcapSelector.reset();
- // Console.ReadLine();
-
- xcapSelector.setAUID("resource-lists");
- xcapStack.getDocument(xcapSelector.getString());
- xcapSelector.reset();
- Console.ReadLine();
-
- xcapStack.stop();
-
- Console.ReadLine();
-
- xcapStack.start();
-
- xcapSelector.setAUID("xcap-caps");
- xcapStack.getDocument(xcapSelector.getString());
- xcapSelector.reset();
- Console.ReadLine();
-
- Console.ReadLine();
- }
-
- static XcapSelector xcapSelector;
- static MyXcapStack xcapStack;
-
-
- class MyXcapStack : XcapStack
- {
- public MyXcapStack(MyXcapCallback callback, string xui, string password, string xcap_root)
- : base(callback, xui, password, xcap_root)
- {
- }
- }
-
- class MyXcapCallback : XcapCallback
- {
- public MyXcapCallback()
- :base()
- {
- }
-
- public override int onEvent(XcapEvent e)
- {
- XcapMessage message = e.getXcapMessage();
- String content_type;
-
- if(message == null){
- Console.WriteLine("Invalid Xcap message");
- return -1;
- }
-
- Console.WriteLine("code={0} and Phrase={1}", message.getCode(), message.getPhrase());
-
- if((content_type = message.getXcapHeaderValue("Content-Type")) != null){
- Console.WriteLine("Content-Type={0}", content_type);
- uint clen = message.getXcapContentLength();
- if (clen > 0)
- {
- byte[] content = new byte[clen];
- uint read = message.getXcapContent(content, (uint)content.Length);
- Console.WriteLine("Content-Value ==> {0}", Encoding.UTF8.GetString(content));
- }
- }
-
-
-
- return base.onEvent(e);
- }
- }
- }
-}
diff --git a/branches/1.0/bindings/csharp/test_xcap/Properties/AssemblyInfo.cs b/branches/1.0/bindings/csharp/test_xcap/Properties/AssemblyInfo.cs
deleted file mode 100644
index e0ca0e6..0000000
--- a/branches/1.0/bindings/csharp/test_xcap/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("test_xcap")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("test_xcap")]
-[assembly: AssemblyCopyright("Copyright © 2010")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("1bafc67e-7616-4f2e-a5de-412b21396127")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/branches/1.0/bindings/csharp/test_xcap/test_xcap.csproj b/branches/1.0/bindings/csharp/test_xcap/test_xcap.csproj
deleted file mode 100644
index 064e7d7..0000000
--- a/branches/1.0/bindings/csharp/test_xcap/test_xcap.csproj
+++ /dev/null
@@ -1,188 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>9.0.21022</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{FCC7ACB3-6809-4FA6-A5AC-961B7B874B57}</ProjectGuid>
- <OutputType>Exe</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>test_xcap</RootNamespace>
- <AssemblyName>test_xcap</AssemblyName>
- <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
- <FileAlignment>512</FileAlignment>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>bin\Debug\</OutputPath>
- <DefineConstants>DEBUG;TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>bin\Release\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="System" />
- <Reference Include="System.Core">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Xml.Linq">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Data.DataSetExtensions">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Data" />
- <Reference Include="System.Xml" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="..\CallEvent.cs">
- <Link>CallEvent.cs</Link>
- </Compile>
- <Compile Include="..\CallSession.cs">
- <Link>CallSession.cs</Link>
- </Compile>
- <Compile Include="..\DDebugCallback.cs">
- <Link>DDebugCallback.cs</Link>
- </Compile>
- <Compile Include="..\DialogEvent.cs">
- <Link>DialogEvent.cs</Link>
- </Compile>
- <Compile Include="..\MessagingEvent.cs">
- <Link>MessagingEvent.cs</Link>
- </Compile>
- <Compile Include="..\MessagingSession.cs">
- <Link>MessagingSession.cs</Link>
- </Compile>
- <Compile Include="..\OptionsEvent.cs">
- <Link>OptionsEvent.cs</Link>
- </Compile>
- <Compile Include="..\OptionsSession.cs">
- <Link>OptionsSession.cs</Link>
- </Compile>
- <Compile Include="..\ProxyAudioConsumer.cs">
- <Link>ProxyAudioConsumer.cs</Link>
- </Compile>
- <Compile Include="..\ProxyAudioProducer.cs">
- <Link>ProxyAudioProducer.cs</Link>
- </Compile>
- <Compile Include="..\ProxyVideoConsumer.cs">
- <Link>ProxyVideoConsumer.cs</Link>
- </Compile>
- <Compile Include="..\ProxyVideoFrame.cs">
- <Link>ProxyVideoFrame.cs</Link>
- </Compile>
- <Compile Include="..\ProxyVideoProducer.cs">
- <Link>ProxyVideoProducer.cs</Link>
- </Compile>
- <Compile Include="..\PublicationEvent.cs">
- <Link>PublicationEvent.cs</Link>
- </Compile>
- <Compile Include="..\PublicationSession.cs">
- <Link>PublicationSession.cs</Link>
- </Compile>
- <Compile Include="..\RegistrationEvent.cs">
- <Link>RegistrationEvent.cs</Link>
- </Compile>
- <Compile Include="..\RegistrationSession.cs">
- <Link>RegistrationSession.cs</Link>
- </Compile>
- <Compile Include="..\SafeObject.cs">
- <Link>SafeObject.cs</Link>
- </Compile>
- <Compile Include="..\SipCallback.cs">
- <Link>SipCallback.cs</Link>
- </Compile>
- <Compile Include="..\SipEvent.cs">
- <Link>SipEvent.cs</Link>
- </Compile>
- <Compile Include="..\SipMessage.cs">
- <Link>SipMessage.cs</Link>
- </Compile>
- <Compile Include="..\SipSession.cs">
- <Link>SipSession.cs</Link>
- </Compile>
- <Compile Include="..\SipStack.cs">
- <Link>SipStack.cs</Link>
- </Compile>
- <Compile Include="..\SipUri.cs">
- <Link>SipUri.cs</Link>
- </Compile>
- <Compile Include="..\StackEvent.cs">
- <Link>StackEvent.cs</Link>
- </Compile>
- <Compile Include="..\SubscriptionEvent.cs">
- <Link>SubscriptionEvent.cs</Link>
- </Compile>
- <Compile Include="..\SubscriptionSession.cs">
- <Link>SubscriptionSession.cs</Link>
- </Compile>
- <Compile Include="..\thttp_event_type_t.cs">
- <Link>thttp_event_type_t.cs</Link>
- </Compile>
- <Compile Include="..\tinyWRAP.cs">
- <Link>tinyWRAP.cs</Link>
- </Compile>
- <Compile Include="..\tinyWRAPPINVOKE.cs">
- <Link>tinyWRAPPINVOKE.cs</Link>
- </Compile>
- <Compile Include="..\tmedia_chroma_t.cs">
- <Link>tmedia_chroma_t.cs</Link>
- </Compile>
- <Compile Include="..\tsip_event_type_t.cs">
- <Link>tsip_event_type_t.cs</Link>
- </Compile>
- <Compile Include="..\tsip_invite_event_type_t.cs">
- <Link>tsip_invite_event_type_t.cs</Link>
- </Compile>
- <Compile Include="..\tsip_message_event_type_t.cs">
- <Link>tsip_message_event_type_t.cs</Link>
- </Compile>
- <Compile Include="..\tsip_options_event_type_t.cs">
- <Link>tsip_options_event_type_t.cs</Link>
- </Compile>
- <Compile Include="..\tsip_publish_event_type_t.cs">
- <Link>tsip_publish_event_type_t.cs</Link>
- </Compile>
- <Compile Include="..\tsip_register_event_type_t.cs">
- <Link>tsip_register_event_type_t.cs</Link>
- </Compile>
- <Compile Include="..\tsip_subscribe_event_type_t.cs">
- <Link>tsip_subscribe_event_type_t.cs</Link>
- </Compile>
- <Compile Include="..\XcapCallback.cs">
- <Link>XcapCallback.cs</Link>
- </Compile>
- <Compile Include="..\XcapEvent.cs">
- <Link>XcapEvent.cs</Link>
- </Compile>
- <Compile Include="..\XcapMessage.cs">
- <Link>XcapMessage.cs</Link>
- </Compile>
- <Compile Include="..\XcapSelector.cs">
- <Link>XcapSelector.cs</Link>
- </Compile>
- <Compile Include="..\XcapStack.cs">
- <Link>XcapStack.cs</Link>
- </Compile>
- <Compile Include="Program.cs" />
- <Compile Include="Properties\AssemblyInfo.cs" />
- </ItemGroup>
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
- -->
-</Project> \ No newline at end of file
diff --git a/branches/1.0/bindings/csharp/thttp_event_type_t.cs b/branches/1.0/bindings/csharp/thttp_event_type_t.cs
deleted file mode 100644
index fa1b85b..0000000
--- a/branches/1.0/bindings/csharp/thttp_event_type_t.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-public enum thttp_event_type_t {
- thttp_event_dialog_started,
- thttp_event_message,
- thttp_event_auth_failed,
- thttp_event_closed,
- thttp_event_transport_error,
- thttp_event_dialog_terminated
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/tinyWRAP.cs b/branches/1.0/bindings/csharp/tinyWRAP.cs
deleted file mode 100644
index 9c81dac..0000000
--- a/branches/1.0/bindings/csharp/tinyWRAP.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-public class tinyWRAP {
- public static readonly int tsip_event_code_dialog_transport_error = tinyWRAPPINVOKE.tsip_event_code_dialog_transport_error_get();
- public static readonly int tsip_event_code_dialog_global_error = tinyWRAPPINVOKE.tsip_event_code_dialog_global_error_get();
- public static readonly int tsip_event_code_dialog_message_error = tinyWRAPPINVOKE.tsip_event_code_dialog_message_error_get();
- public static readonly int tsip_event_code_dialog_request_incoming = tinyWRAPPINVOKE.tsip_event_code_dialog_request_incoming_get();
- public static readonly int tsip_event_code_dialog_request_cancelled = tinyWRAPPINVOKE.tsip_event_code_dialog_request_cancelled_get();
- public static readonly int tsip_event_code_dialog_request_sent = tinyWRAPPINVOKE.tsip_event_code_dialog_request_sent_get();
- public static readonly int tsip_event_code_dialog_connecting = tinyWRAPPINVOKE.tsip_event_code_dialog_connecting_get();
- public static readonly int tsip_event_code_dialog_connected = tinyWRAPPINVOKE.tsip_event_code_dialog_connected_get();
- public static readonly int tsip_event_code_dialog_terminating = tinyWRAPPINVOKE.tsip_event_code_dialog_terminating_get();
- public static readonly int tsip_event_code_dialog_terminated = tinyWRAPPINVOKE.tsip_event_code_dialog_terminated_get();
- public static readonly int tsip_event_code_stack_started = tinyWRAPPINVOKE.tsip_event_code_stack_started_get();
- public static readonly int tsip_event_code_stack_stopped = tinyWRAPPINVOKE.tsip_event_code_stack_stopped_get();
- public static readonly int tsip_event_code_stack_failed_to_start = tinyWRAPPINVOKE.tsip_event_code_stack_failed_to_start_get();
- public static readonly int tsip_event_code_stack_failed_to_stop = tinyWRAPPINVOKE.tsip_event_code_stack_failed_to_stop_get();
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/tinyWRAP.sln b/branches/1.0/bindings/csharp/tinyWRAP.sln
deleted file mode 100644
index 10edc09..0000000
--- a/branches/1.0/bindings/csharp/tinyWRAP.sln
+++ /dev/null
@@ -1,530 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 10.00
-# Visual Studio 2008
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyWRAP", "tinyWRAP.vcproj", "{6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "test", "test\test.csproj", "{CE53BD89-639D-4F7D-BC47-FB82A294AFDC}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyNET", "..\..\tinyNET\tinyNET.vcproj", "{7522A458-92F4-4259-B906-E84C2A65D9F1}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyHTTP", "..\..\tinyHTTP\tinyHTTP.vcproj", "{B3E45009-C7C3-4090-837C-2D30C9058443}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinySIP", "..\..\tinySIP\tinySIP.vcproj", "{4CE20732-9978-4A88-B586-CFEFCB63E82D}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinySDP", "..\..\tinySDP\tinySDP.vcproj", "{E45DB518-6562-4033-80E8-60030F0B169F}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyMEDIA", "..\..\tinyMEDIA\tinyMEDIA.vcproj", "{52814B0D-7DCA-45B8-9A16-8B147040D619}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyIPSec", "..\..\tinyIPSec\tinyIPSec.vcproj", "{002FF064-588F-402E-A096-C8D033F49F40}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinySAK", "..\..\tinySAK\tinySAK.vcproj", "{6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinySIGCOMP", "..\..\tinySIGCOMP\tinySIGCOMP.vcproj", "{76261DC8-25B3-43F4-9FB5-112C4AC0880E}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyDAV", "..\..\tinyDAV\tinyDAV.vcproj", "{8E2F0B2E-2596-4010-BF4A-2F688975B5C1}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyRTP", "..\..\tinyRTP\tinyRTP.vcproj", "{99B7D02F-8C70-4B45-AF3C-92313C3CEE15}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyDSHOW", "..\..\tinyDSHOW\tinyDSHOW.vcproj", "{0CCC02F1-4233-424F-AD5E-A021456E6E8D}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "test_xcap", "test_xcap\test_xcap.csproj", "{FCC7ACB3-6809-4FA6-A5AC-961B7B874B57}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyXCAP", "..\..\tinyXCAP\tinyXCAP.vcproj", "{570CF33D-E65F-448F-8AC2-F9AE2F23152F}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinySMS", "..\..\tinySMS\tinySMS.vcproj", "{9A3A5AF3-2333-4477-B880-7F901F9D8972}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyMSRP", "..\..\tinyMSRP\tinyMSRP.vcproj", "{AA46AF16-9678-4054-8E48-98DC21ECEC82}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Debug|Mixed Platforms = Debug|Mixed Platforms
- Debug|Win32 = Debug|Win32
- Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- Release|Any CPU = Release|Any CPU
- Release|Mixed Platforms = Release|Mixed Platforms
- Release|Win32 = Release|Win32
- Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- Static_Debug|Any CPU = Static_Debug|Any CPU
- Static_Debug|Mixed Platforms = Static_Debug|Mixed Platforms
- Static_Debug|Win32 = Static_Debug|Win32
- Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) = Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- Static_Release|Any CPU = Static_Release|Any CPU
- Static_Release|Mixed Platforms = Static_Release|Mixed Platforms
- Static_Release|Win32 = Static_Release|Win32
- Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) = Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Debug|Any CPU.ActiveCfg = Debug|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Debug|Win32.ActiveCfg = Debug|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Debug|Win32.Build.0 = Debug|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Release|Any CPU.ActiveCfg = Release|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Release|Mixed Platforms.ActiveCfg = Release|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Release|Mixed Platforms.Build.0 = Release|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Release|Win32.ActiveCfg = Release|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Release|Win32.Build.0 = Release|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Static_Debug|Any CPU.ActiveCfg = Debug|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Static_Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Static_Debug|Mixed Platforms.Build.0 = Debug|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Static_Debug|Win32.ActiveCfg = Debug|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Static_Debug|Win32.Build.0 = Debug|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Static_Release|Any CPU.ActiveCfg = Release|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Static_Release|Mixed Platforms.ActiveCfg = Release|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Static_Release|Mixed Platforms.Build.0 = Release|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Static_Release|Win32.ActiveCfg = Release|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Static_Release|Win32.Build.0 = Release|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {CE53BD89-639D-4F7D-BC47-FB82A294AFDC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {CE53BD89-639D-4F7D-BC47-FB82A294AFDC}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {CE53BD89-639D-4F7D-BC47-FB82A294AFDC}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
- {CE53BD89-639D-4F7D-BC47-FB82A294AFDC}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
- {CE53BD89-639D-4F7D-BC47-FB82A294AFDC}.Debug|Win32.ActiveCfg = Debug|Any CPU
- {CE53BD89-639D-4F7D-BC47-FB82A294AFDC}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Any CPU
- {CE53BD89-639D-4F7D-BC47-FB82A294AFDC}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {CE53BD89-639D-4F7D-BC47-FB82A294AFDC}.Release|Any CPU.Build.0 = Release|Any CPU
- {CE53BD89-639D-4F7D-BC47-FB82A294AFDC}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
- {CE53BD89-639D-4F7D-BC47-FB82A294AFDC}.Release|Mixed Platforms.Build.0 = Release|Any CPU
- {CE53BD89-639D-4F7D-BC47-FB82A294AFDC}.Release|Win32.ActiveCfg = Release|Any CPU
- {CE53BD89-639D-4F7D-BC47-FB82A294AFDC}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Any CPU
- {CE53BD89-639D-4F7D-BC47-FB82A294AFDC}.Static_Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {CE53BD89-639D-4F7D-BC47-FB82A294AFDC}.Static_Debug|Any CPU.Build.0 = Debug|Any CPU
- {CE53BD89-639D-4F7D-BC47-FB82A294AFDC}.Static_Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
- {CE53BD89-639D-4F7D-BC47-FB82A294AFDC}.Static_Debug|Mixed Platforms.Build.0 = Debug|Any CPU
- {CE53BD89-639D-4F7D-BC47-FB82A294AFDC}.Static_Debug|Win32.ActiveCfg = Debug|Any CPU
- {CE53BD89-639D-4F7D-BC47-FB82A294AFDC}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Any CPU
- {CE53BD89-639D-4F7D-BC47-FB82A294AFDC}.Static_Release|Any CPU.ActiveCfg = Release|Any CPU
- {CE53BD89-639D-4F7D-BC47-FB82A294AFDC}.Static_Release|Any CPU.Build.0 = Release|Any CPU
- {CE53BD89-639D-4F7D-BC47-FB82A294AFDC}.Static_Release|Mixed Platforms.ActiveCfg = Release|Any CPU
- {CE53BD89-639D-4F7D-BC47-FB82A294AFDC}.Static_Release|Mixed Platforms.Build.0 = Release|Any CPU
- {CE53BD89-639D-4F7D-BC47-FB82A294AFDC}.Static_Release|Win32.ActiveCfg = Release|Any CPU
- {CE53BD89-639D-4F7D-BC47-FB82A294AFDC}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Any CPU
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Debug|Any CPU.ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Debug|Mixed Platforms.Deploy.0 = Debug|Win32
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Debug|Win32.ActiveCfg = Debug|Win32
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Debug|Win32.Build.0 = Debug|Win32
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Release|Any CPU.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Release|Mixed Platforms.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Release|Mixed Platforms.Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Release|Mixed Platforms.Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Release|Win32.ActiveCfg = Release|Win32
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Release|Win32.Build.0 = Release|Win32
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Debug|Any CPU.ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Debug|Mixed Platforms.ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Debug|Mixed Platforms.Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Debug|Mixed Platforms.Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Debug|Win32.ActiveCfg = Debug|Win32
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Debug|Win32.Build.0 = Debug|Win32
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Release|Any CPU.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Release|Mixed Platforms.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Release|Mixed Platforms.Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Release|Mixed Platforms.Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Release|Win32.ActiveCfg = Release|Win32
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Release|Win32.Build.0 = Release|Win32
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Debug|Any CPU.ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Debug|Mixed Platforms.Deploy.0 = Debug|Win32
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Debug|Win32.ActiveCfg = Debug|Win32
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Debug|Win32.Build.0 = Debug|Win32
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Release|Any CPU.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Release|Mixed Platforms.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Release|Mixed Platforms.Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Release|Mixed Platforms.Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Release|Win32.ActiveCfg = Release|Win32
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Release|Win32.Build.0 = Release|Win32
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Debug|Any CPU.ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Debug|Mixed Platforms.ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Debug|Mixed Platforms.Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Debug|Mixed Platforms.Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Debug|Win32.ActiveCfg = Debug|Win32
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Debug|Win32.Build.0 = Debug|Win32
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Release|Any CPU.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Release|Mixed Platforms.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Release|Mixed Platforms.Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Release|Mixed Platforms.Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Release|Win32.ActiveCfg = Release|Win32
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Release|Win32.Build.0 = Release|Win32
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Debug|Any CPU.ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Debug|Mixed Platforms.Deploy.0 = Debug|Win32
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Debug|Win32.ActiveCfg = Debug|Win32
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Debug|Win32.Build.0 = Debug|Win32
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Release|Any CPU.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Release|Mixed Platforms.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Release|Mixed Platforms.Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Release|Mixed Platforms.Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Release|Win32.ActiveCfg = Release|Win32
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Release|Win32.Build.0 = Release|Win32
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Debug|Any CPU.ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Debug|Mixed Platforms.ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Debug|Mixed Platforms.Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Debug|Mixed Platforms.Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Debug|Win32.ActiveCfg = Debug|Win32
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Debug|Win32.Build.0 = Debug|Win32
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Release|Any CPU.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Release|Mixed Platforms.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Release|Mixed Platforms.Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Release|Mixed Platforms.Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Release|Win32.ActiveCfg = Release|Win32
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Release|Win32.Build.0 = Release|Win32
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {E45DB518-6562-4033-80E8-60030F0B169F}.Debug|Any CPU.ActiveCfg = Debug|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Debug|Win32.ActiveCfg = Debug|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Debug|Win32.Build.0 = Debug|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Release|Any CPU.ActiveCfg = Release|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Release|Mixed Platforms.ActiveCfg = Release|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Release|Mixed Platforms.Build.0 = Release|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Release|Win32.ActiveCfg = Release|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Release|Win32.Build.0 = Release|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Static_Debug|Any CPU.ActiveCfg = Debug|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Static_Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Static_Debug|Mixed Platforms.Build.0 = Debug|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Static_Debug|Win32.ActiveCfg = Debug|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Static_Debug|Win32.Build.0 = Debug|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Static_Release|Any CPU.ActiveCfg = Release|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Static_Release|Mixed Platforms.ActiveCfg = Release|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Static_Release|Mixed Platforms.Build.0 = Release|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Static_Release|Win32.ActiveCfg = Release|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Static_Release|Win32.Build.0 = Release|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Debug|Any CPU.ActiveCfg = Debug|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Debug|Win32.ActiveCfg = Debug|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Debug|Win32.Build.0 = Debug|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Release|Any CPU.ActiveCfg = Release|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Release|Mixed Platforms.ActiveCfg = Release|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Release|Mixed Platforms.Build.0 = Release|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Release|Win32.ActiveCfg = Release|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Release|Win32.Build.0 = Release|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Static_Debug|Any CPU.ActiveCfg = Debug|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Static_Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Static_Debug|Mixed Platforms.Build.0 = Debug|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Static_Debug|Win32.ActiveCfg = Debug|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Static_Debug|Win32.Build.0 = Debug|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Static_Release|Any CPU.ActiveCfg = Release|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Static_Release|Mixed Platforms.ActiveCfg = Release|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Static_Release|Mixed Platforms.Build.0 = Release|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Static_Release|Win32.ActiveCfg = Release|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Static_Release|Win32.Build.0 = Release|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Debug|Any CPU.ActiveCfg = Debug|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Debug|Win32.ActiveCfg = Debug|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Debug|Win32.Build.0 = Debug|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Release|Any CPU.ActiveCfg = Release|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Release|Mixed Platforms.ActiveCfg = Release|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Release|Mixed Platforms.Build.0 = Release|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Release|Win32.ActiveCfg = Release|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Release|Win32.Build.0 = Release|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Static_Debug|Any CPU.ActiveCfg = Debug|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Static_Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Static_Debug|Mixed Platforms.Build.0 = Debug|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Static_Debug|Win32.ActiveCfg = Debug|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Static_Debug|Win32.Build.0 = Debug|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Static_Release|Any CPU.ActiveCfg = Release|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Static_Release|Mixed Platforms.ActiveCfg = Release|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Static_Release|Mixed Platforms.Build.0 = Release|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Static_Release|Win32.ActiveCfg = Release|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Static_Release|Win32.Build.0 = Release|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Debug|Any CPU.ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Debug|Mixed Platforms.Deploy.0 = Debug|Win32
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Debug|Win32.ActiveCfg = Debug|Win32
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Debug|Win32.Build.0 = Debug|Win32
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Release|Any CPU.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Release|Mixed Platforms.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Release|Mixed Platforms.Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Release|Mixed Platforms.Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Release|Win32.ActiveCfg = Release|Win32
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Release|Win32.Build.0 = Release|Win32
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Debug|Any CPU.ActiveCfg = Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Debug|Mixed Platforms.ActiveCfg = Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Debug|Mixed Platforms.Build.0 = Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Debug|Mixed Platforms.Deploy.0 = Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Debug|Win32.ActiveCfg = Static_Debug|Win32
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Debug|Win32.Build.0 = Static_Debug|Win32
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Release|Any CPU.ActiveCfg = Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Release|Mixed Platforms.ActiveCfg = Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Release|Mixed Platforms.Build.0 = Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Release|Mixed Platforms.Deploy.0 = Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Release|Win32.ActiveCfg = Static_Release|Win32
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Release|Win32.Build.0 = Static_Release|Win32
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Debug|Any CPU.ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Debug|Mixed Platforms.ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Debug|Mixed Platforms.Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Debug|Mixed Platforms.Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Debug|Win32.ActiveCfg = Debug|Win32
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Debug|Win32.Build.0 = Debug|Win32
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Release|Any CPU.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Release|Mixed Platforms.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Release|Mixed Platforms.Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Release|Mixed Platforms.Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Release|Win32.ActiveCfg = Release|Win32
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Release|Win32.Build.0 = Release|Win32
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Debug|Any CPU.ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Debug|Mixed Platforms.ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Debug|Mixed Platforms.Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Debug|Mixed Platforms.Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Debug|Win32.ActiveCfg = Debug|Win32
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Debug|Win32.Build.0 = Debug|Win32
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Release|Any CPU.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Release|Mixed Platforms.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Release|Mixed Platforms.Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Release|Mixed Platforms.Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Release|Win32.ActiveCfg = Release|Win32
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Release|Win32.Build.0 = Release|Win32
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Debug|Any CPU.ActiveCfg = Debug|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Debug|Win32.ActiveCfg = Debug|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Debug|Win32.Build.0 = Debug|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Release|Any CPU.ActiveCfg = Release|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Release|Mixed Platforms.ActiveCfg = Release|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Release|Mixed Platforms.Build.0 = Release|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Release|Win32.ActiveCfg = Release|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Release|Win32.Build.0 = Release|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Static_Debug|Any CPU.ActiveCfg = Debug|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Static_Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Static_Debug|Mixed Platforms.Build.0 = Debug|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Static_Debug|Win32.ActiveCfg = Debug|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Static_Debug|Win32.Build.0 = Debug|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Static_Release|Any CPU.ActiveCfg = Release|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Static_Release|Mixed Platforms.ActiveCfg = Release|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Static_Release|Mixed Platforms.Build.0 = Release|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Static_Release|Win32.ActiveCfg = Release|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Static_Release|Win32.Build.0 = Release|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Debug|Any CPU.ActiveCfg = Debug|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Debug|Win32.ActiveCfg = Debug|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Debug|Win32.Build.0 = Debug|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Release|Any CPU.ActiveCfg = Release|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Release|Mixed Platforms.ActiveCfg = Release|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Release|Mixed Platforms.Build.0 = Release|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Release|Win32.ActiveCfg = Release|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Release|Win32.Build.0 = Release|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Static_Debug|Any CPU.ActiveCfg = Debug|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Static_Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Static_Debug|Mixed Platforms.Build.0 = Debug|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Static_Debug|Win32.ActiveCfg = Debug|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Static_Debug|Win32.Build.0 = Debug|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Static_Release|Any CPU.ActiveCfg = Release|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Static_Release|Mixed Platforms.ActiveCfg = Release|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Static_Release|Mixed Platforms.Build.0 = Release|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Static_Release|Win32.ActiveCfg = Release|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Static_Release|Win32.Build.0 = Release|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Debug|Any CPU.ActiveCfg = Debug|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Debug|Win32.ActiveCfg = Debug|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Debug|Win32.Build.0 = Debug|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Release|Any CPU.ActiveCfg = Release|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Release|Mixed Platforms.ActiveCfg = Release|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Release|Mixed Platforms.Build.0 = Release|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Release|Win32.ActiveCfg = Release|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Release|Win32.Build.0 = Release|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Static_Debug|Any CPU.ActiveCfg = Debug|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Static_Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Static_Debug|Mixed Platforms.Build.0 = Debug|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Static_Debug|Win32.ActiveCfg = Debug|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Static_Debug|Win32.Build.0 = Debug|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Static_Release|Any CPU.ActiveCfg = Release|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Static_Release|Mixed Platforms.ActiveCfg = Release|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Static_Release|Mixed Platforms.Build.0 = Release|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Static_Release|Win32.ActiveCfg = Release|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Static_Release|Win32.Build.0 = Release|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {FCC7ACB3-6809-4FA6-A5AC-961B7B874B57}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {FCC7ACB3-6809-4FA6-A5AC-961B7B874B57}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {FCC7ACB3-6809-4FA6-A5AC-961B7B874B57}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
- {FCC7ACB3-6809-4FA6-A5AC-961B7B874B57}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
- {FCC7ACB3-6809-4FA6-A5AC-961B7B874B57}.Debug|Win32.ActiveCfg = Debug|Any CPU
- {FCC7ACB3-6809-4FA6-A5AC-961B7B874B57}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Any CPU
- {FCC7ACB3-6809-4FA6-A5AC-961B7B874B57}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {FCC7ACB3-6809-4FA6-A5AC-961B7B874B57}.Release|Any CPU.Build.0 = Release|Any CPU
- {FCC7ACB3-6809-4FA6-A5AC-961B7B874B57}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
- {FCC7ACB3-6809-4FA6-A5AC-961B7B874B57}.Release|Mixed Platforms.Build.0 = Release|Any CPU
- {FCC7ACB3-6809-4FA6-A5AC-961B7B874B57}.Release|Win32.ActiveCfg = Release|Any CPU
- {FCC7ACB3-6809-4FA6-A5AC-961B7B874B57}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Any CPU
- {FCC7ACB3-6809-4FA6-A5AC-961B7B874B57}.Static_Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {FCC7ACB3-6809-4FA6-A5AC-961B7B874B57}.Static_Debug|Any CPU.Build.0 = Debug|Any CPU
- {FCC7ACB3-6809-4FA6-A5AC-961B7B874B57}.Static_Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
- {FCC7ACB3-6809-4FA6-A5AC-961B7B874B57}.Static_Debug|Mixed Platforms.Build.0 = Debug|Any CPU
- {FCC7ACB3-6809-4FA6-A5AC-961B7B874B57}.Static_Debug|Win32.ActiveCfg = Debug|Any CPU
- {FCC7ACB3-6809-4FA6-A5AC-961B7B874B57}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Any CPU
- {FCC7ACB3-6809-4FA6-A5AC-961B7B874B57}.Static_Release|Any CPU.ActiveCfg = Release|Any CPU
- {FCC7ACB3-6809-4FA6-A5AC-961B7B874B57}.Static_Release|Any CPU.Build.0 = Release|Any CPU
- {FCC7ACB3-6809-4FA6-A5AC-961B7B874B57}.Static_Release|Mixed Platforms.ActiveCfg = Release|Any CPU
- {FCC7ACB3-6809-4FA6-A5AC-961B7B874B57}.Static_Release|Mixed Platforms.Build.0 = Release|Any CPU
- {FCC7ACB3-6809-4FA6-A5AC-961B7B874B57}.Static_Release|Win32.ActiveCfg = Release|Any CPU
- {FCC7ACB3-6809-4FA6-A5AC-961B7B874B57}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Any CPU
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Debug|Any CPU.ActiveCfg = Debug|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Debug|Win32.ActiveCfg = Debug|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Debug|Win32.Build.0 = Debug|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Release|Any CPU.ActiveCfg = Release|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Release|Mixed Platforms.ActiveCfg = Release|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Release|Mixed Platforms.Build.0 = Release|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Release|Win32.ActiveCfg = Release|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Release|Win32.Build.0 = Release|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Static_Debug|Any CPU.ActiveCfg = Debug|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Static_Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Static_Debug|Mixed Platforms.Build.0 = Debug|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Static_Debug|Win32.ActiveCfg = Debug|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Static_Debug|Win32.Build.0 = Debug|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Static_Release|Any CPU.ActiveCfg = Release|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Static_Release|Mixed Platforms.ActiveCfg = Release|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Static_Release|Mixed Platforms.Build.0 = Release|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Static_Release|Win32.ActiveCfg = Release|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Static_Release|Win32.Build.0 = Release|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Debug|Any CPU.ActiveCfg = Debug|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Debug|Win32.ActiveCfg = Debug|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Debug|Win32.Build.0 = Debug|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Release|Any CPU.ActiveCfg = Release|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Release|Mixed Platforms.ActiveCfg = Release|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Release|Mixed Platforms.Build.0 = Release|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Release|Win32.ActiveCfg = Release|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Release|Win32.Build.0 = Release|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Static_Debug|Any CPU.ActiveCfg = Debug|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Static_Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Static_Debug|Mixed Platforms.Build.0 = Debug|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Static_Debug|Win32.ActiveCfg = Debug|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Static_Debug|Win32.Build.0 = Debug|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Static_Release|Any CPU.ActiveCfg = Release|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Static_Release|Mixed Platforms.ActiveCfg = Release|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Static_Release|Mixed Platforms.Build.0 = Release|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Static_Release|Win32.ActiveCfg = Release|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Static_Release|Win32.Build.0 = Release|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Debug|Any CPU.ActiveCfg = Debug|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Debug|Win32.ActiveCfg = Debug|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Debug|Win32.Build.0 = Debug|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Release|Any CPU.ActiveCfg = Release|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Release|Mixed Platforms.ActiveCfg = Release|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Release|Mixed Platforms.Build.0 = Release|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Release|Win32.ActiveCfg = Release|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Release|Win32.Build.0 = Release|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Static_Debug|Any CPU.ActiveCfg = Debug|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Static_Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Static_Debug|Mixed Platforms.Build.0 = Debug|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Static_Debug|Win32.ActiveCfg = Debug|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Static_Debug|Win32.Build.0 = Debug|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Static_Release|Any CPU.ActiveCfg = Release|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Static_Release|Mixed Platforms.ActiveCfg = Release|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Static_Release|Mixed Platforms.Build.0 = Release|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Static_Release|Win32.ActiveCfg = Release|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Static_Release|Win32.Build.0 = Release|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/branches/1.0/bindings/csharp/tinyWRAP.vcproj b/branches/1.0/bindings/csharp/tinyWRAP.vcproj
deleted file mode 100644
index 52c7a90..0000000
--- a/branches/1.0/bindings/csharp/tinyWRAP.vcproj
+++ /dev/null
@@ -1,396 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="tinyWRAP"
- ProjectGUID="{6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}"
- RootNamespace="tinyWRAP"
- Keyword="Win32Proj"
- TargetFrameworkVersion="196613"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="2"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories="..\_common;..\.;..\..\thirdparties\win32\include;..\..\tinySAK\src;..\..\tinyNET\src;..\..\tinyHTTP\include;..\..\tinySIP\include;..\..\tinyDAV\include;..\..\tinySDP\include;..\..\tinyMEDIA\include;..\..\tinyXCAP\include;..\..\tinySMS\include;..\..\tinyMSRP\include"
- PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;TINYWRAP_EXPORTS"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- WarnAsError="true"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="$(OutDir)\tinySAK.lib $(OutDir)\tinySIP.lib $(OutDir)\tinyNET.lib $(OutDir)\tinyDAV.lib $(OutDir)\tinyMEDIA.lib $(OutDir)\tinyHTTP.lib $(OutDir)\tinyXCAP.lib $(OutDir)\tinySMS.lib $(OutDir)\tinyMSRP.lib $(OutDir)\tinySDP.lib"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="2"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- EnableIntrinsicFunctions="false"
- AdditionalIncludeDirectories="..\_common;..\.;..\..\thirdparties\win32\include;..\..\tinySAK\src;..\..\tinyNET\src;..\..\tinyHTTP\include;..\..\tinySIP\include;..\..\tinyDAV\include;..\..\tinySDP\include;..\..\tinyMEDIA\include;..\..\tinyXCAP\include;..\..\tinySMS\include;..\..\tinyMSRP\include"
- PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;TINYWRAP_EXPORTS"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="false"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- WarnAsError="true"
- DebugInformationFormat="0"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="$(OutDir)\tinySAK.lib $(OutDir)\tinySIP.lib $(OutDir)\tinyNET.lib $(OutDir)\tinyDAV.lib $(OutDir)\tinyMEDIA.lib $(OutDir)\tinyHTTP.lib $(OutDir)\tinyXCAP.lib $(OutDir)\tinySMS.lib $(OutDir)\tinyMSRP.lib $(OutDir)\tinySDP.lib"
- LinkIncremental="1"
- IgnoreDefaultLibraryNames="MSVCRTD"
- GenerateDebugInformation="false"
- SubSystem="2"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="0"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="source"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath="..\_common\ActionConfig.cxx"
- >
- </File>
- <File
- RelativePath="..\_common\DDebug.cxx"
- >
- </File>
- <File
- RelativePath="..\_common\MediaContent.cxx"
- >
- </File>
- <File
- RelativePath="..\_common\MediaSessionMgr.cxx"
- >
- </File>
- <File
- RelativePath="..\_common\Msrp.cxx"
- >
- </File>
- <File
- RelativePath="..\_common\ProxyConsumer.cxx"
- >
- </File>
- <File
- RelativePath="..\_common\ProxyPluginMgr.cxx"
- >
- </File>
- <File
- RelativePath="..\_common\ProxyProducer.cxx"
- >
- </File>
- <File
- RelativePath="..\_common\SafeObject.cxx"
- >
- </File>
- <File
- RelativePath="..\_common\SipCallback.cxx"
- >
- </File>
- <File
- RelativePath="..\_common\SipEvent.cxx"
- >
- </File>
- <File
- RelativePath="..\_common\SipMessage.cxx"
- >
- </File>
- <File
- RelativePath="..\_common\SipSession.cxx"
- >
- </File>
- <File
- RelativePath="..\_common\SipStack.cxx"
- >
- </File>
- <File
- RelativePath="..\_common\SipUri.cxx"
- >
- </File>
- <File
- RelativePath="..\_common\SMSEncoder.cxx"
- >
- </File>
- <File
- RelativePath=".\tinyWRAP_wrap.cxx"
- >
- </File>
- <File
- RelativePath="..\_common\Xcap.cxx"
- >
- </File>
- </Filter>
- <Filter
- Name="headers"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- <File
- RelativePath="..\_common\ActionConfig.h"
- >
- </File>
- <File
- RelativePath="..\_common\Common.h"
- >
- </File>
- <File
- RelativePath="..\_common\DDebug.h"
- >
- </File>
- <File
- RelativePath="..\_common\MediaContent.h"
- >
- </File>
- <File
- RelativePath="..\_common\MediaSessionMgr.h"
- >
- </File>
- <File
- RelativePath="..\_common\Msrp.h"
- >
- </File>
- <File
- RelativePath="..\_common\ProxyConsumer.h"
- >
- </File>
- <File
- RelativePath="..\_common\ProxyPluginMgr.h"
- >
- </File>
- <File
- RelativePath="..\_common\ProxyProducer.h"
- >
- </File>
- <File
- RelativePath="..\_common\SafeObject.h"
- >
- </File>
- <File
- RelativePath="..\_common\SipCallback.h"
- >
- </File>
- <File
- RelativePath="..\_common\SipEvent.h"
- >
- </File>
- <File
- RelativePath="..\_common\SipMessage.h"
- >
- </File>
- <File
- RelativePath="..\_common\SipSession.h"
- >
- </File>
- <File
- RelativePath="..\_common\SipStack.h"
- >
- </File>
- <File
- RelativePath="..\_common\SipUri.h"
- >
- </File>
- <File
- RelativePath="..\_common\SMSEncoder.h"
- >
- </File>
- <File
- RelativePath="..\_common\tinyWRAP_config.h"
- >
- </File>
- <File
- RelativePath=".\tinyWRAP_wrap.h"
- >
- </File>
- <File
- RelativePath="..\_common\Xcap.h"
- >
- </File>
- </Filter>
- <Filter
- Name="interfaces"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- <Filter
- Name="common"
- >
- <File
- RelativePath="..\_common\Msrp.i"
- >
- </File>
- <File
- RelativePath="..\_common\SipStack.i"
- >
- </File>
- <File
- RelativePath="..\_common\SMS.i"
- >
- </File>
- <File
- RelativePath="..\_common\tinyWRAP.i"
- >
- </File>
- <File
- RelativePath="..\_common\Xcap.i"
- >
- </File>
- </Filter>
- <Filter
- Name="languages"
- >
- <File
- RelativePath=".\csharp.i"
- >
- </File>
- <File
- RelativePath="..\java\java.i"
- >
- </File>
- <File
- RelativePath="..\perl\perl.i"
- >
- </File>
- <File
- RelativePath="..\python\python.i"
- >
- </File>
- <File
- RelativePath="..\ruby\ruby.i"
- >
- </File>
- </Filter>
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/branches/1.0/bindings/csharp/tinyWRAPPINVOKE.cs b/branches/1.0/bindings/csharp/tinyWRAPPINVOKE.cs
deleted file mode 100644
index 7fa608c..0000000
--- a/branches/1.0/bindings/csharp/tinyWRAPPINVOKE.cs
+++ /dev/null
@@ -1,1521 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-using System;
-using System.Runtime.InteropServices;
-
-class tinyWRAPPINVOKE {
-
- protected class SWIGExceptionHelper {
-
- public delegate void ExceptionDelegate(string message);
- public delegate void ExceptionArgumentDelegate(string message, string paramName);
-
- static ExceptionDelegate applicationDelegate = new ExceptionDelegate(SetPendingApplicationException);
- static ExceptionDelegate arithmeticDelegate = new ExceptionDelegate(SetPendingArithmeticException);
- static ExceptionDelegate divideByZeroDelegate = new ExceptionDelegate(SetPendingDivideByZeroException);
- static ExceptionDelegate indexOutOfRangeDelegate = new ExceptionDelegate(SetPendingIndexOutOfRangeException);
- static ExceptionDelegate invalidCastDelegate = new ExceptionDelegate(SetPendingInvalidCastException);
- static ExceptionDelegate invalidOperationDelegate = new ExceptionDelegate(SetPendingInvalidOperationException);
- static ExceptionDelegate ioDelegate = new ExceptionDelegate(SetPendingIOException);
- static ExceptionDelegate nullReferenceDelegate = new ExceptionDelegate(SetPendingNullReferenceException);
- static ExceptionDelegate outOfMemoryDelegate = new ExceptionDelegate(SetPendingOutOfMemoryException);
- static ExceptionDelegate overflowDelegate = new ExceptionDelegate(SetPendingOverflowException);
- static ExceptionDelegate systemDelegate = new ExceptionDelegate(SetPendingSystemException);
-
- static ExceptionArgumentDelegate argumentDelegate = new ExceptionArgumentDelegate(SetPendingArgumentException);
- static ExceptionArgumentDelegate argumentNullDelegate = new ExceptionArgumentDelegate(SetPendingArgumentNullException);
- static ExceptionArgumentDelegate argumentOutOfRangeDelegate = new ExceptionArgumentDelegate(SetPendingArgumentOutOfRangeException);
-
- [DllImport("tinyWRAP", EntryPoint="SWIGRegisterExceptionCallbacks_tinyWRAP")]
- public static extern void SWIGRegisterExceptionCallbacks_tinyWRAP(
- ExceptionDelegate applicationDelegate,
- ExceptionDelegate arithmeticDelegate,
- ExceptionDelegate divideByZeroDelegate,
- ExceptionDelegate indexOutOfRangeDelegate,
- ExceptionDelegate invalidCastDelegate,
- ExceptionDelegate invalidOperationDelegate,
- ExceptionDelegate ioDelegate,
- ExceptionDelegate nullReferenceDelegate,
- ExceptionDelegate outOfMemoryDelegate,
- ExceptionDelegate overflowDelegate,
- ExceptionDelegate systemExceptionDelegate);
-
- [DllImport("tinyWRAP", EntryPoint="SWIGRegisterExceptionArgumentCallbacks_tinyWRAP")]
- public static extern void SWIGRegisterExceptionCallbacksArgument_tinyWRAP(
- ExceptionArgumentDelegate argumentDelegate,
- ExceptionArgumentDelegate argumentNullDelegate,
- ExceptionArgumentDelegate argumentOutOfRangeDelegate);
-
- static void SetPendingApplicationException(string message) {
- SWIGPendingException.Set(new System.ApplicationException(message, SWIGPendingException.Retrieve()));
- }
- static void SetPendingArithmeticException(string message) {
- SWIGPendingException.Set(new System.ArithmeticException(message, SWIGPendingException.Retrieve()));
- }
- static void SetPendingDivideByZeroException(string message) {
- SWIGPendingException.Set(new System.DivideByZeroException(message, SWIGPendingException.Retrieve()));
- }
- static void SetPendingIndexOutOfRangeException(string message) {
- SWIGPendingException.Set(new System.IndexOutOfRangeException(message, SWIGPendingException.Retrieve()));
- }
- static void SetPendingInvalidCastException(string message) {
- SWIGPendingException.Set(new System.InvalidCastException(message, SWIGPendingException.Retrieve()));
- }
- static void SetPendingInvalidOperationException(string message) {
- SWIGPendingException.Set(new System.InvalidOperationException(message, SWIGPendingException.Retrieve()));
- }
- static void SetPendingIOException(string message) {
- SWIGPendingException.Set(new System.IO.IOException(message, SWIGPendingException.Retrieve()));
- }
- static void SetPendingNullReferenceException(string message) {
- SWIGPendingException.Set(new System.NullReferenceException(message, SWIGPendingException.Retrieve()));
- }
- static void SetPendingOutOfMemoryException(string message) {
- SWIGPendingException.Set(new System.OutOfMemoryException(message, SWIGPendingException.Retrieve()));
- }
- static void SetPendingOverflowException(string message) {
- SWIGPendingException.Set(new System.OverflowException(message, SWIGPendingException.Retrieve()));
- }
- static void SetPendingSystemException(string message) {
- SWIGPendingException.Set(new System.SystemException(message, SWIGPendingException.Retrieve()));
- }
-
- static void SetPendingArgumentException(string message, string paramName) {
- SWIGPendingException.Set(new System.ArgumentException(message, paramName, SWIGPendingException.Retrieve()));
- }
- static void SetPendingArgumentNullException(string message, string paramName) {
- Exception e = SWIGPendingException.Retrieve();
- if (e != null) message = message + " Inner Exception: " + e.Message;
- SWIGPendingException.Set(new System.ArgumentNullException(paramName, message));
- }
- static void SetPendingArgumentOutOfRangeException(string message, string paramName) {
- Exception e = SWIGPendingException.Retrieve();
- if (e != null) message = message + " Inner Exception: " + e.Message;
- SWIGPendingException.Set(new System.ArgumentOutOfRangeException(paramName, message));
- }
-
- static SWIGExceptionHelper() {
- SWIGRegisterExceptionCallbacks_tinyWRAP(
- applicationDelegate,
- arithmeticDelegate,
- divideByZeroDelegate,
- indexOutOfRangeDelegate,
- invalidCastDelegate,
- invalidOperationDelegate,
- ioDelegate,
- nullReferenceDelegate,
- outOfMemoryDelegate,
- overflowDelegate,
- systemDelegate);
-
- SWIGRegisterExceptionCallbacksArgument_tinyWRAP(
- argumentDelegate,
- argumentNullDelegate,
- argumentOutOfRangeDelegate);
- }
- }
-
- protected static SWIGExceptionHelper swigExceptionHelper = new SWIGExceptionHelper();
-
- public class SWIGPendingException {
- [ThreadStatic]
- private static Exception pendingException = null;
- private static int numExceptionsPending = 0;
-
- public static bool Pending {
- get {
- bool pending = false;
- if (numExceptionsPending > 0)
- if (pendingException != null)
- pending = true;
- return pending;
- }
- }
-
- public static void Set(Exception e) {
- if (pendingException != null)
- throw new ApplicationException("FATAL: An earlier pending exception from unmanaged code was missed and thus not thrown (" + pendingException.ToString() + ")", e);
- pendingException = e;
- lock(typeof(tinyWRAPPINVOKE)) {
- numExceptionsPending++;
- }
- }
-
- public static Exception Retrieve() {
- Exception e = null;
- if (numExceptionsPending > 0) {
- if (pendingException != null) {
- e = pendingException;
- pendingException = null;
- lock(typeof(tinyWRAPPINVOKE)) {
- numExceptionsPending--;
- }
- }
- }
- return e;
- }
- }
-
-
- protected class SWIGStringHelper {
-
- public delegate string SWIGStringDelegate(string message);
- static SWIGStringDelegate stringDelegate = new SWIGStringDelegate(CreateString);
-
- [DllImport("tinyWRAP", EntryPoint="SWIGRegisterStringCallback_tinyWRAP")]
- public static extern void SWIGRegisterStringCallback_tinyWRAP(SWIGStringDelegate stringDelegate);
-
- static string CreateString(string cString) {
- return cString;
- }
-
- static SWIGStringHelper() {
- SWIGRegisterStringCallback_tinyWRAP(stringDelegate);
- }
- }
-
- static protected SWIGStringHelper swigStringHelper = new SWIGStringHelper();
-
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_new_DDebugCallback")]
- public static extern IntPtr new_DDebugCallback();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_DDebugCallback")]
- public static extern void delete_DDebugCallback(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_DDebugCallback_OnDebugInfo")]
- public static extern int DDebugCallback_OnDebugInfo(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_DDebugCallback_OnDebugInfoSwigExplicitDDebugCallback")]
- public static extern int DDebugCallback_OnDebugInfoSwigExplicitDDebugCallback(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_DDebugCallback_OnDebugWarn")]
- public static extern int DDebugCallback_OnDebugWarn(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_DDebugCallback_OnDebugWarnSwigExplicitDDebugCallback")]
- public static extern int DDebugCallback_OnDebugWarnSwigExplicitDDebugCallback(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_DDebugCallback_OnDebugError")]
- public static extern int DDebugCallback_OnDebugError(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_DDebugCallback_OnDebugErrorSwigExplicitDDebugCallback")]
- public static extern int DDebugCallback_OnDebugErrorSwigExplicitDDebugCallback(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_DDebugCallback_OnDebugFatal")]
- public static extern int DDebugCallback_OnDebugFatal(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_DDebugCallback_OnDebugFatalSwigExplicitDDebugCallback")]
- public static extern int DDebugCallback_OnDebugFatalSwigExplicitDDebugCallback(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_DDebugCallback_director_connect")]
- public static extern void DDebugCallback_director_connect(HandleRef jarg1, DDebugCallback.SwigDelegateDDebugCallback_0 delegate0, DDebugCallback.SwigDelegateDDebugCallback_1 delegate1, DDebugCallback.SwigDelegateDDebugCallback_2 delegate2, DDebugCallback.SwigDelegateDDebugCallback_3 delegate3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_new_ActionConfig")]
- public static extern IntPtr new_ActionConfig();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_ActionConfig")]
- public static extern void delete_ActionConfig(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ActionConfig_addHeader")]
- public static extern bool ActionConfig_addHeader(HandleRef jarg1, string jarg2, string jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ActionConfig_setResponseLine")]
- public static extern IntPtr ActionConfig_setResponseLine(HandleRef jarg1, short jarg2, string jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ActionConfig_setMediaString")]
- public static extern IntPtr ActionConfig_setMediaString(HandleRef jarg1, int jarg2, string jarg3, string jarg4);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ActionConfig_setMediaInt")]
- public static extern IntPtr ActionConfig_setMediaInt(HandleRef jarg1, int jarg2, string jarg3, int jarg4);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_MediaSessionMgr")]
- public static extern void delete_MediaSessionMgr(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MediaSessionMgr_sessionSetInt32")]
- public static extern bool MediaSessionMgr_sessionSetInt32(HandleRef jarg1, int jarg2, string jarg3, int jarg4);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MediaSessionMgr_consumerSetInt32")]
- public static extern bool MediaSessionMgr_consumerSetInt32(HandleRef jarg1, int jarg2, string jarg3, int jarg4);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MediaSessionMgr_consumerSetInt64")]
- public static extern bool MediaSessionMgr_consumerSetInt64(HandleRef jarg1, int jarg2, string jarg3, long jarg4);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MediaSessionMgr_producerSetInt32")]
- public static extern bool MediaSessionMgr_producerSetInt32(HandleRef jarg1, int jarg2, string jarg3, int jarg4);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MediaSessionMgr_producerSetInt64")]
- public static extern bool MediaSessionMgr_producerSetInt64(HandleRef jarg1, int jarg2, string jarg3, long jarg4);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MediaSessionMgr_findProxyPluginConsumer")]
- public static extern IntPtr MediaSessionMgr_findProxyPluginConsumer(HandleRef jarg1, int jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MediaSessionMgr_findProxyPluginProducer")]
- public static extern IntPtr MediaSessionMgr_findProxyPluginProducer(HandleRef jarg1, int jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_MediaContent")]
- public static extern void delete_MediaContent(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MediaContent_getType")]
- public static extern string MediaContent_getType(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MediaContent_getDataLength")]
- public static extern uint MediaContent_getDataLength(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MediaContent_getData")]
- public static extern uint MediaContent_getData(HandleRef jarg1, byte[] jarg2, uint jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MediaContent_parse__SWIG_0")]
- public static extern IntPtr MediaContent_parse__SWIG_0(byte[] jarg1, uint jarg2, string jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MediaContent_parse__SWIG_1")]
- public static extern IntPtr MediaContent_parse__SWIG_1(byte[] jarg1, uint jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MediaContent_getPayloadLength")]
- public static extern uint MediaContent_getPayloadLength(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MediaContent_getPayload")]
- public static extern uint MediaContent_getPayload(HandleRef jarg1, byte[] jarg2, uint jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_MediaContentCPIM")]
- public static extern void delete_MediaContentCPIM(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MediaContentCPIM_getPayloadLength")]
- public static extern uint MediaContentCPIM_getPayloadLength(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MediaContentCPIM_getPayload")]
- public static extern uint MediaContentCPIM_getPayload(HandleRef jarg1, byte[] jarg2, uint jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MediaContentCPIM_getHeaderValue")]
- public static extern string MediaContentCPIM_getHeaderValue(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_new_SipUri")]
- public static extern IntPtr new_SipUri(string jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_SipUri")]
- public static extern void delete_SipUri(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipUri_isValid__SWIG_0")]
- public static extern bool SipUri_isValid__SWIG_0(string jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipUri_isValid__SWIG_1")]
- public static extern bool SipUri_isValid__SWIG_1(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipUri_getScheme")]
- public static extern string SipUri_getScheme(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipUri_getHost")]
- public static extern string SipUri_getHost(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipUri_getPort")]
- public static extern ushort SipUri_getPort(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipUri_getUserName")]
- public static extern string SipUri_getUserName(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipUri_getPassword")]
- public static extern string SipUri_getPassword(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipUri_getDisplayName")]
- public static extern string SipUri_getDisplayName(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipUri_getParamValue")]
- public static extern string SipUri_getParamValue(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_new_SdpMessage")]
- public static extern IntPtr new_SdpMessage();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_SdpMessage")]
- public static extern void delete_SdpMessage(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SdpMessage_getSdpHeaderValue__SWIG_0")]
- public static extern string SdpMessage_getSdpHeaderValue__SWIG_0(HandleRef jarg1, string jarg2, char jarg3, uint jarg4);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SdpMessage_getSdpHeaderValue__SWIG_1")]
- public static extern string SdpMessage_getSdpHeaderValue__SWIG_1(HandleRef jarg1, string jarg2, char jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SdpMessage_getSdpHeaderAValue")]
- public static extern string SdpMessage_getSdpHeaderAValue(HandleRef jarg1, string jarg2, string jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_new_SipMessage")]
- public static extern IntPtr new_SipMessage();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_SipMessage")]
- public static extern void delete_SipMessage(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipMessage_getSipHeaderValue__SWIG_0")]
- public static extern string SipMessage_getSipHeaderValue__SWIG_0(HandleRef jarg1, string jarg2, uint jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipMessage_getSipHeaderValue__SWIG_1")]
- public static extern string SipMessage_getSipHeaderValue__SWIG_1(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipMessage_getSipHeaderParamValue__SWIG_0")]
- public static extern string SipMessage_getSipHeaderParamValue__SWIG_0(HandleRef jarg1, string jarg2, string jarg3, uint jarg4);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipMessage_getSipHeaderParamValue__SWIG_1")]
- public static extern string SipMessage_getSipHeaderParamValue__SWIG_1(HandleRef jarg1, string jarg2, string jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipMessage_getSipContentLength")]
- public static extern uint SipMessage_getSipContentLength(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipMessage_getSipContent")]
- public static extern uint SipMessage_getSipContent(HandleRef jarg1, byte[] jarg2, uint jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipMessage_getSdpMessage")]
- public static extern IntPtr SipMessage_getSdpMessage(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_SipEvent")]
- public static extern void delete_SipEvent(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipEvent_getCode")]
- public static extern short SipEvent_getCode(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipEvent_getPhrase")]
- public static extern string SipEvent_getPhrase(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipEvent_getBaseSession")]
- public static extern IntPtr SipEvent_getBaseSession(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipEvent_getSipMessage")]
- public static extern IntPtr SipEvent_getSipMessage(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_DialogEvent")]
- public static extern void delete_DialogEvent(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_StackEvent")]
- public static extern void delete_StackEvent(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_InviteEvent")]
- public static extern void delete_InviteEvent(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_InviteEvent_getType")]
- public static extern int InviteEvent_getType(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_InviteEvent_getMediaType")]
- public static extern int InviteEvent_getMediaType(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_InviteEvent_getSession")]
- public static extern IntPtr InviteEvent_getSession(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_InviteEvent_takeCallSessionOwnership")]
- public static extern IntPtr InviteEvent_takeCallSessionOwnership(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_InviteEvent_takeMsrpSessionOwnership")]
- public static extern IntPtr InviteEvent_takeMsrpSessionOwnership(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_MessagingEvent")]
- public static extern void delete_MessagingEvent(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MessagingEvent_getType")]
- public static extern int MessagingEvent_getType(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MessagingEvent_getSession")]
- public static extern IntPtr MessagingEvent_getSession(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MessagingEvent_takeSessionOwnership")]
- public static extern IntPtr MessagingEvent_takeSessionOwnership(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_OptionsEvent")]
- public static extern void delete_OptionsEvent(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_OptionsEvent_getType")]
- public static extern int OptionsEvent_getType(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_OptionsEvent_getSession")]
- public static extern IntPtr OptionsEvent_getSession(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_PublicationEvent")]
- public static extern void delete_PublicationEvent(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_PublicationEvent_getType")]
- public static extern int PublicationEvent_getType(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_PublicationEvent_getSession")]
- public static extern IntPtr PublicationEvent_getSession(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_RegistrationEvent")]
- public static extern void delete_RegistrationEvent(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_RegistrationEvent_getType")]
- public static extern int RegistrationEvent_getType(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_RegistrationEvent_getSession")]
- public static extern IntPtr RegistrationEvent_getSession(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_RegistrationEvent_takeSessionOwnership")]
- public static extern IntPtr RegistrationEvent_takeSessionOwnership(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_SubscriptionEvent")]
- public static extern void delete_SubscriptionEvent(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SubscriptionEvent_getType")]
- public static extern int SubscriptionEvent_getType(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SubscriptionEvent_getSession")]
- public static extern IntPtr SubscriptionEvent_getSession(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_new_SipSession")]
- public static extern IntPtr new_SipSession(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_SipSession")]
- public static extern void delete_SipSession(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_haveOwnership")]
- public static extern bool SipSession_haveOwnership(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_addHeader")]
- public static extern bool SipSession_addHeader(HandleRef jarg1, string jarg2, string jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_removeHeader")]
- public static extern bool SipSession_removeHeader(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_addCaps__SWIG_0")]
- public static extern bool SipSession_addCaps__SWIG_0(HandleRef jarg1, string jarg2, string jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_addCaps__SWIG_1")]
- public static extern bool SipSession_addCaps__SWIG_1(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_removeCaps")]
- public static extern bool SipSession_removeCaps(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_setExpires")]
- public static extern bool SipSession_setExpires(HandleRef jarg1, uint jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_setFromUri")]
- public static extern bool SipSession_setFromUri(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_setToUri")]
- public static extern bool SipSession_setToUri(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_setSilentHangup")]
- public static extern bool SipSession_setSilentHangup(HandleRef jarg1, bool jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_addSigCompCompartment")]
- public static extern bool SipSession_addSigCompCompartment(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_removeSigCompCompartment")]
- public static extern bool SipSession_removeSigCompCompartment(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipSession_getId")]
- public static extern uint SipSession_getId(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_new_InviteSession")]
- public static extern IntPtr new_InviteSession(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_InviteSession")]
- public static extern void delete_InviteSession(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_InviteSession_accept__SWIG_0")]
- public static extern bool InviteSession_accept__SWIG_0(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_InviteSession_accept__SWIG_1")]
- public static extern bool InviteSession_accept__SWIG_1(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_InviteSession_hangup__SWIG_0")]
- public static extern bool InviteSession_hangup__SWIG_0(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_InviteSession_hangup__SWIG_1")]
- public static extern bool InviteSession_hangup__SWIG_1(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_InviteSession_reject__SWIG_0")]
- public static extern bool InviteSession_reject__SWIG_0(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_InviteSession_reject__SWIG_1")]
- public static extern bool InviteSession_reject__SWIG_1(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_InviteSession_getMediaMgr")]
- public static extern IntPtr InviteSession_getMediaMgr(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_new_CallSession")]
- public static extern IntPtr new_CallSession(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_CallSession")]
- public static extern void delete_CallSession(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_CallSession_callAudio__SWIG_0")]
- public static extern bool CallSession_callAudio__SWIG_0(HandleRef jarg1, string jarg2, HandleRef jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_CallSession_callAudio__SWIG_1")]
- public static extern bool CallSession_callAudio__SWIG_1(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_CallSession_callAudioVideo__SWIG_0")]
- public static extern bool CallSession_callAudioVideo__SWIG_0(HandleRef jarg1, string jarg2, HandleRef jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_CallSession_callAudioVideo__SWIG_1")]
- public static extern bool CallSession_callAudioVideo__SWIG_1(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_CallSession_callVideo__SWIG_0")]
- public static extern bool CallSession_callVideo__SWIG_0(HandleRef jarg1, string jarg2, HandleRef jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_CallSession_callVideo__SWIG_1")]
- public static extern bool CallSession_callVideo__SWIG_1(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_CallSession_setSessionTimer")]
- public static extern bool CallSession_setSessionTimer(HandleRef jarg1, uint jarg2, string jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_CallSession_set100rel")]
- public static extern bool CallSession_set100rel(HandleRef jarg1, bool jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_CallSession_setQoS")]
- public static extern bool CallSession_setQoS(HandleRef jarg1, int jarg2, int jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_CallSession_hold__SWIG_0")]
- public static extern bool CallSession_hold__SWIG_0(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_CallSession_hold__SWIG_1")]
- public static extern bool CallSession_hold__SWIG_1(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_CallSession_resume__SWIG_0")]
- public static extern bool CallSession_resume__SWIG_0(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_CallSession_resume__SWIG_1")]
- public static extern bool CallSession_resume__SWIG_1(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_CallSession_sendDTMF")]
- public static extern bool CallSession_sendDTMF(HandleRef jarg1, int jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_new_MsrpSession")]
- public static extern IntPtr new_MsrpSession(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_MsrpSession")]
- public static extern void delete_MsrpSession(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MsrpSession_setCallback")]
- public static extern bool MsrpSession_setCallback(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MsrpSession_callMsrp__SWIG_0")]
- public static extern bool MsrpSession_callMsrp__SWIG_0(HandleRef jarg1, string jarg2, HandleRef jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MsrpSession_callMsrp__SWIG_1")]
- public static extern bool MsrpSession_callMsrp__SWIG_1(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MsrpSession_sendMessage__SWIG_0")]
- public static extern bool MsrpSession_sendMessage__SWIG_0(HandleRef jarg1, byte[] jarg2, uint jarg3, HandleRef jarg4);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MsrpSession_sendMessage__SWIG_1")]
- public static extern bool MsrpSession_sendMessage__SWIG_1(HandleRef jarg1, byte[] jarg2, uint jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MsrpSession_sendFile__SWIG_0")]
- public static extern bool MsrpSession_sendFile__SWIG_0(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MsrpSession_sendFile__SWIG_1")]
- public static extern bool MsrpSession_sendFile__SWIG_1(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_new_MessagingSession")]
- public static extern IntPtr new_MessagingSession(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_MessagingSession")]
- public static extern void delete_MessagingSession(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MessagingSession_send")]
- public static extern bool MessagingSession_send(HandleRef jarg1, byte[] jarg2, uint jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MessagingSession_accept")]
- public static extern bool MessagingSession_accept(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MessagingSession_reject")]
- public static extern bool MessagingSession_reject(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_new_OptionsSession")]
- public static extern IntPtr new_OptionsSession(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_OptionsSession")]
- public static extern void delete_OptionsSession(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_OptionsSession_send")]
- public static extern bool OptionsSession_send(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_new_PublicationSession")]
- public static extern IntPtr new_PublicationSession(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_PublicationSession")]
- public static extern void delete_PublicationSession(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_PublicationSession_publish")]
- public static extern bool PublicationSession_publish(HandleRef jarg1, byte[] jarg2, uint jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_PublicationSession_unPublish")]
- public static extern bool PublicationSession_unPublish(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_new_RegistrationSession")]
- public static extern IntPtr new_RegistrationSession(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_RegistrationSession")]
- public static extern void delete_RegistrationSession(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_RegistrationSession_register_")]
- public static extern bool RegistrationSession_register_(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_RegistrationSession_unRegister")]
- public static extern bool RegistrationSession_unRegister(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_RegistrationSession_accept__SWIG_0")]
- public static extern bool RegistrationSession_accept__SWIG_0(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_RegistrationSession_accept__SWIG_1")]
- public static extern bool RegistrationSession_accept__SWIG_1(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_RegistrationSession_reject__SWIG_0")]
- public static extern bool RegistrationSession_reject__SWIG_0(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_RegistrationSession_reject__SWIG_1")]
- public static extern bool RegistrationSession_reject__SWIG_1(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_new_SubscriptionSession")]
- public static extern IntPtr new_SubscriptionSession(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_SubscriptionSession")]
- public static extern void delete_SubscriptionSession(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SubscriptionSession_subscribe")]
- public static extern bool SubscriptionSession_subscribe(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SubscriptionSession_unSubscribe")]
- public static extern bool SubscriptionSession_unSubscribe(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_ProxyPluginMgr")]
- public static extern void delete_ProxyPluginMgr(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyPluginMgr_createInstance")]
- public static extern IntPtr ProxyPluginMgr_createInstance(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyPluginMgr_getInstance")]
- public static extern IntPtr ProxyPluginMgr_getInstance();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyPluginMgr_findAudioConsumer")]
- public static extern IntPtr ProxyPluginMgr_findAudioConsumer(HandleRef jarg1, ulong jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyPluginMgr_findVideoConsumer")]
- public static extern IntPtr ProxyPluginMgr_findVideoConsumer(HandleRef jarg1, ulong jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyPluginMgr_findAudioProducer")]
- public static extern IntPtr ProxyPluginMgr_findAudioProducer(HandleRef jarg1, ulong jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyPluginMgr_findVideoProducer")]
- public static extern IntPtr ProxyPluginMgr_findVideoProducer(HandleRef jarg1, ulong jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_new_ProxyPluginMgrCallback")]
- public static extern IntPtr new_ProxyPluginMgrCallback();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_ProxyPluginMgrCallback")]
- public static extern void delete_ProxyPluginMgrCallback(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyPluginMgrCallback_OnPluginCreated")]
- public static extern int ProxyPluginMgrCallback_OnPluginCreated(HandleRef jarg1, ulong jarg2, int jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyPluginMgrCallback_OnPluginCreatedSwigExplicitProxyPluginMgrCallback")]
- public static extern int ProxyPluginMgrCallback_OnPluginCreatedSwigExplicitProxyPluginMgrCallback(HandleRef jarg1, ulong jarg2, int jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyPluginMgrCallback_OnPluginDestroyed")]
- public static extern int ProxyPluginMgrCallback_OnPluginDestroyed(HandleRef jarg1, ulong jarg2, int jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyPluginMgrCallback_OnPluginDestroyedSwigExplicitProxyPluginMgrCallback")]
- public static extern int ProxyPluginMgrCallback_OnPluginDestroyedSwigExplicitProxyPluginMgrCallback(HandleRef jarg1, ulong jarg2, int jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyPluginMgrCallback_director_connect")]
- public static extern void ProxyPluginMgrCallback_director_connect(HandleRef jarg1, ProxyPluginMgrCallback.SwigDelegateProxyPluginMgrCallback_0 delegate0, ProxyPluginMgrCallback.SwigDelegateProxyPluginMgrCallback_1 delegate1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_ProxyPlugin")]
- public static extern void delete_ProxyPlugin(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyPlugin_getType")]
- public static extern int ProxyPlugin_getType(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyPlugin_getId")]
- public static extern ulong ProxyPlugin_getId(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_new_ProxyAudioConsumerCallback")]
- public static extern IntPtr new_ProxyAudioConsumerCallback();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_ProxyAudioConsumerCallback")]
- public static extern void delete_ProxyAudioConsumerCallback(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioConsumerCallback_prepare")]
- public static extern int ProxyAudioConsumerCallback_prepare(HandleRef jarg1, int jarg2, int jarg3, int jarg4);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioConsumerCallback_prepareSwigExplicitProxyAudioConsumerCallback")]
- public static extern int ProxyAudioConsumerCallback_prepareSwigExplicitProxyAudioConsumerCallback(HandleRef jarg1, int jarg2, int jarg3, int jarg4);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioConsumerCallback_start")]
- public static extern int ProxyAudioConsumerCallback_start(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioConsumerCallback_startSwigExplicitProxyAudioConsumerCallback")]
- public static extern int ProxyAudioConsumerCallback_startSwigExplicitProxyAudioConsumerCallback(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioConsumerCallback_pause")]
- public static extern int ProxyAudioConsumerCallback_pause(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioConsumerCallback_pauseSwigExplicitProxyAudioConsumerCallback")]
- public static extern int ProxyAudioConsumerCallback_pauseSwigExplicitProxyAudioConsumerCallback(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioConsumerCallback_stop")]
- public static extern int ProxyAudioConsumerCallback_stop(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioConsumerCallback_stopSwigExplicitProxyAudioConsumerCallback")]
- public static extern int ProxyAudioConsumerCallback_stopSwigExplicitProxyAudioConsumerCallback(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioConsumerCallback_director_connect")]
- public static extern void ProxyAudioConsumerCallback_director_connect(HandleRef jarg1, ProxyAudioConsumerCallback.SwigDelegateProxyAudioConsumerCallback_0 delegate0, ProxyAudioConsumerCallback.SwigDelegateProxyAudioConsumerCallback_1 delegate1, ProxyAudioConsumerCallback.SwigDelegateProxyAudioConsumerCallback_2 delegate2, ProxyAudioConsumerCallback.SwigDelegateProxyAudioConsumerCallback_3 delegate3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_ProxyAudioConsumer")]
- public static extern void delete_ProxyAudioConsumer(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioConsumer_pull")]
- public static extern uint ProxyAudioConsumer_pull(HandleRef jarg1, byte[] jarg2, uint jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioConsumer_reset")]
- public static extern bool ProxyAudioConsumer_reset(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioConsumer_setCallback")]
- public static extern void ProxyAudioConsumer_setCallback(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioConsumer_getMediaSessionId")]
- public static extern ulong ProxyAudioConsumer_getMediaSessionId(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioConsumer_registerPlugin")]
- public static extern bool ProxyAudioConsumer_registerPlugin();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_new_ProxyVideoConsumerCallback")]
- public static extern IntPtr new_ProxyVideoConsumerCallback();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_ProxyVideoConsumerCallback")]
- public static extern void delete_ProxyVideoConsumerCallback(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoConsumerCallback_prepare")]
- public static extern int ProxyVideoConsumerCallback_prepare(HandleRef jarg1, int jarg2, int jarg3, int jarg4);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoConsumerCallback_prepareSwigExplicitProxyVideoConsumerCallback")]
- public static extern int ProxyVideoConsumerCallback_prepareSwigExplicitProxyVideoConsumerCallback(HandleRef jarg1, int jarg2, int jarg3, int jarg4);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoConsumerCallback_consume")]
- public static extern int ProxyVideoConsumerCallback_consume(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoConsumerCallback_consumeSwigExplicitProxyVideoConsumerCallback")]
- public static extern int ProxyVideoConsumerCallback_consumeSwigExplicitProxyVideoConsumerCallback(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoConsumerCallback_start")]
- public static extern int ProxyVideoConsumerCallback_start(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoConsumerCallback_startSwigExplicitProxyVideoConsumerCallback")]
- public static extern int ProxyVideoConsumerCallback_startSwigExplicitProxyVideoConsumerCallback(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoConsumerCallback_pause")]
- public static extern int ProxyVideoConsumerCallback_pause(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoConsumerCallback_pauseSwigExplicitProxyVideoConsumerCallback")]
- public static extern int ProxyVideoConsumerCallback_pauseSwigExplicitProxyVideoConsumerCallback(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoConsumerCallback_stop")]
- public static extern int ProxyVideoConsumerCallback_stop(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoConsumerCallback_stopSwigExplicitProxyVideoConsumerCallback")]
- public static extern int ProxyVideoConsumerCallback_stopSwigExplicitProxyVideoConsumerCallback(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoConsumerCallback_director_connect")]
- public static extern void ProxyVideoConsumerCallback_director_connect(HandleRef jarg1, ProxyVideoConsumerCallback.SwigDelegateProxyVideoConsumerCallback_0 delegate0, ProxyVideoConsumerCallback.SwigDelegateProxyVideoConsumerCallback_1 delegate1, ProxyVideoConsumerCallback.SwigDelegateProxyVideoConsumerCallback_2 delegate2, ProxyVideoConsumerCallback.SwigDelegateProxyVideoConsumerCallback_3 delegate3, ProxyVideoConsumerCallback.SwigDelegateProxyVideoConsumerCallback_4 delegate4);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_ProxyVideoConsumer")]
- public static extern void delete_ProxyVideoConsumer(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoConsumer_setDisplaySize")]
- public static extern bool ProxyVideoConsumer_setDisplaySize(HandleRef jarg1, int jarg2, int jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoConsumer_setCallback")]
- public static extern void ProxyVideoConsumer_setCallback(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoConsumer_getMediaSessionId")]
- public static extern ulong ProxyVideoConsumer_getMediaSessionId(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoConsumer_registerPlugin")]
- public static extern bool ProxyVideoConsumer_registerPlugin();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoConsumer_setDefaultChroma")]
- public static extern void ProxyVideoConsumer_setDefaultChroma(int jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_ProxyVideoFrame")]
- public static extern void delete_ProxyVideoFrame(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoFrame_getSize")]
- public static extern uint ProxyVideoFrame_getSize(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoFrame_getContent")]
- public static extern uint ProxyVideoFrame_getContent(HandleRef jarg1, byte[] jarg2, uint jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_new_ProxyAudioProducerCallback")]
- public static extern IntPtr new_ProxyAudioProducerCallback();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_ProxyAudioProducerCallback")]
- public static extern void delete_ProxyAudioProducerCallback(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioProducerCallback_prepare")]
- public static extern int ProxyAudioProducerCallback_prepare(HandleRef jarg1, int jarg2, int jarg3, int jarg4);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioProducerCallback_prepareSwigExplicitProxyAudioProducerCallback")]
- public static extern int ProxyAudioProducerCallback_prepareSwigExplicitProxyAudioProducerCallback(HandleRef jarg1, int jarg2, int jarg3, int jarg4);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioProducerCallback_start")]
- public static extern int ProxyAudioProducerCallback_start(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioProducerCallback_startSwigExplicitProxyAudioProducerCallback")]
- public static extern int ProxyAudioProducerCallback_startSwigExplicitProxyAudioProducerCallback(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioProducerCallback_pause")]
- public static extern int ProxyAudioProducerCallback_pause(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioProducerCallback_pauseSwigExplicitProxyAudioProducerCallback")]
- public static extern int ProxyAudioProducerCallback_pauseSwigExplicitProxyAudioProducerCallback(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioProducerCallback_stop")]
- public static extern int ProxyAudioProducerCallback_stop(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioProducerCallback_stopSwigExplicitProxyAudioProducerCallback")]
- public static extern int ProxyAudioProducerCallback_stopSwigExplicitProxyAudioProducerCallback(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioProducerCallback_director_connect")]
- public static extern void ProxyAudioProducerCallback_director_connect(HandleRef jarg1, ProxyAudioProducerCallback.SwigDelegateProxyAudioProducerCallback_0 delegate0, ProxyAudioProducerCallback.SwigDelegateProxyAudioProducerCallback_1 delegate1, ProxyAudioProducerCallback.SwigDelegateProxyAudioProducerCallback_2 delegate2, ProxyAudioProducerCallback.SwigDelegateProxyAudioProducerCallback_3 delegate3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_ProxyAudioProducer")]
- public static extern void delete_ProxyAudioProducer(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioProducer_push")]
- public static extern int ProxyAudioProducer_push(HandleRef jarg1, byte[] jarg2, uint jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioProducer_setCallback")]
- public static extern void ProxyAudioProducer_setCallback(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioProducer_getMediaSessionId")]
- public static extern ulong ProxyAudioProducer_getMediaSessionId(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioProducer_registerPlugin")]
- public static extern bool ProxyAudioProducer_registerPlugin();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_new_ProxyVideoProducerCallback")]
- public static extern IntPtr new_ProxyVideoProducerCallback();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_ProxyVideoProducerCallback")]
- public static extern void delete_ProxyVideoProducerCallback(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoProducerCallback_prepare")]
- public static extern int ProxyVideoProducerCallback_prepare(HandleRef jarg1, int jarg2, int jarg3, int jarg4);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoProducerCallback_prepareSwigExplicitProxyVideoProducerCallback")]
- public static extern int ProxyVideoProducerCallback_prepareSwigExplicitProxyVideoProducerCallback(HandleRef jarg1, int jarg2, int jarg3, int jarg4);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoProducerCallback_start")]
- public static extern int ProxyVideoProducerCallback_start(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoProducerCallback_startSwigExplicitProxyVideoProducerCallback")]
- public static extern int ProxyVideoProducerCallback_startSwigExplicitProxyVideoProducerCallback(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoProducerCallback_pause")]
- public static extern int ProxyVideoProducerCallback_pause(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoProducerCallback_pauseSwigExplicitProxyVideoProducerCallback")]
- public static extern int ProxyVideoProducerCallback_pauseSwigExplicitProxyVideoProducerCallback(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoProducerCallback_stop")]
- public static extern int ProxyVideoProducerCallback_stop(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoProducerCallback_stopSwigExplicitProxyVideoProducerCallback")]
- public static extern int ProxyVideoProducerCallback_stopSwigExplicitProxyVideoProducerCallback(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoProducerCallback_director_connect")]
- public static extern void ProxyVideoProducerCallback_director_connect(HandleRef jarg1, ProxyVideoProducerCallback.SwigDelegateProxyVideoProducerCallback_0 delegate0, ProxyVideoProducerCallback.SwigDelegateProxyVideoProducerCallback_1 delegate1, ProxyVideoProducerCallback.SwigDelegateProxyVideoProducerCallback_2 delegate2, ProxyVideoProducerCallback.SwigDelegateProxyVideoProducerCallback_3 delegate3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_ProxyVideoProducer")]
- public static extern void delete_ProxyVideoProducer(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoProducer_getRotation")]
- public static extern int ProxyVideoProducer_getRotation(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoProducer_setRotation")]
- public static extern void ProxyVideoProducer_setRotation(HandleRef jarg1, int jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoProducer_push")]
- public static extern int ProxyVideoProducer_push(HandleRef jarg1, byte[] jarg2, uint jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoProducer_send")]
- public static extern int ProxyVideoProducer_send(HandleRef jarg1, byte[] jarg2, uint jarg3, uint jarg4, bool jarg5);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoProducer_setCallback")]
- public static extern void ProxyVideoProducer_setCallback(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoProducer_getMediaSessionId")]
- public static extern ulong ProxyVideoProducer_getMediaSessionId(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoProducer_registerPlugin")]
- public static extern bool ProxyVideoProducer_registerPlugin();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoProducer_setDefaultChroma")]
- public static extern void ProxyVideoProducer_setDefaultChroma(int jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_new_SipCallback")]
- public static extern IntPtr new_SipCallback();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_SipCallback")]
- public static extern void delete_SipCallback(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipCallback_OnDialogEvent")]
- public static extern int SipCallback_OnDialogEvent(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipCallback_OnDialogEventSwigExplicitSipCallback")]
- public static extern int SipCallback_OnDialogEventSwigExplicitSipCallback(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipCallback_OnStackEvent")]
- public static extern int SipCallback_OnStackEvent(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipCallback_OnStackEventSwigExplicitSipCallback")]
- public static extern int SipCallback_OnStackEventSwigExplicitSipCallback(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipCallback_OnInviteEvent")]
- public static extern int SipCallback_OnInviteEvent(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipCallback_OnInviteEventSwigExplicitSipCallback")]
- public static extern int SipCallback_OnInviteEventSwigExplicitSipCallback(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipCallback_OnMessagingEvent")]
- public static extern int SipCallback_OnMessagingEvent(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipCallback_OnMessagingEventSwigExplicitSipCallback")]
- public static extern int SipCallback_OnMessagingEventSwigExplicitSipCallback(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipCallback_OnOptionsEvent")]
- public static extern int SipCallback_OnOptionsEvent(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipCallback_OnOptionsEventSwigExplicitSipCallback")]
- public static extern int SipCallback_OnOptionsEventSwigExplicitSipCallback(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipCallback_OnPublicationEvent")]
- public static extern int SipCallback_OnPublicationEvent(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipCallback_OnPublicationEventSwigExplicitSipCallback")]
- public static extern int SipCallback_OnPublicationEventSwigExplicitSipCallback(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipCallback_OnRegistrationEvent")]
- public static extern int SipCallback_OnRegistrationEvent(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipCallback_OnRegistrationEventSwigExplicitSipCallback")]
- public static extern int SipCallback_OnRegistrationEventSwigExplicitSipCallback(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipCallback_OnSubscriptionEvent")]
- public static extern int SipCallback_OnSubscriptionEvent(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipCallback_OnSubscriptionEventSwigExplicitSipCallback")]
- public static extern int SipCallback_OnSubscriptionEventSwigExplicitSipCallback(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipCallback_director_connect")]
- public static extern void SipCallback_director_connect(HandleRef jarg1, SipCallback.SwigDelegateSipCallback_0 delegate0, SipCallback.SwigDelegateSipCallback_1 delegate1, SipCallback.SwigDelegateSipCallback_2 delegate2, SipCallback.SwigDelegateSipCallback_3 delegate3, SipCallback.SwigDelegateSipCallback_4 delegate4, SipCallback.SwigDelegateSipCallback_5 delegate5, SipCallback.SwigDelegateSipCallback_6 delegate6, SipCallback.SwigDelegateSipCallback_7 delegate7);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_new_SafeObject")]
- public static extern IntPtr new_SafeObject();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_SafeObject")]
- public static extern void delete_SafeObject(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SafeObject_Lock")]
- public static extern int SafeObject_Lock(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SafeObject_UnLock")]
- public static extern int SafeObject_UnLock(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_new_SipStack")]
- public static extern IntPtr new_SipStack(HandleRef jarg1, string jarg2, string jarg3, string jarg4);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_SipStack")]
- public static extern void delete_SipStack(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_start")]
- public static extern bool SipStack_start(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setDebugCallback")]
- public static extern bool SipStack_setDebugCallback(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setRealm")]
- public static extern bool SipStack_setRealm(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setIMPI")]
- public static extern bool SipStack_setIMPI(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setIMPU")]
- public static extern bool SipStack_setIMPU(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setPassword")]
- public static extern bool SipStack_setPassword(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setAMF")]
- public static extern bool SipStack_setAMF(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setOperatorId")]
- public static extern bool SipStack_setOperatorId(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setProxyCSCF")]
- public static extern bool SipStack_setProxyCSCF(HandleRef jarg1, string jarg2, ushort jarg3, string jarg4, string jarg5);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setLocalIP")]
- public static extern bool SipStack_setLocalIP(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setLocalPort")]
- public static extern bool SipStack_setLocalPort(HandleRef jarg1, ushort jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setEarlyIMS")]
- public static extern bool SipStack_setEarlyIMS(HandleRef jarg1, bool jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_addHeader")]
- public static extern bool SipStack_addHeader(HandleRef jarg1, string jarg2, string jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_removeHeader")]
- public static extern bool SipStack_removeHeader(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_addDnsServer")]
- public static extern bool SipStack_addDnsServer(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setDnsDiscovery")]
- public static extern bool SipStack_setDnsDiscovery(HandleRef jarg1, bool jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setAoR")]
- public static extern bool SipStack_setAoR(HandleRef jarg1, string jarg2, int jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setSigCompParams")]
- public static extern bool SipStack_setSigCompParams(HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4, bool jarg5);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_addSigCompCompartment")]
- public static extern bool SipStack_addSigCompCompartment(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_removeSigCompCompartment")]
- public static extern bool SipStack_removeSigCompCompartment(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setSTUNServer")]
- public static extern bool SipStack_setSTUNServer(HandleRef jarg1, string jarg2, ushort jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setSTUNCred")]
- public static extern bool SipStack_setSTUNCred(HandleRef jarg1, string jarg2, string jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setTLSSecAgree")]
- public static extern bool SipStack_setTLSSecAgree(HandleRef jarg1, bool jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setSSLCretificates")]
- public static extern bool SipStack_setSSLCretificates(HandleRef jarg1, string jarg2, string jarg3, string jarg4);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setIPSecSecAgree")]
- public static extern bool SipStack_setIPSecSecAgree(HandleRef jarg1, bool jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setIPSecParameters")]
- public static extern bool SipStack_setIPSecParameters(HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_dnsENUM")]
- public static extern string SipStack_dnsENUM(HandleRef jarg1, string jarg2, string jarg3, string jarg4);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_dnsNaptrSrv")]
- public static extern string SipStack_dnsNaptrSrv(HandleRef jarg1, string jarg2, string jarg3, out ushort jarg4);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_dnsSrv")]
- public static extern string SipStack_dnsSrv(HandleRef jarg1, string jarg2, out ushort jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_getLocalIPnPort")]
- public static extern string SipStack_getLocalIPnPort(HandleRef jarg1, string jarg2, out ushort jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_getPreferredIdentity")]
- public static extern string SipStack_getPreferredIdentity(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_isValid")]
- public static extern bool SipStack_isValid(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_stop")]
- public static extern bool SipStack_stop(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setCodecs")]
- public static extern void SipStack_setCodecs(int jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_setCodecs_2")]
- public static extern void SipStack_setCodecs_2(int jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStack_isCodecSupported")]
- public static extern bool SipStack_isCodecSupported(int jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_tsip_event_code_dialog_transport_error_get")]
- public static extern int tsip_event_code_dialog_transport_error_get();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_tsip_event_code_dialog_global_error_get")]
- public static extern int tsip_event_code_dialog_global_error_get();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_tsip_event_code_dialog_message_error_get")]
- public static extern int tsip_event_code_dialog_message_error_get();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_tsip_event_code_dialog_request_incoming_get")]
- public static extern int tsip_event_code_dialog_request_incoming_get();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_tsip_event_code_dialog_request_cancelled_get")]
- public static extern int tsip_event_code_dialog_request_cancelled_get();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_tsip_event_code_dialog_request_sent_get")]
- public static extern int tsip_event_code_dialog_request_sent_get();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_tsip_event_code_dialog_connecting_get")]
- public static extern int tsip_event_code_dialog_connecting_get();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_tsip_event_code_dialog_connected_get")]
- public static extern int tsip_event_code_dialog_connected_get();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_tsip_event_code_dialog_terminating_get")]
- public static extern int tsip_event_code_dialog_terminating_get();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_tsip_event_code_dialog_terminated_get")]
- public static extern int tsip_event_code_dialog_terminated_get();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_tsip_event_code_stack_started_get")]
- public static extern int tsip_event_code_stack_started_get();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_tsip_event_code_stack_stopped_get")]
- public static extern int tsip_event_code_stack_stopped_get();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_tsip_event_code_stack_failed_to_start_get")]
- public static extern int tsip_event_code_stack_failed_to_start_get();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_tsip_event_code_stack_failed_to_stop_get")]
- public static extern int tsip_event_code_stack_failed_to_stop_get();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_new_XcapSelector")]
- public static extern IntPtr new_XcapSelector(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_XcapSelector")]
- public static extern void delete_XcapSelector(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapSelector_setAUID")]
- public static extern IntPtr XcapSelector_setAUID(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapSelector_setName")]
- public static extern IntPtr XcapSelector_setName(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapSelector_setAttribute")]
- public static extern IntPtr XcapSelector_setAttribute(HandleRef jarg1, string jarg2, string jarg3, string jarg4);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapSelector_setPos")]
- public static extern IntPtr XcapSelector_setPos(HandleRef jarg1, string jarg2, uint jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapSelector_setPosAttribute")]
- public static extern IntPtr XcapSelector_setPosAttribute(HandleRef jarg1, string jarg2, uint jarg3, string jarg4, string jarg5);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapSelector_setNamespace")]
- public static extern IntPtr XcapSelector_setNamespace(HandleRef jarg1, string jarg2, string jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapSelector_getString")]
- public static extern string XcapSelector_getString(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapSelector_reset")]
- public static extern void XcapSelector_reset(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_new_XcapMessage")]
- public static extern IntPtr new_XcapMessage();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_XcapMessage")]
- public static extern void delete_XcapMessage(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapMessage_getCode")]
- public static extern short XcapMessage_getCode(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapMessage_getPhrase")]
- public static extern string XcapMessage_getPhrase(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapMessage_getXcapHeaderValue__SWIG_0")]
- public static extern string XcapMessage_getXcapHeaderValue__SWIG_0(HandleRef jarg1, string jarg2, uint jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapMessage_getXcapHeaderValue__SWIG_1")]
- public static extern string XcapMessage_getXcapHeaderValue__SWIG_1(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapMessage_getXcapHeaderParamValue__SWIG_0")]
- public static extern string XcapMessage_getXcapHeaderParamValue__SWIG_0(HandleRef jarg1, string jarg2, string jarg3, uint jarg4);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapMessage_getXcapHeaderParamValue__SWIG_1")]
- public static extern string XcapMessage_getXcapHeaderParamValue__SWIG_1(HandleRef jarg1, string jarg2, string jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapMessage_getXcapContentLength")]
- public static extern uint XcapMessage_getXcapContentLength(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapMessage_getXcapContent")]
- public static extern uint XcapMessage_getXcapContent(HandleRef jarg1, byte[] jarg2, uint jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_XcapEvent")]
- public static extern void delete_XcapEvent(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapEvent_getType")]
- public static extern int XcapEvent_getType(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapEvent_getXcapMessage")]
- public static extern IntPtr XcapEvent_getXcapMessage(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_new_XcapCallback")]
- public static extern IntPtr new_XcapCallback();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_XcapCallback")]
- public static extern void delete_XcapCallback(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapCallback_onEvent")]
- public static extern int XcapCallback_onEvent(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapCallback_onEventSwigExplicitXcapCallback")]
- public static extern int XcapCallback_onEventSwigExplicitXcapCallback(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapCallback_director_connect")]
- public static extern void XcapCallback_director_connect(HandleRef jarg1, XcapCallback.SwigDelegateXcapCallback_0 delegate0);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_new_XcapStack")]
- public static extern IntPtr new_XcapStack(HandleRef jarg1, string jarg2, string jarg3, string jarg4);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_XcapStack")]
- public static extern void delete_XcapStack(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapStack_registerAUID")]
- public static extern bool XcapStack_registerAUID(HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5, bool jarg6);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapStack_start")]
- public static extern bool XcapStack_start(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapStack_setCredentials")]
- public static extern bool XcapStack_setCredentials(HandleRef jarg1, string jarg2, string jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapStack_setXcapRoot")]
- public static extern bool XcapStack_setXcapRoot(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapStack_setLocalIP")]
- public static extern bool XcapStack_setLocalIP(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapStack_setLocalPort")]
- public static extern bool XcapStack_setLocalPort(HandleRef jarg1, uint jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapStack_addHeader")]
- public static extern bool XcapStack_addHeader(HandleRef jarg1, string jarg2, string jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapStack_removeHeader")]
- public static extern bool XcapStack_removeHeader(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapStack_setTimeout")]
- public static extern bool XcapStack_setTimeout(HandleRef jarg1, uint jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapStack_getDocument")]
- public static extern bool XcapStack_getDocument(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapStack_getElement")]
- public static extern bool XcapStack_getElement(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapStack_getAttribute")]
- public static extern bool XcapStack_getAttribute(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapStack_deleteDocument")]
- public static extern bool XcapStack_deleteDocument(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapStack_deleteElement")]
- public static extern bool XcapStack_deleteElement(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapStack_deleteAttribute")]
- public static extern bool XcapStack_deleteAttribute(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapStack_putDocument")]
- public static extern bool XcapStack_putDocument(HandleRef jarg1, string jarg2, byte[] jarg3, uint jarg4, string jarg5);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapStack_putElement")]
- public static extern bool XcapStack_putElement(HandleRef jarg1, string jarg2, byte[] jarg3, uint jarg4);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapStack_putAttribute")]
- public static extern bool XcapStack_putAttribute(HandleRef jarg1, string jarg2, byte[] jarg3, uint jarg4);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_XcapStack_stop")]
- public static extern bool XcapStack_stop(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_new_RPMessage")]
- public static extern IntPtr new_RPMessage();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_RPMessage")]
- public static extern void delete_RPMessage(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_RPMessage_getType")]
- public static extern int RPMessage_getType(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_RPMessage_getPayloadLength")]
- public static extern uint RPMessage_getPayloadLength(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_RPMessage_getPayload")]
- public static extern uint RPMessage_getPayload(HandleRef jarg1, byte[] jarg2, uint jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_new_SMSData")]
- public static extern IntPtr new_SMSData();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_SMSData")]
- public static extern void delete_SMSData(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SMSData_getType")]
- public static extern int SMSData_getType(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SMSData_getMR")]
- public static extern int SMSData_getMR(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SMSData_getPayloadLength")]
- public static extern uint SMSData_getPayloadLength(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SMSData_getPayload")]
- public static extern uint SMSData_getPayload(HandleRef jarg1, byte[] jarg2, uint jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SMSData_getOA")]
- public static extern string SMSData_getOA(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SMSData_getDA")]
- public static extern string SMSData_getDA(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SMSEncoder_encodeSubmit")]
- public static extern IntPtr SMSEncoder_encodeSubmit(int jarg1, string jarg2, string jarg3, string jarg4);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SMSEncoder_encodeDeliver")]
- public static extern IntPtr SMSEncoder_encodeDeliver(int jarg1, string jarg2, string jarg3, string jarg4);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SMSEncoder_encodeACK")]
- public static extern IntPtr SMSEncoder_encodeACK(int jarg1, string jarg2, string jarg3, bool jarg4);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SMSEncoder_encodeError")]
- public static extern IntPtr SMSEncoder_encodeError(int jarg1, string jarg2, string jarg3, bool jarg4);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SMSEncoder_decode")]
- public static extern IntPtr SMSEncoder_decode(byte[] jarg1, uint jarg2, bool jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_SMSEncoder")]
- public static extern void delete_SMSEncoder(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_new_MsrpMessage")]
- public static extern IntPtr new_MsrpMessage();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_MsrpMessage")]
- public static extern void delete_MsrpMessage(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MsrpMessage_isRequest")]
- public static extern bool MsrpMessage_isRequest(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MsrpMessage_getCode")]
- public static extern short MsrpMessage_getCode(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MsrpMessage_getPhrase")]
- public static extern string MsrpMessage_getPhrase(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MsrpMessage_getRequestType")]
- public static extern int MsrpMessage_getRequestType(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MsrpMessage_getByteRange")]
- public static extern void MsrpMessage_getByteRange(HandleRef jarg1, out long jarg2, out long jarg3, out long jarg4);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MsrpMessage_isLastChunck")]
- public static extern bool MsrpMessage_isLastChunck(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MsrpMessage_isFirstChunck")]
- public static extern bool MsrpMessage_isFirstChunck(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MsrpMessage_getMsrpHeaderValue")]
- public static extern string MsrpMessage_getMsrpHeaderValue(HandleRef jarg1, string jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MsrpMessage_getMsrpHeaderParamValue")]
- public static extern string MsrpMessage_getMsrpHeaderParamValue(HandleRef jarg1, string jarg2, string jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MsrpMessage_getMsrpContentLength")]
- public static extern uint MsrpMessage_getMsrpContentLength(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MsrpMessage_getMsrpContent")]
- public static extern uint MsrpMessage_getMsrpContent(HandleRef jarg1, byte[] jarg2, uint jarg3);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_MsrpEvent")]
- public static extern void delete_MsrpEvent(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MsrpEvent_getType")]
- public static extern int MsrpEvent_getType(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MsrpEvent_getSipSession")]
- public static extern IntPtr MsrpEvent_getSipSession(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MsrpEvent_getMessage")]
- public static extern IntPtr MsrpEvent_getMessage(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_new_MsrpCallback")]
- public static extern IntPtr new_MsrpCallback();
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_delete_MsrpCallback")]
- public static extern void delete_MsrpCallback(HandleRef jarg1);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MsrpCallback_OnEvent")]
- public static extern int MsrpCallback_OnEvent(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MsrpCallback_OnEventSwigExplicitMsrpCallback")]
- public static extern int MsrpCallback_OnEventSwigExplicitMsrpCallback(HandleRef jarg1, HandleRef jarg2);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MsrpCallback_director_connect")]
- public static extern void MsrpCallback_director_connect(HandleRef jarg1, MsrpCallback.SwigDelegateMsrpCallback_0 delegate0);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MediaContentCPIMUpcast")]
- public static extern IntPtr MediaContentCPIMUpcast(IntPtr objectRef);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_DialogEventUpcast")]
- public static extern IntPtr DialogEventUpcast(IntPtr objectRef);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_StackEventUpcast")]
- public static extern IntPtr StackEventUpcast(IntPtr objectRef);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_InviteEventUpcast")]
- public static extern IntPtr InviteEventUpcast(IntPtr objectRef);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MessagingEventUpcast")]
- public static extern IntPtr MessagingEventUpcast(IntPtr objectRef);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_OptionsEventUpcast")]
- public static extern IntPtr OptionsEventUpcast(IntPtr objectRef);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_PublicationEventUpcast")]
- public static extern IntPtr PublicationEventUpcast(IntPtr objectRef);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_RegistrationEventUpcast")]
- public static extern IntPtr RegistrationEventUpcast(IntPtr objectRef);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SubscriptionEventUpcast")]
- public static extern IntPtr SubscriptionEventUpcast(IntPtr objectRef);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_InviteSessionUpcast")]
- public static extern IntPtr InviteSessionUpcast(IntPtr objectRef);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_CallSessionUpcast")]
- public static extern IntPtr CallSessionUpcast(IntPtr objectRef);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MsrpSessionUpcast")]
- public static extern IntPtr MsrpSessionUpcast(IntPtr objectRef);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_MessagingSessionUpcast")]
- public static extern IntPtr MessagingSessionUpcast(IntPtr objectRef);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_OptionsSessionUpcast")]
- public static extern IntPtr OptionsSessionUpcast(IntPtr objectRef);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_PublicationSessionUpcast")]
- public static extern IntPtr PublicationSessionUpcast(IntPtr objectRef);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_RegistrationSessionUpcast")]
- public static extern IntPtr RegistrationSessionUpcast(IntPtr objectRef);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SubscriptionSessionUpcast")]
- public static extern IntPtr SubscriptionSessionUpcast(IntPtr objectRef);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioConsumerUpcast")]
- public static extern IntPtr ProxyAudioConsumerUpcast(IntPtr objectRef);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoConsumerUpcast")]
- public static extern IntPtr ProxyVideoConsumerUpcast(IntPtr objectRef);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyAudioProducerUpcast")]
- public static extern IntPtr ProxyAudioProducerUpcast(IntPtr objectRef);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_ProxyVideoProducerUpcast")]
- public static extern IntPtr ProxyVideoProducerUpcast(IntPtr objectRef);
-
- [DllImport("tinyWRAP", EntryPoint="CSharp_SipStackUpcast")]
- public static extern IntPtr SipStackUpcast(IntPtr objectRef);
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/tinyWRAP_wrap.cxx b/branches/1.0/bindings/csharp/tinyWRAP_wrap.cxx
deleted file mode 100644
index 8750d94..0000000
--- a/branches/1.0/bindings/csharp/tinyWRAP_wrap.cxx
+++ /dev/null
@@ -1,6541 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * This file is not intended to be easily readable and contains a number of
- * coding conventions designed to improve portability and efficiency. Do not make
- * changes to this file unless you know what you are doing--modify the SWIG
- * interface file instead.
- * ----------------------------------------------------------------------------- */
-
-#define SWIGCSHARP
-#define SWIG_DIRECTORS
-
-
-#ifdef __cplusplus
-/* SwigValueWrapper is described in swig.swg */
-template<typename T> class SwigValueWrapper {
- struct SwigMovePointer {
- T *ptr;
- SwigMovePointer(T *p) : ptr(p) { }
- ~SwigMovePointer() { delete ptr; }
- SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
- } pointer;
- SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
- SwigValueWrapper(const SwigValueWrapper<T>& rhs);
-public:
- SwigValueWrapper() : pointer(0) { }
- SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
- operator T&() const { return *pointer.ptr; }
- T *operator&() { return pointer.ptr; }
-};
-
-template <typename T> T SwigValueInit() {
- return T();
-}
-#endif
-
-/* -----------------------------------------------------------------------------
- * This section contains generic SWIG labels for method/variable
- * declarations/attributes, and other compiler dependent labels.
- * ----------------------------------------------------------------------------- */
-
-/* template workaround for compilers that cannot correctly implement the C++ standard */
-#ifndef SWIGTEMPLATEDISAMBIGUATOR
-# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
-# define SWIGTEMPLATEDISAMBIGUATOR template
-# elif defined(__HP_aCC)
-/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
-/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
-# define SWIGTEMPLATEDISAMBIGUATOR template
-# else
-# define SWIGTEMPLATEDISAMBIGUATOR
-# endif
-#endif
-
-/* inline attribute */
-#ifndef SWIGINLINE
-# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
-# define SWIGINLINE inline
-# else
-# define SWIGINLINE
-# endif
-#endif
-
-/* attribute recognised by some compilers to avoid 'unused' warnings */
-#ifndef SWIGUNUSED
-# if defined(__GNUC__)
-# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
-# define SWIGUNUSED __attribute__ ((__unused__))
-# else
-# define SWIGUNUSED
-# endif
-# elif defined(__ICC)
-# define SWIGUNUSED __attribute__ ((__unused__))
-# else
-# define SWIGUNUSED
-# endif
-#endif
-
-#ifndef SWIG_MSC_UNSUPPRESS_4505
-# if defined(_MSC_VER)
-# pragma warning(disable : 4505) /* unreferenced local function has been removed */
-# endif
-#endif
-
-#ifndef SWIGUNUSEDPARM
-# ifdef __cplusplus
-# define SWIGUNUSEDPARM(p)
-# else
-# define SWIGUNUSEDPARM(p) p SWIGUNUSED
-# endif
-#endif
-
-/* internal SWIG method */
-#ifndef SWIGINTERN
-# define SWIGINTERN static SWIGUNUSED
-#endif
-
-/* internal inline SWIG method */
-#ifndef SWIGINTERNINLINE
-# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
-#endif
-
-/* exporting methods */
-#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
-# ifndef GCC_HASCLASSVISIBILITY
-# define GCC_HASCLASSVISIBILITY
-# endif
-#endif
-
-#ifndef SWIGEXPORT
-# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
-# if defined(STATIC_LINKED)
-# define SWIGEXPORT
-# else
-# define SWIGEXPORT __declspec(dllexport)
-# endif
-# else
-# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
-# define SWIGEXPORT __attribute__ ((visibility("default")))
-# else
-# define SWIGEXPORT
-# endif
-# endif
-#endif
-
-/* calling conventions for Windows */
-#ifndef SWIGSTDCALL
-# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
-# define SWIGSTDCALL __stdcall
-# else
-# define SWIGSTDCALL
-# endif
-#endif
-
-/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
-#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
-# define _CRT_SECURE_NO_DEPRECATE
-#endif
-
-/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
-#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
-# define _SCL_SECURE_NO_DEPRECATE
-#endif
-
-
-
-#include <stdlib.h>
-#include <string.h>
-#include <stdio.h>
-
-
-/* Support for throwing C# exceptions from C/C++. There are two types:
- * Exceptions that take a message and ArgumentExceptions that take a message and a parameter name. */
-typedef enum {
- SWIG_CSharpApplicationException,
- SWIG_CSharpArithmeticException,
- SWIG_CSharpDivideByZeroException,
- SWIG_CSharpIndexOutOfRangeException,
- SWIG_CSharpInvalidCastException,
- SWIG_CSharpInvalidOperationException,
- SWIG_CSharpIOException,
- SWIG_CSharpNullReferenceException,
- SWIG_CSharpOutOfMemoryException,
- SWIG_CSharpOverflowException,
- SWIG_CSharpSystemException
-} SWIG_CSharpExceptionCodes;
-
-typedef enum {
- SWIG_CSharpArgumentException,
- SWIG_CSharpArgumentNullException,
- SWIG_CSharpArgumentOutOfRangeException
-} SWIG_CSharpExceptionArgumentCodes;
-
-typedef void (SWIGSTDCALL* SWIG_CSharpExceptionCallback_t)(const char *);
-typedef void (SWIGSTDCALL* SWIG_CSharpExceptionArgumentCallback_t)(const char *, const char *);
-
-typedef struct {
- SWIG_CSharpExceptionCodes code;
- SWIG_CSharpExceptionCallback_t callback;
-} SWIG_CSharpException_t;
-
-typedef struct {
- SWIG_CSharpExceptionArgumentCodes code;
- SWIG_CSharpExceptionArgumentCallback_t callback;
-} SWIG_CSharpExceptionArgument_t;
-
-static SWIG_CSharpException_t SWIG_csharp_exceptions[] = {
- { SWIG_CSharpApplicationException, NULL },
- { SWIG_CSharpArithmeticException, NULL },
- { SWIG_CSharpDivideByZeroException, NULL },
- { SWIG_CSharpIndexOutOfRangeException, NULL },
- { SWIG_CSharpInvalidCastException, NULL },
- { SWIG_CSharpInvalidOperationException, NULL },
- { SWIG_CSharpIOException, NULL },
- { SWIG_CSharpNullReferenceException, NULL },
- { SWIG_CSharpOutOfMemoryException, NULL },
- { SWIG_CSharpOverflowException, NULL },
- { SWIG_CSharpSystemException, NULL }
-};
-
-static SWIG_CSharpExceptionArgument_t SWIG_csharp_exceptions_argument[] = {
- { SWIG_CSharpArgumentException, NULL },
- { SWIG_CSharpArgumentNullException, NULL },
- { SWIG_CSharpArgumentOutOfRangeException, NULL },
-};
-
-static void SWIGUNUSED SWIG_CSharpSetPendingException(SWIG_CSharpExceptionCodes code, const char *msg) {
- SWIG_CSharpExceptionCallback_t callback = SWIG_csharp_exceptions[SWIG_CSharpApplicationException].callback;
- if ((size_t)code < sizeof(SWIG_csharp_exceptions)/sizeof(SWIG_CSharpException_t)) {
- callback = SWIG_csharp_exceptions[code].callback;
- }
- callback(msg);
-}
-
-static void SWIGUNUSED SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpExceptionArgumentCodes code, const char *msg, const char *param_name) {
- SWIG_CSharpExceptionArgumentCallback_t callback = SWIG_csharp_exceptions_argument[SWIG_CSharpArgumentException].callback;
- if ((size_t)code < sizeof(SWIG_csharp_exceptions_argument)/sizeof(SWIG_CSharpExceptionArgument_t)) {
- callback = SWIG_csharp_exceptions_argument[code].callback;
- }
- callback(msg, param_name);
-}
-
-
-#ifdef __cplusplus
-extern "C"
-#endif
-SWIGEXPORT void SWIGSTDCALL SWIGRegisterExceptionCallbacks_tinyWRAP(
- SWIG_CSharpExceptionCallback_t applicationCallback,
- SWIG_CSharpExceptionCallback_t arithmeticCallback,
- SWIG_CSharpExceptionCallback_t divideByZeroCallback,
- SWIG_CSharpExceptionCallback_t indexOutOfRangeCallback,
- SWIG_CSharpExceptionCallback_t invalidCastCallback,
- SWIG_CSharpExceptionCallback_t invalidOperationCallback,
- SWIG_CSharpExceptionCallback_t ioCallback,
- SWIG_CSharpExceptionCallback_t nullReferenceCallback,
- SWIG_CSharpExceptionCallback_t outOfMemoryCallback,
- SWIG_CSharpExceptionCallback_t overflowCallback,
- SWIG_CSharpExceptionCallback_t systemCallback) {
- SWIG_csharp_exceptions[SWIG_CSharpApplicationException].callback = applicationCallback;
- SWIG_csharp_exceptions[SWIG_CSharpArithmeticException].callback = arithmeticCallback;
- SWIG_csharp_exceptions[SWIG_CSharpDivideByZeroException].callback = divideByZeroCallback;
- SWIG_csharp_exceptions[SWIG_CSharpIndexOutOfRangeException].callback = indexOutOfRangeCallback;
- SWIG_csharp_exceptions[SWIG_CSharpInvalidCastException].callback = invalidCastCallback;
- SWIG_csharp_exceptions[SWIG_CSharpInvalidOperationException].callback = invalidOperationCallback;
- SWIG_csharp_exceptions[SWIG_CSharpIOException].callback = ioCallback;
- SWIG_csharp_exceptions[SWIG_CSharpNullReferenceException].callback = nullReferenceCallback;
- SWIG_csharp_exceptions[SWIG_CSharpOutOfMemoryException].callback = outOfMemoryCallback;
- SWIG_csharp_exceptions[SWIG_CSharpOverflowException].callback = overflowCallback;
- SWIG_csharp_exceptions[SWIG_CSharpSystemException].callback = systemCallback;
-}
-
-#ifdef __cplusplus
-extern "C"
-#endif
-SWIGEXPORT void SWIGSTDCALL SWIGRegisterExceptionArgumentCallbacks_tinyWRAP(
- SWIG_CSharpExceptionArgumentCallback_t argumentCallback,
- SWIG_CSharpExceptionArgumentCallback_t argumentNullCallback,
- SWIG_CSharpExceptionArgumentCallback_t argumentOutOfRangeCallback) {
- SWIG_csharp_exceptions_argument[SWIG_CSharpArgumentException].callback = argumentCallback;
- SWIG_csharp_exceptions_argument[SWIG_CSharpArgumentNullException].callback = argumentNullCallback;
- SWIG_csharp_exceptions_argument[SWIG_CSharpArgumentOutOfRangeException].callback = argumentOutOfRangeCallback;
-}
-
-
-/* Callback for returning strings to C# without leaking memory */
-typedef char * (SWIGSTDCALL* SWIG_CSharpStringHelperCallback)(const char *);
-static SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback = NULL;
-
-
-#ifdef __cplusplus
-extern "C"
-#endif
-SWIGEXPORT void SWIGSTDCALL SWIGRegisterStringCallback_tinyWRAP(SWIG_CSharpStringHelperCallback callback) {
- SWIG_csharp_string_callback = callback;
-}
-
-
-/* Contract support */
-
-#define SWIG_contract_assert(nullreturn, expr, msg) if (!(expr)) {SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, msg, ""); return nullreturn; } else
-
-/* -----------------------------------------------------------------------------
- * See the LICENSE file for information on copyright, usage and redistribution
- * of SWIG, and the README file for authors - http://www.swig.org/release.html.
- *
- * director.swg
- *
- * This file contains support for director classes so that C# proxy
- * methods can be called from C++.
- * ----------------------------------------------------------------------------- */
-
-#ifdef __cplusplus
-
-#if defined(DEBUG_DIRECTOR_OWNED)
-#include <iostream>
-#endif
-#include <string>
-
-namespace Swig {
- /* Director base class - not currently used in C# directors */
- class Director {
- };
-
- /* Base class for director exceptions */
- class DirectorException {
- protected:
- std::string swig_msg;
-
- public:
- DirectorException(const char* msg) : swig_msg(msg) {
- }
- DirectorException(const std::string &msg) : swig_msg(msg) {
- }
- const std::string& what() const {
- return swig_msg;
- }
- virtual ~DirectorException() {
- }
- };
-
- /* Pure virtual method exception */
- class DirectorPureVirtualException : public Swig::DirectorException {
- public:
- DirectorPureVirtualException(const char* msg) : DirectorException(std::string("Attempt to invoke pure virtual method ") + msg) {
- }
- };
-}
-
-#endif /* __cplusplus */
-
-
-
-#include <stdint.h> // Use the C99 official header
-
-
-#include "DDebug.h"
-
-
-#include "ActionConfig.h"
-#include "MediaSessionMgr.h"
-#include "MediaContent.h"
-#include "SipUri.h"
-#include "SipMessage.h"
-#include "SipEvent.h"
-#include "SipSession.h"
-
-#include "ProxyPluginMgr.h"
-#include "ProxyConsumer.h"
-#include "ProxyProducer.h"
-
-#include "SipCallback.h"
-#include "SafeObject.h"
-#include "SipStack.h"
-
-
-#include "Xcap.h"
-
-
-#include "SMSEncoder.h"
-
-
-#include "Msrp.h"
-
-
-
-/* ---------------------------------------------------
- * C++ director class methods
- * --------------------------------------------------- */
-
-#include "tinyWRAP_wrap.h"
-
-SwigDirector_DDebugCallback::SwigDirector_DDebugCallback() : DDebugCallback(), Swig::Director() {
- swig_init_callbacks();
-}
-
-SwigDirector_DDebugCallback::~SwigDirector_DDebugCallback() {
-
-}
-
-
-int SwigDirector_DDebugCallback::OnDebugInfo(char const *message) {
- int c_result = SwigValueInit< int >() ;
- int jresult = 0 ;
- char * jmessage = 0 ;
-
- if (!swig_callbackOnDebugInfo) {
- return DDebugCallback::OnDebugInfo(message);
- } else {
- jmessage = SWIG_csharp_string_callback((const char *)message);
- jresult = (int) swig_callbackOnDebugInfo(jmessage);
- c_result = (int)jresult;
- }
- return c_result;
-}
-
-int SwigDirector_DDebugCallback::OnDebugWarn(char const *message) {
- int c_result = SwigValueInit< int >() ;
- int jresult = 0 ;
- char * jmessage = 0 ;
-
- if (!swig_callbackOnDebugWarn) {
- return DDebugCallback::OnDebugWarn(message);
- } else {
- jmessage = SWIG_csharp_string_callback((const char *)message);
- jresult = (int) swig_callbackOnDebugWarn(jmessage);
- c_result = (int)jresult;
- }
- return c_result;
-}
-
-int SwigDirector_DDebugCallback::OnDebugError(char const *message) {
- int c_result = SwigValueInit< int >() ;
- int jresult = 0 ;
- char * jmessage = 0 ;
-
- if (!swig_callbackOnDebugError) {
- return DDebugCallback::OnDebugError(message);
- } else {
- jmessage = SWIG_csharp_string_callback((const char *)message);
- jresult = (int) swig_callbackOnDebugError(jmessage);
- c_result = (int)jresult;
- }
- return c_result;
-}
-
-int SwigDirector_DDebugCallback::OnDebugFatal(char const *message) {
- int c_result = SwigValueInit< int >() ;
- int jresult = 0 ;
- char * jmessage = 0 ;
-
- if (!swig_callbackOnDebugFatal) {
- return DDebugCallback::OnDebugFatal(message);
- } else {
- jmessage = SWIG_csharp_string_callback((const char *)message);
- jresult = (int) swig_callbackOnDebugFatal(jmessage);
- c_result = (int)jresult;
- }
- return c_result;
-}
-
-void SwigDirector_DDebugCallback::swig_connect_director(SWIG_Callback0_t callbackOnDebugInfo, SWIG_Callback1_t callbackOnDebugWarn, SWIG_Callback2_t callbackOnDebugError, SWIG_Callback3_t callbackOnDebugFatal) {
- swig_callbackOnDebugInfo = callbackOnDebugInfo;
- swig_callbackOnDebugWarn = callbackOnDebugWarn;
- swig_callbackOnDebugError = callbackOnDebugError;
- swig_callbackOnDebugFatal = callbackOnDebugFatal;
-}
-
-void SwigDirector_DDebugCallback::swig_init_callbacks() {
- swig_callbackOnDebugInfo = 0;
- swig_callbackOnDebugWarn = 0;
- swig_callbackOnDebugError = 0;
- swig_callbackOnDebugFatal = 0;
-}
-
-SwigDirector_ProxyPluginMgrCallback::SwigDirector_ProxyPluginMgrCallback() : ProxyPluginMgrCallback(), Swig::Director() {
- swig_init_callbacks();
-}
-
-SwigDirector_ProxyPluginMgrCallback::~SwigDirector_ProxyPluginMgrCallback() {
-
-}
-
-
-int SwigDirector_ProxyPluginMgrCallback::OnPluginCreated(uint64_t id, enum twrap_proxy_plugin_type_e type) {
- int c_result = SwigValueInit< int >() ;
- int jresult = 0 ;
- unsigned long long jid ;
- int jtype ;
-
- if (!swig_callbackOnPluginCreated) {
- return ProxyPluginMgrCallback::OnPluginCreated(id,type);
- } else {
- jid = id;
- jtype = type;
- jresult = (int) swig_callbackOnPluginCreated(jid, jtype);
- c_result = (int)jresult;
- }
- return c_result;
-}
-
-int SwigDirector_ProxyPluginMgrCallback::OnPluginDestroyed(uint64_t id, enum twrap_proxy_plugin_type_e type) {
- int c_result = SwigValueInit< int >() ;
- int jresult = 0 ;
- unsigned long long jid ;
- int jtype ;
-
- if (!swig_callbackOnPluginDestroyed) {
- return ProxyPluginMgrCallback::OnPluginDestroyed(id,type);
- } else {
- jid = id;
- jtype = type;
- jresult = (int) swig_callbackOnPluginDestroyed(jid, jtype);
- c_result = (int)jresult;
- }
- return c_result;
-}
-
-void SwigDirector_ProxyPluginMgrCallback::swig_connect_director(SWIG_Callback0_t callbackOnPluginCreated, SWIG_Callback1_t callbackOnPluginDestroyed) {
- swig_callbackOnPluginCreated = callbackOnPluginCreated;
- swig_callbackOnPluginDestroyed = callbackOnPluginDestroyed;
-}
-
-void SwigDirector_ProxyPluginMgrCallback::swig_init_callbacks() {
- swig_callbackOnPluginCreated = 0;
- swig_callbackOnPluginDestroyed = 0;
-}
-
-SwigDirector_ProxyAudioConsumerCallback::SwigDirector_ProxyAudioConsumerCallback() : ProxyAudioConsumerCallback(), Swig::Director() {
- swig_init_callbacks();
-}
-
-SwigDirector_ProxyAudioConsumerCallback::~SwigDirector_ProxyAudioConsumerCallback() {
-
-}
-
-
-int SwigDirector_ProxyAudioConsumerCallback::prepare(int ptime, int rate, int channels) {
- int c_result = SwigValueInit< int >() ;
- int jresult = 0 ;
- int jptime ;
- int jrate ;
- int jchannels ;
-
- if (!swig_callbackprepare) {
- return ProxyAudioConsumerCallback::prepare(ptime,rate,channels);
- } else {
- jptime = ptime;
- jrate = rate;
- jchannels = channels;
- jresult = (int) swig_callbackprepare(jptime, jrate, jchannels);
- c_result = (int)jresult;
- }
- return c_result;
-}
-
-int SwigDirector_ProxyAudioConsumerCallback::start() {
- int c_result = SwigValueInit< int >() ;
- int jresult = 0 ;
-
- if (!swig_callbackstart) {
- return ProxyAudioConsumerCallback::start();
- } else {
- jresult = (int) swig_callbackstart();
- c_result = (int)jresult;
- }
- return c_result;
-}
-
-int SwigDirector_ProxyAudioConsumerCallback::pause() {
- int c_result = SwigValueInit< int >() ;
- int jresult = 0 ;
-
- if (!swig_callbackpause) {
- return ProxyAudioConsumerCallback::pause();
- } else {
- jresult = (int) swig_callbackpause();
- c_result = (int)jresult;
- }
- return c_result;
-}
-
-int SwigDirector_ProxyAudioConsumerCallback::stop() {
- int c_result = SwigValueInit< int >() ;
- int jresult = 0 ;
-
- if (!swig_callbackstop) {
- return ProxyAudioConsumerCallback::stop();
- } else {
- jresult = (int) swig_callbackstop();
- c_result = (int)jresult;
- }
- return c_result;
-}
-
-void SwigDirector_ProxyAudioConsumerCallback::swig_connect_director(SWIG_Callback0_t callbackprepare, SWIG_Callback1_t callbackstart, SWIG_Callback2_t callbackpause, SWIG_Callback3_t callbackstop) {
- swig_callbackprepare = callbackprepare;
- swig_callbackstart = callbackstart;
- swig_callbackpause = callbackpause;
- swig_callbackstop = callbackstop;
-}
-
-void SwigDirector_ProxyAudioConsumerCallback::swig_init_callbacks() {
- swig_callbackprepare = 0;
- swig_callbackstart = 0;
- swig_callbackpause = 0;
- swig_callbackstop = 0;
-}
-
-SwigDirector_ProxyVideoConsumerCallback::SwigDirector_ProxyVideoConsumerCallback() : ProxyVideoConsumerCallback(), Swig::Director() {
- swig_init_callbacks();
-}
-
-SwigDirector_ProxyVideoConsumerCallback::~SwigDirector_ProxyVideoConsumerCallback() {
-
-}
-
-
-int SwigDirector_ProxyVideoConsumerCallback::prepare(int width, int height, int fps) {
- int c_result = SwigValueInit< int >() ;
- int jresult = 0 ;
- int jwidth ;
- int jheight ;
- int jfps ;
-
- if (!swig_callbackprepare) {
- return ProxyVideoConsumerCallback::prepare(width,height,fps);
- } else {
- jwidth = width;
- jheight = height;
- jfps = fps;
- jresult = (int) swig_callbackprepare(jwidth, jheight, jfps);
- c_result = (int)jresult;
- }
- return c_result;
-}
-
-int SwigDirector_ProxyVideoConsumerCallback::consume(ProxyVideoFrame const *frame) {
- int c_result = SwigValueInit< int >() ;
- int jresult = 0 ;
- void * jframe = 0 ;
-
- if (!swig_callbackconsume) {
- return ProxyVideoConsumerCallback::consume(frame);
- } else {
- jframe = (void *) frame;
- jresult = (int) swig_callbackconsume(jframe);
- c_result = (int)jresult;
- }
- return c_result;
-}
-
-int SwigDirector_ProxyVideoConsumerCallback::start() {
- int c_result = SwigValueInit< int >() ;
- int jresult = 0 ;
-
- if (!swig_callbackstart) {
- return ProxyVideoConsumerCallback::start();
- } else {
- jresult = (int) swig_callbackstart();
- c_result = (int)jresult;
- }
- return c_result;
-}
-
-int SwigDirector_ProxyVideoConsumerCallback::pause() {
- int c_result = SwigValueInit< int >() ;
- int jresult = 0 ;
-
- if (!swig_callbackpause) {
- return ProxyVideoConsumerCallback::pause();
- } else {
- jresult = (int) swig_callbackpause();
- c_result = (int)jresult;
- }
- return c_result;
-}
-
-int SwigDirector_ProxyVideoConsumerCallback::stop() {
- int c_result = SwigValueInit< int >() ;
- int jresult = 0 ;
-
- if (!swig_callbackstop) {
- return ProxyVideoConsumerCallback::stop();
- } else {
- jresult = (int) swig_callbackstop();
- c_result = (int)jresult;
- }
- return c_result;
-}
-
-void SwigDirector_ProxyVideoConsumerCallback::swig_connect_director(SWIG_Callback0_t callbackprepare, SWIG_Callback1_t callbackconsume, SWIG_Callback2_t callbackstart, SWIG_Callback3_t callbackpause, SWIG_Callback4_t callbackstop) {
- swig_callbackprepare = callbackprepare;
- swig_callbackconsume = callbackconsume;
- swig_callbackstart = callbackstart;
- swig_callbackpause = callbackpause;
- swig_callbackstop = callbackstop;
-}
-
-void SwigDirector_ProxyVideoConsumerCallback::swig_init_callbacks() {
- swig_callbackprepare = 0;
- swig_callbackconsume = 0;
- swig_callbackstart = 0;
- swig_callbackpause = 0;
- swig_callbackstop = 0;
-}
-
-SwigDirector_ProxyAudioProducerCallback::SwigDirector_ProxyAudioProducerCallback() : ProxyAudioProducerCallback(), Swig::Director() {
- swig_init_callbacks();
-}
-
-SwigDirector_ProxyAudioProducerCallback::~SwigDirector_ProxyAudioProducerCallback() {
-
-}
-
-
-int SwigDirector_ProxyAudioProducerCallback::prepare(int ptime, int rate, int channels) {
- int c_result = SwigValueInit< int >() ;
- int jresult = 0 ;
- int jptime ;
- int jrate ;
- int jchannels ;
-
- if (!swig_callbackprepare) {
- return ProxyAudioProducerCallback::prepare(ptime,rate,channels);
- } else {
- jptime = ptime;
- jrate = rate;
- jchannels = channels;
- jresult = (int) swig_callbackprepare(jptime, jrate, jchannels);
- c_result = (int)jresult;
- }
- return c_result;
-}
-
-int SwigDirector_ProxyAudioProducerCallback::start() {
- int c_result = SwigValueInit< int >() ;
- int jresult = 0 ;
-
- if (!swig_callbackstart) {
- return ProxyAudioProducerCallback::start();
- } else {
- jresult = (int) swig_callbackstart();
- c_result = (int)jresult;
- }
- return c_result;
-}
-
-int SwigDirector_ProxyAudioProducerCallback::pause() {
- int c_result = SwigValueInit< int >() ;
- int jresult = 0 ;
-
- if (!swig_callbackpause) {
- return ProxyAudioProducerCallback::pause();
- } else {
- jresult = (int) swig_callbackpause();
- c_result = (int)jresult;
- }
- return c_result;
-}
-
-int SwigDirector_ProxyAudioProducerCallback::stop() {
- int c_result = SwigValueInit< int >() ;
- int jresult = 0 ;
-
- if (!swig_callbackstop) {
- return ProxyAudioProducerCallback::stop();
- } else {
- jresult = (int) swig_callbackstop();
- c_result = (int)jresult;
- }
- return c_result;
-}
-
-void SwigDirector_ProxyAudioProducerCallback::swig_connect_director(SWIG_Callback0_t callbackprepare, SWIG_Callback1_t callbackstart, SWIG_Callback2_t callbackpause, SWIG_Callback3_t callbackstop) {
- swig_callbackprepare = callbackprepare;
- swig_callbackstart = callbackstart;
- swig_callbackpause = callbackpause;
- swig_callbackstop = callbackstop;
-}
-
-void SwigDirector_ProxyAudioProducerCallback::swig_init_callbacks() {
- swig_callbackprepare = 0;
- swig_callbackstart = 0;
- swig_callbackpause = 0;
- swig_callbackstop = 0;
-}
-
-SwigDirector_ProxyVideoProducerCallback::SwigDirector_ProxyVideoProducerCallback() : ProxyVideoProducerCallback(), Swig::Director() {
- swig_init_callbacks();
-}
-
-SwigDirector_ProxyVideoProducerCallback::~SwigDirector_ProxyVideoProducerCallback() {
-
-}
-
-
-int SwigDirector_ProxyVideoProducerCallback::prepare(int width, int height, int fps) {
- int c_result = SwigValueInit< int >() ;
- int jresult = 0 ;
- int jwidth ;
- int jheight ;
- int jfps ;
-
- if (!swig_callbackprepare) {
- return ProxyVideoProducerCallback::prepare(width,height,fps);
- } else {
- jwidth = width;
- jheight = height;
- jfps = fps;
- jresult = (int) swig_callbackprepare(jwidth, jheight, jfps);
- c_result = (int)jresult;
- }
- return c_result;
-}
-
-int SwigDirector_ProxyVideoProducerCallback::start() {
- int c_result = SwigValueInit< int >() ;
- int jresult = 0 ;
-
- if (!swig_callbackstart) {
- return ProxyVideoProducerCallback::start();
- } else {
- jresult = (int) swig_callbackstart();
- c_result = (int)jresult;
- }
- return c_result;
-}
-
-int SwigDirector_ProxyVideoProducerCallback::pause() {
- int c_result = SwigValueInit< int >() ;
- int jresult = 0 ;
-
- if (!swig_callbackpause) {
- return ProxyVideoProducerCallback::pause();
- } else {
- jresult = (int) swig_callbackpause();
- c_result = (int)jresult;
- }
- return c_result;
-}
-
-int SwigDirector_ProxyVideoProducerCallback::stop() {
- int c_result = SwigValueInit< int >() ;
- int jresult = 0 ;
-
- if (!swig_callbackstop) {
- return ProxyVideoProducerCallback::stop();
- } else {
- jresult = (int) swig_callbackstop();
- c_result = (int)jresult;
- }
- return c_result;
-}
-
-void SwigDirector_ProxyVideoProducerCallback::swig_connect_director(SWIG_Callback0_t callbackprepare, SWIG_Callback1_t callbackstart, SWIG_Callback2_t callbackpause, SWIG_Callback3_t callbackstop) {
- swig_callbackprepare = callbackprepare;
- swig_callbackstart = callbackstart;
- swig_callbackpause = callbackpause;
- swig_callbackstop = callbackstop;
-}
-
-void SwigDirector_ProxyVideoProducerCallback::swig_init_callbacks() {
- swig_callbackprepare = 0;
- swig_callbackstart = 0;
- swig_callbackpause = 0;
- swig_callbackstop = 0;
-}
-
-SwigDirector_SipCallback::SwigDirector_SipCallback() : SipCallback(), Swig::Director() {
- swig_init_callbacks();
-}
-
-SwigDirector_SipCallback::~SwigDirector_SipCallback() {
-
-}
-
-
-int SwigDirector_SipCallback::OnDialogEvent(DialogEvent const *e) {
- int c_result = SwigValueInit< int >() ;
- int jresult = 0 ;
- void * je = 0 ;
-
- if (!swig_callbackOnDialogEvent) {
- return SipCallback::OnDialogEvent(e);
- } else {
- je = (void *) e;
- jresult = (int) swig_callbackOnDialogEvent(je);
- c_result = (int)jresult;
- }
- return c_result;
-}
-
-int SwigDirector_SipCallback::OnStackEvent(StackEvent const *e) {
- int c_result = SwigValueInit< int >() ;
- int jresult = 0 ;
- void * je = 0 ;
-
- if (!swig_callbackOnStackEvent) {
- return SipCallback::OnStackEvent(e);
- } else {
- je = (void *) e;
- jresult = (int) swig_callbackOnStackEvent(je);
- c_result = (int)jresult;
- }
- return c_result;
-}
-
-int SwigDirector_SipCallback::OnInviteEvent(InviteEvent const *e) {
- int c_result = SwigValueInit< int >() ;
- int jresult = 0 ;
- void * je = 0 ;
-
- if (!swig_callbackOnInviteEvent) {
- return SipCallback::OnInviteEvent(e);
- } else {
- je = (void *) e;
- jresult = (int) swig_callbackOnInviteEvent(je);
- c_result = (int)jresult;
- }
- return c_result;
-}
-
-int SwigDirector_SipCallback::OnMessagingEvent(MessagingEvent const *e) {
- int c_result = SwigValueInit< int >() ;
- int jresult = 0 ;
- void * je = 0 ;
-
- if (!swig_callbackOnMessagingEvent) {
- return SipCallback::OnMessagingEvent(e);
- } else {
- je = (void *) e;
- jresult = (int) swig_callbackOnMessagingEvent(je);
- c_result = (int)jresult;
- }
- return c_result;
-}
-
-int SwigDirector_SipCallback::OnOptionsEvent(OptionsEvent const *e) {
- int c_result = SwigValueInit< int >() ;
- int jresult = 0 ;
- void * je = 0 ;
-
- if (!swig_callbackOnOptionsEvent) {
- return SipCallback::OnOptionsEvent(e);
- } else {
- je = (void *) e;
- jresult = (int) swig_callbackOnOptionsEvent(je);
- c_result = (int)jresult;
- }
- return c_result;
-}
-
-int SwigDirector_SipCallback::OnPublicationEvent(PublicationEvent const *e) {
- int c_result = SwigValueInit< int >() ;
- int jresult = 0 ;
- void * je = 0 ;
-
- if (!swig_callbackOnPublicationEvent) {
- return SipCallback::OnPublicationEvent(e);
- } else {
- je = (void *) e;
- jresult = (int) swig_callbackOnPublicationEvent(je);
- c_result = (int)jresult;
- }
- return c_result;
-}
-
-int SwigDirector_SipCallback::OnRegistrationEvent(RegistrationEvent const *e) {
- int c_result = SwigValueInit< int >() ;
- int jresult = 0 ;
- void * je = 0 ;
-
- if (!swig_callbackOnRegistrationEvent) {
- return SipCallback::OnRegistrationEvent(e);
- } else {
- je = (void *) e;
- jresult = (int) swig_callbackOnRegistrationEvent(je);
- c_result = (int)jresult;
- }
- return c_result;
-}
-
-int SwigDirector_SipCallback::OnSubscriptionEvent(SubscriptionEvent const *e) {
- int c_result = SwigValueInit< int >() ;
- int jresult = 0 ;
- void * je = 0 ;
-
- if (!swig_callbackOnSubscriptionEvent) {
- return SipCallback::OnSubscriptionEvent(e);
- } else {
- je = (void *) e;
- jresult = (int) swig_callbackOnSubscriptionEvent(je);
- c_result = (int)jresult;
- }
- return c_result;
-}
-
-void SwigDirector_SipCallback::swig_connect_director(SWIG_Callback0_t callbackOnDialogEvent, SWIG_Callback1_t callbackOnStackEvent, SWIG_Callback2_t callbackOnInviteEvent, SWIG_Callback3_t callbackOnMessagingEvent, SWIG_Callback4_t callbackOnOptionsEvent, SWIG_Callback5_t callbackOnPublicationEvent, SWIG_Callback6_t callbackOnRegistrationEvent, SWIG_Callback7_t callbackOnSubscriptionEvent) {
- swig_callbackOnDialogEvent = callbackOnDialogEvent;
- swig_callbackOnStackEvent = callbackOnStackEvent;
- swig_callbackOnInviteEvent = callbackOnInviteEvent;
- swig_callbackOnMessagingEvent = callbackOnMessagingEvent;
- swig_callbackOnOptionsEvent = callbackOnOptionsEvent;
- swig_callbackOnPublicationEvent = callbackOnPublicationEvent;
- swig_callbackOnRegistrationEvent = callbackOnRegistrationEvent;
- swig_callbackOnSubscriptionEvent = callbackOnSubscriptionEvent;
-}
-
-void SwigDirector_SipCallback::swig_init_callbacks() {
- swig_callbackOnDialogEvent = 0;
- swig_callbackOnStackEvent = 0;
- swig_callbackOnInviteEvent = 0;
- swig_callbackOnMessagingEvent = 0;
- swig_callbackOnOptionsEvent = 0;
- swig_callbackOnPublicationEvent = 0;
- swig_callbackOnRegistrationEvent = 0;
- swig_callbackOnSubscriptionEvent = 0;
-}
-
-SwigDirector_XcapCallback::SwigDirector_XcapCallback() : XcapCallback(), Swig::Director() {
- swig_init_callbacks();
-}
-
-SwigDirector_XcapCallback::~SwigDirector_XcapCallback() {
-
-}
-
-
-int SwigDirector_XcapCallback::onEvent(XcapEvent const *e) const {
- int c_result = SwigValueInit< int >() ;
- int jresult = 0 ;
- void * je = 0 ;
-
- if (!swig_callbackonEvent) {
- return XcapCallback::onEvent(e);
- } else {
- je = (void *) e;
- jresult = (int) swig_callbackonEvent(je);
- c_result = (int)jresult;
- }
- return c_result;
-}
-
-void SwigDirector_XcapCallback::swig_connect_director(SWIG_Callback0_t callbackonEvent) {
- swig_callbackonEvent = callbackonEvent;
-}
-
-void SwigDirector_XcapCallback::swig_init_callbacks() {
- swig_callbackonEvent = 0;
-}
-
-SwigDirector_MsrpCallback::SwigDirector_MsrpCallback() : MsrpCallback(), Swig::Director() {
- swig_init_callbacks();
-}
-
-SwigDirector_MsrpCallback::~SwigDirector_MsrpCallback() {
-
-}
-
-
-int SwigDirector_MsrpCallback::OnEvent(MsrpEvent const *e) {
- int c_result = SwigValueInit< int >() ;
- int jresult = 0 ;
- void * je = 0 ;
-
- if (!swig_callbackOnEvent) {
- return MsrpCallback::OnEvent(e);
- } else {
- je = (void *) e;
- jresult = (int) swig_callbackOnEvent(je);
- c_result = (int)jresult;
- }
- return c_result;
-}
-
-void SwigDirector_MsrpCallback::swig_connect_director(SWIG_Callback0_t callbackOnEvent) {
- swig_callbackOnEvent = callbackOnEvent;
-}
-
-void SwigDirector_MsrpCallback::swig_init_callbacks() {
- swig_callbackOnEvent = 0;
-}
-
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_new_DDebugCallback() {
- void * jresult ;
- DDebugCallback *result = 0 ;
-
- result = (DDebugCallback *)new SwigDirector_DDebugCallback();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_DDebugCallback(void * jarg1) {
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
-
- arg1 = (DDebugCallback *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_DDebugCallback_OnDebugInfo(void * jarg1, char * jarg2) {
- int jresult ;
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- int result;
-
- arg1 = (DDebugCallback *)jarg1;
- arg2 = (char *)jarg2;
- result = (int)(arg1)->OnDebugInfo((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_DDebugCallback_OnDebugInfoSwigExplicitDDebugCallback(void * jarg1, char * jarg2) {
- int jresult ;
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- int result;
-
- arg1 = (DDebugCallback *)jarg1;
- arg2 = (char *)jarg2;
- result = (int)(arg1)->DDebugCallback::OnDebugInfo((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_DDebugCallback_OnDebugWarn(void * jarg1, char * jarg2) {
- int jresult ;
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- int result;
-
- arg1 = (DDebugCallback *)jarg1;
- arg2 = (char *)jarg2;
- result = (int)(arg1)->OnDebugWarn((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_DDebugCallback_OnDebugWarnSwigExplicitDDebugCallback(void * jarg1, char * jarg2) {
- int jresult ;
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- int result;
-
- arg1 = (DDebugCallback *)jarg1;
- arg2 = (char *)jarg2;
- result = (int)(arg1)->DDebugCallback::OnDebugWarn((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_DDebugCallback_OnDebugError(void * jarg1, char * jarg2) {
- int jresult ;
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- int result;
-
- arg1 = (DDebugCallback *)jarg1;
- arg2 = (char *)jarg2;
- result = (int)(arg1)->OnDebugError((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_DDebugCallback_OnDebugErrorSwigExplicitDDebugCallback(void * jarg1, char * jarg2) {
- int jresult ;
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- int result;
-
- arg1 = (DDebugCallback *)jarg1;
- arg2 = (char *)jarg2;
- result = (int)(arg1)->DDebugCallback::OnDebugError((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_DDebugCallback_OnDebugFatal(void * jarg1, char * jarg2) {
- int jresult ;
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- int result;
-
- arg1 = (DDebugCallback *)jarg1;
- arg2 = (char *)jarg2;
- result = (int)(arg1)->OnDebugFatal((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_DDebugCallback_OnDebugFatalSwigExplicitDDebugCallback(void * jarg1, char * jarg2) {
- int jresult ;
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- int result;
-
- arg1 = (DDebugCallback *)jarg1;
- arg2 = (char *)jarg2;
- result = (int)(arg1)->DDebugCallback::OnDebugFatal((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_DDebugCallback_director_connect(void *objarg, SwigDirector_DDebugCallback::SWIG_Callback0_t callback0, SwigDirector_DDebugCallback::SWIG_Callback1_t callback1, SwigDirector_DDebugCallback::SWIG_Callback2_t callback2, SwigDirector_DDebugCallback::SWIG_Callback3_t callback3) {
- DDebugCallback *obj = (DDebugCallback *)objarg;
- SwigDirector_DDebugCallback *director = dynamic_cast<SwigDirector_DDebugCallback *>(obj);
- if (director) {
- director->swig_connect_director(callback0, callback1, callback2, callback3);
- }
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_new_ActionConfig() {
- void * jresult ;
- ActionConfig *result = 0 ;
-
- result = (ActionConfig *)new ActionConfig();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_ActionConfig(void * jarg1) {
- ActionConfig *arg1 = (ActionConfig *) 0 ;
-
- arg1 = (ActionConfig *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ActionConfig_addHeader(void * jarg1, char * jarg2, char * jarg3) {
- unsigned int jresult ;
- ActionConfig *arg1 = (ActionConfig *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- bool result;
-
- arg1 = (ActionConfig *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (char *)jarg3;
- result = (bool)(arg1)->addHeader((char const *)arg2,(char const *)arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_ActionConfig_setResponseLine(void * jarg1, short jarg2, char * jarg3) {
- void * jresult ;
- ActionConfig *arg1 = (ActionConfig *) 0 ;
- short arg2 ;
- char *arg3 = (char *) 0 ;
- ActionConfig *result = 0 ;
-
- arg1 = (ActionConfig *)jarg1;
- arg2 = (short)jarg2;
- arg3 = (char *)jarg3;
- result = (ActionConfig *)(arg1)->setResponseLine(arg2,(char const *)arg3);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_ActionConfig_setMediaString(void * jarg1, int jarg2, char * jarg3, char * jarg4) {
- void * jresult ;
- ActionConfig *arg1 = (ActionConfig *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- ActionConfig *result = 0 ;
-
- arg1 = (ActionConfig *)jarg1;
- arg2 = (twrap_media_type_t)jarg2;
- arg3 = (char *)jarg3;
- arg4 = (char *)jarg4;
- result = (ActionConfig *)(arg1)->setMediaString(arg2,(char const *)arg3,(char const *)arg4);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_ActionConfig_setMediaInt(void * jarg1, int jarg2, char * jarg3, int jarg4) {
- void * jresult ;
- ActionConfig *arg1 = (ActionConfig *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- int arg4 ;
- ActionConfig *result = 0 ;
-
- arg1 = (ActionConfig *)jarg1;
- arg2 = (twrap_media_type_t)jarg2;
- arg3 = (char *)jarg3;
- arg4 = (int)jarg4;
- result = (ActionConfig *)(arg1)->setMediaInt(arg2,(char const *)arg3,arg4);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_MediaSessionMgr(void * jarg1) {
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
-
- arg1 = (MediaSessionMgr *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_sessionSetInt32(void * jarg1, int jarg2, char * jarg3, int jarg4) {
- unsigned int jresult ;
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- int32_t arg4 ;
- bool result;
-
- arg1 = (MediaSessionMgr *)jarg1;
- arg2 = (twrap_media_type_t)jarg2;
- arg3 = (char *)jarg3;
- arg4 = (int32_t)jarg4;
- result = (bool)(arg1)->sessionSetInt32(arg2,(char const *)arg3,arg4);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_consumerSetInt32(void * jarg1, int jarg2, char * jarg3, int jarg4) {
- unsigned int jresult ;
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- int32_t arg4 ;
- bool result;
-
- arg1 = (MediaSessionMgr *)jarg1;
- arg2 = (twrap_media_type_t)jarg2;
- arg3 = (char *)jarg3;
- arg4 = (int32_t)jarg4;
- result = (bool)(arg1)->consumerSetInt32(arg2,(char const *)arg3,arg4);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_consumerSetInt64(void * jarg1, int jarg2, char * jarg3, long long jarg4) {
- unsigned int jresult ;
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- int64_t arg4 ;
- bool result;
-
- arg1 = (MediaSessionMgr *)jarg1;
- arg2 = (twrap_media_type_t)jarg2;
- arg3 = (char *)jarg3;
- arg4 = (int64_t)jarg4;
- result = (bool)(arg1)->consumerSetInt64(arg2,(char const *)arg3,arg4);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_producerSetInt32(void * jarg1, int jarg2, char * jarg3, int jarg4) {
- unsigned int jresult ;
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- int32_t arg4 ;
- bool result;
-
- arg1 = (MediaSessionMgr *)jarg1;
- arg2 = (twrap_media_type_t)jarg2;
- arg3 = (char *)jarg3;
- arg4 = (int32_t)jarg4;
- result = (bool)(arg1)->producerSetInt32(arg2,(char const *)arg3,arg4);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_producerSetInt64(void * jarg1, int jarg2, char * jarg3, long long jarg4) {
- unsigned int jresult ;
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- int64_t arg4 ;
- bool result;
-
- arg1 = (MediaSessionMgr *)jarg1;
- arg2 = (twrap_media_type_t)jarg2;
- arg3 = (char *)jarg3;
- arg4 = (int64_t)jarg4;
- result = (bool)(arg1)->producerSetInt64(arg2,(char const *)arg3,arg4);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_MediaSessionMgr_findProxyPluginConsumer(void * jarg1, int jarg2) {
- void * jresult ;
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- ProxyPlugin *result = 0 ;
-
- arg1 = (MediaSessionMgr *)jarg1;
- arg2 = (twrap_media_type_t)jarg2;
- result = (ProxyPlugin *)(arg1)->findProxyPluginConsumer(arg2);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_MediaSessionMgr_findProxyPluginProducer(void * jarg1, int jarg2) {
- void * jresult ;
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- ProxyPlugin *result = 0 ;
-
- arg1 = (MediaSessionMgr *)jarg1;
- arg2 = (twrap_media_type_t)jarg2;
- result = (ProxyPlugin *)(arg1)->findProxyPluginProducer(arg2);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_MediaContent(void * jarg1) {
- MediaContent *arg1 = (MediaContent *) 0 ;
-
- arg1 = (MediaContent *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_MediaContent_getType(void * jarg1) {
- char * jresult ;
- MediaContent *arg1 = (MediaContent *) 0 ;
- char *result = 0 ;
-
- arg1 = (MediaContent *)jarg1;
- result = (char *)(arg1)->getType();
- jresult = SWIG_csharp_string_callback((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaContent_getDataLength(void * jarg1) {
- unsigned int jresult ;
- MediaContent *arg1 = (MediaContent *) 0 ;
- unsigned int result;
-
- arg1 = (MediaContent *)jarg1;
- result = (unsigned int)(arg1)->getDataLength();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaContent_getData(void * jarg1, void * jarg2, unsigned int jarg3) {
- unsigned int jresult ;
- MediaContent *arg1 = (MediaContent *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int result;
-
- arg1 = (MediaContent *)jarg1;
- arg2 = jarg2;
- arg3 = (unsigned int)jarg3;
- result = (unsigned int)(arg1)->getData(arg2,arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_MediaContent_parse__SWIG_0(void * jarg1, unsigned int jarg2, char * jarg3) {
- void * jresult ;
- void *arg1 = (void *) 0 ;
- unsigned int arg2 ;
- char *arg3 = (char *) 0 ;
- MediaContent *result = 0 ;
-
- arg1 = jarg1;
- arg2 = (unsigned int)jarg2;
- arg3 = (char *)jarg3;
- result = (MediaContent *)MediaContent::parse((void const *)arg1,arg2,(char const *)arg3);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_MediaContent_parse__SWIG_1(void * jarg1, unsigned int jarg2) {
- void * jresult ;
- void *arg1 = (void *) 0 ;
- unsigned int arg2 ;
- MediaContentCPIM *result = 0 ;
-
- arg1 = jarg1;
- arg2 = (unsigned int)jarg2;
- result = (MediaContentCPIM *)MediaContent::parse((void const *)arg1,arg2);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaContent_getPayloadLength(void * jarg1) {
- unsigned int jresult ;
- MediaContent *arg1 = (MediaContent *) 0 ;
- unsigned int result;
-
- arg1 = (MediaContent *)jarg1;
- result = (unsigned int)(arg1)->getPayloadLength();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaContent_getPayload(void * jarg1, void * jarg2, unsigned int jarg3) {
- unsigned int jresult ;
- MediaContent *arg1 = (MediaContent *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int result;
-
- arg1 = (MediaContent *)jarg1;
- arg2 = jarg2;
- arg3 = (unsigned int)jarg3;
- result = (unsigned int)(arg1)->getPayload(arg2,arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_MediaContentCPIM(void * jarg1) {
- MediaContentCPIM *arg1 = (MediaContentCPIM *) 0 ;
-
- arg1 = (MediaContentCPIM *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaContentCPIM_getPayloadLength(void * jarg1) {
- unsigned int jresult ;
- MediaContentCPIM *arg1 = (MediaContentCPIM *) 0 ;
- unsigned int result;
-
- arg1 = (MediaContentCPIM *)jarg1;
- result = (unsigned int)(arg1)->getPayloadLength();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaContentCPIM_getPayload(void * jarg1, void * jarg2, unsigned int jarg3) {
- unsigned int jresult ;
- MediaContentCPIM *arg1 = (MediaContentCPIM *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int result;
-
- arg1 = (MediaContentCPIM *)jarg1;
- arg2 = jarg2;
- arg3 = (unsigned int)jarg3;
- result = (unsigned int)(arg1)->getPayload(arg2,arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_MediaContentCPIM_getHeaderValue(void * jarg1, char * jarg2) {
- char * jresult ;
- MediaContentCPIM *arg1 = (MediaContentCPIM *) 0 ;
- char *arg2 = (char *) 0 ;
- char *result = 0 ;
-
- arg1 = (MediaContentCPIM *)jarg1;
- arg2 = (char *)jarg2;
- result = (char *)(arg1)->getHeaderValue((char const *)arg2);
- jresult = SWIG_csharp_string_callback((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_new_SipUri(char * jarg1) {
- void * jresult ;
- char *arg1 = (char *) 0 ;
- SipUri *result = 0 ;
-
- arg1 = (char *)jarg1;
- result = (SipUri *)new SipUri((char const *)arg1);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_SipUri(void * jarg1) {
- SipUri *arg1 = (SipUri *) 0 ;
-
- arg1 = (SipUri *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipUri_isValid__SWIG_0(char * jarg1) {
- unsigned int jresult ;
- char *arg1 = (char *) 0 ;
- bool result;
-
- arg1 = (char *)jarg1;
- result = (bool)SipUri::isValid((char const *)arg1);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipUri_isValid__SWIG_1(void * jarg1) {
- unsigned int jresult ;
- SipUri *arg1 = (SipUri *) 0 ;
- bool result;
-
- arg1 = (SipUri *)jarg1;
- result = (bool)(arg1)->isValid();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_SipUri_getScheme(void * jarg1) {
- char * jresult ;
- SipUri *arg1 = (SipUri *) 0 ;
- char *result = 0 ;
-
- arg1 = (SipUri *)jarg1;
- result = (char *)(arg1)->getScheme();
- jresult = SWIG_csharp_string_callback((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_SipUri_getHost(void * jarg1) {
- char * jresult ;
- SipUri *arg1 = (SipUri *) 0 ;
- char *result = 0 ;
-
- arg1 = (SipUri *)jarg1;
- result = (char *)(arg1)->getHost();
- jresult = SWIG_csharp_string_callback((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT unsigned short SWIGSTDCALL CSharp_SipUri_getPort(void * jarg1) {
- unsigned short jresult ;
- SipUri *arg1 = (SipUri *) 0 ;
- unsigned short result;
-
- arg1 = (SipUri *)jarg1;
- result = (unsigned short)(arg1)->getPort();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_SipUri_getUserName(void * jarg1) {
- char * jresult ;
- SipUri *arg1 = (SipUri *) 0 ;
- char *result = 0 ;
-
- arg1 = (SipUri *)jarg1;
- result = (char *)(arg1)->getUserName();
- jresult = SWIG_csharp_string_callback((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_SipUri_getPassword(void * jarg1) {
- char * jresult ;
- SipUri *arg1 = (SipUri *) 0 ;
- char *result = 0 ;
-
- arg1 = (SipUri *)jarg1;
- result = (char *)(arg1)->getPassword();
- jresult = SWIG_csharp_string_callback((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_SipUri_getDisplayName(void * jarg1) {
- char * jresult ;
- SipUri *arg1 = (SipUri *) 0 ;
- char *result = 0 ;
-
- arg1 = (SipUri *)jarg1;
- result = (char *)(arg1)->getDisplayName();
- jresult = SWIG_csharp_string_callback((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_SipUri_getParamValue(void * jarg1, char * jarg2) {
- char * jresult ;
- SipUri *arg1 = (SipUri *) 0 ;
- char *arg2 = (char *) 0 ;
- char *result = 0 ;
-
- arg1 = (SipUri *)jarg1;
- arg2 = (char *)jarg2;
- result = (char *)(arg1)->getParamValue((char const *)arg2);
- jresult = SWIG_csharp_string_callback((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_new_SdpMessage() {
- void * jresult ;
- SdpMessage *result = 0 ;
-
- result = (SdpMessage *)new SdpMessage();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_SdpMessage(void * jarg1) {
- SdpMessage *arg1 = (SdpMessage *) 0 ;
-
- arg1 = (SdpMessage *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_SdpMessage_getSdpHeaderValue__SWIG_0(void * jarg1, char * jarg2, char jarg3, unsigned int jarg4) {
- char * jresult ;
- SdpMessage *arg1 = (SdpMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char arg3 ;
- unsigned int arg4 ;
- char *result = 0 ;
-
- arg1 = (SdpMessage *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (char)jarg3;
- arg4 = (unsigned int)jarg4;
- result = (char *)(arg1)->getSdpHeaderValue((char const *)arg2,arg3,arg4);
- jresult = SWIG_csharp_string_callback((const char *)result);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_SdpMessage_getSdpHeaderValue__SWIG_1(void * jarg1, char * jarg2, char jarg3) {
- char * jresult ;
- SdpMessage *arg1 = (SdpMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char arg3 ;
- char *result = 0 ;
-
- arg1 = (SdpMessage *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (char)jarg3;
- result = (char *)(arg1)->getSdpHeaderValue((char const *)arg2,arg3);
- jresult = SWIG_csharp_string_callback((const char *)result);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_SdpMessage_getSdpHeaderAValue(void * jarg1, char * jarg2, char * jarg3) {
- char * jresult ;
- SdpMessage *arg1 = (SdpMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *result = 0 ;
-
- arg1 = (SdpMessage *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (char *)jarg3;
- result = (char *)(arg1)->getSdpHeaderAValue((char const *)arg2,(char const *)arg3);
- jresult = SWIG_csharp_string_callback((const char *)result);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_new_SipMessage() {
- void * jresult ;
- SipMessage *result = 0 ;
-
- result = (SipMessage *)new SipMessage();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_SipMessage(void * jarg1) {
- SipMessage *arg1 = (SipMessage *) 0 ;
-
- arg1 = (SipMessage *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_SipMessage_getSipHeaderValue__SWIG_0(void * jarg1, char * jarg2, unsigned int jarg3) {
- char * jresult ;
- SipMessage *arg1 = (SipMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned int arg3 ;
- char *result = 0 ;
-
- arg1 = (SipMessage *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (unsigned int)jarg3;
- result = (char *)(arg1)->getSipHeaderValue((char const *)arg2,arg3);
- jresult = SWIG_csharp_string_callback((const char *)result);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_SipMessage_getSipHeaderValue__SWIG_1(void * jarg1, char * jarg2) {
- char * jresult ;
- SipMessage *arg1 = (SipMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *result = 0 ;
-
- arg1 = (SipMessage *)jarg1;
- arg2 = (char *)jarg2;
- result = (char *)(arg1)->getSipHeaderValue((char const *)arg2);
- jresult = SWIG_csharp_string_callback((const char *)result);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_SipMessage_getSipHeaderParamValue__SWIG_0(void * jarg1, char * jarg2, char * jarg3, unsigned int jarg4) {
- char * jresult ;
- SipMessage *arg1 = (SipMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- unsigned int arg4 ;
- char *result = 0 ;
-
- arg1 = (SipMessage *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (char *)jarg3;
- arg4 = (unsigned int)jarg4;
- result = (char *)(arg1)->getSipHeaderParamValue((char const *)arg2,(char const *)arg3,arg4);
- jresult = SWIG_csharp_string_callback((const char *)result);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_SipMessage_getSipHeaderParamValue__SWIG_1(void * jarg1, char * jarg2, char * jarg3) {
- char * jresult ;
- SipMessage *arg1 = (SipMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *result = 0 ;
-
- arg1 = (SipMessage *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (char *)jarg3;
- result = (char *)(arg1)->getSipHeaderParamValue((char const *)arg2,(char const *)arg3);
- jresult = SWIG_csharp_string_callback((const char *)result);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipMessage_getSipContentLength(void * jarg1) {
- unsigned int jresult ;
- SipMessage *arg1 = (SipMessage *) 0 ;
- unsigned int result;
-
- arg1 = (SipMessage *)jarg1;
- result = (unsigned int)(arg1)->getSipContentLength();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipMessage_getSipContent(void * jarg1, void * jarg2, unsigned int jarg3) {
- unsigned int jresult ;
- SipMessage *arg1 = (SipMessage *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int result;
-
- arg1 = (SipMessage *)jarg1;
- arg2 = jarg2;
- arg3 = (unsigned int)jarg3;
- result = (unsigned int)(arg1)->getSipContent(arg2,arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_SipMessage_getSdpMessage(void * jarg1) {
- void * jresult ;
- SipMessage *arg1 = (SipMessage *) 0 ;
- SdpMessage *result = 0 ;
-
- arg1 = (SipMessage *)jarg1;
- result = (SdpMessage *)(arg1)->getSdpMessage();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_SipEvent(void * jarg1) {
- SipEvent *arg1 = (SipEvent *) 0 ;
-
- arg1 = (SipEvent *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT short SWIGSTDCALL CSharp_SipEvent_getCode(void * jarg1) {
- short jresult ;
- SipEvent *arg1 = (SipEvent *) 0 ;
- short result;
-
- arg1 = (SipEvent *)jarg1;
- result = (short)((SipEvent const *)arg1)->getCode();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_SipEvent_getPhrase(void * jarg1) {
- char * jresult ;
- SipEvent *arg1 = (SipEvent *) 0 ;
- char *result = 0 ;
-
- arg1 = (SipEvent *)jarg1;
- result = (char *)((SipEvent const *)arg1)->getPhrase();
- jresult = SWIG_csharp_string_callback((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_SipEvent_getBaseSession(void * jarg1) {
- void * jresult ;
- SipEvent *arg1 = (SipEvent *) 0 ;
- SipSession *result = 0 ;
-
- arg1 = (SipEvent *)jarg1;
- result = (SipSession *)((SipEvent const *)arg1)->getBaseSession();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_SipEvent_getSipMessage(void * jarg1) {
- void * jresult ;
- SipEvent *arg1 = (SipEvent *) 0 ;
- SipMessage *result = 0 ;
-
- arg1 = (SipEvent *)jarg1;
- result = (SipMessage *)((SipEvent const *)arg1)->getSipMessage();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_DialogEvent(void * jarg1) {
- DialogEvent *arg1 = (DialogEvent *) 0 ;
-
- arg1 = (DialogEvent *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_StackEvent(void * jarg1) {
- StackEvent *arg1 = (StackEvent *) 0 ;
-
- arg1 = (StackEvent *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_InviteEvent(void * jarg1) {
- InviteEvent *arg1 = (InviteEvent *) 0 ;
-
- arg1 = (InviteEvent *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_InviteEvent_getType(void * jarg1) {
- int jresult ;
- InviteEvent *arg1 = (InviteEvent *) 0 ;
- tsip_invite_event_type_t result;
-
- arg1 = (InviteEvent *)jarg1;
- result = (tsip_invite_event_type_t)((InviteEvent const *)arg1)->getType();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_InviteEvent_getMediaType(void * jarg1) {
- int jresult ;
- InviteEvent *arg1 = (InviteEvent *) 0 ;
- twrap_media_type_t result;
-
- arg1 = (InviteEvent *)jarg1;
- result = (twrap_media_type_t)(arg1)->getMediaType();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_InviteEvent_getSession(void * jarg1) {
- void * jresult ;
- InviteEvent *arg1 = (InviteEvent *) 0 ;
- InviteSession *result = 0 ;
-
- arg1 = (InviteEvent *)jarg1;
- result = (InviteSession *)((InviteEvent const *)arg1)->getSession();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_InviteEvent_takeCallSessionOwnership(void * jarg1) {
- void * jresult ;
- InviteEvent *arg1 = (InviteEvent *) 0 ;
- CallSession *result = 0 ;
-
- arg1 = (InviteEvent *)jarg1;
- result = (CallSession *)((InviteEvent const *)arg1)->takeCallSessionOwnership();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_InviteEvent_takeMsrpSessionOwnership(void * jarg1) {
- void * jresult ;
- InviteEvent *arg1 = (InviteEvent *) 0 ;
- MsrpSession *result = 0 ;
-
- arg1 = (InviteEvent *)jarg1;
- result = (MsrpSession *)((InviteEvent const *)arg1)->takeMsrpSessionOwnership();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_MessagingEvent(void * jarg1) {
- MessagingEvent *arg1 = (MessagingEvent *) 0 ;
-
- arg1 = (MessagingEvent *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_MessagingEvent_getType(void * jarg1) {
- int jresult ;
- MessagingEvent *arg1 = (MessagingEvent *) 0 ;
- tsip_message_event_type_t result;
-
- arg1 = (MessagingEvent *)jarg1;
- result = (tsip_message_event_type_t)((MessagingEvent const *)arg1)->getType();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_MessagingEvent_getSession(void * jarg1) {
- void * jresult ;
- MessagingEvent *arg1 = (MessagingEvent *) 0 ;
- MessagingSession *result = 0 ;
-
- arg1 = (MessagingEvent *)jarg1;
- result = (MessagingSession *)((MessagingEvent const *)arg1)->getSession();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_MessagingEvent_takeSessionOwnership(void * jarg1) {
- void * jresult ;
- MessagingEvent *arg1 = (MessagingEvent *) 0 ;
- MessagingSession *result = 0 ;
-
- arg1 = (MessagingEvent *)jarg1;
- result = (MessagingSession *)((MessagingEvent const *)arg1)->takeSessionOwnership();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_OptionsEvent(void * jarg1) {
- OptionsEvent *arg1 = (OptionsEvent *) 0 ;
-
- arg1 = (OptionsEvent *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_OptionsEvent_getType(void * jarg1) {
- int jresult ;
- OptionsEvent *arg1 = (OptionsEvent *) 0 ;
- tsip_options_event_type_t result;
-
- arg1 = (OptionsEvent *)jarg1;
- result = (tsip_options_event_type_t)((OptionsEvent const *)arg1)->getType();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_OptionsEvent_getSession(void * jarg1) {
- void * jresult ;
- OptionsEvent *arg1 = (OptionsEvent *) 0 ;
- OptionsSession *result = 0 ;
-
- arg1 = (OptionsEvent *)jarg1;
- result = (OptionsSession *)((OptionsEvent const *)arg1)->getSession();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_PublicationEvent(void * jarg1) {
- PublicationEvent *arg1 = (PublicationEvent *) 0 ;
-
- arg1 = (PublicationEvent *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_PublicationEvent_getType(void * jarg1) {
- int jresult ;
- PublicationEvent *arg1 = (PublicationEvent *) 0 ;
- tsip_publish_event_type_t result;
-
- arg1 = (PublicationEvent *)jarg1;
- result = (tsip_publish_event_type_t)((PublicationEvent const *)arg1)->getType();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_PublicationEvent_getSession(void * jarg1) {
- void * jresult ;
- PublicationEvent *arg1 = (PublicationEvent *) 0 ;
- PublicationSession *result = 0 ;
-
- arg1 = (PublicationEvent *)jarg1;
- result = (PublicationSession *)((PublicationEvent const *)arg1)->getSession();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_RegistrationEvent(void * jarg1) {
- RegistrationEvent *arg1 = (RegistrationEvent *) 0 ;
-
- arg1 = (RegistrationEvent *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_RegistrationEvent_getType(void * jarg1) {
- int jresult ;
- RegistrationEvent *arg1 = (RegistrationEvent *) 0 ;
- tsip_register_event_type_t result;
-
- arg1 = (RegistrationEvent *)jarg1;
- result = (tsip_register_event_type_t)((RegistrationEvent const *)arg1)->getType();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_RegistrationEvent_getSession(void * jarg1) {
- void * jresult ;
- RegistrationEvent *arg1 = (RegistrationEvent *) 0 ;
- RegistrationSession *result = 0 ;
-
- arg1 = (RegistrationEvent *)jarg1;
- result = (RegistrationSession *)((RegistrationEvent const *)arg1)->getSession();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_RegistrationEvent_takeSessionOwnership(void * jarg1) {
- void * jresult ;
- RegistrationEvent *arg1 = (RegistrationEvent *) 0 ;
- RegistrationSession *result = 0 ;
-
- arg1 = (RegistrationEvent *)jarg1;
- result = (RegistrationSession *)((RegistrationEvent const *)arg1)->takeSessionOwnership();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_SubscriptionEvent(void * jarg1) {
- SubscriptionEvent *arg1 = (SubscriptionEvent *) 0 ;
-
- arg1 = (SubscriptionEvent *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_SubscriptionEvent_getType(void * jarg1) {
- int jresult ;
- SubscriptionEvent *arg1 = (SubscriptionEvent *) 0 ;
- tsip_subscribe_event_type_t result;
-
- arg1 = (SubscriptionEvent *)jarg1;
- result = (tsip_subscribe_event_type_t)((SubscriptionEvent const *)arg1)->getType();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_SubscriptionEvent_getSession(void * jarg1) {
- void * jresult ;
- SubscriptionEvent *arg1 = (SubscriptionEvent *) 0 ;
- SubscriptionSession *result = 0 ;
-
- arg1 = (SubscriptionEvent *)jarg1;
- result = (SubscriptionSession *)((SubscriptionEvent const *)arg1)->getSession();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_new_SipSession(void * jarg1) {
- void * jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- SipSession *result = 0 ;
-
- arg1 = (SipStack *)jarg1;
- result = (SipSession *)new SipSession(arg1);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_SipSession(void * jarg1) {
- SipSession *arg1 = (SipSession *) 0 ;
-
- arg1 = (SipSession *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_haveOwnership(void * jarg1) {
- unsigned int jresult ;
- SipSession *arg1 = (SipSession *) 0 ;
- bool result;
-
- arg1 = (SipSession *)jarg1;
- result = (bool)(arg1)->haveOwnership();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_addHeader(void * jarg1, char * jarg2, char * jarg3) {
- unsigned int jresult ;
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- bool result;
-
- arg1 = (SipSession *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (char *)jarg3;
- result = (bool)(arg1)->addHeader((char const *)arg2,(char const *)arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_removeHeader(void * jarg1, char * jarg2) {
- unsigned int jresult ;
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- arg1 = (SipSession *)jarg1;
- arg2 = (char *)jarg2;
- result = (bool)(arg1)->removeHeader((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_addCaps__SWIG_0(void * jarg1, char * jarg2, char * jarg3) {
- unsigned int jresult ;
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- bool result;
-
- arg1 = (SipSession *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (char *)jarg3;
- result = (bool)(arg1)->addCaps((char const *)arg2,(char const *)arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_addCaps__SWIG_1(void * jarg1, char * jarg2) {
- unsigned int jresult ;
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- arg1 = (SipSession *)jarg1;
- arg2 = (char *)jarg2;
- result = (bool)(arg1)->addCaps((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_removeCaps(void * jarg1, char * jarg2) {
- unsigned int jresult ;
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- arg1 = (SipSession *)jarg1;
- arg2 = (char *)jarg2;
- result = (bool)(arg1)->removeCaps((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_setExpires(void * jarg1, unsigned int jarg2) {
- unsigned int jresult ;
- SipSession *arg1 = (SipSession *) 0 ;
- unsigned int arg2 ;
- bool result;
-
- arg1 = (SipSession *)jarg1;
- arg2 = (unsigned int)jarg2;
- result = (bool)(arg1)->setExpires(arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_setFromUri(void * jarg1, char * jarg2) {
- unsigned int jresult ;
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- arg1 = (SipSession *)jarg1;
- arg2 = (char *)jarg2;
- result = (bool)(arg1)->setFromUri((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_setToUri(void * jarg1, char * jarg2) {
- unsigned int jresult ;
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- arg1 = (SipSession *)jarg1;
- arg2 = (char *)jarg2;
- result = (bool)(arg1)->setToUri((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_setSilentHangup(void * jarg1, unsigned int jarg2) {
- unsigned int jresult ;
- SipSession *arg1 = (SipSession *) 0 ;
- bool arg2 ;
- bool result;
-
- arg1 = (SipSession *)jarg1;
- arg2 = jarg2 ? true : false;
- result = (bool)(arg1)->setSilentHangup(arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_addSigCompCompartment(void * jarg1, char * jarg2) {
- unsigned int jresult ;
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- arg1 = (SipSession *)jarg1;
- arg2 = (char *)jarg2;
- result = (bool)(arg1)->addSigCompCompartment((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_removeSigCompCompartment(void * jarg1) {
- unsigned int jresult ;
- SipSession *arg1 = (SipSession *) 0 ;
- bool result;
-
- arg1 = (SipSession *)jarg1;
- result = (bool)(arg1)->removeSigCompCompartment();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_getId(void * jarg1) {
- unsigned int jresult ;
- SipSession *arg1 = (SipSession *) 0 ;
- unsigned int result;
-
- arg1 = (SipSession *)jarg1;
- result = (unsigned int)(arg1)->getId();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_new_InviteSession(void * jarg1) {
- void * jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- InviteSession *result = 0 ;
-
- arg1 = (SipStack *)jarg1;
- result = (InviteSession *)new InviteSession(arg1);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_InviteSession(void * jarg1) {
- InviteSession *arg1 = (InviteSession *) 0 ;
-
- arg1 = (InviteSession *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_InviteSession_accept__SWIG_0(void * jarg1, void * jarg2) {
- unsigned int jresult ;
- InviteSession *arg1 = (InviteSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- bool result;
-
- arg1 = (InviteSession *)jarg1;
- arg2 = (ActionConfig *)jarg2;
- result = (bool)(arg1)->accept(arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_InviteSession_accept__SWIG_1(void * jarg1) {
- unsigned int jresult ;
- InviteSession *arg1 = (InviteSession *) 0 ;
- bool result;
-
- arg1 = (InviteSession *)jarg1;
- result = (bool)(arg1)->accept();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_InviteSession_hangup__SWIG_0(void * jarg1, void * jarg2) {
- unsigned int jresult ;
- InviteSession *arg1 = (InviteSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- bool result;
-
- arg1 = (InviteSession *)jarg1;
- arg2 = (ActionConfig *)jarg2;
- result = (bool)(arg1)->hangup(arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_InviteSession_hangup__SWIG_1(void * jarg1) {
- unsigned int jresult ;
- InviteSession *arg1 = (InviteSession *) 0 ;
- bool result;
-
- arg1 = (InviteSession *)jarg1;
- result = (bool)(arg1)->hangup();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_InviteSession_reject__SWIG_0(void * jarg1, void * jarg2) {
- unsigned int jresult ;
- InviteSession *arg1 = (InviteSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- bool result;
-
- arg1 = (InviteSession *)jarg1;
- arg2 = (ActionConfig *)jarg2;
- result = (bool)(arg1)->reject(arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_InviteSession_reject__SWIG_1(void * jarg1) {
- unsigned int jresult ;
- InviteSession *arg1 = (InviteSession *) 0 ;
- bool result;
-
- arg1 = (InviteSession *)jarg1;
- result = (bool)(arg1)->reject();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_InviteSession_getMediaMgr(void * jarg1) {
- void * jresult ;
- InviteSession *arg1 = (InviteSession *) 0 ;
- MediaSessionMgr *result = 0 ;
-
- arg1 = (InviteSession *)jarg1;
- result = (MediaSessionMgr *)(arg1)->getMediaMgr();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_new_CallSession(void * jarg1) {
- void * jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- CallSession *result = 0 ;
-
- arg1 = (SipStack *)jarg1;
- result = (CallSession *)new CallSession(arg1);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_CallSession(void * jarg1) {
- CallSession *arg1 = (CallSession *) 0 ;
-
- arg1 = (CallSession *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_callAudio__SWIG_0(void * jarg1, char * jarg2, void * jarg3) {
- unsigned int jresult ;
- CallSession *arg1 = (CallSession *) 0 ;
- char *arg2 = (char *) 0 ;
- ActionConfig *arg3 = (ActionConfig *) 0 ;
- bool result;
-
- arg1 = (CallSession *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (ActionConfig *)jarg3;
- result = (bool)(arg1)->callAudio((char const *)arg2,arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_callAudio__SWIG_1(void * jarg1, char * jarg2) {
- unsigned int jresult ;
- CallSession *arg1 = (CallSession *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- arg1 = (CallSession *)jarg1;
- arg2 = (char *)jarg2;
- result = (bool)(arg1)->callAudio((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_callAudioVideo__SWIG_0(void * jarg1, char * jarg2, void * jarg3) {
- unsigned int jresult ;
- CallSession *arg1 = (CallSession *) 0 ;
- char *arg2 = (char *) 0 ;
- ActionConfig *arg3 = (ActionConfig *) 0 ;
- bool result;
-
- arg1 = (CallSession *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (ActionConfig *)jarg3;
- result = (bool)(arg1)->callAudioVideo((char const *)arg2,arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_callAudioVideo__SWIG_1(void * jarg1, char * jarg2) {
- unsigned int jresult ;
- CallSession *arg1 = (CallSession *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- arg1 = (CallSession *)jarg1;
- arg2 = (char *)jarg2;
- result = (bool)(arg1)->callAudioVideo((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_callVideo__SWIG_0(void * jarg1, char * jarg2, void * jarg3) {
- unsigned int jresult ;
- CallSession *arg1 = (CallSession *) 0 ;
- char *arg2 = (char *) 0 ;
- ActionConfig *arg3 = (ActionConfig *) 0 ;
- bool result;
-
- arg1 = (CallSession *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (ActionConfig *)jarg3;
- result = (bool)(arg1)->callVideo((char const *)arg2,arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_callVideo__SWIG_1(void * jarg1, char * jarg2) {
- unsigned int jresult ;
- CallSession *arg1 = (CallSession *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- arg1 = (CallSession *)jarg1;
- arg2 = (char *)jarg2;
- result = (bool)(arg1)->callVideo((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_setSessionTimer(void * jarg1, unsigned int jarg2, char * jarg3) {
- unsigned int jresult ;
- CallSession *arg1 = (CallSession *) 0 ;
- unsigned int arg2 ;
- char *arg3 = (char *) 0 ;
- bool result;
-
- arg1 = (CallSession *)jarg1;
- arg2 = (unsigned int)jarg2;
- arg3 = (char *)jarg3;
- result = (bool)(arg1)->setSessionTimer(arg2,(char const *)arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_set100rel(void * jarg1, unsigned int jarg2) {
- unsigned int jresult ;
- CallSession *arg1 = (CallSession *) 0 ;
- bool arg2 ;
- bool result;
-
- arg1 = (CallSession *)jarg1;
- arg2 = jarg2 ? true : false;
- result = (bool)(arg1)->set100rel(arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_setQoS(void * jarg1, int jarg2, int jarg3) {
- unsigned int jresult ;
- CallSession *arg1 = (CallSession *) 0 ;
- tmedia_qos_stype_t arg2 ;
- tmedia_qos_strength_t arg3 ;
- bool result;
-
- arg1 = (CallSession *)jarg1;
- arg2 = (tmedia_qos_stype_t)jarg2;
- arg3 = (tmedia_qos_strength_t)jarg3;
- result = (bool)(arg1)->setQoS(arg2,arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_hold__SWIG_0(void * jarg1, void * jarg2) {
- unsigned int jresult ;
- CallSession *arg1 = (CallSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- bool result;
-
- arg1 = (CallSession *)jarg1;
- arg2 = (ActionConfig *)jarg2;
- result = (bool)(arg1)->hold(arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_hold__SWIG_1(void * jarg1) {
- unsigned int jresult ;
- CallSession *arg1 = (CallSession *) 0 ;
- bool result;
-
- arg1 = (CallSession *)jarg1;
- result = (bool)(arg1)->hold();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_resume__SWIG_0(void * jarg1, void * jarg2) {
- unsigned int jresult ;
- CallSession *arg1 = (CallSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- bool result;
-
- arg1 = (CallSession *)jarg1;
- arg2 = (ActionConfig *)jarg2;
- result = (bool)(arg1)->resume(arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_resume__SWIG_1(void * jarg1) {
- unsigned int jresult ;
- CallSession *arg1 = (CallSession *) 0 ;
- bool result;
-
- arg1 = (CallSession *)jarg1;
- result = (bool)(arg1)->resume();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_sendDTMF(void * jarg1, int jarg2) {
- unsigned int jresult ;
- CallSession *arg1 = (CallSession *) 0 ;
- int arg2 ;
- bool result;
-
- arg1 = (CallSession *)jarg1;
- arg2 = (int)jarg2;
- result = (bool)(arg1)->sendDTMF(arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_new_MsrpSession(void * jarg1, void * jarg2) {
- void * jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- MsrpCallback *arg2 = (MsrpCallback *) 0 ;
- MsrpSession *result = 0 ;
-
- arg1 = (SipStack *)jarg1;
- arg2 = (MsrpCallback *)jarg2;
- result = (MsrpSession *)new MsrpSession(arg1,arg2);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_MsrpSession(void * jarg1) {
- MsrpSession *arg1 = (MsrpSession *) 0 ;
-
- arg1 = (MsrpSession *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MsrpSession_setCallback(void * jarg1, void * jarg2) {
- unsigned int jresult ;
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- MsrpCallback *arg2 = (MsrpCallback *) 0 ;
- bool result;
-
- arg1 = (MsrpSession *)jarg1;
- arg2 = (MsrpCallback *)jarg2;
- result = (bool)(arg1)->setCallback(arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MsrpSession_callMsrp__SWIG_0(void * jarg1, char * jarg2, void * jarg3) {
- unsigned int jresult ;
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- char *arg2 = (char *) 0 ;
- ActionConfig *arg3 = (ActionConfig *) 0 ;
- bool result;
-
- arg1 = (MsrpSession *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (ActionConfig *)jarg3;
- result = (bool)(arg1)->callMsrp((char const *)arg2,arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MsrpSession_callMsrp__SWIG_1(void * jarg1, char * jarg2) {
- unsigned int jresult ;
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- arg1 = (MsrpSession *)jarg1;
- arg2 = (char *)jarg2;
- result = (bool)(arg1)->callMsrp((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MsrpSession_sendMessage__SWIG_0(void * jarg1, void * jarg2, unsigned int jarg3, void * jarg4) {
- unsigned int jresult ;
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- ActionConfig *arg4 = (ActionConfig *) 0 ;
- bool result;
-
- arg1 = (MsrpSession *)jarg1;
- arg2 = jarg2;
- arg3 = (unsigned int)jarg3;
- arg4 = (ActionConfig *)jarg4;
- result = (bool)(arg1)->sendMessage((void const *)arg2,arg3,arg4);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MsrpSession_sendMessage__SWIG_1(void * jarg1, void * jarg2, unsigned int jarg3) {
- unsigned int jresult ;
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- bool result;
-
- arg1 = (MsrpSession *)jarg1;
- arg2 = jarg2;
- arg3 = (unsigned int)jarg3;
- result = (bool)(arg1)->sendMessage((void const *)arg2,arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MsrpSession_sendFile__SWIG_0(void * jarg1, void * jarg2) {
- unsigned int jresult ;
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- bool result;
-
- arg1 = (MsrpSession *)jarg1;
- arg2 = (ActionConfig *)jarg2;
- result = (bool)(arg1)->sendFile(arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MsrpSession_sendFile__SWIG_1(void * jarg1) {
- unsigned int jresult ;
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- bool result;
-
- arg1 = (MsrpSession *)jarg1;
- result = (bool)(arg1)->sendFile();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_new_MessagingSession(void * jarg1) {
- void * jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- MessagingSession *result = 0 ;
-
- arg1 = (SipStack *)jarg1;
- result = (MessagingSession *)new MessagingSession(arg1);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_MessagingSession(void * jarg1) {
- MessagingSession *arg1 = (MessagingSession *) 0 ;
-
- arg1 = (MessagingSession *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MessagingSession_send(void * jarg1, void * jarg2, unsigned int jarg3) {
- unsigned int jresult ;
- MessagingSession *arg1 = (MessagingSession *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- bool result;
-
- arg1 = (MessagingSession *)jarg1;
- arg2 = jarg2;
- arg3 = (unsigned int)jarg3;
- result = (bool)(arg1)->send((void const *)arg2,arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MessagingSession_accept(void * jarg1) {
- unsigned int jresult ;
- MessagingSession *arg1 = (MessagingSession *) 0 ;
- bool result;
-
- arg1 = (MessagingSession *)jarg1;
- result = (bool)(arg1)->accept();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MessagingSession_reject(void * jarg1) {
- unsigned int jresult ;
- MessagingSession *arg1 = (MessagingSession *) 0 ;
- bool result;
-
- arg1 = (MessagingSession *)jarg1;
- result = (bool)(arg1)->reject();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_new_OptionsSession(void * jarg1) {
- void * jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- OptionsSession *result = 0 ;
-
- arg1 = (SipStack *)jarg1;
- result = (OptionsSession *)new OptionsSession(arg1);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_OptionsSession(void * jarg1) {
- OptionsSession *arg1 = (OptionsSession *) 0 ;
-
- arg1 = (OptionsSession *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_OptionsSession_send(void * jarg1) {
- unsigned int jresult ;
- OptionsSession *arg1 = (OptionsSession *) 0 ;
- bool result;
-
- arg1 = (OptionsSession *)jarg1;
- result = (bool)(arg1)->send();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_new_PublicationSession(void * jarg1) {
- void * jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- PublicationSession *result = 0 ;
-
- arg1 = (SipStack *)jarg1;
- result = (PublicationSession *)new PublicationSession(arg1);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_PublicationSession(void * jarg1) {
- PublicationSession *arg1 = (PublicationSession *) 0 ;
-
- arg1 = (PublicationSession *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_PublicationSession_publish(void * jarg1, void * jarg2, unsigned int jarg3) {
- unsigned int jresult ;
- PublicationSession *arg1 = (PublicationSession *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- bool result;
-
- arg1 = (PublicationSession *)jarg1;
- arg2 = jarg2;
- arg3 = (unsigned int)jarg3;
- result = (bool)(arg1)->publish((void const *)arg2,arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_PublicationSession_unPublish(void * jarg1) {
- unsigned int jresult ;
- PublicationSession *arg1 = (PublicationSession *) 0 ;
- bool result;
-
- arg1 = (PublicationSession *)jarg1;
- result = (bool)(arg1)->unPublish();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_new_RegistrationSession(void * jarg1) {
- void * jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- RegistrationSession *result = 0 ;
-
- arg1 = (SipStack *)jarg1;
- result = (RegistrationSession *)new RegistrationSession(arg1);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_RegistrationSession(void * jarg1) {
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
-
- arg1 = (RegistrationSession *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_RegistrationSession_register_(void * jarg1) {
- unsigned int jresult ;
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
- bool result;
-
- arg1 = (RegistrationSession *)jarg1;
- result = (bool)(arg1)->register_();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_RegistrationSession_unRegister(void * jarg1) {
- unsigned int jresult ;
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
- bool result;
-
- arg1 = (RegistrationSession *)jarg1;
- result = (bool)(arg1)->unRegister();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_RegistrationSession_accept__SWIG_0(void * jarg1, void * jarg2) {
- unsigned int jresult ;
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- bool result;
-
- arg1 = (RegistrationSession *)jarg1;
- arg2 = (ActionConfig *)jarg2;
- result = (bool)(arg1)->accept(arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_RegistrationSession_accept__SWIG_1(void * jarg1) {
- unsigned int jresult ;
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
- bool result;
-
- arg1 = (RegistrationSession *)jarg1;
- result = (bool)(arg1)->accept();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_RegistrationSession_reject__SWIG_0(void * jarg1, void * jarg2) {
- unsigned int jresult ;
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- bool result;
-
- arg1 = (RegistrationSession *)jarg1;
- arg2 = (ActionConfig *)jarg2;
- result = (bool)(arg1)->reject(arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_RegistrationSession_reject__SWIG_1(void * jarg1) {
- unsigned int jresult ;
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
- bool result;
-
- arg1 = (RegistrationSession *)jarg1;
- result = (bool)(arg1)->reject();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_new_SubscriptionSession(void * jarg1) {
- void * jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- SubscriptionSession *result = 0 ;
-
- arg1 = (SipStack *)jarg1;
- result = (SubscriptionSession *)new SubscriptionSession(arg1);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_SubscriptionSession(void * jarg1) {
- SubscriptionSession *arg1 = (SubscriptionSession *) 0 ;
-
- arg1 = (SubscriptionSession *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SubscriptionSession_subscribe(void * jarg1) {
- unsigned int jresult ;
- SubscriptionSession *arg1 = (SubscriptionSession *) 0 ;
- bool result;
-
- arg1 = (SubscriptionSession *)jarg1;
- result = (bool)(arg1)->subscribe();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SubscriptionSession_unSubscribe(void * jarg1) {
- unsigned int jresult ;
- SubscriptionSession *arg1 = (SubscriptionSession *) 0 ;
- bool result;
-
- arg1 = (SubscriptionSession *)jarg1;
- result = (bool)(arg1)->unSubscribe();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_ProxyPluginMgr(void * jarg1) {
- ProxyPluginMgr *arg1 = (ProxyPluginMgr *) 0 ;
-
- arg1 = (ProxyPluginMgr *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_ProxyPluginMgr_createInstance(void * jarg1) {
- void * jresult ;
- ProxyPluginMgrCallback *arg1 = (ProxyPluginMgrCallback *) 0 ;
- ProxyPluginMgr *result = 0 ;
-
- arg1 = (ProxyPluginMgrCallback *)jarg1;
- result = (ProxyPluginMgr *)ProxyPluginMgr::createInstance(arg1);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_ProxyPluginMgr_getInstance() {
- void * jresult ;
- ProxyPluginMgr *result = 0 ;
-
- result = (ProxyPluginMgr *)ProxyPluginMgr::getInstance();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_ProxyPluginMgr_findAudioConsumer(void * jarg1, unsigned long long jarg2) {
- void * jresult ;
- ProxyPluginMgr *arg1 = (ProxyPluginMgr *) 0 ;
- uint64_t arg2 ;
- ProxyAudioConsumer *result = 0 ;
-
- arg1 = (ProxyPluginMgr *)jarg1;
- arg2 = (uint64_t)jarg2;
- result = (ProxyAudioConsumer *)(arg1)->findAudioConsumer(arg2);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_ProxyPluginMgr_findVideoConsumer(void * jarg1, unsigned long long jarg2) {
- void * jresult ;
- ProxyPluginMgr *arg1 = (ProxyPluginMgr *) 0 ;
- uint64_t arg2 ;
- ProxyVideoConsumer *result = 0 ;
-
- arg1 = (ProxyPluginMgr *)jarg1;
- arg2 = (uint64_t)jarg2;
- result = (ProxyVideoConsumer *)(arg1)->findVideoConsumer(arg2);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_ProxyPluginMgr_findAudioProducer(void * jarg1, unsigned long long jarg2) {
- void * jresult ;
- ProxyPluginMgr *arg1 = (ProxyPluginMgr *) 0 ;
- uint64_t arg2 ;
- ProxyAudioProducer *result = 0 ;
-
- arg1 = (ProxyPluginMgr *)jarg1;
- arg2 = (uint64_t)jarg2;
- result = (ProxyAudioProducer *)(arg1)->findAudioProducer(arg2);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_ProxyPluginMgr_findVideoProducer(void * jarg1, unsigned long long jarg2) {
- void * jresult ;
- ProxyPluginMgr *arg1 = (ProxyPluginMgr *) 0 ;
- uint64_t arg2 ;
- ProxyVideoProducer *result = 0 ;
-
- arg1 = (ProxyPluginMgr *)jarg1;
- arg2 = (uint64_t)jarg2;
- result = (ProxyVideoProducer *)(arg1)->findVideoProducer(arg2);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_new_ProxyPluginMgrCallback() {
- void * jresult ;
- ProxyPluginMgrCallback *result = 0 ;
-
- result = (ProxyPluginMgrCallback *)new SwigDirector_ProxyPluginMgrCallback();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_ProxyPluginMgrCallback(void * jarg1) {
- ProxyPluginMgrCallback *arg1 = (ProxyPluginMgrCallback *) 0 ;
-
- arg1 = (ProxyPluginMgrCallback *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyPluginMgrCallback_OnPluginCreated(void * jarg1, unsigned long long jarg2, int jarg3) {
- int jresult ;
- ProxyPluginMgrCallback *arg1 = (ProxyPluginMgrCallback *) 0 ;
- uint64_t arg2 ;
- enum twrap_proxy_plugin_type_e arg3 ;
- int result;
-
- arg1 = (ProxyPluginMgrCallback *)jarg1;
- arg2 = (uint64_t)jarg2;
- arg3 = (enum twrap_proxy_plugin_type_e)jarg3;
- result = (int)(arg1)->OnPluginCreated(arg2,arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyPluginMgrCallback_OnPluginCreatedSwigExplicitProxyPluginMgrCallback(void * jarg1, unsigned long long jarg2, int jarg3) {
- int jresult ;
- ProxyPluginMgrCallback *arg1 = (ProxyPluginMgrCallback *) 0 ;
- uint64_t arg2 ;
- enum twrap_proxy_plugin_type_e arg3 ;
- int result;
-
- arg1 = (ProxyPluginMgrCallback *)jarg1;
- arg2 = (uint64_t)jarg2;
- arg3 = (enum twrap_proxy_plugin_type_e)jarg3;
- result = (int)(arg1)->ProxyPluginMgrCallback::OnPluginCreated(arg2,arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyPluginMgrCallback_OnPluginDestroyed(void * jarg1, unsigned long long jarg2, int jarg3) {
- int jresult ;
- ProxyPluginMgrCallback *arg1 = (ProxyPluginMgrCallback *) 0 ;
- uint64_t arg2 ;
- enum twrap_proxy_plugin_type_e arg3 ;
- int result;
-
- arg1 = (ProxyPluginMgrCallback *)jarg1;
- arg2 = (uint64_t)jarg2;
- arg3 = (enum twrap_proxy_plugin_type_e)jarg3;
- result = (int)(arg1)->OnPluginDestroyed(arg2,arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyPluginMgrCallback_OnPluginDestroyedSwigExplicitProxyPluginMgrCallback(void * jarg1, unsigned long long jarg2, int jarg3) {
- int jresult ;
- ProxyPluginMgrCallback *arg1 = (ProxyPluginMgrCallback *) 0 ;
- uint64_t arg2 ;
- enum twrap_proxy_plugin_type_e arg3 ;
- int result;
-
- arg1 = (ProxyPluginMgrCallback *)jarg1;
- arg2 = (uint64_t)jarg2;
- arg3 = (enum twrap_proxy_plugin_type_e)jarg3;
- result = (int)(arg1)->ProxyPluginMgrCallback::OnPluginDestroyed(arg2,arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_ProxyPluginMgrCallback_director_connect(void *objarg, SwigDirector_ProxyPluginMgrCallback::SWIG_Callback0_t callback0, SwigDirector_ProxyPluginMgrCallback::SWIG_Callback1_t callback1) {
- ProxyPluginMgrCallback *obj = (ProxyPluginMgrCallback *)objarg;
- SwigDirector_ProxyPluginMgrCallback *director = dynamic_cast<SwigDirector_ProxyPluginMgrCallback *>(obj);
- if (director) {
- director->swig_connect_director(callback0, callback1);
- }
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_ProxyPlugin(void * jarg1) {
- ProxyPlugin *arg1 = (ProxyPlugin *) 0 ;
-
- arg1 = (ProxyPlugin *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyPlugin_getType(void * jarg1) {
- int jresult ;
- ProxyPlugin *arg1 = (ProxyPlugin *) 0 ;
- twrap_proxy_plugin_type_t result;
-
- arg1 = (ProxyPlugin *)jarg1;
- result = (twrap_proxy_plugin_type_t)((ProxyPlugin const *)arg1)->getType();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned long long SWIGSTDCALL CSharp_ProxyPlugin_getId(void * jarg1) {
- unsigned long long jresult ;
- ProxyPlugin *arg1 = (ProxyPlugin *) 0 ;
- uint64_t result;
-
- arg1 = (ProxyPlugin *)jarg1;
- result = (uint64_t)((ProxyPlugin const *)arg1)->getId();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_new_ProxyAudioConsumerCallback() {
- void * jresult ;
- ProxyAudioConsumerCallback *result = 0 ;
-
- result = (ProxyAudioConsumerCallback *)new SwigDirector_ProxyAudioConsumerCallback();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_ProxyAudioConsumerCallback(void * jarg1) {
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
-
- arg1 = (ProxyAudioConsumerCallback *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioConsumerCallback_prepare(void * jarg1, int jarg2, int jarg3, int jarg4) {
- int jresult ;
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- int result;
-
- arg1 = (ProxyAudioConsumerCallback *)jarg1;
- arg2 = (int)jarg2;
- arg3 = (int)jarg3;
- arg4 = (int)jarg4;
- result = (int)(arg1)->prepare(arg2,arg3,arg4);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioConsumerCallback_prepareSwigExplicitProxyAudioConsumerCallback(void * jarg1, int jarg2, int jarg3, int jarg4) {
- int jresult ;
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- int result;
-
- arg1 = (ProxyAudioConsumerCallback *)jarg1;
- arg2 = (int)jarg2;
- arg3 = (int)jarg3;
- arg4 = (int)jarg4;
- result = (int)(arg1)->ProxyAudioConsumerCallback::prepare(arg2,arg3,arg4);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioConsumerCallback_start(void * jarg1) {
- int jresult ;
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- int result;
-
- arg1 = (ProxyAudioConsumerCallback *)jarg1;
- result = (int)(arg1)->start();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioConsumerCallback_startSwigExplicitProxyAudioConsumerCallback(void * jarg1) {
- int jresult ;
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- int result;
-
- arg1 = (ProxyAudioConsumerCallback *)jarg1;
- result = (int)(arg1)->ProxyAudioConsumerCallback::start();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioConsumerCallback_pause(void * jarg1) {
- int jresult ;
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- int result;
-
- arg1 = (ProxyAudioConsumerCallback *)jarg1;
- result = (int)(arg1)->pause();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioConsumerCallback_pauseSwigExplicitProxyAudioConsumerCallback(void * jarg1) {
- int jresult ;
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- int result;
-
- arg1 = (ProxyAudioConsumerCallback *)jarg1;
- result = (int)(arg1)->ProxyAudioConsumerCallback::pause();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioConsumerCallback_stop(void * jarg1) {
- int jresult ;
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- int result;
-
- arg1 = (ProxyAudioConsumerCallback *)jarg1;
- result = (int)(arg1)->stop();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioConsumerCallback_stopSwigExplicitProxyAudioConsumerCallback(void * jarg1) {
- int jresult ;
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- int result;
-
- arg1 = (ProxyAudioConsumerCallback *)jarg1;
- result = (int)(arg1)->ProxyAudioConsumerCallback::stop();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_ProxyAudioConsumerCallback_director_connect(void *objarg, SwigDirector_ProxyAudioConsumerCallback::SWIG_Callback0_t callback0, SwigDirector_ProxyAudioConsumerCallback::SWIG_Callback1_t callback1, SwigDirector_ProxyAudioConsumerCallback::SWIG_Callback2_t callback2, SwigDirector_ProxyAudioConsumerCallback::SWIG_Callback3_t callback3) {
- ProxyAudioConsumerCallback *obj = (ProxyAudioConsumerCallback *)objarg;
- SwigDirector_ProxyAudioConsumerCallback *director = dynamic_cast<SwigDirector_ProxyAudioConsumerCallback *>(obj);
- if (director) {
- director->swig_connect_director(callback0, callback1, callback2, callback3);
- }
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_ProxyAudioConsumer(void * jarg1) {
- ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
-
- arg1 = (ProxyAudioConsumer *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyAudioConsumer_pull(void * jarg1, void * jarg2, unsigned int jarg3) {
- unsigned int jresult ;
- ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int result;
-
- arg1 = (ProxyAudioConsumer *)jarg1;
- arg2 = jarg2;
- arg3 = (unsigned int)jarg3;
- result = (unsigned int)(arg1)->pull(arg2,arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyAudioConsumer_reset(void * jarg1) {
- unsigned int jresult ;
- ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
- bool result;
-
- arg1 = (ProxyAudioConsumer *)jarg1;
- result = (bool)(arg1)->reset();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_ProxyAudioConsumer_setCallback(void * jarg1, void * jarg2) {
- ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
- ProxyAudioConsumerCallback *arg2 = (ProxyAudioConsumerCallback *) 0 ;
-
- arg1 = (ProxyAudioConsumer *)jarg1;
- arg2 = (ProxyAudioConsumerCallback *)jarg2;
- (arg1)->setCallback(arg2);
-}
-
-
-SWIGEXPORT unsigned long long SWIGSTDCALL CSharp_ProxyAudioConsumer_getMediaSessionId(void * jarg1) {
- unsigned long long jresult ;
- ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
- uint64_t result;
-
- arg1 = (ProxyAudioConsumer *)jarg1;
- result = (uint64_t)(arg1)->getMediaSessionId();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyAudioConsumer_registerPlugin() {
- unsigned int jresult ;
- bool result;
-
- result = (bool)ProxyAudioConsumer::registerPlugin();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_new_ProxyVideoConsumerCallback() {
- void * jresult ;
- ProxyVideoConsumerCallback *result = 0 ;
-
- result = (ProxyVideoConsumerCallback *)new SwigDirector_ProxyVideoConsumerCallback();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_ProxyVideoConsumerCallback(void * jarg1) {
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
-
- arg1 = (ProxyVideoConsumerCallback *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoConsumerCallback_prepare(void * jarg1, int jarg2, int jarg3, int jarg4) {
- int jresult ;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- int result;
-
- arg1 = (ProxyVideoConsumerCallback *)jarg1;
- arg2 = (int)jarg2;
- arg3 = (int)jarg3;
- arg4 = (int)jarg4;
- result = (int)(arg1)->prepare(arg2,arg3,arg4);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoConsumerCallback_prepareSwigExplicitProxyVideoConsumerCallback(void * jarg1, int jarg2, int jarg3, int jarg4) {
- int jresult ;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- int result;
-
- arg1 = (ProxyVideoConsumerCallback *)jarg1;
- arg2 = (int)jarg2;
- arg3 = (int)jarg3;
- arg4 = (int)jarg4;
- result = (int)(arg1)->ProxyVideoConsumerCallback::prepare(arg2,arg3,arg4);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoConsumerCallback_consume(void * jarg1, void * jarg2) {
- int jresult ;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- ProxyVideoFrame *arg2 = (ProxyVideoFrame *) 0 ;
- int result;
-
- arg1 = (ProxyVideoConsumerCallback *)jarg1;
- arg2 = (ProxyVideoFrame *)jarg2;
- result = (int)(arg1)->consume((ProxyVideoFrame const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoConsumerCallback_consumeSwigExplicitProxyVideoConsumerCallback(void * jarg1, void * jarg2) {
- int jresult ;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- ProxyVideoFrame *arg2 = (ProxyVideoFrame *) 0 ;
- int result;
-
- arg1 = (ProxyVideoConsumerCallback *)jarg1;
- arg2 = (ProxyVideoFrame *)jarg2;
- result = (int)(arg1)->ProxyVideoConsumerCallback::consume((ProxyVideoFrame const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoConsumerCallback_start(void * jarg1) {
- int jresult ;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- int result;
-
- arg1 = (ProxyVideoConsumerCallback *)jarg1;
- result = (int)(arg1)->start();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoConsumerCallback_startSwigExplicitProxyVideoConsumerCallback(void * jarg1) {
- int jresult ;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- int result;
-
- arg1 = (ProxyVideoConsumerCallback *)jarg1;
- result = (int)(arg1)->ProxyVideoConsumerCallback::start();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoConsumerCallback_pause(void * jarg1) {
- int jresult ;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- int result;
-
- arg1 = (ProxyVideoConsumerCallback *)jarg1;
- result = (int)(arg1)->pause();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoConsumerCallback_pauseSwigExplicitProxyVideoConsumerCallback(void * jarg1) {
- int jresult ;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- int result;
-
- arg1 = (ProxyVideoConsumerCallback *)jarg1;
- result = (int)(arg1)->ProxyVideoConsumerCallback::pause();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoConsumerCallback_stop(void * jarg1) {
- int jresult ;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- int result;
-
- arg1 = (ProxyVideoConsumerCallback *)jarg1;
- result = (int)(arg1)->stop();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoConsumerCallback_stopSwigExplicitProxyVideoConsumerCallback(void * jarg1) {
- int jresult ;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- int result;
-
- arg1 = (ProxyVideoConsumerCallback *)jarg1;
- result = (int)(arg1)->ProxyVideoConsumerCallback::stop();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_ProxyVideoConsumerCallback_director_connect(void *objarg, SwigDirector_ProxyVideoConsumerCallback::SWIG_Callback0_t callback0, SwigDirector_ProxyVideoConsumerCallback::SWIG_Callback1_t callback1, SwigDirector_ProxyVideoConsumerCallback::SWIG_Callback2_t callback2, SwigDirector_ProxyVideoConsumerCallback::SWIG_Callback3_t callback3, SwigDirector_ProxyVideoConsumerCallback::SWIG_Callback4_t callback4) {
- ProxyVideoConsumerCallback *obj = (ProxyVideoConsumerCallback *)objarg;
- SwigDirector_ProxyVideoConsumerCallback *director = dynamic_cast<SwigDirector_ProxyVideoConsumerCallback *>(obj);
- if (director) {
- director->swig_connect_director(callback0, callback1, callback2, callback3, callback4);
- }
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_ProxyVideoConsumer(void * jarg1) {
- ProxyVideoConsumer *arg1 = (ProxyVideoConsumer *) 0 ;
-
- arg1 = (ProxyVideoConsumer *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyVideoConsumer_setDisplaySize(void * jarg1, int jarg2, int jarg3) {
- unsigned int jresult ;
- ProxyVideoConsumer *arg1 = (ProxyVideoConsumer *) 0 ;
- int arg2 ;
- int arg3 ;
- bool result;
-
- arg1 = (ProxyVideoConsumer *)jarg1;
- arg2 = (int)jarg2;
- arg3 = (int)jarg3;
- result = (bool)(arg1)->setDisplaySize(arg2,arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_ProxyVideoConsumer_setCallback(void * jarg1, void * jarg2) {
- ProxyVideoConsumer *arg1 = (ProxyVideoConsumer *) 0 ;
- ProxyVideoConsumerCallback *arg2 = (ProxyVideoConsumerCallback *) 0 ;
-
- arg1 = (ProxyVideoConsumer *)jarg1;
- arg2 = (ProxyVideoConsumerCallback *)jarg2;
- (arg1)->setCallback(arg2);
-}
-
-
-SWIGEXPORT unsigned long long SWIGSTDCALL CSharp_ProxyVideoConsumer_getMediaSessionId(void * jarg1) {
- unsigned long long jresult ;
- ProxyVideoConsumer *arg1 = (ProxyVideoConsumer *) 0 ;
- uint64_t result;
-
- arg1 = (ProxyVideoConsumer *)jarg1;
- result = (uint64_t)(arg1)->getMediaSessionId();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyVideoConsumer_registerPlugin() {
- unsigned int jresult ;
- bool result;
-
- result = (bool)ProxyVideoConsumer::registerPlugin();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_ProxyVideoConsumer_setDefaultChroma(int jarg1) {
- tmedia_chroma_t arg1 ;
-
- arg1 = (tmedia_chroma_t)jarg1;
- ProxyVideoConsumer::setDefaultChroma(arg1);
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_ProxyVideoFrame(void * jarg1) {
- ProxyVideoFrame *arg1 = (ProxyVideoFrame *) 0 ;
-
- arg1 = (ProxyVideoFrame *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyVideoFrame_getSize(void * jarg1) {
- unsigned int jresult ;
- ProxyVideoFrame *arg1 = (ProxyVideoFrame *) 0 ;
- unsigned int result;
-
- arg1 = (ProxyVideoFrame *)jarg1;
- result = (unsigned int)(arg1)->getSize();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyVideoFrame_getContent(void * jarg1, void * jarg2, unsigned int jarg3) {
- unsigned int jresult ;
- ProxyVideoFrame *arg1 = (ProxyVideoFrame *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int result;
-
- arg1 = (ProxyVideoFrame *)jarg1;
- arg2 = jarg2;
- arg3 = (unsigned int)jarg3;
- result = (unsigned int)(arg1)->getContent(arg2,arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_new_ProxyAudioProducerCallback() {
- void * jresult ;
- ProxyAudioProducerCallback *result = 0 ;
-
- result = (ProxyAudioProducerCallback *)new SwigDirector_ProxyAudioProducerCallback();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_ProxyAudioProducerCallback(void * jarg1) {
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
-
- arg1 = (ProxyAudioProducerCallback *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioProducerCallback_prepare(void * jarg1, int jarg2, int jarg3, int jarg4) {
- int jresult ;
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- int result;
-
- arg1 = (ProxyAudioProducerCallback *)jarg1;
- arg2 = (int)jarg2;
- arg3 = (int)jarg3;
- arg4 = (int)jarg4;
- result = (int)(arg1)->prepare(arg2,arg3,arg4);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioProducerCallback_prepareSwigExplicitProxyAudioProducerCallback(void * jarg1, int jarg2, int jarg3, int jarg4) {
- int jresult ;
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- int result;
-
- arg1 = (ProxyAudioProducerCallback *)jarg1;
- arg2 = (int)jarg2;
- arg3 = (int)jarg3;
- arg4 = (int)jarg4;
- result = (int)(arg1)->ProxyAudioProducerCallback::prepare(arg2,arg3,arg4);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioProducerCallback_start(void * jarg1) {
- int jresult ;
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- int result;
-
- arg1 = (ProxyAudioProducerCallback *)jarg1;
- result = (int)(arg1)->start();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioProducerCallback_startSwigExplicitProxyAudioProducerCallback(void * jarg1) {
- int jresult ;
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- int result;
-
- arg1 = (ProxyAudioProducerCallback *)jarg1;
- result = (int)(arg1)->ProxyAudioProducerCallback::start();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioProducerCallback_pause(void * jarg1) {
- int jresult ;
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- int result;
-
- arg1 = (ProxyAudioProducerCallback *)jarg1;
- result = (int)(arg1)->pause();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioProducerCallback_pauseSwigExplicitProxyAudioProducerCallback(void * jarg1) {
- int jresult ;
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- int result;
-
- arg1 = (ProxyAudioProducerCallback *)jarg1;
- result = (int)(arg1)->ProxyAudioProducerCallback::pause();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioProducerCallback_stop(void * jarg1) {
- int jresult ;
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- int result;
-
- arg1 = (ProxyAudioProducerCallback *)jarg1;
- result = (int)(arg1)->stop();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioProducerCallback_stopSwigExplicitProxyAudioProducerCallback(void * jarg1) {
- int jresult ;
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- int result;
-
- arg1 = (ProxyAudioProducerCallback *)jarg1;
- result = (int)(arg1)->ProxyAudioProducerCallback::stop();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_ProxyAudioProducerCallback_director_connect(void *objarg, SwigDirector_ProxyAudioProducerCallback::SWIG_Callback0_t callback0, SwigDirector_ProxyAudioProducerCallback::SWIG_Callback1_t callback1, SwigDirector_ProxyAudioProducerCallback::SWIG_Callback2_t callback2, SwigDirector_ProxyAudioProducerCallback::SWIG_Callback3_t callback3) {
- ProxyAudioProducerCallback *obj = (ProxyAudioProducerCallback *)objarg;
- SwigDirector_ProxyAudioProducerCallback *director = dynamic_cast<SwigDirector_ProxyAudioProducerCallback *>(obj);
- if (director) {
- director->swig_connect_director(callback0, callback1, callback2, callback3);
- }
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_ProxyAudioProducer(void * jarg1) {
- ProxyAudioProducer *arg1 = (ProxyAudioProducer *) 0 ;
-
- arg1 = (ProxyAudioProducer *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioProducer_push(void * jarg1, void * jarg2, unsigned int jarg3) {
- int jresult ;
- ProxyAudioProducer *arg1 = (ProxyAudioProducer *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- int result;
-
- arg1 = (ProxyAudioProducer *)jarg1;
- arg2 = jarg2;
- arg3 = (unsigned int)jarg3;
- result = (int)(arg1)->push((void const *)arg2,arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_ProxyAudioProducer_setCallback(void * jarg1, void * jarg2) {
- ProxyAudioProducer *arg1 = (ProxyAudioProducer *) 0 ;
- ProxyAudioProducerCallback *arg2 = (ProxyAudioProducerCallback *) 0 ;
-
- arg1 = (ProxyAudioProducer *)jarg1;
- arg2 = (ProxyAudioProducerCallback *)jarg2;
- (arg1)->setCallback(arg2);
-}
-
-
-SWIGEXPORT unsigned long long SWIGSTDCALL CSharp_ProxyAudioProducer_getMediaSessionId(void * jarg1) {
- unsigned long long jresult ;
- ProxyAudioProducer *arg1 = (ProxyAudioProducer *) 0 ;
- uint64_t result;
-
- arg1 = (ProxyAudioProducer *)jarg1;
- result = (uint64_t)(arg1)->getMediaSessionId();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyAudioProducer_registerPlugin() {
- unsigned int jresult ;
- bool result;
-
- result = (bool)ProxyAudioProducer::registerPlugin();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_new_ProxyVideoProducerCallback() {
- void * jresult ;
- ProxyVideoProducerCallback *result = 0 ;
-
- result = (ProxyVideoProducerCallback *)new SwigDirector_ProxyVideoProducerCallback();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_ProxyVideoProducerCallback(void * jarg1) {
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
-
- arg1 = (ProxyVideoProducerCallback *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoProducerCallback_prepare(void * jarg1, int jarg2, int jarg3, int jarg4) {
- int jresult ;
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- int result;
-
- arg1 = (ProxyVideoProducerCallback *)jarg1;
- arg2 = (int)jarg2;
- arg3 = (int)jarg3;
- arg4 = (int)jarg4;
- result = (int)(arg1)->prepare(arg2,arg3,arg4);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoProducerCallback_prepareSwigExplicitProxyVideoProducerCallback(void * jarg1, int jarg2, int jarg3, int jarg4) {
- int jresult ;
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- int result;
-
- arg1 = (ProxyVideoProducerCallback *)jarg1;
- arg2 = (int)jarg2;
- arg3 = (int)jarg3;
- arg4 = (int)jarg4;
- result = (int)(arg1)->ProxyVideoProducerCallback::prepare(arg2,arg3,arg4);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoProducerCallback_start(void * jarg1) {
- int jresult ;
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- int result;
-
- arg1 = (ProxyVideoProducerCallback *)jarg1;
- result = (int)(arg1)->start();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoProducerCallback_startSwigExplicitProxyVideoProducerCallback(void * jarg1) {
- int jresult ;
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- int result;
-
- arg1 = (ProxyVideoProducerCallback *)jarg1;
- result = (int)(arg1)->ProxyVideoProducerCallback::start();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoProducerCallback_pause(void * jarg1) {
- int jresult ;
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- int result;
-
- arg1 = (ProxyVideoProducerCallback *)jarg1;
- result = (int)(arg1)->pause();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoProducerCallback_pauseSwigExplicitProxyVideoProducerCallback(void * jarg1) {
- int jresult ;
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- int result;
-
- arg1 = (ProxyVideoProducerCallback *)jarg1;
- result = (int)(arg1)->ProxyVideoProducerCallback::pause();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoProducerCallback_stop(void * jarg1) {
- int jresult ;
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- int result;
-
- arg1 = (ProxyVideoProducerCallback *)jarg1;
- result = (int)(arg1)->stop();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoProducerCallback_stopSwigExplicitProxyVideoProducerCallback(void * jarg1) {
- int jresult ;
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- int result;
-
- arg1 = (ProxyVideoProducerCallback *)jarg1;
- result = (int)(arg1)->ProxyVideoProducerCallback::stop();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_ProxyVideoProducerCallback_director_connect(void *objarg, SwigDirector_ProxyVideoProducerCallback::SWIG_Callback0_t callback0, SwigDirector_ProxyVideoProducerCallback::SWIG_Callback1_t callback1, SwigDirector_ProxyVideoProducerCallback::SWIG_Callback2_t callback2, SwigDirector_ProxyVideoProducerCallback::SWIG_Callback3_t callback3) {
- ProxyVideoProducerCallback *obj = (ProxyVideoProducerCallback *)objarg;
- SwigDirector_ProxyVideoProducerCallback *director = dynamic_cast<SwigDirector_ProxyVideoProducerCallback *>(obj);
- if (director) {
- director->swig_connect_director(callback0, callback1, callback2, callback3);
- }
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_ProxyVideoProducer(void * jarg1) {
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
-
- arg1 = (ProxyVideoProducer *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoProducer_getRotation(void * jarg1) {
- int jresult ;
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
- int result;
-
- arg1 = (ProxyVideoProducer *)jarg1;
- result = (int)(arg1)->getRotation();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_ProxyVideoProducer_setRotation(void * jarg1, int jarg2) {
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
- int arg2 ;
-
- arg1 = (ProxyVideoProducer *)jarg1;
- arg2 = (int)jarg2;
- (arg1)->setRotation(arg2);
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoProducer_push(void * jarg1, void * jarg2, unsigned int jarg3) {
- int jresult ;
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- int result;
-
- arg1 = (ProxyVideoProducer *)jarg1;
- arg2 = jarg2;
- arg3 = (unsigned int)jarg3;
- result = (int)(arg1)->push((void const *)arg2,arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoProducer_send(void * jarg1, void * jarg2, unsigned int jarg3, unsigned int jarg4, unsigned int jarg5) {
- int jresult ;
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int arg4 ;
- bool arg5 ;
- int result;
-
- arg1 = (ProxyVideoProducer *)jarg1;
- arg2 = jarg2;
- arg3 = (unsigned int)jarg3;
- arg4 = (unsigned int)jarg4;
- arg5 = jarg5 ? true : false;
- result = (int)(arg1)->send((void const *)arg2,arg3,arg4,arg5);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_ProxyVideoProducer_setCallback(void * jarg1, void * jarg2) {
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
- ProxyVideoProducerCallback *arg2 = (ProxyVideoProducerCallback *) 0 ;
-
- arg1 = (ProxyVideoProducer *)jarg1;
- arg2 = (ProxyVideoProducerCallback *)jarg2;
- (arg1)->setCallback(arg2);
-}
-
-
-SWIGEXPORT unsigned long long SWIGSTDCALL CSharp_ProxyVideoProducer_getMediaSessionId(void * jarg1) {
- unsigned long long jresult ;
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
- uint64_t result;
-
- arg1 = (ProxyVideoProducer *)jarg1;
- result = (uint64_t)(arg1)->getMediaSessionId();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyVideoProducer_registerPlugin() {
- unsigned int jresult ;
- bool result;
-
- result = (bool)ProxyVideoProducer::registerPlugin();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_ProxyVideoProducer_setDefaultChroma(int jarg1) {
- tmedia_chroma_t arg1 ;
-
- arg1 = (tmedia_chroma_t)jarg1;
- ProxyVideoProducer::setDefaultChroma(arg1);
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_new_SipCallback() {
- void * jresult ;
- SipCallback *result = 0 ;
-
- result = (SipCallback *)new SwigDirector_SipCallback();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_SipCallback(void * jarg1) {
- SipCallback *arg1 = (SipCallback *) 0 ;
-
- arg1 = (SipCallback *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_SipCallback_OnDialogEvent(void * jarg1, void * jarg2) {
- int jresult ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- DialogEvent *arg2 = (DialogEvent *) 0 ;
- int result;
-
- arg1 = (SipCallback *)jarg1;
- arg2 = (DialogEvent *)jarg2;
- result = (int)(arg1)->OnDialogEvent((DialogEvent const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_SipCallback_OnDialogEventSwigExplicitSipCallback(void * jarg1, void * jarg2) {
- int jresult ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- DialogEvent *arg2 = (DialogEvent *) 0 ;
- int result;
-
- arg1 = (SipCallback *)jarg1;
- arg2 = (DialogEvent *)jarg2;
- result = (int)(arg1)->SipCallback::OnDialogEvent((DialogEvent const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_SipCallback_OnStackEvent(void * jarg1, void * jarg2) {
- int jresult ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- StackEvent *arg2 = (StackEvent *) 0 ;
- int result;
-
- arg1 = (SipCallback *)jarg1;
- arg2 = (StackEvent *)jarg2;
- result = (int)(arg1)->OnStackEvent((StackEvent const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_SipCallback_OnStackEventSwigExplicitSipCallback(void * jarg1, void * jarg2) {
- int jresult ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- StackEvent *arg2 = (StackEvent *) 0 ;
- int result;
-
- arg1 = (SipCallback *)jarg1;
- arg2 = (StackEvent *)jarg2;
- result = (int)(arg1)->SipCallback::OnStackEvent((StackEvent const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_SipCallback_OnInviteEvent(void * jarg1, void * jarg2) {
- int jresult ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- InviteEvent *arg2 = (InviteEvent *) 0 ;
- int result;
-
- arg1 = (SipCallback *)jarg1;
- arg2 = (InviteEvent *)jarg2;
- result = (int)(arg1)->OnInviteEvent((InviteEvent const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_SipCallback_OnInviteEventSwigExplicitSipCallback(void * jarg1, void * jarg2) {
- int jresult ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- InviteEvent *arg2 = (InviteEvent *) 0 ;
- int result;
-
- arg1 = (SipCallback *)jarg1;
- arg2 = (InviteEvent *)jarg2;
- result = (int)(arg1)->SipCallback::OnInviteEvent((InviteEvent const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_SipCallback_OnMessagingEvent(void * jarg1, void * jarg2) {
- int jresult ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- MessagingEvent *arg2 = (MessagingEvent *) 0 ;
- int result;
-
- arg1 = (SipCallback *)jarg1;
- arg2 = (MessagingEvent *)jarg2;
- result = (int)(arg1)->OnMessagingEvent((MessagingEvent const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_SipCallback_OnMessagingEventSwigExplicitSipCallback(void * jarg1, void * jarg2) {
- int jresult ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- MessagingEvent *arg2 = (MessagingEvent *) 0 ;
- int result;
-
- arg1 = (SipCallback *)jarg1;
- arg2 = (MessagingEvent *)jarg2;
- result = (int)(arg1)->SipCallback::OnMessagingEvent((MessagingEvent const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_SipCallback_OnOptionsEvent(void * jarg1, void * jarg2) {
- int jresult ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- OptionsEvent *arg2 = (OptionsEvent *) 0 ;
- int result;
-
- arg1 = (SipCallback *)jarg1;
- arg2 = (OptionsEvent *)jarg2;
- result = (int)(arg1)->OnOptionsEvent((OptionsEvent const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_SipCallback_OnOptionsEventSwigExplicitSipCallback(void * jarg1, void * jarg2) {
- int jresult ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- OptionsEvent *arg2 = (OptionsEvent *) 0 ;
- int result;
-
- arg1 = (SipCallback *)jarg1;
- arg2 = (OptionsEvent *)jarg2;
- result = (int)(arg1)->SipCallback::OnOptionsEvent((OptionsEvent const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_SipCallback_OnPublicationEvent(void * jarg1, void * jarg2) {
- int jresult ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- PublicationEvent *arg2 = (PublicationEvent *) 0 ;
- int result;
-
- arg1 = (SipCallback *)jarg1;
- arg2 = (PublicationEvent *)jarg2;
- result = (int)(arg1)->OnPublicationEvent((PublicationEvent const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_SipCallback_OnPublicationEventSwigExplicitSipCallback(void * jarg1, void * jarg2) {
- int jresult ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- PublicationEvent *arg2 = (PublicationEvent *) 0 ;
- int result;
-
- arg1 = (SipCallback *)jarg1;
- arg2 = (PublicationEvent *)jarg2;
- result = (int)(arg1)->SipCallback::OnPublicationEvent((PublicationEvent const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_SipCallback_OnRegistrationEvent(void * jarg1, void * jarg2) {
- int jresult ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- RegistrationEvent *arg2 = (RegistrationEvent *) 0 ;
- int result;
-
- arg1 = (SipCallback *)jarg1;
- arg2 = (RegistrationEvent *)jarg2;
- result = (int)(arg1)->OnRegistrationEvent((RegistrationEvent const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_SipCallback_OnRegistrationEventSwigExplicitSipCallback(void * jarg1, void * jarg2) {
- int jresult ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- RegistrationEvent *arg2 = (RegistrationEvent *) 0 ;
- int result;
-
- arg1 = (SipCallback *)jarg1;
- arg2 = (RegistrationEvent *)jarg2;
- result = (int)(arg1)->SipCallback::OnRegistrationEvent((RegistrationEvent const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_SipCallback_OnSubscriptionEvent(void * jarg1, void * jarg2) {
- int jresult ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- SubscriptionEvent *arg2 = (SubscriptionEvent *) 0 ;
- int result;
-
- arg1 = (SipCallback *)jarg1;
- arg2 = (SubscriptionEvent *)jarg2;
- result = (int)(arg1)->OnSubscriptionEvent((SubscriptionEvent const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_SipCallback_OnSubscriptionEventSwigExplicitSipCallback(void * jarg1, void * jarg2) {
- int jresult ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- SubscriptionEvent *arg2 = (SubscriptionEvent *) 0 ;
- int result;
-
- arg1 = (SipCallback *)jarg1;
- arg2 = (SubscriptionEvent *)jarg2;
- result = (int)(arg1)->SipCallback::OnSubscriptionEvent((SubscriptionEvent const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_SipCallback_director_connect(void *objarg, SwigDirector_SipCallback::SWIG_Callback0_t callback0, SwigDirector_SipCallback::SWIG_Callback1_t callback1, SwigDirector_SipCallback::SWIG_Callback2_t callback2, SwigDirector_SipCallback::SWIG_Callback3_t callback3, SwigDirector_SipCallback::SWIG_Callback4_t callback4, SwigDirector_SipCallback::SWIG_Callback5_t callback5, SwigDirector_SipCallback::SWIG_Callback6_t callback6, SwigDirector_SipCallback::SWIG_Callback7_t callback7) {
- SipCallback *obj = (SipCallback *)objarg;
- SwigDirector_SipCallback *director = dynamic_cast<SwigDirector_SipCallback *>(obj);
- if (director) {
- director->swig_connect_director(callback0, callback1, callback2, callback3, callback4, callback5, callback6, callback7);
- }
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_new_SafeObject() {
- void * jresult ;
- SafeObject *result = 0 ;
-
- result = (SafeObject *)new SafeObject();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_SafeObject(void * jarg1) {
- SafeObject *arg1 = (SafeObject *) 0 ;
-
- arg1 = (SafeObject *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_SafeObject_Lock(void * jarg1) {
- int jresult ;
- SafeObject *arg1 = (SafeObject *) 0 ;
- int result;
-
- arg1 = (SafeObject *)jarg1;
- result = (int)((SafeObject const *)arg1)->Lock();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_SafeObject_UnLock(void * jarg1) {
- int jresult ;
- SafeObject *arg1 = (SafeObject *) 0 ;
- int result;
-
- arg1 = (SafeObject *)jarg1;
- result = (int)((SafeObject const *)arg1)->UnLock();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_new_SipStack(void * jarg1, char * jarg2, char * jarg3, char * jarg4) {
- void * jresult ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- SipStack *result = 0 ;
-
- arg1 = (SipCallback *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (char *)jarg3;
- arg4 = (char *)jarg4;
- result = (SipStack *)new SipStack(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_SipStack(void * jarg1) {
- SipStack *arg1 = (SipStack *) 0 ;
-
- arg1 = (SipStack *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_start(void * jarg1) {
- unsigned int jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- bool result;
-
- arg1 = (SipStack *)jarg1;
- result = (bool)(arg1)->start();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setDebugCallback(void * jarg1, void * jarg2) {
- unsigned int jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- DDebugCallback *arg2 = (DDebugCallback *) 0 ;
- bool result;
-
- arg1 = (SipStack *)jarg1;
- arg2 = (DDebugCallback *)jarg2;
- result = (bool)(arg1)->setDebugCallback(arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setRealm(void * jarg1, char * jarg2) {
- unsigned int jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- arg1 = (SipStack *)jarg1;
- arg2 = (char *)jarg2;
- result = (bool)(arg1)->setRealm((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setIMPI(void * jarg1, char * jarg2) {
- unsigned int jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- arg1 = (SipStack *)jarg1;
- arg2 = (char *)jarg2;
- result = (bool)(arg1)->setIMPI((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setIMPU(void * jarg1, char * jarg2) {
- unsigned int jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- arg1 = (SipStack *)jarg1;
- arg2 = (char *)jarg2;
- result = (bool)(arg1)->setIMPU((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setPassword(void * jarg1, char * jarg2) {
- unsigned int jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- arg1 = (SipStack *)jarg1;
- arg2 = (char *)jarg2;
- result = (bool)(arg1)->setPassword((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setAMF(void * jarg1, char * jarg2) {
- unsigned int jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- arg1 = (SipStack *)jarg1;
- arg2 = (char *)jarg2;
- result = (bool)(arg1)->setAMF((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setOperatorId(void * jarg1, char * jarg2) {
- unsigned int jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- arg1 = (SipStack *)jarg1;
- arg2 = (char *)jarg2;
- result = (bool)(arg1)->setOperatorId((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setProxyCSCF(void * jarg1, char * jarg2, unsigned short jarg3, char * jarg4, char * jarg5) {
- unsigned int jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned short arg3 ;
- char *arg4 = (char *) 0 ;
- char *arg5 = (char *) 0 ;
- bool result;
-
- arg1 = (SipStack *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (unsigned short)jarg3;
- arg4 = (char *)jarg4;
- arg5 = (char *)jarg5;
- result = (bool)(arg1)->setProxyCSCF((char const *)arg2,arg3,(char const *)arg4,(char const *)arg5);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setLocalIP(void * jarg1, char * jarg2) {
- unsigned int jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- arg1 = (SipStack *)jarg1;
- arg2 = (char *)jarg2;
- result = (bool)(arg1)->setLocalIP((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setLocalPort(void * jarg1, unsigned short jarg2) {
- unsigned int jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- unsigned short arg2 ;
- bool result;
-
- arg1 = (SipStack *)jarg1;
- arg2 = (unsigned short)jarg2;
- result = (bool)(arg1)->setLocalPort(arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setEarlyIMS(void * jarg1, unsigned int jarg2) {
- unsigned int jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- bool arg2 ;
- bool result;
-
- arg1 = (SipStack *)jarg1;
- arg2 = jarg2 ? true : false;
- result = (bool)(arg1)->setEarlyIMS(arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_addHeader(void * jarg1, char * jarg2, char * jarg3) {
- unsigned int jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- bool result;
-
- arg1 = (SipStack *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (char *)jarg3;
- result = (bool)(arg1)->addHeader((char const *)arg2,(char const *)arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_removeHeader(void * jarg1, char * jarg2) {
- unsigned int jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- arg1 = (SipStack *)jarg1;
- arg2 = (char *)jarg2;
- result = (bool)(arg1)->removeHeader((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_addDnsServer(void * jarg1, char * jarg2) {
- unsigned int jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- arg1 = (SipStack *)jarg1;
- arg2 = (char *)jarg2;
- result = (bool)(arg1)->addDnsServer((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setDnsDiscovery(void * jarg1, unsigned int jarg2) {
- unsigned int jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- bool arg2 ;
- bool result;
-
- arg1 = (SipStack *)jarg1;
- arg2 = jarg2 ? true : false;
- result = (bool)(arg1)->setDnsDiscovery(arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setAoR(void * jarg1, char * jarg2, int jarg3) {
- unsigned int jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- int arg3 ;
- bool result;
-
- arg1 = (SipStack *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (int)jarg3;
- result = (bool)(arg1)->setAoR((char const *)arg2,arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setSigCompParams(void * jarg1, unsigned int jarg2, unsigned int jarg3, unsigned int jarg4, unsigned int jarg5) {
- unsigned int jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- unsigned int arg2 ;
- unsigned int arg3 ;
- unsigned int arg4 ;
- bool arg5 ;
- bool result;
-
- arg1 = (SipStack *)jarg1;
- arg2 = (unsigned int)jarg2;
- arg3 = (unsigned int)jarg3;
- arg4 = (unsigned int)jarg4;
- arg5 = jarg5 ? true : false;
- result = (bool)(arg1)->setSigCompParams(arg2,arg3,arg4,arg5);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_addSigCompCompartment(void * jarg1, char * jarg2) {
- unsigned int jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- arg1 = (SipStack *)jarg1;
- arg2 = (char *)jarg2;
- result = (bool)(arg1)->addSigCompCompartment((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_removeSigCompCompartment(void * jarg1, char * jarg2) {
- unsigned int jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- arg1 = (SipStack *)jarg1;
- arg2 = (char *)jarg2;
- result = (bool)(arg1)->removeSigCompCompartment((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setSTUNServer(void * jarg1, char * jarg2, unsigned short jarg3) {
- unsigned int jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned short arg3 ;
- bool result;
-
- arg1 = (SipStack *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (unsigned short)jarg3;
- result = (bool)(arg1)->setSTUNServer((char const *)arg2,arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setSTUNCred(void * jarg1, char * jarg2, char * jarg3) {
- unsigned int jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- bool result;
-
- arg1 = (SipStack *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (char *)jarg3;
- result = (bool)(arg1)->setSTUNCred((char const *)arg2,(char const *)arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setTLSSecAgree(void * jarg1, unsigned int jarg2) {
- unsigned int jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- bool arg2 ;
- bool result;
-
- arg1 = (SipStack *)jarg1;
- arg2 = jarg2 ? true : false;
- result = (bool)(arg1)->setTLSSecAgree(arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setSSLCretificates(void * jarg1, char * jarg2, char * jarg3, char * jarg4) {
- unsigned int jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- bool result;
-
- arg1 = (SipStack *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (char *)jarg3;
- arg4 = (char *)jarg4;
- result = (bool)(arg1)->setSSLCretificates((char const *)arg2,(char const *)arg3,(char const *)arg4);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setIPSecSecAgree(void * jarg1, unsigned int jarg2) {
- unsigned int jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- bool arg2 ;
- bool result;
-
- arg1 = (SipStack *)jarg1;
- arg2 = jarg2 ? true : false;
- result = (bool)(arg1)->setIPSecSecAgree(arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setIPSecParameters(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5) {
- unsigned int jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- char *arg5 = (char *) 0 ;
- bool result;
-
- arg1 = (SipStack *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (char *)jarg3;
- arg4 = (char *)jarg4;
- arg5 = (char *)jarg5;
- result = (bool)(arg1)->setIPSecParameters((char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_SipStack_dnsENUM(void * jarg1, char * jarg2, char * jarg3, char * jarg4) {
- char * jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- char *result = 0 ;
-
- arg1 = (SipStack *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (char *)jarg3;
- arg4 = (char *)jarg4;
- result = (char *)(arg1)->dnsENUM((char const *)arg2,(char const *)arg3,(char const *)arg4);
- jresult = SWIG_csharp_string_callback((const char *)result);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_SipStack_dnsNaptrSrv(void * jarg1, char * jarg2, char * jarg3, unsigned short * jarg4) {
- char * jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- unsigned short *arg4 = (unsigned short *) 0 ;
- char *result = 0 ;
-
- arg1 = (SipStack *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (char *)jarg3;
- arg4 = (unsigned short *)jarg4;
- result = (char *)(arg1)->dnsNaptrSrv((char const *)arg2,(char const *)arg3,arg4);
- jresult = SWIG_csharp_string_callback((const char *)result);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_SipStack_dnsSrv(void * jarg1, char * jarg2, unsigned short * jarg3) {
- char * jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned short *arg3 = (unsigned short *) 0 ;
- char *result = 0 ;
-
- arg1 = (SipStack *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (unsigned short *)jarg3;
- result = (char *)(arg1)->dnsSrv((char const *)arg2,arg3);
- jresult = SWIG_csharp_string_callback((const char *)result);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_SipStack_getLocalIPnPort(void * jarg1, char * jarg2, unsigned short * jarg3) {
- char * jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned short *arg3 = (unsigned short *) 0 ;
- char *result = 0 ;
-
- arg1 = (SipStack *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (unsigned short *)jarg3;
- result = (char *)(arg1)->getLocalIPnPort((char const *)arg2,arg3);
- jresult = SWIG_csharp_string_callback((const char *)result);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_SipStack_getPreferredIdentity(void * jarg1) {
- char * jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *result = 0 ;
-
- arg1 = (SipStack *)jarg1;
- result = (char *)(arg1)->getPreferredIdentity();
- jresult = SWIG_csharp_string_callback((const char *)result);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_isValid(void * jarg1) {
- unsigned int jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- bool result;
-
- arg1 = (SipStack *)jarg1;
- result = (bool)(arg1)->isValid();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_stop(void * jarg1) {
- unsigned int jresult ;
- SipStack *arg1 = (SipStack *) 0 ;
- bool result;
-
- arg1 = (SipStack *)jarg1;
- result = (bool)(arg1)->stop();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_SipStack_setCodecs(int jarg1) {
- tdav_codec_id_t arg1 ;
-
- arg1 = (tdav_codec_id_t)jarg1;
- SipStack::setCodecs(arg1);
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_SipStack_setCodecs_2(int jarg1) {
- int arg1 ;
-
- arg1 = (int)jarg1;
- SipStack::setCodecs_2(arg1);
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_isCodecSupported(int jarg1) {
- unsigned int jresult ;
- tdav_codec_id_t arg1 ;
- bool result;
-
- arg1 = (tdav_codec_id_t)jarg1;
- result = (bool)SipStack::isCodecSupported(arg1);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_transport_error_get() {
- int jresult ;
- int result;
-
- result = (int) 702;
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_global_error_get() {
- int jresult ;
- int result;
-
- result = (int) 703;
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_message_error_get() {
- int jresult ;
- int result;
-
- result = (int) 704;
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_request_incoming_get() {
- int jresult ;
- int result;
-
- result = (int) 800;
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_request_cancelled_get() {
- int jresult ;
- int result;
-
- result = (int) 801;
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_request_sent_get() {
- int jresult ;
- int result;
-
- result = (int) 802;
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_connecting_get() {
- int jresult ;
- int result;
-
- result = (int) 900;
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_connected_get() {
- int jresult ;
- int result;
-
- result = (int) 901;
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_terminating_get() {
- int jresult ;
- int result;
-
- result = (int) 902;
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_terminated_get() {
- int jresult ;
- int result;
-
- result = (int) 903;
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_stack_started_get() {
- int jresult ;
- int result;
-
- result = (int) 950;
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_stack_stopped_get() {
- int jresult ;
- int result;
-
- result = (int) 951;
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_stack_failed_to_start_get() {
- int jresult ;
- int result;
-
- result = (int) 952;
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_stack_failed_to_stop_get() {
- int jresult ;
- int result;
-
- result = (int) 953;
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_new_XcapSelector(void * jarg1) {
- void * jresult ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- XcapSelector *result = 0 ;
-
- arg1 = (XcapStack *)jarg1;
- result = (XcapSelector *)new XcapSelector(arg1);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_XcapSelector(void * jarg1) {
- XcapSelector *arg1 = (XcapSelector *) 0 ;
-
- arg1 = (XcapSelector *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_XcapSelector_setAUID(void * jarg1, char * jarg2) {
- void * jresult ;
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- char *arg2 = (char *) 0 ;
- XcapSelector *result = 0 ;
-
- arg1 = (XcapSelector *)jarg1;
- arg2 = (char *)jarg2;
- result = (XcapSelector *)(arg1)->setAUID((char const *)arg2);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_XcapSelector_setName(void * jarg1, char * jarg2) {
- void * jresult ;
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- char *arg2 = (char *) 0 ;
- XcapSelector *result = 0 ;
-
- arg1 = (XcapSelector *)jarg1;
- arg2 = (char *)jarg2;
- result = (XcapSelector *)(arg1)->setName((char const *)arg2);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_XcapSelector_setAttribute(void * jarg1, char * jarg2, char * jarg3, char * jarg4) {
- void * jresult ;
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- XcapSelector *result = 0 ;
-
- arg1 = (XcapSelector *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (char *)jarg3;
- arg4 = (char *)jarg4;
- result = (XcapSelector *)(arg1)->setAttribute((char const *)arg2,(char const *)arg3,(char const *)arg4);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_XcapSelector_setPos(void * jarg1, char * jarg2, unsigned int jarg3) {
- void * jresult ;
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned int arg3 ;
- XcapSelector *result = 0 ;
-
- arg1 = (XcapSelector *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (unsigned int)jarg3;
- result = (XcapSelector *)(arg1)->setPos((char const *)arg2,arg3);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_XcapSelector_setPosAttribute(void * jarg1, char * jarg2, unsigned int jarg3, char * jarg4, char * jarg5) {
- void * jresult ;
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned int arg3 ;
- char *arg4 = (char *) 0 ;
- char *arg5 = (char *) 0 ;
- XcapSelector *result = 0 ;
-
- arg1 = (XcapSelector *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (unsigned int)jarg3;
- arg4 = (char *)jarg4;
- arg5 = (char *)jarg5;
- result = (XcapSelector *)(arg1)->setPosAttribute((char const *)arg2,arg3,(char const *)arg4,(char const *)arg5);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_XcapSelector_setNamespace(void * jarg1, char * jarg2, char * jarg3) {
- void * jresult ;
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- XcapSelector *result = 0 ;
-
- arg1 = (XcapSelector *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (char *)jarg3;
- result = (XcapSelector *)(arg1)->setNamespace((char const *)arg2,(char const *)arg3);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_XcapSelector_getString(void * jarg1) {
- char * jresult ;
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- char *result = 0 ;
-
- arg1 = (XcapSelector *)jarg1;
- result = (char *)(arg1)->getString();
- jresult = SWIG_csharp_string_callback((const char *)result);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_XcapSelector_reset(void * jarg1) {
- XcapSelector *arg1 = (XcapSelector *) 0 ;
-
- arg1 = (XcapSelector *)jarg1;
- (arg1)->reset();
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_new_XcapMessage() {
- void * jresult ;
- XcapMessage *result = 0 ;
-
- result = (XcapMessage *)new XcapMessage();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_XcapMessage(void * jarg1) {
- XcapMessage *arg1 = (XcapMessage *) 0 ;
-
- arg1 = (XcapMessage *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT short SWIGSTDCALL CSharp_XcapMessage_getCode(void * jarg1) {
- short jresult ;
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- short result;
-
- arg1 = (XcapMessage *)jarg1;
- result = (short)((XcapMessage const *)arg1)->getCode();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_XcapMessage_getPhrase(void * jarg1) {
- char * jresult ;
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- char *result = 0 ;
-
- arg1 = (XcapMessage *)jarg1;
- result = (char *)((XcapMessage const *)arg1)->getPhrase();
- jresult = SWIG_csharp_string_callback((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_XcapMessage_getXcapHeaderValue__SWIG_0(void * jarg1, char * jarg2, unsigned int jarg3) {
- char * jresult ;
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned int arg3 ;
- char *result = 0 ;
-
- arg1 = (XcapMessage *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (unsigned int)jarg3;
- result = (char *)(arg1)->getXcapHeaderValue((char const *)arg2,arg3);
- jresult = SWIG_csharp_string_callback((const char *)result);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_XcapMessage_getXcapHeaderValue__SWIG_1(void * jarg1, char * jarg2) {
- char * jresult ;
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *result = 0 ;
-
- arg1 = (XcapMessage *)jarg1;
- arg2 = (char *)jarg2;
- result = (char *)(arg1)->getXcapHeaderValue((char const *)arg2);
- jresult = SWIG_csharp_string_callback((const char *)result);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_XcapMessage_getXcapHeaderParamValue__SWIG_0(void * jarg1, char * jarg2, char * jarg3, unsigned int jarg4) {
- char * jresult ;
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- unsigned int arg4 ;
- char *result = 0 ;
-
- arg1 = (XcapMessage *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (char *)jarg3;
- arg4 = (unsigned int)jarg4;
- result = (char *)(arg1)->getXcapHeaderParamValue((char const *)arg2,(char const *)arg3,arg4);
- jresult = SWIG_csharp_string_callback((const char *)result);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_XcapMessage_getXcapHeaderParamValue__SWIG_1(void * jarg1, char * jarg2, char * jarg3) {
- char * jresult ;
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *result = 0 ;
-
- arg1 = (XcapMessage *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (char *)jarg3;
- result = (char *)(arg1)->getXcapHeaderParamValue((char const *)arg2,(char const *)arg3);
- jresult = SWIG_csharp_string_callback((const char *)result);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapMessage_getXcapContentLength(void * jarg1) {
- unsigned int jresult ;
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- unsigned int result;
-
- arg1 = (XcapMessage *)jarg1;
- result = (unsigned int)(arg1)->getXcapContentLength();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapMessage_getXcapContent(void * jarg1, void * jarg2, unsigned int jarg3) {
- unsigned int jresult ;
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int result;
-
- arg1 = (XcapMessage *)jarg1;
- arg2 = jarg2;
- arg3 = (unsigned int)jarg3;
- result = (unsigned int)(arg1)->getXcapContent(arg2,arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_XcapEvent(void * jarg1) {
- XcapEvent *arg1 = (XcapEvent *) 0 ;
-
- arg1 = (XcapEvent *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_XcapEvent_getType(void * jarg1) {
- int jresult ;
- XcapEvent *arg1 = (XcapEvent *) 0 ;
- thttp_event_type_t result;
-
- arg1 = (XcapEvent *)jarg1;
- result = (thttp_event_type_t)(arg1)->getType();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_XcapEvent_getXcapMessage(void * jarg1) {
- void * jresult ;
- XcapEvent *arg1 = (XcapEvent *) 0 ;
- XcapMessage *result = 0 ;
-
- arg1 = (XcapEvent *)jarg1;
- result = (XcapMessage *)((XcapEvent const *)arg1)->getXcapMessage();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_new_XcapCallback() {
- void * jresult ;
- XcapCallback *result = 0 ;
-
- result = (XcapCallback *)new SwigDirector_XcapCallback();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_XcapCallback(void * jarg1) {
- XcapCallback *arg1 = (XcapCallback *) 0 ;
-
- arg1 = (XcapCallback *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_XcapCallback_onEvent(void * jarg1, void * jarg2) {
- int jresult ;
- XcapCallback *arg1 = (XcapCallback *) 0 ;
- XcapEvent *arg2 = (XcapEvent *) 0 ;
- int result;
-
- arg1 = (XcapCallback *)jarg1;
- arg2 = (XcapEvent *)jarg2;
- result = (int)((XcapCallback const *)arg1)->onEvent((XcapEvent const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_XcapCallback_onEventSwigExplicitXcapCallback(void * jarg1, void * jarg2) {
- int jresult ;
- XcapCallback *arg1 = (XcapCallback *) 0 ;
- XcapEvent *arg2 = (XcapEvent *) 0 ;
- int result;
-
- arg1 = (XcapCallback *)jarg1;
- arg2 = (XcapEvent *)jarg2;
- result = (int)((XcapCallback const *)arg1)->XcapCallback::onEvent((XcapEvent const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_XcapCallback_director_connect(void *objarg, SwigDirector_XcapCallback::SWIG_Callback0_t callback0) {
- XcapCallback *obj = (XcapCallback *)objarg;
- SwigDirector_XcapCallback *director = dynamic_cast<SwigDirector_XcapCallback *>(obj);
- if (director) {
- director->swig_connect_director(callback0);
- }
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_new_XcapStack(void * jarg1, char * jarg2, char * jarg3, char * jarg4) {
- void * jresult ;
- XcapCallback *arg1 = (XcapCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- XcapStack *result = 0 ;
-
- arg1 = (XcapCallback *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (char *)jarg3;
- arg4 = (char *)jarg4;
- result = (XcapStack *)new XcapStack(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_XcapStack(void * jarg1) {
- XcapStack *arg1 = (XcapStack *) 0 ;
-
- arg1 = (XcapStack *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_registerAUID(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, unsigned int jarg6) {
- unsigned int jresult ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- char *arg5 = (char *) 0 ;
- bool arg6 ;
- bool result;
-
- arg1 = (XcapStack *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (char *)jarg3;
- arg4 = (char *)jarg4;
- arg5 = (char *)jarg5;
- arg6 = jarg6 ? true : false;
- result = (bool)(arg1)->registerAUID((char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,arg6);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_start(void * jarg1) {
- unsigned int jresult ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- bool result;
-
- arg1 = (XcapStack *)jarg1;
- result = (bool)(arg1)->start();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_setCredentials(void * jarg1, char * jarg2, char * jarg3) {
- unsigned int jresult ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- bool result;
-
- arg1 = (XcapStack *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (char *)jarg3;
- result = (bool)(arg1)->setCredentials((char const *)arg2,(char const *)arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_setXcapRoot(void * jarg1, char * jarg2) {
- unsigned int jresult ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- arg1 = (XcapStack *)jarg1;
- arg2 = (char *)jarg2;
- result = (bool)(arg1)->setXcapRoot((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_setLocalIP(void * jarg1, char * jarg2) {
- unsigned int jresult ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- arg1 = (XcapStack *)jarg1;
- arg2 = (char *)jarg2;
- result = (bool)(arg1)->setLocalIP((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_setLocalPort(void * jarg1, unsigned int jarg2) {
- unsigned int jresult ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- unsigned int arg2 ;
- bool result;
-
- arg1 = (XcapStack *)jarg1;
- arg2 = (unsigned int)jarg2;
- result = (bool)(arg1)->setLocalPort(arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_addHeader(void * jarg1, char * jarg2, char * jarg3) {
- unsigned int jresult ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- bool result;
-
- arg1 = (XcapStack *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (char *)jarg3;
- result = (bool)(arg1)->addHeader((char const *)arg2,(char const *)arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_removeHeader(void * jarg1, char * jarg2) {
- unsigned int jresult ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- arg1 = (XcapStack *)jarg1;
- arg2 = (char *)jarg2;
- result = (bool)(arg1)->removeHeader((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_setTimeout(void * jarg1, unsigned int jarg2) {
- unsigned int jresult ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- unsigned int arg2 ;
- bool result;
-
- arg1 = (XcapStack *)jarg1;
- arg2 = (unsigned int)jarg2;
- result = (bool)(arg1)->setTimeout(arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_getDocument(void * jarg1, char * jarg2) {
- unsigned int jresult ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- arg1 = (XcapStack *)jarg1;
- arg2 = (char *)jarg2;
- result = (bool)(arg1)->getDocument((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_getElement(void * jarg1, char * jarg2) {
- unsigned int jresult ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- arg1 = (XcapStack *)jarg1;
- arg2 = (char *)jarg2;
- result = (bool)(arg1)->getElement((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_getAttribute(void * jarg1, char * jarg2) {
- unsigned int jresult ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- arg1 = (XcapStack *)jarg1;
- arg2 = (char *)jarg2;
- result = (bool)(arg1)->getAttribute((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_deleteDocument(void * jarg1, char * jarg2) {
- unsigned int jresult ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- arg1 = (XcapStack *)jarg1;
- arg2 = (char *)jarg2;
- result = (bool)(arg1)->deleteDocument((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_deleteElement(void * jarg1, char * jarg2) {
- unsigned int jresult ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- arg1 = (XcapStack *)jarg1;
- arg2 = (char *)jarg2;
- result = (bool)(arg1)->deleteElement((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_deleteAttribute(void * jarg1, char * jarg2) {
- unsigned int jresult ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- arg1 = (XcapStack *)jarg1;
- arg2 = (char *)jarg2;
- result = (bool)(arg1)->deleteAttribute((char const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_putDocument(void * jarg1, char * jarg2, void * jarg3, unsigned int jarg4, char * jarg5) {
- unsigned int jresult ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *arg3 = (void *) 0 ;
- unsigned int arg4 ;
- char *arg5 = (char *) 0 ;
- bool result;
-
- arg1 = (XcapStack *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = jarg3;
- arg4 = (unsigned int)jarg4;
- arg5 = (char *)jarg5;
- result = (bool)(arg1)->putDocument((char const *)arg2,(void const *)arg3,arg4,(char const *)arg5);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_putElement(void * jarg1, char * jarg2, void * jarg3, unsigned int jarg4) {
- unsigned int jresult ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *arg3 = (void *) 0 ;
- unsigned int arg4 ;
- bool result;
-
- arg1 = (XcapStack *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = jarg3;
- arg4 = (unsigned int)jarg4;
- result = (bool)(arg1)->putElement((char const *)arg2,(void const *)arg3,arg4);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_putAttribute(void * jarg1, char * jarg2, void * jarg3, unsigned int jarg4) {
- unsigned int jresult ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *arg3 = (void *) 0 ;
- unsigned int arg4 ;
- bool result;
-
- arg1 = (XcapStack *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = jarg3;
- arg4 = (unsigned int)jarg4;
- result = (bool)(arg1)->putAttribute((char const *)arg2,(void const *)arg3,arg4);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_stop(void * jarg1) {
- unsigned int jresult ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- bool result;
-
- arg1 = (XcapStack *)jarg1;
- result = (bool)(arg1)->stop();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_new_RPMessage() {
- void * jresult ;
- RPMessage *result = 0 ;
-
- result = (RPMessage *)new RPMessage();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_RPMessage(void * jarg1) {
- RPMessage *arg1 = (RPMessage *) 0 ;
-
- arg1 = (RPMessage *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_RPMessage_getType(void * jarg1) {
- int jresult ;
- RPMessage *arg1 = (RPMessage *) 0 ;
- twrap_rpmessage_type_t result;
-
- arg1 = (RPMessage *)jarg1;
- result = (twrap_rpmessage_type_t)(arg1)->getType();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_RPMessage_getPayloadLength(void * jarg1) {
- unsigned int jresult ;
- RPMessage *arg1 = (RPMessage *) 0 ;
- unsigned int result;
-
- arg1 = (RPMessage *)jarg1;
- result = (unsigned int)(arg1)->getPayloadLength();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_RPMessage_getPayload(void * jarg1, void * jarg2, unsigned int jarg3) {
- unsigned int jresult ;
- RPMessage *arg1 = (RPMessage *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int result;
-
- arg1 = (RPMessage *)jarg1;
- arg2 = jarg2;
- arg3 = (unsigned int)jarg3;
- result = (unsigned int)(arg1)->getPayload(arg2,arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_new_SMSData() {
- void * jresult ;
- SMSData *result = 0 ;
-
- result = (SMSData *)new SMSData();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_SMSData(void * jarg1) {
- SMSData *arg1 = (SMSData *) 0 ;
-
- arg1 = (SMSData *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_SMSData_getType(void * jarg1) {
- int jresult ;
- SMSData *arg1 = (SMSData *) 0 ;
- twrap_sms_type_t result;
-
- arg1 = (SMSData *)jarg1;
- result = (twrap_sms_type_t)(arg1)->getType();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_SMSData_getMR(void * jarg1) {
- int jresult ;
- SMSData *arg1 = (SMSData *) 0 ;
- int result;
-
- arg1 = (SMSData *)jarg1;
- result = (int)(arg1)->getMR();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SMSData_getPayloadLength(void * jarg1) {
- unsigned int jresult ;
- SMSData *arg1 = (SMSData *) 0 ;
- unsigned int result;
-
- arg1 = (SMSData *)jarg1;
- result = (unsigned int)(arg1)->getPayloadLength();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SMSData_getPayload(void * jarg1, void * jarg2, unsigned int jarg3) {
- unsigned int jresult ;
- SMSData *arg1 = (SMSData *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int result;
-
- arg1 = (SMSData *)jarg1;
- arg2 = jarg2;
- arg3 = (unsigned int)jarg3;
- result = (unsigned int)(arg1)->getPayload(arg2,arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_SMSData_getOA(void * jarg1) {
- char * jresult ;
- SMSData *arg1 = (SMSData *) 0 ;
- char *result = 0 ;
-
- arg1 = (SMSData *)jarg1;
- result = (char *)(arg1)->getOA();
- jresult = SWIG_csharp_string_callback((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_SMSData_getDA(void * jarg1) {
- char * jresult ;
- SMSData *arg1 = (SMSData *) 0 ;
- char *result = 0 ;
-
- arg1 = (SMSData *)jarg1;
- result = (char *)(arg1)->getDA();
- jresult = SWIG_csharp_string_callback((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_SMSEncoder_encodeSubmit(int jarg1, char * jarg2, char * jarg3, char * jarg4) {
- void * jresult ;
- int arg1 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- RPMessage *result = 0 ;
-
- arg1 = (int)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (char *)jarg3;
- arg4 = (char *)jarg4;
- result = (RPMessage *)SMSEncoder::encodeSubmit(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_SMSEncoder_encodeDeliver(int jarg1, char * jarg2, char * jarg3, char * jarg4) {
- void * jresult ;
- int arg1 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- RPMessage *result = 0 ;
-
- arg1 = (int)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (char *)jarg3;
- arg4 = (char *)jarg4;
- result = (RPMessage *)SMSEncoder::encodeDeliver(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_SMSEncoder_encodeACK(int jarg1, char * jarg2, char * jarg3, unsigned int jarg4) {
- void * jresult ;
- int arg1 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- bool arg4 ;
- RPMessage *result = 0 ;
-
- arg1 = (int)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (char *)jarg3;
- arg4 = jarg4 ? true : false;
- result = (RPMessage *)SMSEncoder::encodeACK(arg1,(char const *)arg2,(char const *)arg3,arg4);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_SMSEncoder_encodeError(int jarg1, char * jarg2, char * jarg3, unsigned int jarg4) {
- void * jresult ;
- int arg1 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- bool arg4 ;
- RPMessage *result = 0 ;
-
- arg1 = (int)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (char *)jarg3;
- arg4 = jarg4 ? true : false;
- result = (RPMessage *)SMSEncoder::encodeError(arg1,(char const *)arg2,(char const *)arg3,arg4);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_SMSEncoder_decode(void * jarg1, unsigned int jarg2, unsigned int jarg3) {
- void * jresult ;
- void *arg1 = (void *) 0 ;
- unsigned int arg2 ;
- bool arg3 ;
- SMSData *result = 0 ;
-
- arg1 = jarg1;
- arg2 = (unsigned int)jarg2;
- arg3 = jarg3 ? true : false;
- result = (SMSData *)SMSEncoder::decode((void const *)arg1,arg2,arg3);
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_SMSEncoder(void * jarg1) {
- SMSEncoder *arg1 = (SMSEncoder *) 0 ;
-
- arg1 = (SMSEncoder *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_new_MsrpMessage() {
- void * jresult ;
- MsrpMessage *result = 0 ;
-
- result = (MsrpMessage *)new MsrpMessage();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_MsrpMessage(void * jarg1) {
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
-
- arg1 = (MsrpMessage *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MsrpMessage_isRequest(void * jarg1) {
- unsigned int jresult ;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- bool result;
-
- arg1 = (MsrpMessage *)jarg1;
- result = (bool)(arg1)->isRequest();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT short SWIGSTDCALL CSharp_MsrpMessage_getCode(void * jarg1) {
- short jresult ;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- short result;
-
- arg1 = (MsrpMessage *)jarg1;
- result = (short)(arg1)->getCode();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_MsrpMessage_getPhrase(void * jarg1) {
- char * jresult ;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- char *result = 0 ;
-
- arg1 = (MsrpMessage *)jarg1;
- result = (char *)(arg1)->getPhrase();
- jresult = SWIG_csharp_string_callback((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_MsrpMessage_getRequestType(void * jarg1) {
- int jresult ;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- tmsrp_request_type_t result;
-
- arg1 = (MsrpMessage *)jarg1;
- result = (tmsrp_request_type_t)(arg1)->getRequestType();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_MsrpMessage_getByteRange(void * jarg1, long long * jarg2, long long * jarg3, long long * jarg4) {
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- int64_t *arg2 = (int64_t *) 0 ;
- int64_t *arg3 = (int64_t *) 0 ;
- int64_t *arg4 = (int64_t *) 0 ;
-
- arg1 = (MsrpMessage *)jarg1;
- arg2 = (int64_t *)jarg2;
- arg3 = (int64_t *)jarg3;
- arg4 = (int64_t *)jarg4;
- (arg1)->getByteRange(arg2,arg3,arg4);
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MsrpMessage_isLastChunck(void * jarg1) {
- unsigned int jresult ;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- bool result;
-
- arg1 = (MsrpMessage *)jarg1;
- result = (bool)(arg1)->isLastChunck();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MsrpMessage_isFirstChunck(void * jarg1) {
- unsigned int jresult ;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- bool result;
-
- arg1 = (MsrpMessage *)jarg1;
- result = (bool)(arg1)->isFirstChunck();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_MsrpMessage_getMsrpHeaderValue(void * jarg1, char * jarg2) {
- char * jresult ;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *result = 0 ;
-
- arg1 = (MsrpMessage *)jarg1;
- arg2 = (char *)jarg2;
- result = (char *)(arg1)->getMsrpHeaderValue((char const *)arg2);
- jresult = SWIG_csharp_string_callback((const char *)result);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT char * SWIGSTDCALL CSharp_MsrpMessage_getMsrpHeaderParamValue(void * jarg1, char * jarg2, char * jarg3) {
- char * jresult ;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *result = 0 ;
-
- arg1 = (MsrpMessage *)jarg1;
- arg2 = (char *)jarg2;
- arg3 = (char *)jarg3;
- result = (char *)(arg1)->getMsrpHeaderParamValue((char const *)arg2,(char const *)arg3);
- jresult = SWIG_csharp_string_callback((const char *)result);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MsrpMessage_getMsrpContentLength(void * jarg1) {
- unsigned int jresult ;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- unsigned int result;
-
- arg1 = (MsrpMessage *)jarg1;
- result = (unsigned int)(arg1)->getMsrpContentLength();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MsrpMessage_getMsrpContent(void * jarg1, void * jarg2, unsigned int jarg3) {
- unsigned int jresult ;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int result;
-
- arg1 = (MsrpMessage *)jarg1;
- arg2 = jarg2;
- arg3 = (unsigned int)jarg3;
- result = (unsigned int)(arg1)->getMsrpContent(arg2,arg3);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_MsrpEvent(void * jarg1) {
- MsrpEvent *arg1 = (MsrpEvent *) 0 ;
-
- arg1 = (MsrpEvent *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_MsrpEvent_getType(void * jarg1) {
- int jresult ;
- MsrpEvent *arg1 = (MsrpEvent *) 0 ;
- tmsrp_event_type_t result;
-
- arg1 = (MsrpEvent *)jarg1;
- result = (tmsrp_event_type_t)(arg1)->getType();
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_MsrpEvent_getSipSession(void * jarg1) {
- void * jresult ;
- MsrpEvent *arg1 = (MsrpEvent *) 0 ;
- MsrpSession *result = 0 ;
-
- arg1 = (MsrpEvent *)jarg1;
- result = (MsrpSession *)(arg1)->getSipSession();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_MsrpEvent_getMessage(void * jarg1) {
- void * jresult ;
- MsrpEvent *arg1 = (MsrpEvent *) 0 ;
- MsrpMessage *result = 0 ;
-
- arg1 = (MsrpEvent *)jarg1;
- result = (MsrpMessage *)((MsrpEvent const *)arg1)->getMessage();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_new_MsrpCallback() {
- void * jresult ;
- MsrpCallback *result = 0 ;
-
- result = (MsrpCallback *)new SwigDirector_MsrpCallback();
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_MsrpCallback(void * jarg1) {
- MsrpCallback *arg1 = (MsrpCallback *) 0 ;
-
- arg1 = (MsrpCallback *)jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_MsrpCallback_OnEvent(void * jarg1, void * jarg2) {
- int jresult ;
- MsrpCallback *arg1 = (MsrpCallback *) 0 ;
- MsrpEvent *arg2 = (MsrpEvent *) 0 ;
- int result;
-
- arg1 = (MsrpCallback *)jarg1;
- arg2 = (MsrpEvent *)jarg2;
- result = (int)(arg1)->OnEvent((MsrpEvent const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_MsrpCallback_OnEventSwigExplicitMsrpCallback(void * jarg1, void * jarg2) {
- int jresult ;
- MsrpCallback *arg1 = (MsrpCallback *) 0 ;
- MsrpEvent *arg2 = (MsrpEvent *) 0 ;
- int result;
-
- arg1 = (MsrpCallback *)jarg1;
- arg2 = (MsrpEvent *)jarg2;
- result = (int)(arg1)->MsrpCallback::OnEvent((MsrpEvent const *)arg2);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_MsrpCallback_director_connect(void *objarg, SwigDirector_MsrpCallback::SWIG_Callback0_t callback0) {
- MsrpCallback *obj = (MsrpCallback *)objarg;
- SwigDirector_MsrpCallback *director = dynamic_cast<SwigDirector_MsrpCallback *>(obj);
- if (director) {
- director->swig_connect_director(callback0);
- }
-}
-
-
-SWIGEXPORT MediaContent * SWIGSTDCALL CSharp_MediaContentCPIMUpcast(MediaContentCPIM *objectRef) {
- return (MediaContent *)objectRef;
-}
-
-SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_DialogEventUpcast(DialogEvent *objectRef) {
- return (SipEvent *)objectRef;
-}
-
-SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_StackEventUpcast(StackEvent *objectRef) {
- return (SipEvent *)objectRef;
-}
-
-SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_InviteEventUpcast(InviteEvent *objectRef) {
- return (SipEvent *)objectRef;
-}
-
-SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_MessagingEventUpcast(MessagingEvent *objectRef) {
- return (SipEvent *)objectRef;
-}
-
-SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_OptionsEventUpcast(OptionsEvent *objectRef) {
- return (SipEvent *)objectRef;
-}
-
-SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_PublicationEventUpcast(PublicationEvent *objectRef) {
- return (SipEvent *)objectRef;
-}
-
-SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_RegistrationEventUpcast(RegistrationEvent *objectRef) {
- return (SipEvent *)objectRef;
-}
-
-SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_SubscriptionEventUpcast(SubscriptionEvent *objectRef) {
- return (SipEvent *)objectRef;
-}
-
-SWIGEXPORT SipSession * SWIGSTDCALL CSharp_InviteSessionUpcast(InviteSession *objectRef) {
- return (SipSession *)objectRef;
-}
-
-SWIGEXPORT InviteSession * SWIGSTDCALL CSharp_CallSessionUpcast(CallSession *objectRef) {
- return (InviteSession *)objectRef;
-}
-
-SWIGEXPORT InviteSession * SWIGSTDCALL CSharp_MsrpSessionUpcast(MsrpSession *objectRef) {
- return (InviteSession *)objectRef;
-}
-
-SWIGEXPORT SipSession * SWIGSTDCALL CSharp_MessagingSessionUpcast(MessagingSession *objectRef) {
- return (SipSession *)objectRef;
-}
-
-SWIGEXPORT SipSession * SWIGSTDCALL CSharp_OptionsSessionUpcast(OptionsSession *objectRef) {
- return (SipSession *)objectRef;
-}
-
-SWIGEXPORT SipSession * SWIGSTDCALL CSharp_PublicationSessionUpcast(PublicationSession *objectRef) {
- return (SipSession *)objectRef;
-}
-
-SWIGEXPORT SipSession * SWIGSTDCALL CSharp_RegistrationSessionUpcast(RegistrationSession *objectRef) {
- return (SipSession *)objectRef;
-}
-
-SWIGEXPORT SipSession * SWIGSTDCALL CSharp_SubscriptionSessionUpcast(SubscriptionSession *objectRef) {
- return (SipSession *)objectRef;
-}
-
-SWIGEXPORT ProxyPlugin * SWIGSTDCALL CSharp_ProxyAudioConsumerUpcast(ProxyAudioConsumer *objectRef) {
- return (ProxyPlugin *)objectRef;
-}
-
-SWIGEXPORT ProxyPlugin * SWIGSTDCALL CSharp_ProxyVideoConsumerUpcast(ProxyVideoConsumer *objectRef) {
- return (ProxyPlugin *)objectRef;
-}
-
-SWIGEXPORT ProxyPlugin * SWIGSTDCALL CSharp_ProxyAudioProducerUpcast(ProxyAudioProducer *objectRef) {
- return (ProxyPlugin *)objectRef;
-}
-
-SWIGEXPORT ProxyPlugin * SWIGSTDCALL CSharp_ProxyVideoProducerUpcast(ProxyVideoProducer *objectRef) {
- return (ProxyPlugin *)objectRef;
-}
-
-SWIGEXPORT SafeObject * SWIGSTDCALL CSharp_SipStackUpcast(SipStack *objectRef) {
- return (SafeObject *)objectRef;
-}
-
-#ifdef __cplusplus
-}
-#endif
-
diff --git a/branches/1.0/bindings/csharp/tinyWRAP_wrap.h b/branches/1.0/bindings/csharp/tinyWRAP_wrap.h
deleted file mode 100644
index fdc300c..0000000
--- a/branches/1.0/bindings/csharp/tinyWRAP_wrap.h
+++ /dev/null
@@ -1,222 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * This file is not intended to be easily readable and contains a number of
- * coding conventions designed to improve portability and efficiency. Do not make
- * changes to this file unless you know what you are doing--modify the SWIG
- * interface file instead.
- * ----------------------------------------------------------------------------- */
-
-#ifndef SWIG_tinyWRAP_WRAP_H_
-#define SWIG_tinyWRAP_WRAP_H_
-
-class SwigDirector_DDebugCallback : public DDebugCallback, public Swig::Director {
-
-public:
- SwigDirector_DDebugCallback();
- virtual ~SwigDirector_DDebugCallback();
- virtual int OnDebugInfo(char const *message);
- virtual int OnDebugWarn(char const *message);
- virtual int OnDebugError(char const *message);
- virtual int OnDebugFatal(char const *message);
-
- typedef int (SWIGSTDCALL* SWIG_Callback0_t)(char *);
- typedef int (SWIGSTDCALL* SWIG_Callback1_t)(char *);
- typedef int (SWIGSTDCALL* SWIG_Callback2_t)(char *);
- typedef int (SWIGSTDCALL* SWIG_Callback3_t)(char *);
- void swig_connect_director(SWIG_Callback0_t callbackOnDebugInfo, SWIG_Callback1_t callbackOnDebugWarn, SWIG_Callback2_t callbackOnDebugError, SWIG_Callback3_t callbackOnDebugFatal);
-
-private:
- SWIG_Callback0_t swig_callbackOnDebugInfo;
- SWIG_Callback1_t swig_callbackOnDebugWarn;
- SWIG_Callback2_t swig_callbackOnDebugError;
- SWIG_Callback3_t swig_callbackOnDebugFatal;
- void swig_init_callbacks();
-};
-
-class SwigDirector_ProxyPluginMgrCallback : public ProxyPluginMgrCallback, public Swig::Director {
-
-public:
- SwigDirector_ProxyPluginMgrCallback();
- virtual ~SwigDirector_ProxyPluginMgrCallback();
- virtual int OnPluginCreated(uint64_t id, enum twrap_proxy_plugin_type_e type);
- virtual int OnPluginDestroyed(uint64_t id, enum twrap_proxy_plugin_type_e type);
-
- typedef int (SWIGSTDCALL* SWIG_Callback0_t)(unsigned long long, int);
- typedef int (SWIGSTDCALL* SWIG_Callback1_t)(unsigned long long, int);
- void swig_connect_director(SWIG_Callback0_t callbackOnPluginCreated, SWIG_Callback1_t callbackOnPluginDestroyed);
-
-private:
- SWIG_Callback0_t swig_callbackOnPluginCreated;
- SWIG_Callback1_t swig_callbackOnPluginDestroyed;
- void swig_init_callbacks();
-};
-
-class SwigDirector_ProxyAudioConsumerCallback : public ProxyAudioConsumerCallback, public Swig::Director {
-
-public:
- SwigDirector_ProxyAudioConsumerCallback();
- virtual ~SwigDirector_ProxyAudioConsumerCallback();
- virtual int prepare(int ptime, int rate, int channels);
- virtual int start();
- virtual int pause();
- virtual int stop();
-
- typedef int (SWIGSTDCALL* SWIG_Callback0_t)(int, int, int);
- typedef int (SWIGSTDCALL* SWIG_Callback1_t)();
- typedef int (SWIGSTDCALL* SWIG_Callback2_t)();
- typedef int (SWIGSTDCALL* SWIG_Callback3_t)();
- void swig_connect_director(SWIG_Callback0_t callbackprepare, SWIG_Callback1_t callbackstart, SWIG_Callback2_t callbackpause, SWIG_Callback3_t callbackstop);
-
-private:
- SWIG_Callback0_t swig_callbackprepare;
- SWIG_Callback1_t swig_callbackstart;
- SWIG_Callback2_t swig_callbackpause;
- SWIG_Callback3_t swig_callbackstop;
- void swig_init_callbacks();
-};
-
-class SwigDirector_ProxyVideoConsumerCallback : public ProxyVideoConsumerCallback, public Swig::Director {
-
-public:
- SwigDirector_ProxyVideoConsumerCallback();
- virtual ~SwigDirector_ProxyVideoConsumerCallback();
- virtual int prepare(int width, int height, int fps);
- virtual int consume(ProxyVideoFrame const *frame);
- virtual int start();
- virtual int pause();
- virtual int stop();
-
- typedef int (SWIGSTDCALL* SWIG_Callback0_t)(int, int, int);
- typedef int (SWIGSTDCALL* SWIG_Callback1_t)(void *);
- typedef int (SWIGSTDCALL* SWIG_Callback2_t)();
- typedef int (SWIGSTDCALL* SWIG_Callback3_t)();
- typedef int (SWIGSTDCALL* SWIG_Callback4_t)();
- void swig_connect_director(SWIG_Callback0_t callbackprepare, SWIG_Callback1_t callbackconsume, SWIG_Callback2_t callbackstart, SWIG_Callback3_t callbackpause, SWIG_Callback4_t callbackstop);
-
-private:
- SWIG_Callback0_t swig_callbackprepare;
- SWIG_Callback1_t swig_callbackconsume;
- SWIG_Callback2_t swig_callbackstart;
- SWIG_Callback3_t swig_callbackpause;
- SWIG_Callback4_t swig_callbackstop;
- void swig_init_callbacks();
-};
-
-class SwigDirector_ProxyAudioProducerCallback : public ProxyAudioProducerCallback, public Swig::Director {
-
-public:
- SwigDirector_ProxyAudioProducerCallback();
- virtual ~SwigDirector_ProxyAudioProducerCallback();
- virtual int prepare(int ptime, int rate, int channels);
- virtual int start();
- virtual int pause();
- virtual int stop();
-
- typedef int (SWIGSTDCALL* SWIG_Callback0_t)(int, int, int);
- typedef int (SWIGSTDCALL* SWIG_Callback1_t)();
- typedef int (SWIGSTDCALL* SWIG_Callback2_t)();
- typedef int (SWIGSTDCALL* SWIG_Callback3_t)();
- void swig_connect_director(SWIG_Callback0_t callbackprepare, SWIG_Callback1_t callbackstart, SWIG_Callback2_t callbackpause, SWIG_Callback3_t callbackstop);
-
-private:
- SWIG_Callback0_t swig_callbackprepare;
- SWIG_Callback1_t swig_callbackstart;
- SWIG_Callback2_t swig_callbackpause;
- SWIG_Callback3_t swig_callbackstop;
- void swig_init_callbacks();
-};
-
-class SwigDirector_ProxyVideoProducerCallback : public ProxyVideoProducerCallback, public Swig::Director {
-
-public:
- SwigDirector_ProxyVideoProducerCallback();
- virtual ~SwigDirector_ProxyVideoProducerCallback();
- virtual int prepare(int width, int height, int fps);
- virtual int start();
- virtual int pause();
- virtual int stop();
-
- typedef int (SWIGSTDCALL* SWIG_Callback0_t)(int, int, int);
- typedef int (SWIGSTDCALL* SWIG_Callback1_t)();
- typedef int (SWIGSTDCALL* SWIG_Callback2_t)();
- typedef int (SWIGSTDCALL* SWIG_Callback3_t)();
- void swig_connect_director(SWIG_Callback0_t callbackprepare, SWIG_Callback1_t callbackstart, SWIG_Callback2_t callbackpause, SWIG_Callback3_t callbackstop);
-
-private:
- SWIG_Callback0_t swig_callbackprepare;
- SWIG_Callback1_t swig_callbackstart;
- SWIG_Callback2_t swig_callbackpause;
- SWIG_Callback3_t swig_callbackstop;
- void swig_init_callbacks();
-};
-
-class SwigDirector_SipCallback : public SipCallback, public Swig::Director {
-
-public:
- SwigDirector_SipCallback();
- virtual ~SwigDirector_SipCallback();
- virtual int OnDialogEvent(DialogEvent const *e);
- virtual int OnStackEvent(StackEvent const *e);
- virtual int OnInviteEvent(InviteEvent const *e);
- virtual int OnMessagingEvent(MessagingEvent const *e);
- virtual int OnOptionsEvent(OptionsEvent const *e);
- virtual int OnPublicationEvent(PublicationEvent const *e);
- virtual int OnRegistrationEvent(RegistrationEvent const *e);
- virtual int OnSubscriptionEvent(SubscriptionEvent const *e);
-
- typedef int (SWIGSTDCALL* SWIG_Callback0_t)(void *);
- typedef int (SWIGSTDCALL* SWIG_Callback1_t)(void *);
- typedef int (SWIGSTDCALL* SWIG_Callback2_t)(void *);
- typedef int (SWIGSTDCALL* SWIG_Callback3_t)(void *);
- typedef int (SWIGSTDCALL* SWIG_Callback4_t)(void *);
- typedef int (SWIGSTDCALL* SWIG_Callback5_t)(void *);
- typedef int (SWIGSTDCALL* SWIG_Callback6_t)(void *);
- typedef int (SWIGSTDCALL* SWIG_Callback7_t)(void *);
- void swig_connect_director(SWIG_Callback0_t callbackOnDialogEvent, SWIG_Callback1_t callbackOnStackEvent, SWIG_Callback2_t callbackOnInviteEvent, SWIG_Callback3_t callbackOnMessagingEvent, SWIG_Callback4_t callbackOnOptionsEvent, SWIG_Callback5_t callbackOnPublicationEvent, SWIG_Callback6_t callbackOnRegistrationEvent, SWIG_Callback7_t callbackOnSubscriptionEvent);
-
-private:
- SWIG_Callback0_t swig_callbackOnDialogEvent;
- SWIG_Callback1_t swig_callbackOnStackEvent;
- SWIG_Callback2_t swig_callbackOnInviteEvent;
- SWIG_Callback3_t swig_callbackOnMessagingEvent;
- SWIG_Callback4_t swig_callbackOnOptionsEvent;
- SWIG_Callback5_t swig_callbackOnPublicationEvent;
- SWIG_Callback6_t swig_callbackOnRegistrationEvent;
- SWIG_Callback7_t swig_callbackOnSubscriptionEvent;
- void swig_init_callbacks();
-};
-
-class SwigDirector_XcapCallback : public XcapCallback, public Swig::Director {
-
-public:
- SwigDirector_XcapCallback();
- virtual ~SwigDirector_XcapCallback();
- virtual int onEvent(XcapEvent const *e) const;
-
- typedef int (SWIGSTDCALL* SWIG_Callback0_t)(void *);
- void swig_connect_director(SWIG_Callback0_t callbackonEvent);
-
-private:
- SWIG_Callback0_t swig_callbackonEvent;
- void swig_init_callbacks();
-};
-
-class SwigDirector_MsrpCallback : public MsrpCallback, public Swig::Director {
-
-public:
- SwigDirector_MsrpCallback();
- virtual ~SwigDirector_MsrpCallback();
- virtual int OnEvent(MsrpEvent const *e);
-
- typedef int (SWIGSTDCALL* SWIG_Callback0_t)(void *);
- void swig_connect_director(SWIG_Callback0_t callbackOnEvent);
-
-private:
- SWIG_Callback0_t swig_callbackOnEvent;
- void swig_init_callbacks();
-};
-
-
-#endif
diff --git a/branches/1.0/bindings/csharp/tmedia_bandwidth_level_t.cs b/branches/1.0/bindings/csharp/tmedia_bandwidth_level_t.cs
deleted file mode 100644
index 6e1349b..0000000
--- a/branches/1.0/bindings/csharp/tmedia_bandwidth_level_t.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-public enum tmedia_bandwidth_level_t {
- tmedia_bl_low,
- tmedia_bl_medium,
- tmedia_bl_hight
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/tmedia_chroma_t.cs b/branches/1.0/bindings/csharp/tmedia_chroma_t.cs
deleted file mode 100644
index ebec6bc..0000000
--- a/branches/1.0/bindings/csharp/tmedia_chroma_t.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-public enum tmedia_chroma_t {
- tmedia_rgb24,
- tmedia_bgr24,
- tmedia_rgb32,
- tmedia_rgb565le,
- tmedia_rgb565be,
- tmedia_nv12,
- tmedia_nv21,
- tmedia_yuv422p,
- tmedia_uyvy422,
- tmedia_yuv420p
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/tmedia_qos_strength_t.cs b/branches/1.0/bindings/csharp/tmedia_qos_strength_t.cs
deleted file mode 100644
index 6727f16..0000000
--- a/branches/1.0/bindings/csharp/tmedia_qos_strength_t.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-public enum tmedia_qos_strength_t {
- tmedia_qos_strength_none,
- tmedia_qos_strength_failure,
- tmedia_qos_strength_unknown,
- tmedia_qos_strength_optional,
- tmedia_qos_strength_mandatory
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/tmedia_qos_stype_t.cs b/branches/1.0/bindings/csharp/tmedia_qos_stype_t.cs
deleted file mode 100644
index 22d93fa..0000000
--- a/branches/1.0/bindings/csharp/tmedia_qos_stype_t.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-public enum tmedia_qos_stype_t {
- tmedia_qos_stype_none,
- tmedia_qos_stype_segmented,
- tmedia_qos_stype_e2e
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/tmsrp_event_type_t.cs b/branches/1.0/bindings/csharp/tmsrp_event_type_t.cs
deleted file mode 100644
index f11ee64..0000000
--- a/branches/1.0/bindings/csharp/tmsrp_event_type_t.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-public enum tmsrp_event_type_t {
- tmsrp_event_type_none,
- tmsrp_event_type_connected,
- tmsrp_event_type_disconnected,
- tmsrp_event_type_message
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/tmsrp_request_type_t.cs b/branches/1.0/bindings/csharp/tmsrp_request_type_t.cs
deleted file mode 100644
index a3f53cc..0000000
--- a/branches/1.0/bindings/csharp/tmsrp_request_type_t.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-public enum tmsrp_request_type_t {
- tmsrp_NONE = 0,
- tmsrp_SEND,
- tmsrp_REPORT,
- tmsrp_AUTH
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/tsip_event_type_t.cs b/branches/1.0/bindings/csharp/tsip_event_type_t.cs
deleted file mode 100644
index 232f02f..0000000
--- a/branches/1.0/bindings/csharp/tsip_event_type_t.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-public enum tsip_event_type_t {
- tsip_event_invite,
- tsip_event_message,
- tsip_event_options,
- tsip_event_publish,
- tsip_event_register,
- tsip_event_subscribe,
- tsip_event_dialog
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/tsip_invite_event_type_t.cs b/branches/1.0/bindings/csharp/tsip_invite_event_type_t.cs
deleted file mode 100644
index 0ddd5b6..0000000
--- a/branches/1.0/bindings/csharp/tsip_invite_event_type_t.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-public enum tsip_invite_event_type_t {
- tsip_i_newcall,
- tsip_i_request,
- tsip_ao_request,
- tsip_o_ect_ok,
- tsip_o_ect_nok,
- tsip_i_ect,
- tsip_m_early_media,
- tsip_m_local_hold_ok,
- tsip_m_local_hold_nok,
- tsip_m_local_resume_ok,
- tsip_m_local_resume_nok,
- tsip_m_remote_hold,
- tsip_m_remote_resume
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/tsip_message_event_type_t.cs b/branches/1.0/bindings/csharp/tsip_message_event_type_t.cs
deleted file mode 100644
index b407259..0000000
--- a/branches/1.0/bindings/csharp/tsip_message_event_type_t.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-public enum tsip_message_event_type_t {
- tsip_i_message,
- tsip_ao_message
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/tsip_options_event_type_t.cs b/branches/1.0/bindings/csharp/tsip_options_event_type_t.cs
deleted file mode 100644
index b90d62b..0000000
--- a/branches/1.0/bindings/csharp/tsip_options_event_type_t.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-public enum tsip_options_event_type_t {
- tsip_i_options,
- tsip_ao_options
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/tsip_publish_event_type_t.cs b/branches/1.0/bindings/csharp/tsip_publish_event_type_t.cs
deleted file mode 100644
index 52b850b..0000000
--- a/branches/1.0/bindings/csharp/tsip_publish_event_type_t.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-public enum tsip_publish_event_type_t {
- tsip_i_publish,
- tsip_ao_publish,
- tsip_i_unpublish,
- tsip_ao_unpublish
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/tsip_register_event_type_t.cs b/branches/1.0/bindings/csharp/tsip_register_event_type_t.cs
deleted file mode 100644
index 7d5929a..0000000
--- a/branches/1.0/bindings/csharp/tsip_register_event_type_t.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-public enum tsip_register_event_type_t {
- tsip_i_newreg,
- tsip_i_register,
- tsip_ao_register,
- tsip_i_unregister,
- tsip_ao_unregister
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/tsip_subscribe_event_type_t.cs b/branches/1.0/bindings/csharp/tsip_subscribe_event_type_t.cs
deleted file mode 100644
index afaa290..0000000
--- a/branches/1.0/bindings/csharp/tsip_subscribe_event_type_t.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-public enum tsip_subscribe_event_type_t {
- tsip_i_subscribe,
- tsip_ao_subscribe,
- tsip_i_unsubscribe,
- tsip_ao_unsubscribe,
- tsip_i_notify,
- tsip_ao_notify
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/twrap_media_type_t.cs b/branches/1.0/bindings/csharp/twrap_media_type_t.cs
deleted file mode 100644
index b0f1b40..0000000
--- a/branches/1.0/bindings/csharp/twrap_media_type_t.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-public enum twrap_media_type_t {
- twrap_media_none,
- twrap_media_audio,
- twrap_media_video,
- twrap_media_audiovideo,
- twrap_media_msrp
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/twrap_proxy_plugin_type_t.cs b/branches/1.0/bindings/csharp/twrap_proxy_plugin_type_t.cs
deleted file mode 100644
index 0e2613e..0000000
--- a/branches/1.0/bindings/csharp/twrap_proxy_plugin_type_t.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-public enum twrap_proxy_plugin_type_t {
- twrap_proxy_plugin_audio_producer,
- twrap_proxy_plugin_video_producer,
- twrap_proxy_plugin_audio_consumer,
- twrap_proxy_plugin_video_consumer
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/twrap_rpmessage_type_t.cs b/branches/1.0/bindings/csharp/twrap_rpmessage_type_t.cs
deleted file mode 100644
index 03cde34..0000000
--- a/branches/1.0/bindings/csharp/twrap_rpmessage_type_t.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-public enum twrap_rpmessage_type_t {
- twrap_rpmessage_type_sms_none,
- twrap_rpmessage_type_sms_submit,
- twrap_rpmessage_type_sms_deliver,
- twrap_rpmessage_type_sms_ack,
- twrap_rpmessage_type_sms_error
-}
-
-}
diff --git a/branches/1.0/bindings/csharp/twrap_sms_type_t.cs b/branches/1.0/bindings/csharp/twrap_sms_type_t.cs
deleted file mode 100644
index 42980dd..0000000
--- a/branches/1.0/bindings/csharp/twrap_sms_type_t.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-namespace org.doubango.tinyWRAP {
-
-public enum twrap_sms_type_t {
- twrap_sms_type_none,
- twrap_sms_type_rpdata,
- twrap_sms_type_smma,
- twrap_sms_type_ack,
- twrap_sms_type_error
-}
-
-}
diff --git a/branches/1.0/bindings/java/ActionConfig.java b/branches/1.0/bindings/java/ActionConfig.java
deleted file mode 100644
index 6f5cf16..0000000
--- a/branches/1.0/bindings/java/ActionConfig.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class ActionConfig {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected ActionConfig(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(ActionConfig obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_ActionConfig(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public ActionConfig() {
- this(tinyWRAPJNI.new_ActionConfig(), true);
- }
-
- public boolean addHeader(String name, String value) {
- return tinyWRAPJNI.ActionConfig_addHeader(swigCPtr, this, name, value);
- }
-
- public ActionConfig setResponseLine(short code, String phrase) {
- long cPtr = tinyWRAPJNI.ActionConfig_setResponseLine(swigCPtr, this, code, phrase);
- return (cPtr == 0) ? null : new ActionConfig(cPtr, false);
- }
-
- public ActionConfig setMediaString(twrap_media_type_t type, String key, String value) {
- long cPtr = tinyWRAPJNI.ActionConfig_setMediaString(swigCPtr, this, type.swigValue(), key, value);
- return (cPtr == 0) ? null : new ActionConfig(cPtr, false);
- }
-
- public ActionConfig setMediaInt(twrap_media_type_t type, String key, int value) {
- long cPtr = tinyWRAPJNI.ActionConfig_setMediaInt(swigCPtr, this, type.swigValue(), key, value);
- return (cPtr == 0) ? null : new ActionConfig(cPtr, false);
- }
-
-}
diff --git a/branches/1.0/bindings/java/CallSession.java b/branches/1.0/bindings/java/CallSession.java
deleted file mode 100644
index 802d05b..0000000
--- a/branches/1.0/bindings/java/CallSession.java
+++ /dev/null
@@ -1,96 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class CallSession extends InviteSession {
- private long swigCPtr;
-
- protected CallSession(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGCallSessionUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(CallSession obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_CallSession(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public CallSession(SipStack Stack) {
- this(tinyWRAPJNI.new_CallSession(SipStack.getCPtr(Stack), Stack), true);
- }
-
- public boolean callAudio(String remoteUri, ActionConfig config) {
- return tinyWRAPJNI.CallSession_callAudio__SWIG_0(swigCPtr, this, remoteUri, ActionConfig.getCPtr(config), config);
- }
-
- public boolean callAudio(String remoteUri) {
- return tinyWRAPJNI.CallSession_callAudio__SWIG_1(swigCPtr, this, remoteUri);
- }
-
- public boolean callAudioVideo(String remoteUri, ActionConfig config) {
- return tinyWRAPJNI.CallSession_callAudioVideo__SWIG_0(swigCPtr, this, remoteUri, ActionConfig.getCPtr(config), config);
- }
-
- public boolean callAudioVideo(String remoteUri) {
- return tinyWRAPJNI.CallSession_callAudioVideo__SWIG_1(swigCPtr, this, remoteUri);
- }
-
- public boolean callVideo(String remoteUri, ActionConfig config) {
- return tinyWRAPJNI.CallSession_callVideo__SWIG_0(swigCPtr, this, remoteUri, ActionConfig.getCPtr(config), config);
- }
-
- public boolean callVideo(String remoteUri) {
- return tinyWRAPJNI.CallSession_callVideo__SWIG_1(swigCPtr, this, remoteUri);
- }
-
- public boolean setSessionTimer(long timeout, String refresher) {
- return tinyWRAPJNI.CallSession_setSessionTimer(swigCPtr, this, timeout, refresher);
- }
-
- public boolean set100rel(boolean enabled) {
- return tinyWRAPJNI.CallSession_set100rel(swigCPtr, this, enabled);
- }
-
- public boolean setQoS(tmedia_qos_stype_t type, tmedia_qos_strength_t strength) {
- return tinyWRAPJNI.CallSession_setQoS(swigCPtr, this, type.swigValue(), strength.swigValue());
- }
-
- public boolean hold(ActionConfig config) {
- return tinyWRAPJNI.CallSession_hold__SWIG_0(swigCPtr, this, ActionConfig.getCPtr(config), config);
- }
-
- public boolean hold() {
- return tinyWRAPJNI.CallSession_hold__SWIG_1(swigCPtr, this);
- }
-
- public boolean resume(ActionConfig config) {
- return tinyWRAPJNI.CallSession_resume__SWIG_0(swigCPtr, this, ActionConfig.getCPtr(config), config);
- }
-
- public boolean resume() {
- return tinyWRAPJNI.CallSession_resume__SWIG_1(swigCPtr, this);
- }
-
- public boolean sendDTMF(int number) {
- return tinyWRAPJNI.CallSession_sendDTMF(swigCPtr, this, number);
- }
-
-}
diff --git a/branches/1.0/bindings/java/DDebugCallback.java b/branches/1.0/bindings/java/DDebugCallback.java
deleted file mode 100644
index ebef9ce..0000000
--- a/branches/1.0/bindings/java/DDebugCallback.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class DDebugCallback {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected DDebugCallback(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(DDebugCallback obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_DDebugCallback(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- protected void swigDirectorDisconnect() {
- swigCMemOwn = false;
- delete();
- }
-
- public void swigReleaseOwnership() {
- swigCMemOwn = false;
- tinyWRAPJNI.DDebugCallback_change_ownership(this, swigCPtr, false);
- }
-
- public void swigTakeOwnership() {
- swigCMemOwn = true;
- tinyWRAPJNI.DDebugCallback_change_ownership(this, swigCPtr, true);
- }
-
- public DDebugCallback() {
- this(tinyWRAPJNI.new_DDebugCallback(), true);
- tinyWRAPJNI.DDebugCallback_director_connect(this, swigCPtr, swigCMemOwn, true);
- }
-
- public int OnDebugInfo(String message) {
- return (getClass() == DDebugCallback.class) ? tinyWRAPJNI.DDebugCallback_OnDebugInfo(swigCPtr, this, message) : tinyWRAPJNI.DDebugCallback_OnDebugInfoSwigExplicitDDebugCallback(swigCPtr, this, message);
- }
-
- public int OnDebugWarn(String message) {
- return (getClass() == DDebugCallback.class) ? tinyWRAPJNI.DDebugCallback_OnDebugWarn(swigCPtr, this, message) : tinyWRAPJNI.DDebugCallback_OnDebugWarnSwigExplicitDDebugCallback(swigCPtr, this, message);
- }
-
- public int OnDebugError(String message) {
- return (getClass() == DDebugCallback.class) ? tinyWRAPJNI.DDebugCallback_OnDebugError(swigCPtr, this, message) : tinyWRAPJNI.DDebugCallback_OnDebugErrorSwigExplicitDDebugCallback(swigCPtr, this, message);
- }
-
- public int OnDebugFatal(String message) {
- return (getClass() == DDebugCallback.class) ? tinyWRAPJNI.DDebugCallback_OnDebugFatal(swigCPtr, this, message) : tinyWRAPJNI.DDebugCallback_OnDebugFatalSwigExplicitDDebugCallback(swigCPtr, this, message);
- }
-
-}
diff --git a/branches/1.0/bindings/java/DialogEvent.java b/branches/1.0/bindings/java/DialogEvent.java
deleted file mode 100644
index ac409f6..0000000
--- a/branches/1.0/bindings/java/DialogEvent.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class DialogEvent extends SipEvent {
- private long swigCPtr;
-
- protected DialogEvent(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGDialogEventUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(DialogEvent obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_DialogEvent(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
-}
diff --git a/branches/1.0/bindings/java/InviteEvent.java b/branches/1.0/bindings/java/InviteEvent.java
deleted file mode 100644
index e7a79c9..0000000
--- a/branches/1.0/bindings/java/InviteEvent.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class InviteEvent extends SipEvent {
- private long swigCPtr;
-
- protected InviteEvent(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGInviteEventUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(InviteEvent obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_InviteEvent(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public tsip_invite_event_type_t getType() {
- return tsip_invite_event_type_t.swigToEnum(tinyWRAPJNI.InviteEvent_getType(swigCPtr, this));
- }
-
- public twrap_media_type_t getMediaType() {
- return twrap_media_type_t.swigToEnum(tinyWRAPJNI.InviteEvent_getMediaType(swigCPtr, this));
- }
-
- public InviteSession getSession() {
- long cPtr = tinyWRAPJNI.InviteEvent_getSession(swigCPtr, this);
- return (cPtr == 0) ? null : new InviteSession(cPtr, false);
- }
-
- public CallSession takeCallSessionOwnership() {
- long cPtr = tinyWRAPJNI.InviteEvent_takeCallSessionOwnership(swigCPtr, this);
- return (cPtr == 0) ? null : new CallSession(cPtr, true);
- }
-
- public MsrpSession takeMsrpSessionOwnership() {
- long cPtr = tinyWRAPJNI.InviteEvent_takeMsrpSessionOwnership(swigCPtr, this);
- return (cPtr == 0) ? null : new MsrpSession(cPtr, true);
- }
-
-}
diff --git a/branches/1.0/bindings/java/InviteSession.java b/branches/1.0/bindings/java/InviteSession.java
deleted file mode 100644
index 71d6f6c..0000000
--- a/branches/1.0/bindings/java/InviteSession.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class InviteSession extends SipSession {
- private long swigCPtr;
-
- protected InviteSession(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGInviteSessionUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(InviteSession obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_InviteSession(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public InviteSession(SipStack Stack) {
- this(tinyWRAPJNI.new_InviteSession(SipStack.getCPtr(Stack), Stack), true);
- }
-
- public boolean accept(ActionConfig config) {
- return tinyWRAPJNI.InviteSession_accept__SWIG_0(swigCPtr, this, ActionConfig.getCPtr(config), config);
- }
-
- public boolean accept() {
- return tinyWRAPJNI.InviteSession_accept__SWIG_1(swigCPtr, this);
- }
-
- public boolean hangup(ActionConfig config) {
- return tinyWRAPJNI.InviteSession_hangup__SWIG_0(swigCPtr, this, ActionConfig.getCPtr(config), config);
- }
-
- public boolean hangup() {
- return tinyWRAPJNI.InviteSession_hangup__SWIG_1(swigCPtr, this);
- }
-
- public boolean reject(ActionConfig config) {
- return tinyWRAPJNI.InviteSession_reject__SWIG_0(swigCPtr, this, ActionConfig.getCPtr(config), config);
- }
-
- public boolean reject() {
- return tinyWRAPJNI.InviteSession_reject__SWIG_1(swigCPtr, this);
- }
-
- public MediaSessionMgr getMediaMgr() {
- long cPtr = tinyWRAPJNI.InviteSession_getMediaMgr(swigCPtr, this);
- return (cPtr == 0) ? null : new MediaSessionMgr(cPtr, false);
- }
-
-}
diff --git a/branches/1.0/bindings/java/MediaContent.java b/branches/1.0/bindings/java/MediaContent.java
deleted file mode 100644
index 43faede..0000000
--- a/branches/1.0/bindings/java/MediaContent.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class MediaContent {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected MediaContent(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(MediaContent obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_MediaContent(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public String getType() {
- return tinyWRAPJNI.MediaContent_getType(swigCPtr, this);
- }
-
- public long getDataLength() {
- return tinyWRAPJNI.MediaContent_getDataLength(swigCPtr, this);
- }
-
- public long getData(java.nio.ByteBuffer output, long maxsize) {
- return tinyWRAPJNI.MediaContent_getData(swigCPtr, this, output, maxsize);
- }
-
- public static MediaContent parse(java.nio.ByteBuffer data, long size, String type) {
- long cPtr = tinyWRAPJNI.MediaContent_parse__SWIG_0(data, size, type);
- return (cPtr == 0) ? null : new MediaContent(cPtr, true);
- }
-
- public static MediaContentCPIM parse(java.nio.ByteBuffer data, long size) {
- long cPtr = tinyWRAPJNI.MediaContent_parse__SWIG_1(data, size);
- return (cPtr == 0) ? null : new MediaContentCPIM(cPtr, true);
- }
-
- public long getPayloadLength() {
- return tinyWRAPJNI.MediaContent_getPayloadLength(swigCPtr, this);
- }
-
- public long getPayload(java.nio.ByteBuffer output, long maxsize) {
- return tinyWRAPJNI.MediaContent_getPayload(swigCPtr, this, output, maxsize);
- }
-
-}
diff --git a/branches/1.0/bindings/java/MediaContentCPIM.java b/branches/1.0/bindings/java/MediaContentCPIM.java
deleted file mode 100644
index fb708e8..0000000
--- a/branches/1.0/bindings/java/MediaContentCPIM.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class MediaContentCPIM extends MediaContent {
- private long swigCPtr;
-
- protected MediaContentCPIM(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGMediaContentCPIMUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(MediaContentCPIM obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_MediaContentCPIM(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public long getPayloadLength() {
- return tinyWRAPJNI.MediaContentCPIM_getPayloadLength(swigCPtr, this);
- }
-
- public long getPayload(java.nio.ByteBuffer output, long maxsize) {
- return tinyWRAPJNI.MediaContentCPIM_getPayload(swigCPtr, this, output, maxsize);
- }
-
- public String getHeaderValue(String name) {
- return tinyWRAPJNI.MediaContentCPIM_getHeaderValue(swigCPtr, this, name);
- }
-
-}
diff --git a/branches/1.0/bindings/java/MediaSessionMgr.java b/branches/1.0/bindings/java/MediaSessionMgr.java
deleted file mode 100644
index 346e64c..0000000
--- a/branches/1.0/bindings/java/MediaSessionMgr.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class MediaSessionMgr {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected MediaSessionMgr(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(MediaSessionMgr obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_MediaSessionMgr(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public boolean sessionSetInt32(twrap_media_type_t media, String key, int value) {
- return tinyWRAPJNI.MediaSessionMgr_sessionSetInt32(swigCPtr, this, media.swigValue(), key, value);
- }
-
- public boolean consumerSetInt32(twrap_media_type_t media, String key, int value) {
- return tinyWRAPJNI.MediaSessionMgr_consumerSetInt32(swigCPtr, this, media.swigValue(), key, value);
- }
-
- public boolean consumerSetInt64(twrap_media_type_t media, String key, long value) {
- return tinyWRAPJNI.MediaSessionMgr_consumerSetInt64(swigCPtr, this, media.swigValue(), key, value);
- }
-
- public boolean producerSetInt32(twrap_media_type_t media, String key, int value) {
- return tinyWRAPJNI.MediaSessionMgr_producerSetInt32(swigCPtr, this, media.swigValue(), key, value);
- }
-
- public boolean producerSetInt64(twrap_media_type_t media, String key, long value) {
- return tinyWRAPJNI.MediaSessionMgr_producerSetInt64(swigCPtr, this, media.swigValue(), key, value);
- }
-
- public ProxyPlugin findProxyPluginConsumer(twrap_media_type_t media) {
- long cPtr = tinyWRAPJNI.MediaSessionMgr_findProxyPluginConsumer(swigCPtr, this, media.swigValue());
- return (cPtr == 0) ? null : new ProxyPlugin(cPtr, false);
- }
-
- public ProxyPlugin findProxyPluginProducer(twrap_media_type_t media) {
- long cPtr = tinyWRAPJNI.MediaSessionMgr_findProxyPluginProducer(swigCPtr, this, media.swigValue());
- return (cPtr == 0) ? null : new ProxyPlugin(cPtr, false);
- }
-
-}
diff --git a/branches/1.0/bindings/java/MessagingEvent.java b/branches/1.0/bindings/java/MessagingEvent.java
deleted file mode 100644
index c502d31..0000000
--- a/branches/1.0/bindings/java/MessagingEvent.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class MessagingEvent extends SipEvent {
- private long swigCPtr;
-
- protected MessagingEvent(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGMessagingEventUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(MessagingEvent obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_MessagingEvent(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public tsip_message_event_type_t getType() {
- return tsip_message_event_type_t.swigToEnum(tinyWRAPJNI.MessagingEvent_getType(swigCPtr, this));
- }
-
- public MessagingSession getSession() {
- long cPtr = tinyWRAPJNI.MessagingEvent_getSession(swigCPtr, this);
- return (cPtr == 0) ? null : new MessagingSession(cPtr, false);
- }
-
- public MessagingSession takeSessionOwnership() {
- long cPtr = tinyWRAPJNI.MessagingEvent_takeSessionOwnership(swigCPtr, this);
- return (cPtr == 0) ? null : new MessagingSession(cPtr, true);
- }
-
-}
diff --git a/branches/1.0/bindings/java/MessagingSession.java b/branches/1.0/bindings/java/MessagingSession.java
deleted file mode 100644
index db6fed4..0000000
--- a/branches/1.0/bindings/java/MessagingSession.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class MessagingSession extends SipSession {
- private long swigCPtr;
-
- protected MessagingSession(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGMessagingSessionUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(MessagingSession obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_MessagingSession(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public MessagingSession(SipStack Stack) {
- this(tinyWRAPJNI.new_MessagingSession(SipStack.getCPtr(Stack), Stack), true);
- }
-
- public boolean send(java.nio.ByteBuffer payload, long len) {
- return tinyWRAPJNI.MessagingSession_send(swigCPtr, this, payload, len);
- }
-
- public boolean accept() {
- return tinyWRAPJNI.MessagingSession_accept(swigCPtr, this);
- }
-
- public boolean reject() {
- return tinyWRAPJNI.MessagingSession_reject(swigCPtr, this);
- }
-
-}
diff --git a/branches/1.0/bindings/java/MsrpCallback.java b/branches/1.0/bindings/java/MsrpCallback.java
deleted file mode 100644
index 3507189..0000000
--- a/branches/1.0/bindings/java/MsrpCallback.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class MsrpCallback {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected MsrpCallback(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(MsrpCallback obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_MsrpCallback(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- protected void swigDirectorDisconnect() {
- swigCMemOwn = false;
- delete();
- }
-
- public void swigReleaseOwnership() {
- swigCMemOwn = false;
- tinyWRAPJNI.MsrpCallback_change_ownership(this, swigCPtr, false);
- }
-
- public void swigTakeOwnership() {
- swigCMemOwn = true;
- tinyWRAPJNI.MsrpCallback_change_ownership(this, swigCPtr, true);
- }
-
- public MsrpCallback() {
- this(tinyWRAPJNI.new_MsrpCallback(), true);
- tinyWRAPJNI.MsrpCallback_director_connect(this, swigCPtr, swigCMemOwn, true);
- }
-
- public int OnEvent(MsrpEvent e) {
- return (getClass() == MsrpCallback.class) ? tinyWRAPJNI.MsrpCallback_OnEvent(swigCPtr, this, MsrpEvent.getCPtr(e), e) : tinyWRAPJNI.MsrpCallback_OnEventSwigExplicitMsrpCallback(swigCPtr, this, MsrpEvent.getCPtr(e), e);
- }
-
-}
diff --git a/branches/1.0/bindings/java/MsrpEvent.java b/branches/1.0/bindings/java/MsrpEvent.java
deleted file mode 100644
index 4703fde..0000000
--- a/branches/1.0/bindings/java/MsrpEvent.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class MsrpEvent {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected MsrpEvent(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(MsrpEvent obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_MsrpEvent(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public tmsrp_event_type_t getType() {
- return tmsrp_event_type_t.swigToEnum(tinyWRAPJNI.MsrpEvent_getType(swigCPtr, this));
- }
-
- public MsrpSession getSipSession() {
- long cPtr = tinyWRAPJNI.MsrpEvent_getSipSession(swigCPtr, this);
- return (cPtr == 0) ? null : new MsrpSession(cPtr, false);
- }
-
- public MsrpMessage getMessage() {
- long cPtr = tinyWRAPJNI.MsrpEvent_getMessage(swigCPtr, this);
- return (cPtr == 0) ? null : new MsrpMessage(cPtr, false);
- }
-
-}
diff --git a/branches/1.0/bindings/java/MsrpMessage.java b/branches/1.0/bindings/java/MsrpMessage.java
deleted file mode 100644
index 379d201..0000000
--- a/branches/1.0/bindings/java/MsrpMessage.java
+++ /dev/null
@@ -1,84 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class MsrpMessage {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected MsrpMessage(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(MsrpMessage obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_MsrpMessage(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public MsrpMessage() {
- this(tinyWRAPJNI.new_MsrpMessage(), true);
- }
-
- public boolean isRequest() {
- return tinyWRAPJNI.MsrpMessage_isRequest(swigCPtr, this);
- }
-
- public short getCode() {
- return tinyWRAPJNI.MsrpMessage_getCode(swigCPtr, this);
- }
-
- public String getPhrase() {
- return tinyWRAPJNI.MsrpMessage_getPhrase(swigCPtr, this);
- }
-
- public tmsrp_request_type_t getRequestType() {
- return tmsrp_request_type_t.swigToEnum(tinyWRAPJNI.MsrpMessage_getRequestType(swigCPtr, this));
- }
-
- public void getByteRange(long[] arg0, long[] arg1, long[] arg2) {
- tinyWRAPJNI.MsrpMessage_getByteRange(swigCPtr, this, arg0, arg1, arg2);
- }
-
- public boolean isLastChunck() {
- return tinyWRAPJNI.MsrpMessage_isLastChunck(swigCPtr, this);
- }
-
- public boolean isFirstChunck() {
- return tinyWRAPJNI.MsrpMessage_isFirstChunck(swigCPtr, this);
- }
-
- public String getMsrpHeaderValue(String name) {
- return tinyWRAPJNI.MsrpMessage_getMsrpHeaderValue(swigCPtr, this, name);
- }
-
- public String getMsrpHeaderParamValue(String name, String param) {
- return tinyWRAPJNI.MsrpMessage_getMsrpHeaderParamValue(swigCPtr, this, name, param);
- }
-
- public long getMsrpContentLength() {
- return tinyWRAPJNI.MsrpMessage_getMsrpContentLength(swigCPtr, this);
- }
-
- public long getMsrpContent(java.nio.ByteBuffer output, long maxsize) {
- return tinyWRAPJNI.MsrpMessage_getMsrpContent(swigCPtr, this, output, maxsize);
- }
-
-}
diff --git a/branches/1.0/bindings/java/MsrpSession.java b/branches/1.0/bindings/java/MsrpSession.java
deleted file mode 100644
index 7cd3b31..0000000
--- a/branches/1.0/bindings/java/MsrpSession.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class MsrpSession extends InviteSession {
- private long swigCPtr;
-
- protected MsrpSession(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGMsrpSessionUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(MsrpSession obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_MsrpSession(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public MsrpSession(SipStack Stack, MsrpCallback callback) {
- this(tinyWRAPJNI.new_MsrpSession(SipStack.getCPtr(Stack), Stack, MsrpCallback.getCPtr(callback), callback), true);
- }
-
- public boolean setCallback(MsrpCallback callback) {
- return tinyWRAPJNI.MsrpSession_setCallback(swigCPtr, this, MsrpCallback.getCPtr(callback), callback);
- }
-
- public boolean callMsrp(String remoteUri, ActionConfig config) {
- return tinyWRAPJNI.MsrpSession_callMsrp__SWIG_0(swigCPtr, this, remoteUri, ActionConfig.getCPtr(config), config);
- }
-
- public boolean callMsrp(String remoteUri) {
- return tinyWRAPJNI.MsrpSession_callMsrp__SWIG_1(swigCPtr, this, remoteUri);
- }
-
- public boolean sendMessage(java.nio.ByteBuffer payload, long len, ActionConfig config) {
- return tinyWRAPJNI.MsrpSession_sendMessage__SWIG_0(swigCPtr, this, payload, len, ActionConfig.getCPtr(config), config);
- }
-
- public boolean sendMessage(java.nio.ByteBuffer payload, long len) {
- return tinyWRAPJNI.MsrpSession_sendMessage__SWIG_1(swigCPtr, this, payload, len);
- }
-
- public boolean sendFile(ActionConfig config) {
- return tinyWRAPJNI.MsrpSession_sendFile__SWIG_0(swigCPtr, this, ActionConfig.getCPtr(config), config);
- }
-
- public boolean sendFile() {
- return tinyWRAPJNI.MsrpSession_sendFile__SWIG_1(swigCPtr, this);
- }
-
-}
diff --git a/branches/1.0/bindings/java/OptionsEvent.java b/branches/1.0/bindings/java/OptionsEvent.java
deleted file mode 100644
index ca77684..0000000
--- a/branches/1.0/bindings/java/OptionsEvent.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class OptionsEvent extends SipEvent {
- private long swigCPtr;
-
- protected OptionsEvent(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGOptionsEventUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(OptionsEvent obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_OptionsEvent(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public tsip_options_event_type_t getType() {
- return tsip_options_event_type_t.swigToEnum(tinyWRAPJNI.OptionsEvent_getType(swigCPtr, this));
- }
-
- public OptionsSession getSession() {
- long cPtr = tinyWRAPJNI.OptionsEvent_getSession(swigCPtr, this);
- return (cPtr == 0) ? null : new OptionsSession(cPtr, false);
- }
-
-}
diff --git a/branches/1.0/bindings/java/OptionsSession.java b/branches/1.0/bindings/java/OptionsSession.java
deleted file mode 100644
index 78f315e..0000000
--- a/branches/1.0/bindings/java/OptionsSession.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class OptionsSession extends SipSession {
- private long swigCPtr;
-
- protected OptionsSession(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGOptionsSessionUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(OptionsSession obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_OptionsSession(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public OptionsSession(SipStack Stack) {
- this(tinyWRAPJNI.new_OptionsSession(SipStack.getCPtr(Stack), Stack), true);
- }
-
- public boolean send() {
- return tinyWRAPJNI.OptionsSession_send(swigCPtr, this);
- }
-
-}
diff --git a/branches/1.0/bindings/java/ProxyAudioConsumer.java b/branches/1.0/bindings/java/ProxyAudioConsumer.java
deleted file mode 100644
index d143dc0..0000000
--- a/branches/1.0/bindings/java/ProxyAudioConsumer.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class ProxyAudioConsumer extends ProxyPlugin {
- private long swigCPtr;
-
- protected ProxyAudioConsumer(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGProxyAudioConsumerUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(ProxyAudioConsumer obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_ProxyAudioConsumer(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public long pull(java.nio.ByteBuffer output, long size) {
- return tinyWRAPJNI.ProxyAudioConsumer_pull(swigCPtr, this, output, size);
- }
-
- public boolean reset() {
- return tinyWRAPJNI.ProxyAudioConsumer_reset(swigCPtr, this);
- }
-
- public void setCallback(ProxyAudioConsumerCallback _callback) {
- tinyWRAPJNI.ProxyAudioConsumer_setCallback(swigCPtr, this, ProxyAudioConsumerCallback.getCPtr(_callback), _callback);
- }
-
- public java.math.BigInteger getMediaSessionId() {
- return tinyWRAPJNI.ProxyAudioConsumer_getMediaSessionId(swigCPtr, this);
- }
-
- public static boolean registerPlugin() {
- return tinyWRAPJNI.ProxyAudioConsumer_registerPlugin();
- }
-
-}
diff --git a/branches/1.0/bindings/java/ProxyAudioConsumerCallback.java b/branches/1.0/bindings/java/ProxyAudioConsumerCallback.java
deleted file mode 100644
index 3d78ff4..0000000
--- a/branches/1.0/bindings/java/ProxyAudioConsumerCallback.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class ProxyAudioConsumerCallback {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected ProxyAudioConsumerCallback(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(ProxyAudioConsumerCallback obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_ProxyAudioConsumerCallback(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- protected void swigDirectorDisconnect() {
- swigCMemOwn = false;
- delete();
- }
-
- public void swigReleaseOwnership() {
- swigCMemOwn = false;
- tinyWRAPJNI.ProxyAudioConsumerCallback_change_ownership(this, swigCPtr, false);
- }
-
- public void swigTakeOwnership() {
- swigCMemOwn = true;
- tinyWRAPJNI.ProxyAudioConsumerCallback_change_ownership(this, swigCPtr, true);
- }
-
- public ProxyAudioConsumerCallback() {
- this(tinyWRAPJNI.new_ProxyAudioConsumerCallback(), true);
- tinyWRAPJNI.ProxyAudioConsumerCallback_director_connect(this, swigCPtr, swigCMemOwn, true);
- }
-
- public int prepare(int ptime, int rate, int channels) {
- return (getClass() == ProxyAudioConsumerCallback.class) ? tinyWRAPJNI.ProxyAudioConsumerCallback_prepare(swigCPtr, this, ptime, rate, channels) : tinyWRAPJNI.ProxyAudioConsumerCallback_prepareSwigExplicitProxyAudioConsumerCallback(swigCPtr, this, ptime, rate, channels);
- }
-
- public int start() {
- return (getClass() == ProxyAudioConsumerCallback.class) ? tinyWRAPJNI.ProxyAudioConsumerCallback_start(swigCPtr, this) : tinyWRAPJNI.ProxyAudioConsumerCallback_startSwigExplicitProxyAudioConsumerCallback(swigCPtr, this);
- }
-
- public int pause() {
- return (getClass() == ProxyAudioConsumerCallback.class) ? tinyWRAPJNI.ProxyAudioConsumerCallback_pause(swigCPtr, this) : tinyWRAPJNI.ProxyAudioConsumerCallback_pauseSwigExplicitProxyAudioConsumerCallback(swigCPtr, this);
- }
-
- public int stop() {
- return (getClass() == ProxyAudioConsumerCallback.class) ? tinyWRAPJNI.ProxyAudioConsumerCallback_stop(swigCPtr, this) : tinyWRAPJNI.ProxyAudioConsumerCallback_stopSwigExplicitProxyAudioConsumerCallback(swigCPtr, this);
- }
-
-}
diff --git a/branches/1.0/bindings/java/ProxyAudioProducer.java b/branches/1.0/bindings/java/ProxyAudioProducer.java
deleted file mode 100644
index 2fca0d7..0000000
--- a/branches/1.0/bindings/java/ProxyAudioProducer.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class ProxyAudioProducer extends ProxyPlugin {
- private long swigCPtr;
-
- protected ProxyAudioProducer(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGProxyAudioProducerUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(ProxyAudioProducer obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_ProxyAudioProducer(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public int push(java.nio.ByteBuffer buffer, long size) {
- return tinyWRAPJNI.ProxyAudioProducer_push(swigCPtr, this, buffer, size);
- }
-
- public void setCallback(ProxyAudioProducerCallback _callback) {
- tinyWRAPJNI.ProxyAudioProducer_setCallback(swigCPtr, this, ProxyAudioProducerCallback.getCPtr(_callback), _callback);
- }
-
- public java.math.BigInteger getMediaSessionId() {
- return tinyWRAPJNI.ProxyAudioProducer_getMediaSessionId(swigCPtr, this);
- }
-
- public static boolean registerPlugin() {
- return tinyWRAPJNI.ProxyAudioProducer_registerPlugin();
- }
-
-}
diff --git a/branches/1.0/bindings/java/ProxyAudioProducerCallback.java b/branches/1.0/bindings/java/ProxyAudioProducerCallback.java
deleted file mode 100644
index 1f190e3..0000000
--- a/branches/1.0/bindings/java/ProxyAudioProducerCallback.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class ProxyAudioProducerCallback {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected ProxyAudioProducerCallback(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(ProxyAudioProducerCallback obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_ProxyAudioProducerCallback(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- protected void swigDirectorDisconnect() {
- swigCMemOwn = false;
- delete();
- }
-
- public void swigReleaseOwnership() {
- swigCMemOwn = false;
- tinyWRAPJNI.ProxyAudioProducerCallback_change_ownership(this, swigCPtr, false);
- }
-
- public void swigTakeOwnership() {
- swigCMemOwn = true;
- tinyWRAPJNI.ProxyAudioProducerCallback_change_ownership(this, swigCPtr, true);
- }
-
- public ProxyAudioProducerCallback() {
- this(tinyWRAPJNI.new_ProxyAudioProducerCallback(), true);
- tinyWRAPJNI.ProxyAudioProducerCallback_director_connect(this, swigCPtr, swigCMemOwn, true);
- }
-
- public int prepare(int ptime, int rate, int channels) {
- return (getClass() == ProxyAudioProducerCallback.class) ? tinyWRAPJNI.ProxyAudioProducerCallback_prepare(swigCPtr, this, ptime, rate, channels) : tinyWRAPJNI.ProxyAudioProducerCallback_prepareSwigExplicitProxyAudioProducerCallback(swigCPtr, this, ptime, rate, channels);
- }
-
- public int start() {
- return (getClass() == ProxyAudioProducerCallback.class) ? tinyWRAPJNI.ProxyAudioProducerCallback_start(swigCPtr, this) : tinyWRAPJNI.ProxyAudioProducerCallback_startSwigExplicitProxyAudioProducerCallback(swigCPtr, this);
- }
-
- public int pause() {
- return (getClass() == ProxyAudioProducerCallback.class) ? tinyWRAPJNI.ProxyAudioProducerCallback_pause(swigCPtr, this) : tinyWRAPJNI.ProxyAudioProducerCallback_pauseSwigExplicitProxyAudioProducerCallback(swigCPtr, this);
- }
-
- public int stop() {
- return (getClass() == ProxyAudioProducerCallback.class) ? tinyWRAPJNI.ProxyAudioProducerCallback_stop(swigCPtr, this) : tinyWRAPJNI.ProxyAudioProducerCallback_stopSwigExplicitProxyAudioProducerCallback(swigCPtr, this);
- }
-
-}
diff --git a/branches/1.0/bindings/java/ProxyPlugin.java b/branches/1.0/bindings/java/ProxyPlugin.java
deleted file mode 100644
index 62e2afc..0000000
--- a/branches/1.0/bindings/java/ProxyPlugin.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class ProxyPlugin {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected ProxyPlugin(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(ProxyPlugin obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_ProxyPlugin(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public twrap_proxy_plugin_type_t getType() {
- return twrap_proxy_plugin_type_t.swigToEnum(tinyWRAPJNI.ProxyPlugin_getType(swigCPtr, this));
- }
-
- public java.math.BigInteger getId() {
- return tinyWRAPJNI.ProxyPlugin_getId(swigCPtr, this);
- }
-
-}
diff --git a/branches/1.0/bindings/java/ProxyPluginMgr.java b/branches/1.0/bindings/java/ProxyPluginMgr.java
deleted file mode 100644
index 03f9683..0000000
--- a/branches/1.0/bindings/java/ProxyPluginMgr.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class ProxyPluginMgr {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected ProxyPluginMgr(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(ProxyPluginMgr obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_ProxyPluginMgr(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public static ProxyPluginMgr createInstance(ProxyPluginMgrCallback callback) {
- long cPtr = tinyWRAPJNI.ProxyPluginMgr_createInstance(ProxyPluginMgrCallback.getCPtr(callback), callback);
- return (cPtr == 0) ? null : new ProxyPluginMgr(cPtr, true);
- }
-
- public static ProxyPluginMgr getInstance() {
- long cPtr = tinyWRAPJNI.ProxyPluginMgr_getInstance();
- return (cPtr == 0) ? null : new ProxyPluginMgr(cPtr, false);
- }
-
- public ProxyAudioConsumer findAudioConsumer(java.math.BigInteger id) {
- long cPtr = tinyWRAPJNI.ProxyPluginMgr_findAudioConsumer(swigCPtr, this, id);
- return (cPtr == 0) ? null : new ProxyAudioConsumer(cPtr, false);
- }
-
- public ProxyVideoConsumer findVideoConsumer(java.math.BigInteger id) {
- long cPtr = tinyWRAPJNI.ProxyPluginMgr_findVideoConsumer(swigCPtr, this, id);
- return (cPtr == 0) ? null : new ProxyVideoConsumer(cPtr, false);
- }
-
- public ProxyAudioProducer findAudioProducer(java.math.BigInteger id) {
- long cPtr = tinyWRAPJNI.ProxyPluginMgr_findAudioProducer(swigCPtr, this, id);
- return (cPtr == 0) ? null : new ProxyAudioProducer(cPtr, false);
- }
-
- public ProxyVideoProducer findVideoProducer(java.math.BigInteger id) {
- long cPtr = tinyWRAPJNI.ProxyPluginMgr_findVideoProducer(swigCPtr, this, id);
- return (cPtr == 0) ? null : new ProxyVideoProducer(cPtr, false);
- }
-
-}
diff --git a/branches/1.0/bindings/java/ProxyPluginMgrCallback.java b/branches/1.0/bindings/java/ProxyPluginMgrCallback.java
deleted file mode 100644
index 1a31304..0000000
--- a/branches/1.0/bindings/java/ProxyPluginMgrCallback.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class ProxyPluginMgrCallback {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected ProxyPluginMgrCallback(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(ProxyPluginMgrCallback obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_ProxyPluginMgrCallback(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- protected void swigDirectorDisconnect() {
- swigCMemOwn = false;
- delete();
- }
-
- public void swigReleaseOwnership() {
- swigCMemOwn = false;
- tinyWRAPJNI.ProxyPluginMgrCallback_change_ownership(this, swigCPtr, false);
- }
-
- public void swigTakeOwnership() {
- swigCMemOwn = true;
- tinyWRAPJNI.ProxyPluginMgrCallback_change_ownership(this, swigCPtr, true);
- }
-
- public ProxyPluginMgrCallback() {
- this(tinyWRAPJNI.new_ProxyPluginMgrCallback(), true);
- tinyWRAPJNI.ProxyPluginMgrCallback_director_connect(this, swigCPtr, swigCMemOwn, true);
- }
-
- public int OnPluginCreated(java.math.BigInteger id, twrap_proxy_plugin_type_t type) {
- return (getClass() == ProxyPluginMgrCallback.class) ? tinyWRAPJNI.ProxyPluginMgrCallback_OnPluginCreated(swigCPtr, this, id, type.swigValue()) : tinyWRAPJNI.ProxyPluginMgrCallback_OnPluginCreatedSwigExplicitProxyPluginMgrCallback(swigCPtr, this, id, type.swigValue());
- }
-
- public int OnPluginDestroyed(java.math.BigInteger id, twrap_proxy_plugin_type_t type) {
- return (getClass() == ProxyPluginMgrCallback.class) ? tinyWRAPJNI.ProxyPluginMgrCallback_OnPluginDestroyed(swigCPtr, this, id, type.swigValue()) : tinyWRAPJNI.ProxyPluginMgrCallback_OnPluginDestroyedSwigExplicitProxyPluginMgrCallback(swigCPtr, this, id, type.swigValue());
- }
-
-}
diff --git a/branches/1.0/bindings/java/ProxyVideoConsumer.java b/branches/1.0/bindings/java/ProxyVideoConsumer.java
deleted file mode 100644
index 4e020ce..0000000
--- a/branches/1.0/bindings/java/ProxyVideoConsumer.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class ProxyVideoConsumer extends ProxyPlugin {
- private long swigCPtr;
-
- protected ProxyVideoConsumer(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGProxyVideoConsumerUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(ProxyVideoConsumer obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_ProxyVideoConsumer(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public boolean setDisplaySize(int width, int height) {
- return tinyWRAPJNI.ProxyVideoConsumer_setDisplaySize(swigCPtr, this, width, height);
- }
-
- public void setCallback(ProxyVideoConsumerCallback _callback) {
- tinyWRAPJNI.ProxyVideoConsumer_setCallback(swigCPtr, this, ProxyVideoConsumerCallback.getCPtr(_callback), _callback);
- }
-
- public java.math.BigInteger getMediaSessionId() {
- return tinyWRAPJNI.ProxyVideoConsumer_getMediaSessionId(swigCPtr, this);
- }
-
- public static boolean registerPlugin() {
- return tinyWRAPJNI.ProxyVideoConsumer_registerPlugin();
- }
-
- public static void setDefaultChroma(tmedia_chroma_t chroma) {
- tinyWRAPJNI.ProxyVideoConsumer_setDefaultChroma(chroma.swigValue());
- }
-
-}
diff --git a/branches/1.0/bindings/java/ProxyVideoConsumerCallback.java b/branches/1.0/bindings/java/ProxyVideoConsumerCallback.java
deleted file mode 100644
index 15a4301..0000000
--- a/branches/1.0/bindings/java/ProxyVideoConsumerCallback.java
+++ /dev/null
@@ -1,76 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class ProxyVideoConsumerCallback {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected ProxyVideoConsumerCallback(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(ProxyVideoConsumerCallback obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_ProxyVideoConsumerCallback(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- protected void swigDirectorDisconnect() {
- swigCMemOwn = false;
- delete();
- }
-
- public void swigReleaseOwnership() {
- swigCMemOwn = false;
- tinyWRAPJNI.ProxyVideoConsumerCallback_change_ownership(this, swigCPtr, false);
- }
-
- public void swigTakeOwnership() {
- swigCMemOwn = true;
- tinyWRAPJNI.ProxyVideoConsumerCallback_change_ownership(this, swigCPtr, true);
- }
-
- public ProxyVideoConsumerCallback() {
- this(tinyWRAPJNI.new_ProxyVideoConsumerCallback(), true);
- tinyWRAPJNI.ProxyVideoConsumerCallback_director_connect(this, swigCPtr, swigCMemOwn, true);
- }
-
- public int prepare(int width, int height, int fps) {
- return (getClass() == ProxyVideoConsumerCallback.class) ? tinyWRAPJNI.ProxyVideoConsumerCallback_prepare(swigCPtr, this, width, height, fps) : tinyWRAPJNI.ProxyVideoConsumerCallback_prepareSwigExplicitProxyVideoConsumerCallback(swigCPtr, this, width, height, fps);
- }
-
- public int consume(ProxyVideoFrame frame) {
- return (getClass() == ProxyVideoConsumerCallback.class) ? tinyWRAPJNI.ProxyVideoConsumerCallback_consume(swigCPtr, this, ProxyVideoFrame.getCPtr(frame), frame) : tinyWRAPJNI.ProxyVideoConsumerCallback_consumeSwigExplicitProxyVideoConsumerCallback(swigCPtr, this, ProxyVideoFrame.getCPtr(frame), frame);
- }
-
- public int start() {
- return (getClass() == ProxyVideoConsumerCallback.class) ? tinyWRAPJNI.ProxyVideoConsumerCallback_start(swigCPtr, this) : tinyWRAPJNI.ProxyVideoConsumerCallback_startSwigExplicitProxyVideoConsumerCallback(swigCPtr, this);
- }
-
- public int pause() {
- return (getClass() == ProxyVideoConsumerCallback.class) ? tinyWRAPJNI.ProxyVideoConsumerCallback_pause(swigCPtr, this) : tinyWRAPJNI.ProxyVideoConsumerCallback_pauseSwigExplicitProxyVideoConsumerCallback(swigCPtr, this);
- }
-
- public int stop() {
- return (getClass() == ProxyVideoConsumerCallback.class) ? tinyWRAPJNI.ProxyVideoConsumerCallback_stop(swigCPtr, this) : tinyWRAPJNI.ProxyVideoConsumerCallback_stopSwigExplicitProxyVideoConsumerCallback(swigCPtr, this);
- }
-
-}
diff --git a/branches/1.0/bindings/java/ProxyVideoFrame.java b/branches/1.0/bindings/java/ProxyVideoFrame.java
deleted file mode 100644
index 34a01ca..0000000
--- a/branches/1.0/bindings/java/ProxyVideoFrame.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class ProxyVideoFrame {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected ProxyVideoFrame(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(ProxyVideoFrame obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_ProxyVideoFrame(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public long getSize() {
- return tinyWRAPJNI.ProxyVideoFrame_getSize(swigCPtr, this);
- }
-
- public long getContent(java.nio.ByteBuffer output, long maxsize) {
- return tinyWRAPJNI.ProxyVideoFrame_getContent(swigCPtr, this, output, maxsize);
- }
-
-}
diff --git a/branches/1.0/bindings/java/ProxyVideoProducer.java b/branches/1.0/bindings/java/ProxyVideoProducer.java
deleted file mode 100644
index 250cd44..0000000
--- a/branches/1.0/bindings/java/ProxyVideoProducer.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class ProxyVideoProducer extends ProxyPlugin {
- private long swigCPtr;
-
- protected ProxyVideoProducer(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGProxyVideoProducerUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(ProxyVideoProducer obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_ProxyVideoProducer(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public int getRotation() {
- return tinyWRAPJNI.ProxyVideoProducer_getRotation(swigCPtr, this);
- }
-
- public void setRotation(int rot) {
- tinyWRAPJNI.ProxyVideoProducer_setRotation(swigCPtr, this, rot);
- }
-
- public int push(java.nio.ByteBuffer buffer, long size) {
- return tinyWRAPJNI.ProxyVideoProducer_push(swigCPtr, this, buffer, size);
- }
-
- public int send(java.nio.ByteBuffer buffer, long size, long duration, boolean marker) {
- return tinyWRAPJNI.ProxyVideoProducer_send(swigCPtr, this, buffer, size, duration, marker);
- }
-
- public void setCallback(ProxyVideoProducerCallback _callback) {
- tinyWRAPJNI.ProxyVideoProducer_setCallback(swigCPtr, this, ProxyVideoProducerCallback.getCPtr(_callback), _callback);
- }
-
- public java.math.BigInteger getMediaSessionId() {
- return tinyWRAPJNI.ProxyVideoProducer_getMediaSessionId(swigCPtr, this);
- }
-
- public static boolean registerPlugin() {
- return tinyWRAPJNI.ProxyVideoProducer_registerPlugin();
- }
-
- public static void setDefaultChroma(tmedia_chroma_t chroma) {
- tinyWRAPJNI.ProxyVideoProducer_setDefaultChroma(chroma.swigValue());
- }
-
-}
diff --git a/branches/1.0/bindings/java/ProxyVideoProducerCallback.java b/branches/1.0/bindings/java/ProxyVideoProducerCallback.java
deleted file mode 100644
index d05440e..0000000
--- a/branches/1.0/bindings/java/ProxyVideoProducerCallback.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class ProxyVideoProducerCallback {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected ProxyVideoProducerCallback(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(ProxyVideoProducerCallback obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_ProxyVideoProducerCallback(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- protected void swigDirectorDisconnect() {
- swigCMemOwn = false;
- delete();
- }
-
- public void swigReleaseOwnership() {
- swigCMemOwn = false;
- tinyWRAPJNI.ProxyVideoProducerCallback_change_ownership(this, swigCPtr, false);
- }
-
- public void swigTakeOwnership() {
- swigCMemOwn = true;
- tinyWRAPJNI.ProxyVideoProducerCallback_change_ownership(this, swigCPtr, true);
- }
-
- public ProxyVideoProducerCallback() {
- this(tinyWRAPJNI.new_ProxyVideoProducerCallback(), true);
- tinyWRAPJNI.ProxyVideoProducerCallback_director_connect(this, swigCPtr, swigCMemOwn, true);
- }
-
- public int prepare(int width, int height, int fps) {
- return (getClass() == ProxyVideoProducerCallback.class) ? tinyWRAPJNI.ProxyVideoProducerCallback_prepare(swigCPtr, this, width, height, fps) : tinyWRAPJNI.ProxyVideoProducerCallback_prepareSwigExplicitProxyVideoProducerCallback(swigCPtr, this, width, height, fps);
- }
-
- public int start() {
- return (getClass() == ProxyVideoProducerCallback.class) ? tinyWRAPJNI.ProxyVideoProducerCallback_start(swigCPtr, this) : tinyWRAPJNI.ProxyVideoProducerCallback_startSwigExplicitProxyVideoProducerCallback(swigCPtr, this);
- }
-
- public int pause() {
- return (getClass() == ProxyVideoProducerCallback.class) ? tinyWRAPJNI.ProxyVideoProducerCallback_pause(swigCPtr, this) : tinyWRAPJNI.ProxyVideoProducerCallback_pauseSwigExplicitProxyVideoProducerCallback(swigCPtr, this);
- }
-
- public int stop() {
- return (getClass() == ProxyVideoProducerCallback.class) ? tinyWRAPJNI.ProxyVideoProducerCallback_stop(swigCPtr, this) : tinyWRAPJNI.ProxyVideoProducerCallback_stopSwigExplicitProxyVideoProducerCallback(swigCPtr, this);
- }
-
-}
diff --git a/branches/1.0/bindings/java/PublicationEvent.java b/branches/1.0/bindings/java/PublicationEvent.java
deleted file mode 100644
index 8854168..0000000
--- a/branches/1.0/bindings/java/PublicationEvent.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class PublicationEvent extends SipEvent {
- private long swigCPtr;
-
- protected PublicationEvent(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGPublicationEventUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(PublicationEvent obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_PublicationEvent(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public tsip_publish_event_type_t getType() {
- return tsip_publish_event_type_t.swigToEnum(tinyWRAPJNI.PublicationEvent_getType(swigCPtr, this));
- }
-
- public PublicationSession getSession() {
- long cPtr = tinyWRAPJNI.PublicationEvent_getSession(swigCPtr, this);
- return (cPtr == 0) ? null : new PublicationSession(cPtr, false);
- }
-
-}
diff --git a/branches/1.0/bindings/java/PublicationSession.java b/branches/1.0/bindings/java/PublicationSession.java
deleted file mode 100644
index 62d7ab2..0000000
--- a/branches/1.0/bindings/java/PublicationSession.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class PublicationSession extends SipSession {
- private long swigCPtr;
-
- protected PublicationSession(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGPublicationSessionUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(PublicationSession obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_PublicationSession(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public boolean Publish(byte[] bytes) {
- if(bytes != null){
- final java.nio.ByteBuffer byteBuffer = this.getByteBuffer(bytes);
- return this.publish(byteBuffer, bytes.length);
- }
- return false;
- }
-
- public PublicationSession(SipStack Stack) {
- this(tinyWRAPJNI.new_PublicationSession(SipStack.getCPtr(Stack), Stack), true);
- }
-
- public boolean publish(java.nio.ByteBuffer payload, long len) {
- return tinyWRAPJNI.PublicationSession_publish(swigCPtr, this, payload, len);
- }
-
- public boolean unPublish() {
- return tinyWRAPJNI.PublicationSession_unPublish(swigCPtr, this);
- }
-
-}
diff --git a/branches/1.0/bindings/java/RPMessage.java b/branches/1.0/bindings/java/RPMessage.java
deleted file mode 100644
index 711f990..0000000
--- a/branches/1.0/bindings/java/RPMessage.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class RPMessage {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected RPMessage(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(RPMessage obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_RPMessage(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public RPMessage() {
- this(tinyWRAPJNI.new_RPMessage(), true);
- }
-
- public twrap_rpmessage_type_t getType() {
- return twrap_rpmessage_type_t.swigToEnum(tinyWRAPJNI.RPMessage_getType(swigCPtr, this));
- }
-
- public long getPayloadLength() {
- return tinyWRAPJNI.RPMessage_getPayloadLength(swigCPtr, this);
- }
-
- public long getPayload(java.nio.ByteBuffer output, long maxsize) {
- return tinyWRAPJNI.RPMessage_getPayload(swigCPtr, this, output, maxsize);
- }
-
-}
diff --git a/branches/1.0/bindings/java/RegistrationEvent.java b/branches/1.0/bindings/java/RegistrationEvent.java
deleted file mode 100644
index 6ae317b..0000000
--- a/branches/1.0/bindings/java/RegistrationEvent.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class RegistrationEvent extends SipEvent {
- private long swigCPtr;
-
- protected RegistrationEvent(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGRegistrationEventUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(RegistrationEvent obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_RegistrationEvent(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public tsip_register_event_type_t getType() {
- return tsip_register_event_type_t.swigToEnum(tinyWRAPJNI.RegistrationEvent_getType(swigCPtr, this));
- }
-
- public RegistrationSession getSession() {
- long cPtr = tinyWRAPJNI.RegistrationEvent_getSession(swigCPtr, this);
- return (cPtr == 0) ? null : new RegistrationSession(cPtr, false);
- }
-
- public RegistrationSession takeSessionOwnership() {
- long cPtr = tinyWRAPJNI.RegistrationEvent_takeSessionOwnership(swigCPtr, this);
- return (cPtr == 0) ? null : new RegistrationSession(cPtr, true);
- }
-
-}
diff --git a/branches/1.0/bindings/java/RegistrationSession.java b/branches/1.0/bindings/java/RegistrationSession.java
deleted file mode 100644
index 44aa32f..0000000
--- a/branches/1.0/bindings/java/RegistrationSession.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class RegistrationSession extends SipSession {
- private long swigCPtr;
-
- protected RegistrationSession(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGRegistrationSessionUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(RegistrationSession obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_RegistrationSession(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public RegistrationSession(SipStack Stack) {
- this(tinyWRAPJNI.new_RegistrationSession(SipStack.getCPtr(Stack), Stack), true);
- }
-
- public boolean register_() {
- return tinyWRAPJNI.RegistrationSession_register_(swigCPtr, this);
- }
-
- public boolean unRegister() {
- return tinyWRAPJNI.RegistrationSession_unRegister(swigCPtr, this);
- }
-
- public boolean accept(ActionConfig config) {
- return tinyWRAPJNI.RegistrationSession_accept__SWIG_0(swigCPtr, this, ActionConfig.getCPtr(config), config);
- }
-
- public boolean accept() {
- return tinyWRAPJNI.RegistrationSession_accept__SWIG_1(swigCPtr, this);
- }
-
- public boolean reject(ActionConfig config) {
- return tinyWRAPJNI.RegistrationSession_reject__SWIG_0(swigCPtr, this, ActionConfig.getCPtr(config), config);
- }
-
- public boolean reject() {
- return tinyWRAPJNI.RegistrationSession_reject__SWIG_1(swigCPtr, this);
- }
-
-}
diff --git a/branches/1.0/bindings/java/SMSData.java b/branches/1.0/bindings/java/SMSData.java
deleted file mode 100644
index 12957ec..0000000
--- a/branches/1.0/bindings/java/SMSData.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class SMSData {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected SMSData(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(SMSData obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_SMSData(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public SMSData() {
- this(tinyWRAPJNI.new_SMSData(), true);
- }
-
- public twrap_sms_type_t getType() {
- return twrap_sms_type_t.swigToEnum(tinyWRAPJNI.SMSData_getType(swigCPtr, this));
- }
-
- public int getMR() {
- return tinyWRAPJNI.SMSData_getMR(swigCPtr, this);
- }
-
- public long getPayloadLength() {
- return tinyWRAPJNI.SMSData_getPayloadLength(swigCPtr, this);
- }
-
- public long getPayload(java.nio.ByteBuffer output, long maxsize) {
- return tinyWRAPJNI.SMSData_getPayload(swigCPtr, this, output, maxsize);
- }
-
- public String getOA() {
- return tinyWRAPJNI.SMSData_getOA(swigCPtr, this);
- }
-
- public String getDA() {
- return tinyWRAPJNI.SMSData_getDA(swigCPtr, this);
- }
-
-}
diff --git a/branches/1.0/bindings/java/SMSEncoder.java b/branches/1.0/bindings/java/SMSEncoder.java
deleted file mode 100644
index 3e44573..0000000
--- a/branches/1.0/bindings/java/SMSEncoder.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class SMSEncoder {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected SMSEncoder(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(SMSEncoder obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_SMSEncoder(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public static RPMessage encodeSubmit(int mr, String smsc, String destination, String ascii) {
- long cPtr = tinyWRAPJNI.SMSEncoder_encodeSubmit(mr, smsc, destination, ascii);
- return (cPtr == 0) ? null : new RPMessage(cPtr, true);
- }
-
- public static RPMessage encodeDeliver(int mr, String smsc, String originator, String ascii) {
- long cPtr = tinyWRAPJNI.SMSEncoder_encodeDeliver(mr, smsc, originator, ascii);
- return (cPtr == 0) ? null : new RPMessage(cPtr, true);
- }
-
- public static RPMessage encodeACK(int mr, String smsc, String destination, boolean forSUBMIT) {
- long cPtr = tinyWRAPJNI.SMSEncoder_encodeACK(mr, smsc, destination, forSUBMIT);
- return (cPtr == 0) ? null : new RPMessage(cPtr, true);
- }
-
- public static RPMessage encodeError(int mr, String smsc, String destination, boolean forSUBMIT) {
- long cPtr = tinyWRAPJNI.SMSEncoder_encodeError(mr, smsc, destination, forSUBMIT);
- return (cPtr == 0) ? null : new RPMessage(cPtr, true);
- }
-
- public static SMSData decode(java.nio.ByteBuffer data, long size, boolean MobOrig) {
- long cPtr = tinyWRAPJNI.SMSEncoder_decode(data, size, MobOrig);
- return (cPtr == 0) ? null : new SMSData(cPtr, true);
- }
-
-}
diff --git a/branches/1.0/bindings/java/SafeObject.java b/branches/1.0/bindings/java/SafeObject.java
deleted file mode 100644
index 4cef075..0000000
--- a/branches/1.0/bindings/java/SafeObject.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class SafeObject {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected SafeObject(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(SafeObject obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_SafeObject(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public SafeObject() {
- this(tinyWRAPJNI.new_SafeObject(), true);
- }
-
- public int Lock() {
- return tinyWRAPJNI.SafeObject_Lock(swigCPtr, this);
- }
-
- public int UnLock() {
- return tinyWRAPJNI.SafeObject_UnLock(swigCPtr, this);
- }
-
-}
diff --git a/branches/1.0/bindings/java/SdpMessage.java b/branches/1.0/bindings/java/SdpMessage.java
deleted file mode 100644
index 410ba16..0000000
--- a/branches/1.0/bindings/java/SdpMessage.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class SdpMessage {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected SdpMessage(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(SdpMessage obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_SdpMessage(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public SdpMessage() {
- this(tinyWRAPJNI.new_SdpMessage(), true);
- }
-
- public String getSdpHeaderValue(String media, char name, long index) {
- return tinyWRAPJNI.SdpMessage_getSdpHeaderValue__SWIG_0(swigCPtr, this, media, name, index);
- }
-
- public String getSdpHeaderValue(String media, char name) {
- return tinyWRAPJNI.SdpMessage_getSdpHeaderValue__SWIG_1(swigCPtr, this, media, name);
- }
-
- public String getSdpHeaderAValue(String media, String attributeName) {
- return tinyWRAPJNI.SdpMessage_getSdpHeaderAValue(swigCPtr, this, media, attributeName);
- }
-
-}
diff --git a/branches/1.0/bindings/java/SipCallback.java b/branches/1.0/bindings/java/SipCallback.java
deleted file mode 100644
index acf7b02..0000000
--- a/branches/1.0/bindings/java/SipCallback.java
+++ /dev/null
@@ -1,88 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class SipCallback {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected SipCallback(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(SipCallback obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_SipCallback(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- protected void swigDirectorDisconnect() {
- swigCMemOwn = false;
- delete();
- }
-
- public void swigReleaseOwnership() {
- swigCMemOwn = false;
- tinyWRAPJNI.SipCallback_change_ownership(this, swigCPtr, false);
- }
-
- public void swigTakeOwnership() {
- swigCMemOwn = true;
- tinyWRAPJNI.SipCallback_change_ownership(this, swigCPtr, true);
- }
-
- public SipCallback() {
- this(tinyWRAPJNI.new_SipCallback(), true);
- tinyWRAPJNI.SipCallback_director_connect(this, swigCPtr, swigCMemOwn, true);
- }
-
- public int OnDialogEvent(DialogEvent e) {
- return (getClass() == SipCallback.class) ? tinyWRAPJNI.SipCallback_OnDialogEvent(swigCPtr, this, DialogEvent.getCPtr(e), e) : tinyWRAPJNI.SipCallback_OnDialogEventSwigExplicitSipCallback(swigCPtr, this, DialogEvent.getCPtr(e), e);
- }
-
- public int OnStackEvent(StackEvent e) {
- return (getClass() == SipCallback.class) ? tinyWRAPJNI.SipCallback_OnStackEvent(swigCPtr, this, StackEvent.getCPtr(e), e) : tinyWRAPJNI.SipCallback_OnStackEventSwigExplicitSipCallback(swigCPtr, this, StackEvent.getCPtr(e), e);
- }
-
- public int OnInviteEvent(InviteEvent e) {
- return (getClass() == SipCallback.class) ? tinyWRAPJNI.SipCallback_OnInviteEvent(swigCPtr, this, InviteEvent.getCPtr(e), e) : tinyWRAPJNI.SipCallback_OnInviteEventSwigExplicitSipCallback(swigCPtr, this, InviteEvent.getCPtr(e), e);
- }
-
- public int OnMessagingEvent(MessagingEvent e) {
- return (getClass() == SipCallback.class) ? tinyWRAPJNI.SipCallback_OnMessagingEvent(swigCPtr, this, MessagingEvent.getCPtr(e), e) : tinyWRAPJNI.SipCallback_OnMessagingEventSwigExplicitSipCallback(swigCPtr, this, MessagingEvent.getCPtr(e), e);
- }
-
- public int OnOptionsEvent(OptionsEvent e) {
- return (getClass() == SipCallback.class) ? tinyWRAPJNI.SipCallback_OnOptionsEvent(swigCPtr, this, OptionsEvent.getCPtr(e), e) : tinyWRAPJNI.SipCallback_OnOptionsEventSwigExplicitSipCallback(swigCPtr, this, OptionsEvent.getCPtr(e), e);
- }
-
- public int OnPublicationEvent(PublicationEvent e) {
- return (getClass() == SipCallback.class) ? tinyWRAPJNI.SipCallback_OnPublicationEvent(swigCPtr, this, PublicationEvent.getCPtr(e), e) : tinyWRAPJNI.SipCallback_OnPublicationEventSwigExplicitSipCallback(swigCPtr, this, PublicationEvent.getCPtr(e), e);
- }
-
- public int OnRegistrationEvent(RegistrationEvent e) {
- return (getClass() == SipCallback.class) ? tinyWRAPJNI.SipCallback_OnRegistrationEvent(swigCPtr, this, RegistrationEvent.getCPtr(e), e) : tinyWRAPJNI.SipCallback_OnRegistrationEventSwigExplicitSipCallback(swigCPtr, this, RegistrationEvent.getCPtr(e), e);
- }
-
- public int OnSubscriptionEvent(SubscriptionEvent e) {
- return (getClass() == SipCallback.class) ? tinyWRAPJNI.SipCallback_OnSubscriptionEvent(swigCPtr, this, SubscriptionEvent.getCPtr(e), e) : tinyWRAPJNI.SipCallback_OnSubscriptionEventSwigExplicitSipCallback(swigCPtr, this, SubscriptionEvent.getCPtr(e), e);
- }
-
-}
diff --git a/branches/1.0/bindings/java/SipEvent.java b/branches/1.0/bindings/java/SipEvent.java
deleted file mode 100644
index 48cab3a..0000000
--- a/branches/1.0/bindings/java/SipEvent.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class SipEvent {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected SipEvent(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(SipEvent obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_SipEvent(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public short getCode() {
- return tinyWRAPJNI.SipEvent_getCode(swigCPtr, this);
- }
-
- public String getPhrase() {
- return tinyWRAPJNI.SipEvent_getPhrase(swigCPtr, this);
- }
-
- public SipSession getBaseSession() {
- long cPtr = tinyWRAPJNI.SipEvent_getBaseSession(swigCPtr, this);
- return (cPtr == 0) ? null : new SipSession(cPtr, false);
- }
-
- public SipMessage getSipMessage() {
- long cPtr = tinyWRAPJNI.SipEvent_getSipMessage(swigCPtr, this);
- return (cPtr == 0) ? null : new SipMessage(cPtr, false);
- }
-
-}
diff --git a/branches/1.0/bindings/java/SipMessage.java b/branches/1.0/bindings/java/SipMessage.java
deleted file mode 100644
index 840260a..0000000
--- a/branches/1.0/bindings/java/SipMessage.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class SipMessage {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected SipMessage(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(SipMessage obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_SipMessage(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public byte[] getSipContent() {
- final int clen = (int)this.getSipContentLength();
- if(clen>0){
- final java.nio.ByteBuffer buffer = java.nio.ByteBuffer.allocateDirect(clen);
- final int read = (int)this.getSipContent(buffer, clen);
- final byte[] bytes = new byte[read];
- buffer.get(bytes, 0, read);
- return bytes;
- }
- return null;
- }
-
- public SipMessage() {
- this(tinyWRAPJNI.new_SipMessage(), true);
- }
-
- public String getSipHeaderValue(String name, long index) {
- return tinyWRAPJNI.SipMessage_getSipHeaderValue__SWIG_0(swigCPtr, this, name, index);
- }
-
- public String getSipHeaderValue(String name) {
- return tinyWRAPJNI.SipMessage_getSipHeaderValue__SWIG_1(swigCPtr, this, name);
- }
-
- public String getSipHeaderParamValue(String name, String param, long index) {
- return tinyWRAPJNI.SipMessage_getSipHeaderParamValue__SWIG_0(swigCPtr, this, name, param, index);
- }
-
- public String getSipHeaderParamValue(String name, String param) {
- return tinyWRAPJNI.SipMessage_getSipHeaderParamValue__SWIG_1(swigCPtr, this, name, param);
- }
-
- public long getSipContentLength() {
- return tinyWRAPJNI.SipMessage_getSipContentLength(swigCPtr, this);
- }
-
- public long getSipContent(java.nio.ByteBuffer output, long maxsize) {
- return tinyWRAPJNI.SipMessage_getSipContent(swigCPtr, this, output, maxsize);
- }
-
- public SdpMessage getSdpMessage() {
- long cPtr = tinyWRAPJNI.SipMessage_getSdpMessage(swigCPtr, this);
- return (cPtr == 0) ? null : new SdpMessage(cPtr, false);
- }
-
-}
diff --git a/branches/1.0/bindings/java/SipSession.java b/branches/1.0/bindings/java/SipSession.java
deleted file mode 100644
index d3d9b84..0000000
--- a/branches/1.0/bindings/java/SipSession.java
+++ /dev/null
@@ -1,101 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class SipSession {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected SipSession(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(SipSession obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_SipSession(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- protected java.nio.ByteBuffer getByteBuffer(byte[] bytes) {
- if(bytes != null){
- final java.nio.ByteBuffer byteBuffer = java.nio.ByteBuffer.allocateDirect(bytes.length);
- byteBuffer.put(bytes);
- return byteBuffer;
- }
- return null;
- }
-
- public SipSession(SipStack stack) {
- this(tinyWRAPJNI.new_SipSession(SipStack.getCPtr(stack), stack), true);
- }
-
- public boolean haveOwnership() {
- return tinyWRAPJNI.SipSession_haveOwnership(swigCPtr, this);
- }
-
- public boolean addHeader(String name, String value) {
- return tinyWRAPJNI.SipSession_addHeader(swigCPtr, this, name, value);
- }
-
- public boolean removeHeader(String name) {
- return tinyWRAPJNI.SipSession_removeHeader(swigCPtr, this, name);
- }
-
- public boolean addCaps(String name, String value) {
- return tinyWRAPJNI.SipSession_addCaps__SWIG_0(swigCPtr, this, name, value);
- }
-
- public boolean addCaps(String name) {
- return tinyWRAPJNI.SipSession_addCaps__SWIG_1(swigCPtr, this, name);
- }
-
- public boolean removeCaps(String name) {
- return tinyWRAPJNI.SipSession_removeCaps(swigCPtr, this, name);
- }
-
- public boolean setExpires(long expires) {
- return tinyWRAPJNI.SipSession_setExpires(swigCPtr, this, expires);
- }
-
- public boolean setFromUri(String fromUri) {
- return tinyWRAPJNI.SipSession_setFromUri(swigCPtr, this, fromUri);
- }
-
- public boolean setToUri(String toUri) {
- return tinyWRAPJNI.SipSession_setToUri(swigCPtr, this, toUri);
- }
-
- public boolean setSilentHangup(boolean silent) {
- return tinyWRAPJNI.SipSession_setSilentHangup(swigCPtr, this, silent);
- }
-
- public boolean addSigCompCompartment(String compId) {
- return tinyWRAPJNI.SipSession_addSigCompCompartment(swigCPtr, this, compId);
- }
-
- public boolean removeSigCompCompartment() {
- return tinyWRAPJNI.SipSession_removeSigCompCompartment(swigCPtr, this);
- }
-
- public long getId() {
- return tinyWRAPJNI.SipSession_getId(swigCPtr, this);
- }
-
-}
diff --git a/branches/1.0/bindings/java/SipStack.java b/branches/1.0/bindings/java/SipStack.java
deleted file mode 100644
index ddc220a..0000000
--- a/branches/1.0/bindings/java/SipStack.java
+++ /dev/null
@@ -1,184 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class SipStack extends SafeObject {
- private long swigCPtr;
-
- protected SipStack(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGSipStackUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(SipStack obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_SipStack(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public SipStack(SipCallback callback, String realm_uri, String impi_uri, String impu_uri) {
- this(tinyWRAPJNI.new_SipStack(SipCallback.getCPtr(callback), callback, realm_uri, impi_uri, impu_uri), true);
- }
-
- public boolean start() {
- return tinyWRAPJNI.SipStack_start(swigCPtr, this);
- }
-
- public boolean setDebugCallback(DDebugCallback callback) {
- return tinyWRAPJNI.SipStack_setDebugCallback(swigCPtr, this, DDebugCallback.getCPtr(callback), callback);
- }
-
- public boolean setRealm(String realm_uri) {
- return tinyWRAPJNI.SipStack_setRealm(swigCPtr, this, realm_uri);
- }
-
- public boolean setIMPI(String impi) {
- return tinyWRAPJNI.SipStack_setIMPI(swigCPtr, this, impi);
- }
-
- public boolean setIMPU(String impu_uri) {
- return tinyWRAPJNI.SipStack_setIMPU(swigCPtr, this, impu_uri);
- }
-
- public boolean setPassword(String password) {
- return tinyWRAPJNI.SipStack_setPassword(swigCPtr, this, password);
- }
-
- public boolean setAMF(String amf) {
- return tinyWRAPJNI.SipStack_setAMF(swigCPtr, this, amf);
- }
-
- public boolean setOperatorId(String opid) {
- return tinyWRAPJNI.SipStack_setOperatorId(swigCPtr, this, opid);
- }
-
- public boolean setProxyCSCF(String fqdn, int port, String transport, String ipversion) {
- return tinyWRAPJNI.SipStack_setProxyCSCF(swigCPtr, this, fqdn, port, transport, ipversion);
- }
-
- public boolean setLocalIP(String ip) {
- return tinyWRAPJNI.SipStack_setLocalIP(swigCPtr, this, ip);
- }
-
- public boolean setLocalPort(int port) {
- return tinyWRAPJNI.SipStack_setLocalPort(swigCPtr, this, port);
- }
-
- public boolean setEarlyIMS(boolean enabled) {
- return tinyWRAPJNI.SipStack_setEarlyIMS(swigCPtr, this, enabled);
- }
-
- public boolean addHeader(String name, String value) {
- return tinyWRAPJNI.SipStack_addHeader(swigCPtr, this, name, value);
- }
-
- public boolean removeHeader(String name) {
- return tinyWRAPJNI.SipStack_removeHeader(swigCPtr, this, name);
- }
-
- public boolean addDnsServer(String ip) {
- return tinyWRAPJNI.SipStack_addDnsServer(swigCPtr, this, ip);
- }
-
- public boolean setDnsDiscovery(boolean enabled) {
- return tinyWRAPJNI.SipStack_setDnsDiscovery(swigCPtr, this, enabled);
- }
-
- public boolean setAoR(String ip, int port) {
- return tinyWRAPJNI.SipStack_setAoR(swigCPtr, this, ip, port);
- }
-
- public boolean setSigCompParams(long dms, long sms, long cpb, boolean enablePresDict) {
- return tinyWRAPJNI.SipStack_setSigCompParams(swigCPtr, this, dms, sms, cpb, enablePresDict);
- }
-
- public boolean addSigCompCompartment(String compId) {
- return tinyWRAPJNI.SipStack_addSigCompCompartment(swigCPtr, this, compId);
- }
-
- public boolean removeSigCompCompartment(String compId) {
- return tinyWRAPJNI.SipStack_removeSigCompCompartment(swigCPtr, this, compId);
- }
-
- public boolean setSTUNServer(String ip, int port) {
- return tinyWRAPJNI.SipStack_setSTUNServer(swigCPtr, this, ip, port);
- }
-
- public boolean setSTUNCred(String login, String password) {
- return tinyWRAPJNI.SipStack_setSTUNCred(swigCPtr, this, login, password);
- }
-
- public boolean setTLSSecAgree(boolean enabled) {
- return tinyWRAPJNI.SipStack_setTLSSecAgree(swigCPtr, this, enabled);
- }
-
- public boolean setSSLCretificates(String privKey, String pubKey, String caKey) {
- return tinyWRAPJNI.SipStack_setSSLCretificates(swigCPtr, this, privKey, pubKey, caKey);
- }
-
- public boolean setIPSecSecAgree(boolean enabled) {
- return tinyWRAPJNI.SipStack_setIPSecSecAgree(swigCPtr, this, enabled);
- }
-
- public boolean setIPSecParameters(String algo, String ealgo, String mode, String proto) {
- return tinyWRAPJNI.SipStack_setIPSecParameters(swigCPtr, this, algo, ealgo, mode, proto);
- }
-
- public String dnsENUM(String service, String e164num, String domain) {
- return tinyWRAPJNI.SipStack_dnsENUM(swigCPtr, this, service, e164num, domain);
- }
-
- public String dnsNaptrSrv(String domain, String service, int[] OUTPUT) {
- return tinyWRAPJNI.SipStack_dnsNaptrSrv(swigCPtr, this, domain, service, OUTPUT);
- }
-
- public String dnsSrv(String service, int[] OUTPUT) {
- return tinyWRAPJNI.SipStack_dnsSrv(swigCPtr, this, service, OUTPUT);
- }
-
- public String getLocalIPnPort(String protocol, int[] OUTPUT) {
- return tinyWRAPJNI.SipStack_getLocalIPnPort(swigCPtr, this, protocol, OUTPUT);
- }
-
- public String getPreferredIdentity() {
- return tinyWRAPJNI.SipStack_getPreferredIdentity(swigCPtr, this);
- }
-
- public boolean isValid() {
- return tinyWRAPJNI.SipStack_isValid(swigCPtr, this);
- }
-
- public boolean stop() {
- return tinyWRAPJNI.SipStack_stop(swigCPtr, this);
- }
-
- public static void setCodecs(tdav_codec_id_t codecs) {
- tinyWRAPJNI.SipStack_setCodecs(codecs.swigValue());
- }
-
- public static void setCodecs_2(int codecs) {
- tinyWRAPJNI.SipStack_setCodecs_2(codecs);
- }
-
- public static boolean isCodecSupported(tdav_codec_id_t codec) {
- return tinyWRAPJNI.SipStack_isCodecSupported(codec.swigValue());
- }
-
-}
diff --git a/branches/1.0/bindings/java/SipUri.java b/branches/1.0/bindings/java/SipUri.java
deleted file mode 100644
index d056a04..0000000
--- a/branches/1.0/bindings/java/SipUri.java
+++ /dev/null
@@ -1,76 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class SipUri {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected SipUri(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(SipUri obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_SipUri(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public SipUri(String arg0) {
- this(tinyWRAPJNI.new_SipUri(arg0), true);
- }
-
- public static boolean isValid(String arg0) {
- return tinyWRAPJNI.SipUri_isValid__SWIG_0(arg0);
- }
-
- public boolean isValid() {
- return tinyWRAPJNI.SipUri_isValid__SWIG_1(swigCPtr, this);
- }
-
- public String getScheme() {
- return tinyWRAPJNI.SipUri_getScheme(swigCPtr, this);
- }
-
- public String getHost() {
- return tinyWRAPJNI.SipUri_getHost(swigCPtr, this);
- }
-
- public int getPort() {
- return tinyWRAPJNI.SipUri_getPort(swigCPtr, this);
- }
-
- public String getUserName() {
- return tinyWRAPJNI.SipUri_getUserName(swigCPtr, this);
- }
-
- public String getPassword() {
- return tinyWRAPJNI.SipUri_getPassword(swigCPtr, this);
- }
-
- public String getDisplayName() {
- return tinyWRAPJNI.SipUri_getDisplayName(swigCPtr, this);
- }
-
- public String getParamValue(String pname) {
- return tinyWRAPJNI.SipUri_getParamValue(swigCPtr, this, pname);
- }
-
-}
diff --git a/branches/1.0/bindings/java/StackEvent.java b/branches/1.0/bindings/java/StackEvent.java
deleted file mode 100644
index ee0ba84..0000000
--- a/branches/1.0/bindings/java/StackEvent.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class StackEvent extends SipEvent {
- private long swigCPtr;
-
- protected StackEvent(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGStackEventUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(StackEvent obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_StackEvent(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
-}
diff --git a/branches/1.0/bindings/java/SubscriptionEvent.java b/branches/1.0/bindings/java/SubscriptionEvent.java
deleted file mode 100644
index 03d6345..0000000
--- a/branches/1.0/bindings/java/SubscriptionEvent.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class SubscriptionEvent extends SipEvent {
- private long swigCPtr;
-
- protected SubscriptionEvent(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGSubscriptionEventUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(SubscriptionEvent obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_SubscriptionEvent(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public tsip_subscribe_event_type_t getType() {
- return tsip_subscribe_event_type_t.swigToEnum(tinyWRAPJNI.SubscriptionEvent_getType(swigCPtr, this));
- }
-
- public SubscriptionSession getSession() {
- long cPtr = tinyWRAPJNI.SubscriptionEvent_getSession(swigCPtr, this);
- return (cPtr == 0) ? null : new SubscriptionSession(cPtr, false);
- }
-
-}
diff --git a/branches/1.0/bindings/java/SubscriptionSession.java b/branches/1.0/bindings/java/SubscriptionSession.java
deleted file mode 100644
index 64cf108..0000000
--- a/branches/1.0/bindings/java/SubscriptionSession.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class SubscriptionSession extends SipSession {
- private long swigCPtr;
-
- protected SubscriptionSession(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGSubscriptionSessionUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(SubscriptionSession obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_SubscriptionSession(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public SubscriptionSession(SipStack Stack) {
- this(tinyWRAPJNI.new_SubscriptionSession(SipStack.getCPtr(Stack), Stack), true);
- }
-
- public boolean subscribe() {
- return tinyWRAPJNI.SubscriptionSession_subscribe(swigCPtr, this);
- }
-
- public boolean unSubscribe() {
- return tinyWRAPJNI.SubscriptionSession_unSubscribe(swigCPtr, this);
- }
-
-}
diff --git a/branches/1.0/bindings/java/XcapCallback.java b/branches/1.0/bindings/java/XcapCallback.java
deleted file mode 100644
index 030d99b..0000000
--- a/branches/1.0/bindings/java/XcapCallback.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class XcapCallback {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected XcapCallback(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(XcapCallback obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_XcapCallback(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- protected void swigDirectorDisconnect() {
- swigCMemOwn = false;
- delete();
- }
-
- public void swigReleaseOwnership() {
- swigCMemOwn = false;
- tinyWRAPJNI.XcapCallback_change_ownership(this, swigCPtr, false);
- }
-
- public void swigTakeOwnership() {
- swigCMemOwn = true;
- tinyWRAPJNI.XcapCallback_change_ownership(this, swigCPtr, true);
- }
-
- public XcapCallback() {
- this(tinyWRAPJNI.new_XcapCallback(), true);
- tinyWRAPJNI.XcapCallback_director_connect(this, swigCPtr, swigCMemOwn, true);
- }
-
- public int onEvent(XcapEvent e) {
- return (getClass() == XcapCallback.class) ? tinyWRAPJNI.XcapCallback_onEvent(swigCPtr, this, XcapEvent.getCPtr(e), e) : tinyWRAPJNI.XcapCallback_onEventSwigExplicitXcapCallback(swigCPtr, this, XcapEvent.getCPtr(e), e);
- }
-
-}
diff --git a/branches/1.0/bindings/java/XcapEvent.java b/branches/1.0/bindings/java/XcapEvent.java
deleted file mode 100644
index 86ed797..0000000
--- a/branches/1.0/bindings/java/XcapEvent.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class XcapEvent {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected XcapEvent(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(XcapEvent obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_XcapEvent(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public thttp_event_type_t getType() {
- return thttp_event_type_t.swigToEnum(tinyWRAPJNI.XcapEvent_getType(swigCPtr, this));
- }
-
- public XcapMessage getXcapMessage() {
- long cPtr = tinyWRAPJNI.XcapEvent_getXcapMessage(swigCPtr, this);
- return (cPtr == 0) ? null : new XcapMessage(cPtr, false);
- }
-
-}
diff --git a/branches/1.0/bindings/java/XcapMessage.java b/branches/1.0/bindings/java/XcapMessage.java
deleted file mode 100644
index 07dbfbb..0000000
--- a/branches/1.0/bindings/java/XcapMessage.java
+++ /dev/null
@@ -1,84 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class XcapMessage {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected XcapMessage(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(XcapMessage obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_XcapMessage(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public byte[] getXcapContent() {
- final int clen = (int)this.getXcapContentLength();
- if(clen>0){
- final java.nio.ByteBuffer buffer = java.nio.ByteBuffer.allocateDirect(clen);
- final int read = (int)this.getXcapContent(buffer, clen);
- final byte[] bytes = new byte[read];
- buffer.get(bytes, 0, read);
- return bytes;
- }
- return null;
- }
-
- public XcapMessage() {
- this(tinyWRAPJNI.new_XcapMessage(), true);
- }
-
- public short getCode() {
- return tinyWRAPJNI.XcapMessage_getCode(swigCPtr, this);
- }
-
- public String getPhrase() {
- return tinyWRAPJNI.XcapMessage_getPhrase(swigCPtr, this);
- }
-
- public String getXcapHeaderValue(String name, long index) {
- return tinyWRAPJNI.XcapMessage_getXcapHeaderValue__SWIG_0(swigCPtr, this, name, index);
- }
-
- public String getXcapHeaderValue(String name) {
- return tinyWRAPJNI.XcapMessage_getXcapHeaderValue__SWIG_1(swigCPtr, this, name);
- }
-
- public String getXcapHeaderParamValue(String name, String param, long index) {
- return tinyWRAPJNI.XcapMessage_getXcapHeaderParamValue__SWIG_0(swigCPtr, this, name, param, index);
- }
-
- public String getXcapHeaderParamValue(String name, String param) {
- return tinyWRAPJNI.XcapMessage_getXcapHeaderParamValue__SWIG_1(swigCPtr, this, name, param);
- }
-
- public long getXcapContentLength() {
- return tinyWRAPJNI.XcapMessage_getXcapContentLength(swigCPtr, this);
- }
-
- public long getXcapContent(java.nio.ByteBuffer output, long maxsize) {
- return tinyWRAPJNI.XcapMessage_getXcapContent(swigCPtr, this, output, maxsize);
- }
-
-}
diff --git a/branches/1.0/bindings/java/XcapSelector.java b/branches/1.0/bindings/java/XcapSelector.java
deleted file mode 100644
index efcda49..0000000
--- a/branches/1.0/bindings/java/XcapSelector.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class XcapSelector {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected XcapSelector(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(XcapSelector obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_XcapSelector(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public XcapSelector(XcapStack stack) {
- this(tinyWRAPJNI.new_XcapSelector(XcapStack.getCPtr(stack), stack), true);
- }
-
- public XcapSelector setAUID(String auid) {
- long cPtr = tinyWRAPJNI.XcapSelector_setAUID(swigCPtr, this, auid);
- return (cPtr == 0) ? null : new XcapSelector(cPtr, false);
- }
-
- public XcapSelector setName(String qname) {
- long cPtr = tinyWRAPJNI.XcapSelector_setName(swigCPtr, this, qname);
- return (cPtr == 0) ? null : new XcapSelector(cPtr, false);
- }
-
- public XcapSelector setAttribute(String qname, String att_qname, String att_value) {
- long cPtr = tinyWRAPJNI.XcapSelector_setAttribute(swigCPtr, this, qname, att_qname, att_value);
- return (cPtr == 0) ? null : new XcapSelector(cPtr, false);
- }
-
- public XcapSelector setPos(String qname, long pos) {
- long cPtr = tinyWRAPJNI.XcapSelector_setPos(swigCPtr, this, qname, pos);
- return (cPtr == 0) ? null : new XcapSelector(cPtr, false);
- }
-
- public XcapSelector setPosAttribute(String qname, long pos, String att_qname, String att_value) {
- long cPtr = tinyWRAPJNI.XcapSelector_setPosAttribute(swigCPtr, this, qname, pos, att_qname, att_value);
- return (cPtr == 0) ? null : new XcapSelector(cPtr, false);
- }
-
- public XcapSelector setNamespace(String prefix, String value) {
- long cPtr = tinyWRAPJNI.XcapSelector_setNamespace(swigCPtr, this, prefix, value);
- return (cPtr == 0) ? null : new XcapSelector(cPtr, false);
- }
-
- public String getString() {
- return tinyWRAPJNI.XcapSelector_getString(swigCPtr, this);
- }
-
- public void reset() {
- tinyWRAPJNI.XcapSelector_reset(swigCPtr, this);
- }
-
-}
diff --git a/branches/1.0/bindings/java/XcapStack.java b/branches/1.0/bindings/java/XcapStack.java
deleted file mode 100644
index 95d28e9..0000000
--- a/branches/1.0/bindings/java/XcapStack.java
+++ /dev/null
@@ -1,116 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class XcapStack {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected XcapStack(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(XcapStack obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_XcapStack(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public XcapStack(XcapCallback callback, String xui, String password, String xcap_root) {
- this(tinyWRAPJNI.new_XcapStack(XcapCallback.getCPtr(callback), callback, xui, password, xcap_root), true);
- }
-
- public boolean registerAUID(String id, String mime_type, String ns, String document_name, boolean is_global) {
- return tinyWRAPJNI.XcapStack_registerAUID(swigCPtr, this, id, mime_type, ns, document_name, is_global);
- }
-
- public boolean start() {
- return tinyWRAPJNI.XcapStack_start(swigCPtr, this);
- }
-
- public boolean setCredentials(String xui, String password) {
- return tinyWRAPJNI.XcapStack_setCredentials(swigCPtr, this, xui, password);
- }
-
- public boolean setXcapRoot(String xcap_root) {
- return tinyWRAPJNI.XcapStack_setXcapRoot(swigCPtr, this, xcap_root);
- }
-
- public boolean setLocalIP(String ip) {
- return tinyWRAPJNI.XcapStack_setLocalIP(swigCPtr, this, ip);
- }
-
- public boolean setLocalPort(long port) {
- return tinyWRAPJNI.XcapStack_setLocalPort(swigCPtr, this, port);
- }
-
- public boolean addHeader(String name, String value) {
- return tinyWRAPJNI.XcapStack_addHeader(swigCPtr, this, name, value);
- }
-
- public boolean removeHeader(String name) {
- return tinyWRAPJNI.XcapStack_removeHeader(swigCPtr, this, name);
- }
-
- public boolean setTimeout(long timeout) {
- return tinyWRAPJNI.XcapStack_setTimeout(swigCPtr, this, timeout);
- }
-
- public boolean getDocument(String url) {
- return tinyWRAPJNI.XcapStack_getDocument(swigCPtr, this, url);
- }
-
- public boolean getElement(String url) {
- return tinyWRAPJNI.XcapStack_getElement(swigCPtr, this, url);
- }
-
- public boolean getAttribute(String url) {
- return tinyWRAPJNI.XcapStack_getAttribute(swigCPtr, this, url);
- }
-
- public boolean deleteDocument(String url) {
- return tinyWRAPJNI.XcapStack_deleteDocument(swigCPtr, this, url);
- }
-
- public boolean deleteElement(String url) {
- return tinyWRAPJNI.XcapStack_deleteElement(swigCPtr, this, url);
- }
-
- public boolean deleteAttribute(String url) {
- return tinyWRAPJNI.XcapStack_deleteAttribute(swigCPtr, this, url);
- }
-
- public boolean putDocument(String url, java.nio.ByteBuffer payload, long len, String contentType) {
- return tinyWRAPJNI.XcapStack_putDocument(swigCPtr, this, url, payload, len, contentType);
- }
-
- public boolean putElement(String url, java.nio.ByteBuffer payload, long len) {
- return tinyWRAPJNI.XcapStack_putElement(swigCPtr, this, url, payload, len);
- }
-
- public boolean putAttribute(String url, java.nio.ByteBuffer payload, long len) {
- return tinyWRAPJNI.XcapStack_putAttribute(swigCPtr, this, url, payload, len);
- }
-
- public boolean stop() {
- return tinyWRAPJNI.XcapStack_stop(swigCPtr, this);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/ActionConfig.java b/branches/1.0/bindings/java/android/ActionConfig.java
deleted file mode 100644
index 6f5cf16..0000000
--- a/branches/1.0/bindings/java/android/ActionConfig.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class ActionConfig {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected ActionConfig(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(ActionConfig obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_ActionConfig(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public ActionConfig() {
- this(tinyWRAPJNI.new_ActionConfig(), true);
- }
-
- public boolean addHeader(String name, String value) {
- return tinyWRAPJNI.ActionConfig_addHeader(swigCPtr, this, name, value);
- }
-
- public ActionConfig setResponseLine(short code, String phrase) {
- long cPtr = tinyWRAPJNI.ActionConfig_setResponseLine(swigCPtr, this, code, phrase);
- return (cPtr == 0) ? null : new ActionConfig(cPtr, false);
- }
-
- public ActionConfig setMediaString(twrap_media_type_t type, String key, String value) {
- long cPtr = tinyWRAPJNI.ActionConfig_setMediaString(swigCPtr, this, type.swigValue(), key, value);
- return (cPtr == 0) ? null : new ActionConfig(cPtr, false);
- }
-
- public ActionConfig setMediaInt(twrap_media_type_t type, String key, int value) {
- long cPtr = tinyWRAPJNI.ActionConfig_setMediaInt(swigCPtr, this, type.swigValue(), key, value);
- return (cPtr == 0) ? null : new ActionConfig(cPtr, false);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/CallSession.java b/branches/1.0/bindings/java/android/CallSession.java
deleted file mode 100644
index 802d05b..0000000
--- a/branches/1.0/bindings/java/android/CallSession.java
+++ /dev/null
@@ -1,96 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class CallSession extends InviteSession {
- private long swigCPtr;
-
- protected CallSession(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGCallSessionUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(CallSession obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_CallSession(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public CallSession(SipStack Stack) {
- this(tinyWRAPJNI.new_CallSession(SipStack.getCPtr(Stack), Stack), true);
- }
-
- public boolean callAudio(String remoteUri, ActionConfig config) {
- return tinyWRAPJNI.CallSession_callAudio__SWIG_0(swigCPtr, this, remoteUri, ActionConfig.getCPtr(config), config);
- }
-
- public boolean callAudio(String remoteUri) {
- return tinyWRAPJNI.CallSession_callAudio__SWIG_1(swigCPtr, this, remoteUri);
- }
-
- public boolean callAudioVideo(String remoteUri, ActionConfig config) {
- return tinyWRAPJNI.CallSession_callAudioVideo__SWIG_0(swigCPtr, this, remoteUri, ActionConfig.getCPtr(config), config);
- }
-
- public boolean callAudioVideo(String remoteUri) {
- return tinyWRAPJNI.CallSession_callAudioVideo__SWIG_1(swigCPtr, this, remoteUri);
- }
-
- public boolean callVideo(String remoteUri, ActionConfig config) {
- return tinyWRAPJNI.CallSession_callVideo__SWIG_0(swigCPtr, this, remoteUri, ActionConfig.getCPtr(config), config);
- }
-
- public boolean callVideo(String remoteUri) {
- return tinyWRAPJNI.CallSession_callVideo__SWIG_1(swigCPtr, this, remoteUri);
- }
-
- public boolean setSessionTimer(long timeout, String refresher) {
- return tinyWRAPJNI.CallSession_setSessionTimer(swigCPtr, this, timeout, refresher);
- }
-
- public boolean set100rel(boolean enabled) {
- return tinyWRAPJNI.CallSession_set100rel(swigCPtr, this, enabled);
- }
-
- public boolean setQoS(tmedia_qos_stype_t type, tmedia_qos_strength_t strength) {
- return tinyWRAPJNI.CallSession_setQoS(swigCPtr, this, type.swigValue(), strength.swigValue());
- }
-
- public boolean hold(ActionConfig config) {
- return tinyWRAPJNI.CallSession_hold__SWIG_0(swigCPtr, this, ActionConfig.getCPtr(config), config);
- }
-
- public boolean hold() {
- return tinyWRAPJNI.CallSession_hold__SWIG_1(swigCPtr, this);
- }
-
- public boolean resume(ActionConfig config) {
- return tinyWRAPJNI.CallSession_resume__SWIG_0(swigCPtr, this, ActionConfig.getCPtr(config), config);
- }
-
- public boolean resume() {
- return tinyWRAPJNI.CallSession_resume__SWIG_1(swigCPtr, this);
- }
-
- public boolean sendDTMF(int number) {
- return tinyWRAPJNI.CallSession_sendDTMF(swigCPtr, this, number);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/DDebugCallback.java b/branches/1.0/bindings/java/android/DDebugCallback.java
deleted file mode 100644
index e84922c..0000000
--- a/branches/1.0/bindings/java/android/DDebugCallback.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class DDebugCallback {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected DDebugCallback(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(DDebugCallback obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_DDebugCallback(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- protected void swigDirectorDisconnect() {
- swigCMemOwn = false;
- delete();
- }
-
- public void swigReleaseOwnership() {
- swigCMemOwn = false;
- tinyWRAPJNI.DDebugCallback_change_ownership(this, swigCPtr, false);
- }
-
- public void swigTakeOwnership() {
- swigCMemOwn = true;
- tinyWRAPJNI.DDebugCallback_change_ownership(this, swigCPtr, true);
- }
-
- public DDebugCallback() {
- this(tinyWRAPJNI.new_DDebugCallback(), true);
- tinyWRAPJNI.DDebugCallback_director_connect(this, swigCPtr, swigCMemOwn, false);
- }
-
- public int OnDebugInfo(String message) {
- return (getClass() == DDebugCallback.class) ? tinyWRAPJNI.DDebugCallback_OnDebugInfo(swigCPtr, this, message) : tinyWRAPJNI.DDebugCallback_OnDebugInfoSwigExplicitDDebugCallback(swigCPtr, this, message);
- }
-
- public int OnDebugWarn(String message) {
- return (getClass() == DDebugCallback.class) ? tinyWRAPJNI.DDebugCallback_OnDebugWarn(swigCPtr, this, message) : tinyWRAPJNI.DDebugCallback_OnDebugWarnSwigExplicitDDebugCallback(swigCPtr, this, message);
- }
-
- public int OnDebugError(String message) {
- return (getClass() == DDebugCallback.class) ? tinyWRAPJNI.DDebugCallback_OnDebugError(swigCPtr, this, message) : tinyWRAPJNI.DDebugCallback_OnDebugErrorSwigExplicitDDebugCallback(swigCPtr, this, message);
- }
-
- public int OnDebugFatal(String message) {
- return (getClass() == DDebugCallback.class) ? tinyWRAPJNI.DDebugCallback_OnDebugFatal(swigCPtr, this, message) : tinyWRAPJNI.DDebugCallback_OnDebugFatalSwigExplicitDDebugCallback(swigCPtr, this, message);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/DialogEvent.java b/branches/1.0/bindings/java/android/DialogEvent.java
deleted file mode 100644
index ac409f6..0000000
--- a/branches/1.0/bindings/java/android/DialogEvent.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class DialogEvent extends SipEvent {
- private long swigCPtr;
-
- protected DialogEvent(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGDialogEventUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(DialogEvent obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_DialogEvent(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/InviteEvent.java b/branches/1.0/bindings/java/android/InviteEvent.java
deleted file mode 100644
index e7a79c9..0000000
--- a/branches/1.0/bindings/java/android/InviteEvent.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class InviteEvent extends SipEvent {
- private long swigCPtr;
-
- protected InviteEvent(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGInviteEventUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(InviteEvent obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_InviteEvent(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public tsip_invite_event_type_t getType() {
- return tsip_invite_event_type_t.swigToEnum(tinyWRAPJNI.InviteEvent_getType(swigCPtr, this));
- }
-
- public twrap_media_type_t getMediaType() {
- return twrap_media_type_t.swigToEnum(tinyWRAPJNI.InviteEvent_getMediaType(swigCPtr, this));
- }
-
- public InviteSession getSession() {
- long cPtr = tinyWRAPJNI.InviteEvent_getSession(swigCPtr, this);
- return (cPtr == 0) ? null : new InviteSession(cPtr, false);
- }
-
- public CallSession takeCallSessionOwnership() {
- long cPtr = tinyWRAPJNI.InviteEvent_takeCallSessionOwnership(swigCPtr, this);
- return (cPtr == 0) ? null : new CallSession(cPtr, true);
- }
-
- public MsrpSession takeMsrpSessionOwnership() {
- long cPtr = tinyWRAPJNI.InviteEvent_takeMsrpSessionOwnership(swigCPtr, this);
- return (cPtr == 0) ? null : new MsrpSession(cPtr, true);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/InviteSession.java b/branches/1.0/bindings/java/android/InviteSession.java
deleted file mode 100644
index 71d6f6c..0000000
--- a/branches/1.0/bindings/java/android/InviteSession.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class InviteSession extends SipSession {
- private long swigCPtr;
-
- protected InviteSession(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGInviteSessionUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(InviteSession obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_InviteSession(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public InviteSession(SipStack Stack) {
- this(tinyWRAPJNI.new_InviteSession(SipStack.getCPtr(Stack), Stack), true);
- }
-
- public boolean accept(ActionConfig config) {
- return tinyWRAPJNI.InviteSession_accept__SWIG_0(swigCPtr, this, ActionConfig.getCPtr(config), config);
- }
-
- public boolean accept() {
- return tinyWRAPJNI.InviteSession_accept__SWIG_1(swigCPtr, this);
- }
-
- public boolean hangup(ActionConfig config) {
- return tinyWRAPJNI.InviteSession_hangup__SWIG_0(swigCPtr, this, ActionConfig.getCPtr(config), config);
- }
-
- public boolean hangup() {
- return tinyWRAPJNI.InviteSession_hangup__SWIG_1(swigCPtr, this);
- }
-
- public boolean reject(ActionConfig config) {
- return tinyWRAPJNI.InviteSession_reject__SWIG_0(swigCPtr, this, ActionConfig.getCPtr(config), config);
- }
-
- public boolean reject() {
- return tinyWRAPJNI.InviteSession_reject__SWIG_1(swigCPtr, this);
- }
-
- public MediaSessionMgr getMediaMgr() {
- long cPtr = tinyWRAPJNI.InviteSession_getMediaMgr(swigCPtr, this);
- return (cPtr == 0) ? null : new MediaSessionMgr(cPtr, false);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/MediaContent.java b/branches/1.0/bindings/java/android/MediaContent.java
deleted file mode 100644
index 43faede..0000000
--- a/branches/1.0/bindings/java/android/MediaContent.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class MediaContent {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected MediaContent(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(MediaContent obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_MediaContent(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public String getType() {
- return tinyWRAPJNI.MediaContent_getType(swigCPtr, this);
- }
-
- public long getDataLength() {
- return tinyWRAPJNI.MediaContent_getDataLength(swigCPtr, this);
- }
-
- public long getData(java.nio.ByteBuffer output, long maxsize) {
- return tinyWRAPJNI.MediaContent_getData(swigCPtr, this, output, maxsize);
- }
-
- public static MediaContent parse(java.nio.ByteBuffer data, long size, String type) {
- long cPtr = tinyWRAPJNI.MediaContent_parse__SWIG_0(data, size, type);
- return (cPtr == 0) ? null : new MediaContent(cPtr, true);
- }
-
- public static MediaContentCPIM parse(java.nio.ByteBuffer data, long size) {
- long cPtr = tinyWRAPJNI.MediaContent_parse__SWIG_1(data, size);
- return (cPtr == 0) ? null : new MediaContentCPIM(cPtr, true);
- }
-
- public long getPayloadLength() {
- return tinyWRAPJNI.MediaContent_getPayloadLength(swigCPtr, this);
- }
-
- public long getPayload(java.nio.ByteBuffer output, long maxsize) {
- return tinyWRAPJNI.MediaContent_getPayload(swigCPtr, this, output, maxsize);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/MediaContentCPIM.java b/branches/1.0/bindings/java/android/MediaContentCPIM.java
deleted file mode 100644
index fb708e8..0000000
--- a/branches/1.0/bindings/java/android/MediaContentCPIM.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class MediaContentCPIM extends MediaContent {
- private long swigCPtr;
-
- protected MediaContentCPIM(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGMediaContentCPIMUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(MediaContentCPIM obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_MediaContentCPIM(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public long getPayloadLength() {
- return tinyWRAPJNI.MediaContentCPIM_getPayloadLength(swigCPtr, this);
- }
-
- public long getPayload(java.nio.ByteBuffer output, long maxsize) {
- return tinyWRAPJNI.MediaContentCPIM_getPayload(swigCPtr, this, output, maxsize);
- }
-
- public String getHeaderValue(String name) {
- return tinyWRAPJNI.MediaContentCPIM_getHeaderValue(swigCPtr, this, name);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/MediaSessionMgr.java b/branches/1.0/bindings/java/android/MediaSessionMgr.java
deleted file mode 100644
index 346e64c..0000000
--- a/branches/1.0/bindings/java/android/MediaSessionMgr.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class MediaSessionMgr {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected MediaSessionMgr(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(MediaSessionMgr obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_MediaSessionMgr(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public boolean sessionSetInt32(twrap_media_type_t media, String key, int value) {
- return tinyWRAPJNI.MediaSessionMgr_sessionSetInt32(swigCPtr, this, media.swigValue(), key, value);
- }
-
- public boolean consumerSetInt32(twrap_media_type_t media, String key, int value) {
- return tinyWRAPJNI.MediaSessionMgr_consumerSetInt32(swigCPtr, this, media.swigValue(), key, value);
- }
-
- public boolean consumerSetInt64(twrap_media_type_t media, String key, long value) {
- return tinyWRAPJNI.MediaSessionMgr_consumerSetInt64(swigCPtr, this, media.swigValue(), key, value);
- }
-
- public boolean producerSetInt32(twrap_media_type_t media, String key, int value) {
- return tinyWRAPJNI.MediaSessionMgr_producerSetInt32(swigCPtr, this, media.swigValue(), key, value);
- }
-
- public boolean producerSetInt64(twrap_media_type_t media, String key, long value) {
- return tinyWRAPJNI.MediaSessionMgr_producerSetInt64(swigCPtr, this, media.swigValue(), key, value);
- }
-
- public ProxyPlugin findProxyPluginConsumer(twrap_media_type_t media) {
- long cPtr = tinyWRAPJNI.MediaSessionMgr_findProxyPluginConsumer(swigCPtr, this, media.swigValue());
- return (cPtr == 0) ? null : new ProxyPlugin(cPtr, false);
- }
-
- public ProxyPlugin findProxyPluginProducer(twrap_media_type_t media) {
- long cPtr = tinyWRAPJNI.MediaSessionMgr_findProxyPluginProducer(swigCPtr, this, media.swigValue());
- return (cPtr == 0) ? null : new ProxyPlugin(cPtr, false);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/MessagingEvent.java b/branches/1.0/bindings/java/android/MessagingEvent.java
deleted file mode 100644
index c502d31..0000000
--- a/branches/1.0/bindings/java/android/MessagingEvent.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class MessagingEvent extends SipEvent {
- private long swigCPtr;
-
- protected MessagingEvent(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGMessagingEventUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(MessagingEvent obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_MessagingEvent(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public tsip_message_event_type_t getType() {
- return tsip_message_event_type_t.swigToEnum(tinyWRAPJNI.MessagingEvent_getType(swigCPtr, this));
- }
-
- public MessagingSession getSession() {
- long cPtr = tinyWRAPJNI.MessagingEvent_getSession(swigCPtr, this);
- return (cPtr == 0) ? null : new MessagingSession(cPtr, false);
- }
-
- public MessagingSession takeSessionOwnership() {
- long cPtr = tinyWRAPJNI.MessagingEvent_takeSessionOwnership(swigCPtr, this);
- return (cPtr == 0) ? null : new MessagingSession(cPtr, true);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/MessagingSession.java b/branches/1.0/bindings/java/android/MessagingSession.java
deleted file mode 100644
index db6fed4..0000000
--- a/branches/1.0/bindings/java/android/MessagingSession.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class MessagingSession extends SipSession {
- private long swigCPtr;
-
- protected MessagingSession(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGMessagingSessionUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(MessagingSession obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_MessagingSession(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public MessagingSession(SipStack Stack) {
- this(tinyWRAPJNI.new_MessagingSession(SipStack.getCPtr(Stack), Stack), true);
- }
-
- public boolean send(java.nio.ByteBuffer payload, long len) {
- return tinyWRAPJNI.MessagingSession_send(swigCPtr, this, payload, len);
- }
-
- public boolean accept() {
- return tinyWRAPJNI.MessagingSession_accept(swigCPtr, this);
- }
-
- public boolean reject() {
- return tinyWRAPJNI.MessagingSession_reject(swigCPtr, this);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/MsrpCallback.java b/branches/1.0/bindings/java/android/MsrpCallback.java
deleted file mode 100644
index 021bd93..0000000
--- a/branches/1.0/bindings/java/android/MsrpCallback.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class MsrpCallback {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected MsrpCallback(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(MsrpCallback obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_MsrpCallback(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- protected void swigDirectorDisconnect() {
- swigCMemOwn = false;
- delete();
- }
-
- public void swigReleaseOwnership() {
- swigCMemOwn = false;
- tinyWRAPJNI.MsrpCallback_change_ownership(this, swigCPtr, false);
- }
-
- public void swigTakeOwnership() {
- swigCMemOwn = true;
- tinyWRAPJNI.MsrpCallback_change_ownership(this, swigCPtr, true);
- }
-
- public MsrpCallback() {
- this(tinyWRAPJNI.new_MsrpCallback(), true);
- tinyWRAPJNI.MsrpCallback_director_connect(this, swigCPtr, swigCMemOwn, false);
- }
-
- public int OnEvent(MsrpEvent e) {
- return (getClass() == MsrpCallback.class) ? tinyWRAPJNI.MsrpCallback_OnEvent(swigCPtr, this, MsrpEvent.getCPtr(e), e) : tinyWRAPJNI.MsrpCallback_OnEventSwigExplicitMsrpCallback(swigCPtr, this, MsrpEvent.getCPtr(e), e);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/MsrpEvent.java b/branches/1.0/bindings/java/android/MsrpEvent.java
deleted file mode 100644
index 4703fde..0000000
--- a/branches/1.0/bindings/java/android/MsrpEvent.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class MsrpEvent {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected MsrpEvent(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(MsrpEvent obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_MsrpEvent(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public tmsrp_event_type_t getType() {
- return tmsrp_event_type_t.swigToEnum(tinyWRAPJNI.MsrpEvent_getType(swigCPtr, this));
- }
-
- public MsrpSession getSipSession() {
- long cPtr = tinyWRAPJNI.MsrpEvent_getSipSession(swigCPtr, this);
- return (cPtr == 0) ? null : new MsrpSession(cPtr, false);
- }
-
- public MsrpMessage getMessage() {
- long cPtr = tinyWRAPJNI.MsrpEvent_getMessage(swigCPtr, this);
- return (cPtr == 0) ? null : new MsrpMessage(cPtr, false);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/MsrpMessage.java b/branches/1.0/bindings/java/android/MsrpMessage.java
deleted file mode 100644
index 379d201..0000000
--- a/branches/1.0/bindings/java/android/MsrpMessage.java
+++ /dev/null
@@ -1,84 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class MsrpMessage {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected MsrpMessage(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(MsrpMessage obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_MsrpMessage(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public MsrpMessage() {
- this(tinyWRAPJNI.new_MsrpMessage(), true);
- }
-
- public boolean isRequest() {
- return tinyWRAPJNI.MsrpMessage_isRequest(swigCPtr, this);
- }
-
- public short getCode() {
- return tinyWRAPJNI.MsrpMessage_getCode(swigCPtr, this);
- }
-
- public String getPhrase() {
- return tinyWRAPJNI.MsrpMessage_getPhrase(swigCPtr, this);
- }
-
- public tmsrp_request_type_t getRequestType() {
- return tmsrp_request_type_t.swigToEnum(tinyWRAPJNI.MsrpMessage_getRequestType(swigCPtr, this));
- }
-
- public void getByteRange(long[] arg0, long[] arg1, long[] arg2) {
- tinyWRAPJNI.MsrpMessage_getByteRange(swigCPtr, this, arg0, arg1, arg2);
- }
-
- public boolean isLastChunck() {
- return tinyWRAPJNI.MsrpMessage_isLastChunck(swigCPtr, this);
- }
-
- public boolean isFirstChunck() {
- return tinyWRAPJNI.MsrpMessage_isFirstChunck(swigCPtr, this);
- }
-
- public String getMsrpHeaderValue(String name) {
- return tinyWRAPJNI.MsrpMessage_getMsrpHeaderValue(swigCPtr, this, name);
- }
-
- public String getMsrpHeaderParamValue(String name, String param) {
- return tinyWRAPJNI.MsrpMessage_getMsrpHeaderParamValue(swigCPtr, this, name, param);
- }
-
- public long getMsrpContentLength() {
- return tinyWRAPJNI.MsrpMessage_getMsrpContentLength(swigCPtr, this);
- }
-
- public long getMsrpContent(java.nio.ByteBuffer output, long maxsize) {
- return tinyWRAPJNI.MsrpMessage_getMsrpContent(swigCPtr, this, output, maxsize);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/MsrpSession.java b/branches/1.0/bindings/java/android/MsrpSession.java
deleted file mode 100644
index 7cd3b31..0000000
--- a/branches/1.0/bindings/java/android/MsrpSession.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class MsrpSession extends InviteSession {
- private long swigCPtr;
-
- protected MsrpSession(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGMsrpSessionUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(MsrpSession obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_MsrpSession(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public MsrpSession(SipStack Stack, MsrpCallback callback) {
- this(tinyWRAPJNI.new_MsrpSession(SipStack.getCPtr(Stack), Stack, MsrpCallback.getCPtr(callback), callback), true);
- }
-
- public boolean setCallback(MsrpCallback callback) {
- return tinyWRAPJNI.MsrpSession_setCallback(swigCPtr, this, MsrpCallback.getCPtr(callback), callback);
- }
-
- public boolean callMsrp(String remoteUri, ActionConfig config) {
- return tinyWRAPJNI.MsrpSession_callMsrp__SWIG_0(swigCPtr, this, remoteUri, ActionConfig.getCPtr(config), config);
- }
-
- public boolean callMsrp(String remoteUri) {
- return tinyWRAPJNI.MsrpSession_callMsrp__SWIG_1(swigCPtr, this, remoteUri);
- }
-
- public boolean sendMessage(java.nio.ByteBuffer payload, long len, ActionConfig config) {
- return tinyWRAPJNI.MsrpSession_sendMessage__SWIG_0(swigCPtr, this, payload, len, ActionConfig.getCPtr(config), config);
- }
-
- public boolean sendMessage(java.nio.ByteBuffer payload, long len) {
- return tinyWRAPJNI.MsrpSession_sendMessage__SWIG_1(swigCPtr, this, payload, len);
- }
-
- public boolean sendFile(ActionConfig config) {
- return tinyWRAPJNI.MsrpSession_sendFile__SWIG_0(swigCPtr, this, ActionConfig.getCPtr(config), config);
- }
-
- public boolean sendFile() {
- return tinyWRAPJNI.MsrpSession_sendFile__SWIG_1(swigCPtr, this);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/OptionsEvent.java b/branches/1.0/bindings/java/android/OptionsEvent.java
deleted file mode 100644
index ca77684..0000000
--- a/branches/1.0/bindings/java/android/OptionsEvent.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class OptionsEvent extends SipEvent {
- private long swigCPtr;
-
- protected OptionsEvent(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGOptionsEventUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(OptionsEvent obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_OptionsEvent(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public tsip_options_event_type_t getType() {
- return tsip_options_event_type_t.swigToEnum(tinyWRAPJNI.OptionsEvent_getType(swigCPtr, this));
- }
-
- public OptionsSession getSession() {
- long cPtr = tinyWRAPJNI.OptionsEvent_getSession(swigCPtr, this);
- return (cPtr == 0) ? null : new OptionsSession(cPtr, false);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/OptionsSession.java b/branches/1.0/bindings/java/android/OptionsSession.java
deleted file mode 100644
index 78f315e..0000000
--- a/branches/1.0/bindings/java/android/OptionsSession.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class OptionsSession extends SipSession {
- private long swigCPtr;
-
- protected OptionsSession(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGOptionsSessionUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(OptionsSession obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_OptionsSession(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public OptionsSession(SipStack Stack) {
- this(tinyWRAPJNI.new_OptionsSession(SipStack.getCPtr(Stack), Stack), true);
- }
-
- public boolean send() {
- return tinyWRAPJNI.OptionsSession_send(swigCPtr, this);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/ProxyAudioConsumer.java b/branches/1.0/bindings/java/android/ProxyAudioConsumer.java
deleted file mode 100644
index d143dc0..0000000
--- a/branches/1.0/bindings/java/android/ProxyAudioConsumer.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class ProxyAudioConsumer extends ProxyPlugin {
- private long swigCPtr;
-
- protected ProxyAudioConsumer(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGProxyAudioConsumerUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(ProxyAudioConsumer obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_ProxyAudioConsumer(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public long pull(java.nio.ByteBuffer output, long size) {
- return tinyWRAPJNI.ProxyAudioConsumer_pull(swigCPtr, this, output, size);
- }
-
- public boolean reset() {
- return tinyWRAPJNI.ProxyAudioConsumer_reset(swigCPtr, this);
- }
-
- public void setCallback(ProxyAudioConsumerCallback _callback) {
- tinyWRAPJNI.ProxyAudioConsumer_setCallback(swigCPtr, this, ProxyAudioConsumerCallback.getCPtr(_callback), _callback);
- }
-
- public java.math.BigInteger getMediaSessionId() {
- return tinyWRAPJNI.ProxyAudioConsumer_getMediaSessionId(swigCPtr, this);
- }
-
- public static boolean registerPlugin() {
- return tinyWRAPJNI.ProxyAudioConsumer_registerPlugin();
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/ProxyAudioConsumerCallback.java b/branches/1.0/bindings/java/android/ProxyAudioConsumerCallback.java
deleted file mode 100644
index 836c7e8..0000000
--- a/branches/1.0/bindings/java/android/ProxyAudioConsumerCallback.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class ProxyAudioConsumerCallback {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected ProxyAudioConsumerCallback(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(ProxyAudioConsumerCallback obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_ProxyAudioConsumerCallback(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- protected void swigDirectorDisconnect() {
- swigCMemOwn = false;
- delete();
- }
-
- public void swigReleaseOwnership() {
- swigCMemOwn = false;
- tinyWRAPJNI.ProxyAudioConsumerCallback_change_ownership(this, swigCPtr, false);
- }
-
- public void swigTakeOwnership() {
- swigCMemOwn = true;
- tinyWRAPJNI.ProxyAudioConsumerCallback_change_ownership(this, swigCPtr, true);
- }
-
- public ProxyAudioConsumerCallback() {
- this(tinyWRAPJNI.new_ProxyAudioConsumerCallback(), true);
- tinyWRAPJNI.ProxyAudioConsumerCallback_director_connect(this, swigCPtr, swigCMemOwn, false);
- }
-
- public int prepare(int ptime, int rate, int channels) {
- return (getClass() == ProxyAudioConsumerCallback.class) ? tinyWRAPJNI.ProxyAudioConsumerCallback_prepare(swigCPtr, this, ptime, rate, channels) : tinyWRAPJNI.ProxyAudioConsumerCallback_prepareSwigExplicitProxyAudioConsumerCallback(swigCPtr, this, ptime, rate, channels);
- }
-
- public int start() {
- return (getClass() == ProxyAudioConsumerCallback.class) ? tinyWRAPJNI.ProxyAudioConsumerCallback_start(swigCPtr, this) : tinyWRAPJNI.ProxyAudioConsumerCallback_startSwigExplicitProxyAudioConsumerCallback(swigCPtr, this);
- }
-
- public int pause() {
- return (getClass() == ProxyAudioConsumerCallback.class) ? tinyWRAPJNI.ProxyAudioConsumerCallback_pause(swigCPtr, this) : tinyWRAPJNI.ProxyAudioConsumerCallback_pauseSwigExplicitProxyAudioConsumerCallback(swigCPtr, this);
- }
-
- public int stop() {
- return (getClass() == ProxyAudioConsumerCallback.class) ? tinyWRAPJNI.ProxyAudioConsumerCallback_stop(swigCPtr, this) : tinyWRAPJNI.ProxyAudioConsumerCallback_stopSwigExplicitProxyAudioConsumerCallback(swigCPtr, this);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/ProxyAudioProducer.java b/branches/1.0/bindings/java/android/ProxyAudioProducer.java
deleted file mode 100644
index 2fca0d7..0000000
--- a/branches/1.0/bindings/java/android/ProxyAudioProducer.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class ProxyAudioProducer extends ProxyPlugin {
- private long swigCPtr;
-
- protected ProxyAudioProducer(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGProxyAudioProducerUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(ProxyAudioProducer obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_ProxyAudioProducer(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public int push(java.nio.ByteBuffer buffer, long size) {
- return tinyWRAPJNI.ProxyAudioProducer_push(swigCPtr, this, buffer, size);
- }
-
- public void setCallback(ProxyAudioProducerCallback _callback) {
- tinyWRAPJNI.ProxyAudioProducer_setCallback(swigCPtr, this, ProxyAudioProducerCallback.getCPtr(_callback), _callback);
- }
-
- public java.math.BigInteger getMediaSessionId() {
- return tinyWRAPJNI.ProxyAudioProducer_getMediaSessionId(swigCPtr, this);
- }
-
- public static boolean registerPlugin() {
- return tinyWRAPJNI.ProxyAudioProducer_registerPlugin();
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/ProxyAudioProducerCallback.java b/branches/1.0/bindings/java/android/ProxyAudioProducerCallback.java
deleted file mode 100644
index a54e281..0000000
--- a/branches/1.0/bindings/java/android/ProxyAudioProducerCallback.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class ProxyAudioProducerCallback {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected ProxyAudioProducerCallback(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(ProxyAudioProducerCallback obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_ProxyAudioProducerCallback(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- protected void swigDirectorDisconnect() {
- swigCMemOwn = false;
- delete();
- }
-
- public void swigReleaseOwnership() {
- swigCMemOwn = false;
- tinyWRAPJNI.ProxyAudioProducerCallback_change_ownership(this, swigCPtr, false);
- }
-
- public void swigTakeOwnership() {
- swigCMemOwn = true;
- tinyWRAPJNI.ProxyAudioProducerCallback_change_ownership(this, swigCPtr, true);
- }
-
- public ProxyAudioProducerCallback() {
- this(tinyWRAPJNI.new_ProxyAudioProducerCallback(), true);
- tinyWRAPJNI.ProxyAudioProducerCallback_director_connect(this, swigCPtr, swigCMemOwn, false);
- }
-
- public int prepare(int ptime, int rate, int channels) {
- return (getClass() == ProxyAudioProducerCallback.class) ? tinyWRAPJNI.ProxyAudioProducerCallback_prepare(swigCPtr, this, ptime, rate, channels) : tinyWRAPJNI.ProxyAudioProducerCallback_prepareSwigExplicitProxyAudioProducerCallback(swigCPtr, this, ptime, rate, channels);
- }
-
- public int start() {
- return (getClass() == ProxyAudioProducerCallback.class) ? tinyWRAPJNI.ProxyAudioProducerCallback_start(swigCPtr, this) : tinyWRAPJNI.ProxyAudioProducerCallback_startSwigExplicitProxyAudioProducerCallback(swigCPtr, this);
- }
-
- public int pause() {
- return (getClass() == ProxyAudioProducerCallback.class) ? tinyWRAPJNI.ProxyAudioProducerCallback_pause(swigCPtr, this) : tinyWRAPJNI.ProxyAudioProducerCallback_pauseSwigExplicitProxyAudioProducerCallback(swigCPtr, this);
- }
-
- public int stop() {
- return (getClass() == ProxyAudioProducerCallback.class) ? tinyWRAPJNI.ProxyAudioProducerCallback_stop(swigCPtr, this) : tinyWRAPJNI.ProxyAudioProducerCallback_stopSwigExplicitProxyAudioProducerCallback(swigCPtr, this);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/ProxyPlugin.java b/branches/1.0/bindings/java/android/ProxyPlugin.java
deleted file mode 100644
index 62e2afc..0000000
--- a/branches/1.0/bindings/java/android/ProxyPlugin.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class ProxyPlugin {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected ProxyPlugin(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(ProxyPlugin obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_ProxyPlugin(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public twrap_proxy_plugin_type_t getType() {
- return twrap_proxy_plugin_type_t.swigToEnum(tinyWRAPJNI.ProxyPlugin_getType(swigCPtr, this));
- }
-
- public java.math.BigInteger getId() {
- return tinyWRAPJNI.ProxyPlugin_getId(swigCPtr, this);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/ProxyPluginMgr.java b/branches/1.0/bindings/java/android/ProxyPluginMgr.java
deleted file mode 100644
index 03f9683..0000000
--- a/branches/1.0/bindings/java/android/ProxyPluginMgr.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class ProxyPluginMgr {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected ProxyPluginMgr(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(ProxyPluginMgr obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_ProxyPluginMgr(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public static ProxyPluginMgr createInstance(ProxyPluginMgrCallback callback) {
- long cPtr = tinyWRAPJNI.ProxyPluginMgr_createInstance(ProxyPluginMgrCallback.getCPtr(callback), callback);
- return (cPtr == 0) ? null : new ProxyPluginMgr(cPtr, true);
- }
-
- public static ProxyPluginMgr getInstance() {
- long cPtr = tinyWRAPJNI.ProxyPluginMgr_getInstance();
- return (cPtr == 0) ? null : new ProxyPluginMgr(cPtr, false);
- }
-
- public ProxyAudioConsumer findAudioConsumer(java.math.BigInteger id) {
- long cPtr = tinyWRAPJNI.ProxyPluginMgr_findAudioConsumer(swigCPtr, this, id);
- return (cPtr == 0) ? null : new ProxyAudioConsumer(cPtr, false);
- }
-
- public ProxyVideoConsumer findVideoConsumer(java.math.BigInteger id) {
- long cPtr = tinyWRAPJNI.ProxyPluginMgr_findVideoConsumer(swigCPtr, this, id);
- return (cPtr == 0) ? null : new ProxyVideoConsumer(cPtr, false);
- }
-
- public ProxyAudioProducer findAudioProducer(java.math.BigInteger id) {
- long cPtr = tinyWRAPJNI.ProxyPluginMgr_findAudioProducer(swigCPtr, this, id);
- return (cPtr == 0) ? null : new ProxyAudioProducer(cPtr, false);
- }
-
- public ProxyVideoProducer findVideoProducer(java.math.BigInteger id) {
- long cPtr = tinyWRAPJNI.ProxyPluginMgr_findVideoProducer(swigCPtr, this, id);
- return (cPtr == 0) ? null : new ProxyVideoProducer(cPtr, false);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/ProxyPluginMgrCallback.java b/branches/1.0/bindings/java/android/ProxyPluginMgrCallback.java
deleted file mode 100644
index 8a8c684..0000000
--- a/branches/1.0/bindings/java/android/ProxyPluginMgrCallback.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class ProxyPluginMgrCallback {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected ProxyPluginMgrCallback(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(ProxyPluginMgrCallback obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_ProxyPluginMgrCallback(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- protected void swigDirectorDisconnect() {
- swigCMemOwn = false;
- delete();
- }
-
- public void swigReleaseOwnership() {
- swigCMemOwn = false;
- tinyWRAPJNI.ProxyPluginMgrCallback_change_ownership(this, swigCPtr, false);
- }
-
- public void swigTakeOwnership() {
- swigCMemOwn = true;
- tinyWRAPJNI.ProxyPluginMgrCallback_change_ownership(this, swigCPtr, true);
- }
-
- public ProxyPluginMgrCallback() {
- this(tinyWRAPJNI.new_ProxyPluginMgrCallback(), true);
- tinyWRAPJNI.ProxyPluginMgrCallback_director_connect(this, swigCPtr, swigCMemOwn, false);
- }
-
- public int OnPluginCreated(java.math.BigInteger id, twrap_proxy_plugin_type_t type) {
- return (getClass() == ProxyPluginMgrCallback.class) ? tinyWRAPJNI.ProxyPluginMgrCallback_OnPluginCreated(swigCPtr, this, id, type.swigValue()) : tinyWRAPJNI.ProxyPluginMgrCallback_OnPluginCreatedSwigExplicitProxyPluginMgrCallback(swigCPtr, this, id, type.swigValue());
- }
-
- public int OnPluginDestroyed(java.math.BigInteger id, twrap_proxy_plugin_type_t type) {
- return (getClass() == ProxyPluginMgrCallback.class) ? tinyWRAPJNI.ProxyPluginMgrCallback_OnPluginDestroyed(swigCPtr, this, id, type.swigValue()) : tinyWRAPJNI.ProxyPluginMgrCallback_OnPluginDestroyedSwigExplicitProxyPluginMgrCallback(swigCPtr, this, id, type.swigValue());
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/ProxyVideoConsumer.java b/branches/1.0/bindings/java/android/ProxyVideoConsumer.java
deleted file mode 100644
index 4e020ce..0000000
--- a/branches/1.0/bindings/java/android/ProxyVideoConsumer.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class ProxyVideoConsumer extends ProxyPlugin {
- private long swigCPtr;
-
- protected ProxyVideoConsumer(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGProxyVideoConsumerUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(ProxyVideoConsumer obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_ProxyVideoConsumer(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public boolean setDisplaySize(int width, int height) {
- return tinyWRAPJNI.ProxyVideoConsumer_setDisplaySize(swigCPtr, this, width, height);
- }
-
- public void setCallback(ProxyVideoConsumerCallback _callback) {
- tinyWRAPJNI.ProxyVideoConsumer_setCallback(swigCPtr, this, ProxyVideoConsumerCallback.getCPtr(_callback), _callback);
- }
-
- public java.math.BigInteger getMediaSessionId() {
- return tinyWRAPJNI.ProxyVideoConsumer_getMediaSessionId(swigCPtr, this);
- }
-
- public static boolean registerPlugin() {
- return tinyWRAPJNI.ProxyVideoConsumer_registerPlugin();
- }
-
- public static void setDefaultChroma(tmedia_chroma_t chroma) {
- tinyWRAPJNI.ProxyVideoConsumer_setDefaultChroma(chroma.swigValue());
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/ProxyVideoConsumerCallback.java b/branches/1.0/bindings/java/android/ProxyVideoConsumerCallback.java
deleted file mode 100644
index b2d70fd..0000000
--- a/branches/1.0/bindings/java/android/ProxyVideoConsumerCallback.java
+++ /dev/null
@@ -1,76 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class ProxyVideoConsumerCallback {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected ProxyVideoConsumerCallback(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(ProxyVideoConsumerCallback obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_ProxyVideoConsumerCallback(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- protected void swigDirectorDisconnect() {
- swigCMemOwn = false;
- delete();
- }
-
- public void swigReleaseOwnership() {
- swigCMemOwn = false;
- tinyWRAPJNI.ProxyVideoConsumerCallback_change_ownership(this, swigCPtr, false);
- }
-
- public void swigTakeOwnership() {
- swigCMemOwn = true;
- tinyWRAPJNI.ProxyVideoConsumerCallback_change_ownership(this, swigCPtr, true);
- }
-
- public ProxyVideoConsumerCallback() {
- this(tinyWRAPJNI.new_ProxyVideoConsumerCallback(), true);
- tinyWRAPJNI.ProxyVideoConsumerCallback_director_connect(this, swigCPtr, swigCMemOwn, false);
- }
-
- public int prepare(int width, int height, int fps) {
- return (getClass() == ProxyVideoConsumerCallback.class) ? tinyWRAPJNI.ProxyVideoConsumerCallback_prepare(swigCPtr, this, width, height, fps) : tinyWRAPJNI.ProxyVideoConsumerCallback_prepareSwigExplicitProxyVideoConsumerCallback(swigCPtr, this, width, height, fps);
- }
-
- public int consume(ProxyVideoFrame frame) {
- return (getClass() == ProxyVideoConsumerCallback.class) ? tinyWRAPJNI.ProxyVideoConsumerCallback_consume(swigCPtr, this, ProxyVideoFrame.getCPtr(frame), frame) : tinyWRAPJNI.ProxyVideoConsumerCallback_consumeSwigExplicitProxyVideoConsumerCallback(swigCPtr, this, ProxyVideoFrame.getCPtr(frame), frame);
- }
-
- public int start() {
- return (getClass() == ProxyVideoConsumerCallback.class) ? tinyWRAPJNI.ProxyVideoConsumerCallback_start(swigCPtr, this) : tinyWRAPJNI.ProxyVideoConsumerCallback_startSwigExplicitProxyVideoConsumerCallback(swigCPtr, this);
- }
-
- public int pause() {
- return (getClass() == ProxyVideoConsumerCallback.class) ? tinyWRAPJNI.ProxyVideoConsumerCallback_pause(swigCPtr, this) : tinyWRAPJNI.ProxyVideoConsumerCallback_pauseSwigExplicitProxyVideoConsumerCallback(swigCPtr, this);
- }
-
- public int stop() {
- return (getClass() == ProxyVideoConsumerCallback.class) ? tinyWRAPJNI.ProxyVideoConsumerCallback_stop(swigCPtr, this) : tinyWRAPJNI.ProxyVideoConsumerCallback_stopSwigExplicitProxyVideoConsumerCallback(swigCPtr, this);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/ProxyVideoFrame.java b/branches/1.0/bindings/java/android/ProxyVideoFrame.java
deleted file mode 100644
index 34a01ca..0000000
--- a/branches/1.0/bindings/java/android/ProxyVideoFrame.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class ProxyVideoFrame {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected ProxyVideoFrame(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(ProxyVideoFrame obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_ProxyVideoFrame(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public long getSize() {
- return tinyWRAPJNI.ProxyVideoFrame_getSize(swigCPtr, this);
- }
-
- public long getContent(java.nio.ByteBuffer output, long maxsize) {
- return tinyWRAPJNI.ProxyVideoFrame_getContent(swigCPtr, this, output, maxsize);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/ProxyVideoProducer.java b/branches/1.0/bindings/java/android/ProxyVideoProducer.java
deleted file mode 100644
index 250cd44..0000000
--- a/branches/1.0/bindings/java/android/ProxyVideoProducer.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class ProxyVideoProducer extends ProxyPlugin {
- private long swigCPtr;
-
- protected ProxyVideoProducer(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGProxyVideoProducerUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(ProxyVideoProducer obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_ProxyVideoProducer(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public int getRotation() {
- return tinyWRAPJNI.ProxyVideoProducer_getRotation(swigCPtr, this);
- }
-
- public void setRotation(int rot) {
- tinyWRAPJNI.ProxyVideoProducer_setRotation(swigCPtr, this, rot);
- }
-
- public int push(java.nio.ByteBuffer buffer, long size) {
- return tinyWRAPJNI.ProxyVideoProducer_push(swigCPtr, this, buffer, size);
- }
-
- public int send(java.nio.ByteBuffer buffer, long size, long duration, boolean marker) {
- return tinyWRAPJNI.ProxyVideoProducer_send(swigCPtr, this, buffer, size, duration, marker);
- }
-
- public void setCallback(ProxyVideoProducerCallback _callback) {
- tinyWRAPJNI.ProxyVideoProducer_setCallback(swigCPtr, this, ProxyVideoProducerCallback.getCPtr(_callback), _callback);
- }
-
- public java.math.BigInteger getMediaSessionId() {
- return tinyWRAPJNI.ProxyVideoProducer_getMediaSessionId(swigCPtr, this);
- }
-
- public static boolean registerPlugin() {
- return tinyWRAPJNI.ProxyVideoProducer_registerPlugin();
- }
-
- public static void setDefaultChroma(tmedia_chroma_t chroma) {
- tinyWRAPJNI.ProxyVideoProducer_setDefaultChroma(chroma.swigValue());
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/ProxyVideoProducerCallback.java b/branches/1.0/bindings/java/android/ProxyVideoProducerCallback.java
deleted file mode 100644
index 3c533c2..0000000
--- a/branches/1.0/bindings/java/android/ProxyVideoProducerCallback.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class ProxyVideoProducerCallback {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected ProxyVideoProducerCallback(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(ProxyVideoProducerCallback obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_ProxyVideoProducerCallback(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- protected void swigDirectorDisconnect() {
- swigCMemOwn = false;
- delete();
- }
-
- public void swigReleaseOwnership() {
- swigCMemOwn = false;
- tinyWRAPJNI.ProxyVideoProducerCallback_change_ownership(this, swigCPtr, false);
- }
-
- public void swigTakeOwnership() {
- swigCMemOwn = true;
- tinyWRAPJNI.ProxyVideoProducerCallback_change_ownership(this, swigCPtr, true);
- }
-
- public ProxyVideoProducerCallback() {
- this(tinyWRAPJNI.new_ProxyVideoProducerCallback(), true);
- tinyWRAPJNI.ProxyVideoProducerCallback_director_connect(this, swigCPtr, swigCMemOwn, false);
- }
-
- public int prepare(int width, int height, int fps) {
- return (getClass() == ProxyVideoProducerCallback.class) ? tinyWRAPJNI.ProxyVideoProducerCallback_prepare(swigCPtr, this, width, height, fps) : tinyWRAPJNI.ProxyVideoProducerCallback_prepareSwigExplicitProxyVideoProducerCallback(swigCPtr, this, width, height, fps);
- }
-
- public int start() {
- return (getClass() == ProxyVideoProducerCallback.class) ? tinyWRAPJNI.ProxyVideoProducerCallback_start(swigCPtr, this) : tinyWRAPJNI.ProxyVideoProducerCallback_startSwigExplicitProxyVideoProducerCallback(swigCPtr, this);
- }
-
- public int pause() {
- return (getClass() == ProxyVideoProducerCallback.class) ? tinyWRAPJNI.ProxyVideoProducerCallback_pause(swigCPtr, this) : tinyWRAPJNI.ProxyVideoProducerCallback_pauseSwigExplicitProxyVideoProducerCallback(swigCPtr, this);
- }
-
- public int stop() {
- return (getClass() == ProxyVideoProducerCallback.class) ? tinyWRAPJNI.ProxyVideoProducerCallback_stop(swigCPtr, this) : tinyWRAPJNI.ProxyVideoProducerCallback_stopSwigExplicitProxyVideoProducerCallback(swigCPtr, this);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/PublicationEvent.java b/branches/1.0/bindings/java/android/PublicationEvent.java
deleted file mode 100644
index 8854168..0000000
--- a/branches/1.0/bindings/java/android/PublicationEvent.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class PublicationEvent extends SipEvent {
- private long swigCPtr;
-
- protected PublicationEvent(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGPublicationEventUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(PublicationEvent obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_PublicationEvent(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public tsip_publish_event_type_t getType() {
- return tsip_publish_event_type_t.swigToEnum(tinyWRAPJNI.PublicationEvent_getType(swigCPtr, this));
- }
-
- public PublicationSession getSession() {
- long cPtr = tinyWRAPJNI.PublicationEvent_getSession(swigCPtr, this);
- return (cPtr == 0) ? null : new PublicationSession(cPtr, false);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/PublicationSession.java b/branches/1.0/bindings/java/android/PublicationSession.java
deleted file mode 100644
index 62d7ab2..0000000
--- a/branches/1.0/bindings/java/android/PublicationSession.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class PublicationSession extends SipSession {
- private long swigCPtr;
-
- protected PublicationSession(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGPublicationSessionUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(PublicationSession obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_PublicationSession(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public boolean Publish(byte[] bytes) {
- if(bytes != null){
- final java.nio.ByteBuffer byteBuffer = this.getByteBuffer(bytes);
- return this.publish(byteBuffer, bytes.length);
- }
- return false;
- }
-
- public PublicationSession(SipStack Stack) {
- this(tinyWRAPJNI.new_PublicationSession(SipStack.getCPtr(Stack), Stack), true);
- }
-
- public boolean publish(java.nio.ByteBuffer payload, long len) {
- return tinyWRAPJNI.PublicationSession_publish(swigCPtr, this, payload, len);
- }
-
- public boolean unPublish() {
- return tinyWRAPJNI.PublicationSession_unPublish(swigCPtr, this);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/RPMessage.java b/branches/1.0/bindings/java/android/RPMessage.java
deleted file mode 100644
index 711f990..0000000
--- a/branches/1.0/bindings/java/android/RPMessage.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class RPMessage {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected RPMessage(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(RPMessage obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_RPMessage(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public RPMessage() {
- this(tinyWRAPJNI.new_RPMessage(), true);
- }
-
- public twrap_rpmessage_type_t getType() {
- return twrap_rpmessage_type_t.swigToEnum(tinyWRAPJNI.RPMessage_getType(swigCPtr, this));
- }
-
- public long getPayloadLength() {
- return tinyWRAPJNI.RPMessage_getPayloadLength(swigCPtr, this);
- }
-
- public long getPayload(java.nio.ByteBuffer output, long maxsize) {
- return tinyWRAPJNI.RPMessage_getPayload(swigCPtr, this, output, maxsize);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/RegistrationEvent.java b/branches/1.0/bindings/java/android/RegistrationEvent.java
deleted file mode 100644
index 6ae317b..0000000
--- a/branches/1.0/bindings/java/android/RegistrationEvent.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class RegistrationEvent extends SipEvent {
- private long swigCPtr;
-
- protected RegistrationEvent(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGRegistrationEventUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(RegistrationEvent obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_RegistrationEvent(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public tsip_register_event_type_t getType() {
- return tsip_register_event_type_t.swigToEnum(tinyWRAPJNI.RegistrationEvent_getType(swigCPtr, this));
- }
-
- public RegistrationSession getSession() {
- long cPtr = tinyWRAPJNI.RegistrationEvent_getSession(swigCPtr, this);
- return (cPtr == 0) ? null : new RegistrationSession(cPtr, false);
- }
-
- public RegistrationSession takeSessionOwnership() {
- long cPtr = tinyWRAPJNI.RegistrationEvent_takeSessionOwnership(swigCPtr, this);
- return (cPtr == 0) ? null : new RegistrationSession(cPtr, true);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/RegistrationSession.java b/branches/1.0/bindings/java/android/RegistrationSession.java
deleted file mode 100644
index 44aa32f..0000000
--- a/branches/1.0/bindings/java/android/RegistrationSession.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class RegistrationSession extends SipSession {
- private long swigCPtr;
-
- protected RegistrationSession(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGRegistrationSessionUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(RegistrationSession obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_RegistrationSession(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public RegistrationSession(SipStack Stack) {
- this(tinyWRAPJNI.new_RegistrationSession(SipStack.getCPtr(Stack), Stack), true);
- }
-
- public boolean register_() {
- return tinyWRAPJNI.RegistrationSession_register_(swigCPtr, this);
- }
-
- public boolean unRegister() {
- return tinyWRAPJNI.RegistrationSession_unRegister(swigCPtr, this);
- }
-
- public boolean accept(ActionConfig config) {
- return tinyWRAPJNI.RegistrationSession_accept__SWIG_0(swigCPtr, this, ActionConfig.getCPtr(config), config);
- }
-
- public boolean accept() {
- return tinyWRAPJNI.RegistrationSession_accept__SWIG_1(swigCPtr, this);
- }
-
- public boolean reject(ActionConfig config) {
- return tinyWRAPJNI.RegistrationSession_reject__SWIG_0(swigCPtr, this, ActionConfig.getCPtr(config), config);
- }
-
- public boolean reject() {
- return tinyWRAPJNI.RegistrationSession_reject__SWIG_1(swigCPtr, this);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/SMSData.java b/branches/1.0/bindings/java/android/SMSData.java
deleted file mode 100644
index 12957ec..0000000
--- a/branches/1.0/bindings/java/android/SMSData.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class SMSData {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected SMSData(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(SMSData obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_SMSData(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public SMSData() {
- this(tinyWRAPJNI.new_SMSData(), true);
- }
-
- public twrap_sms_type_t getType() {
- return twrap_sms_type_t.swigToEnum(tinyWRAPJNI.SMSData_getType(swigCPtr, this));
- }
-
- public int getMR() {
- return tinyWRAPJNI.SMSData_getMR(swigCPtr, this);
- }
-
- public long getPayloadLength() {
- return tinyWRAPJNI.SMSData_getPayloadLength(swigCPtr, this);
- }
-
- public long getPayload(java.nio.ByteBuffer output, long maxsize) {
- return tinyWRAPJNI.SMSData_getPayload(swigCPtr, this, output, maxsize);
- }
-
- public String getOA() {
- return tinyWRAPJNI.SMSData_getOA(swigCPtr, this);
- }
-
- public String getDA() {
- return tinyWRAPJNI.SMSData_getDA(swigCPtr, this);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/SMSEncoder.java b/branches/1.0/bindings/java/android/SMSEncoder.java
deleted file mode 100644
index 3e44573..0000000
--- a/branches/1.0/bindings/java/android/SMSEncoder.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class SMSEncoder {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected SMSEncoder(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(SMSEncoder obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_SMSEncoder(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public static RPMessage encodeSubmit(int mr, String smsc, String destination, String ascii) {
- long cPtr = tinyWRAPJNI.SMSEncoder_encodeSubmit(mr, smsc, destination, ascii);
- return (cPtr == 0) ? null : new RPMessage(cPtr, true);
- }
-
- public static RPMessage encodeDeliver(int mr, String smsc, String originator, String ascii) {
- long cPtr = tinyWRAPJNI.SMSEncoder_encodeDeliver(mr, smsc, originator, ascii);
- return (cPtr == 0) ? null : new RPMessage(cPtr, true);
- }
-
- public static RPMessage encodeACK(int mr, String smsc, String destination, boolean forSUBMIT) {
- long cPtr = tinyWRAPJNI.SMSEncoder_encodeACK(mr, smsc, destination, forSUBMIT);
- return (cPtr == 0) ? null : new RPMessage(cPtr, true);
- }
-
- public static RPMessage encodeError(int mr, String smsc, String destination, boolean forSUBMIT) {
- long cPtr = tinyWRAPJNI.SMSEncoder_encodeError(mr, smsc, destination, forSUBMIT);
- return (cPtr == 0) ? null : new RPMessage(cPtr, true);
- }
-
- public static SMSData decode(java.nio.ByteBuffer data, long size, boolean MobOrig) {
- long cPtr = tinyWRAPJNI.SMSEncoder_decode(data, size, MobOrig);
- return (cPtr == 0) ? null : new SMSData(cPtr, true);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/SafeObject.java b/branches/1.0/bindings/java/android/SafeObject.java
deleted file mode 100644
index 4cef075..0000000
--- a/branches/1.0/bindings/java/android/SafeObject.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class SafeObject {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected SafeObject(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(SafeObject obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_SafeObject(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public SafeObject() {
- this(tinyWRAPJNI.new_SafeObject(), true);
- }
-
- public int Lock() {
- return tinyWRAPJNI.SafeObject_Lock(swigCPtr, this);
- }
-
- public int UnLock() {
- return tinyWRAPJNI.SafeObject_UnLock(swigCPtr, this);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/SdpMessage.java b/branches/1.0/bindings/java/android/SdpMessage.java
deleted file mode 100644
index 410ba16..0000000
--- a/branches/1.0/bindings/java/android/SdpMessage.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class SdpMessage {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected SdpMessage(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(SdpMessage obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_SdpMessage(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public SdpMessage() {
- this(tinyWRAPJNI.new_SdpMessage(), true);
- }
-
- public String getSdpHeaderValue(String media, char name, long index) {
- return tinyWRAPJNI.SdpMessage_getSdpHeaderValue__SWIG_0(swigCPtr, this, media, name, index);
- }
-
- public String getSdpHeaderValue(String media, char name) {
- return tinyWRAPJNI.SdpMessage_getSdpHeaderValue__SWIG_1(swigCPtr, this, media, name);
- }
-
- public String getSdpHeaderAValue(String media, String attributeName) {
- return tinyWRAPJNI.SdpMessage_getSdpHeaderAValue(swigCPtr, this, media, attributeName);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/SipCallback.java b/branches/1.0/bindings/java/android/SipCallback.java
deleted file mode 100644
index dcf3207..0000000
--- a/branches/1.0/bindings/java/android/SipCallback.java
+++ /dev/null
@@ -1,88 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class SipCallback {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected SipCallback(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(SipCallback obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_SipCallback(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- protected void swigDirectorDisconnect() {
- swigCMemOwn = false;
- delete();
- }
-
- public void swigReleaseOwnership() {
- swigCMemOwn = false;
- tinyWRAPJNI.SipCallback_change_ownership(this, swigCPtr, false);
- }
-
- public void swigTakeOwnership() {
- swigCMemOwn = true;
- tinyWRAPJNI.SipCallback_change_ownership(this, swigCPtr, true);
- }
-
- public SipCallback() {
- this(tinyWRAPJNI.new_SipCallback(), true);
- tinyWRAPJNI.SipCallback_director_connect(this, swigCPtr, swigCMemOwn, false);
- }
-
- public int OnDialogEvent(DialogEvent e) {
- return (getClass() == SipCallback.class) ? tinyWRAPJNI.SipCallback_OnDialogEvent(swigCPtr, this, DialogEvent.getCPtr(e), e) : tinyWRAPJNI.SipCallback_OnDialogEventSwigExplicitSipCallback(swigCPtr, this, DialogEvent.getCPtr(e), e);
- }
-
- public int OnStackEvent(StackEvent e) {
- return (getClass() == SipCallback.class) ? tinyWRAPJNI.SipCallback_OnStackEvent(swigCPtr, this, StackEvent.getCPtr(e), e) : tinyWRAPJNI.SipCallback_OnStackEventSwigExplicitSipCallback(swigCPtr, this, StackEvent.getCPtr(e), e);
- }
-
- public int OnInviteEvent(InviteEvent e) {
- return (getClass() == SipCallback.class) ? tinyWRAPJNI.SipCallback_OnInviteEvent(swigCPtr, this, InviteEvent.getCPtr(e), e) : tinyWRAPJNI.SipCallback_OnInviteEventSwigExplicitSipCallback(swigCPtr, this, InviteEvent.getCPtr(e), e);
- }
-
- public int OnMessagingEvent(MessagingEvent e) {
- return (getClass() == SipCallback.class) ? tinyWRAPJNI.SipCallback_OnMessagingEvent(swigCPtr, this, MessagingEvent.getCPtr(e), e) : tinyWRAPJNI.SipCallback_OnMessagingEventSwigExplicitSipCallback(swigCPtr, this, MessagingEvent.getCPtr(e), e);
- }
-
- public int OnOptionsEvent(OptionsEvent e) {
- return (getClass() == SipCallback.class) ? tinyWRAPJNI.SipCallback_OnOptionsEvent(swigCPtr, this, OptionsEvent.getCPtr(e), e) : tinyWRAPJNI.SipCallback_OnOptionsEventSwigExplicitSipCallback(swigCPtr, this, OptionsEvent.getCPtr(e), e);
- }
-
- public int OnPublicationEvent(PublicationEvent e) {
- return (getClass() == SipCallback.class) ? tinyWRAPJNI.SipCallback_OnPublicationEvent(swigCPtr, this, PublicationEvent.getCPtr(e), e) : tinyWRAPJNI.SipCallback_OnPublicationEventSwigExplicitSipCallback(swigCPtr, this, PublicationEvent.getCPtr(e), e);
- }
-
- public int OnRegistrationEvent(RegistrationEvent e) {
- return (getClass() == SipCallback.class) ? tinyWRAPJNI.SipCallback_OnRegistrationEvent(swigCPtr, this, RegistrationEvent.getCPtr(e), e) : tinyWRAPJNI.SipCallback_OnRegistrationEventSwigExplicitSipCallback(swigCPtr, this, RegistrationEvent.getCPtr(e), e);
- }
-
- public int OnSubscriptionEvent(SubscriptionEvent e) {
- return (getClass() == SipCallback.class) ? tinyWRAPJNI.SipCallback_OnSubscriptionEvent(swigCPtr, this, SubscriptionEvent.getCPtr(e), e) : tinyWRAPJNI.SipCallback_OnSubscriptionEventSwigExplicitSipCallback(swigCPtr, this, SubscriptionEvent.getCPtr(e), e);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/SipEvent.java b/branches/1.0/bindings/java/android/SipEvent.java
deleted file mode 100644
index 48cab3a..0000000
--- a/branches/1.0/bindings/java/android/SipEvent.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class SipEvent {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected SipEvent(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(SipEvent obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_SipEvent(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public short getCode() {
- return tinyWRAPJNI.SipEvent_getCode(swigCPtr, this);
- }
-
- public String getPhrase() {
- return tinyWRAPJNI.SipEvent_getPhrase(swigCPtr, this);
- }
-
- public SipSession getBaseSession() {
- long cPtr = tinyWRAPJNI.SipEvent_getBaseSession(swigCPtr, this);
- return (cPtr == 0) ? null : new SipSession(cPtr, false);
- }
-
- public SipMessage getSipMessage() {
- long cPtr = tinyWRAPJNI.SipEvent_getSipMessage(swigCPtr, this);
- return (cPtr == 0) ? null : new SipMessage(cPtr, false);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/SipMessage.java b/branches/1.0/bindings/java/android/SipMessage.java
deleted file mode 100644
index 840260a..0000000
--- a/branches/1.0/bindings/java/android/SipMessage.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class SipMessage {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected SipMessage(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(SipMessage obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_SipMessage(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public byte[] getSipContent() {
- final int clen = (int)this.getSipContentLength();
- if(clen>0){
- final java.nio.ByteBuffer buffer = java.nio.ByteBuffer.allocateDirect(clen);
- final int read = (int)this.getSipContent(buffer, clen);
- final byte[] bytes = new byte[read];
- buffer.get(bytes, 0, read);
- return bytes;
- }
- return null;
- }
-
- public SipMessage() {
- this(tinyWRAPJNI.new_SipMessage(), true);
- }
-
- public String getSipHeaderValue(String name, long index) {
- return tinyWRAPJNI.SipMessage_getSipHeaderValue__SWIG_0(swigCPtr, this, name, index);
- }
-
- public String getSipHeaderValue(String name) {
- return tinyWRAPJNI.SipMessage_getSipHeaderValue__SWIG_1(swigCPtr, this, name);
- }
-
- public String getSipHeaderParamValue(String name, String param, long index) {
- return tinyWRAPJNI.SipMessage_getSipHeaderParamValue__SWIG_0(swigCPtr, this, name, param, index);
- }
-
- public String getSipHeaderParamValue(String name, String param) {
- return tinyWRAPJNI.SipMessage_getSipHeaderParamValue__SWIG_1(swigCPtr, this, name, param);
- }
-
- public long getSipContentLength() {
- return tinyWRAPJNI.SipMessage_getSipContentLength(swigCPtr, this);
- }
-
- public long getSipContent(java.nio.ByteBuffer output, long maxsize) {
- return tinyWRAPJNI.SipMessage_getSipContent(swigCPtr, this, output, maxsize);
- }
-
- public SdpMessage getSdpMessage() {
- long cPtr = tinyWRAPJNI.SipMessage_getSdpMessage(swigCPtr, this);
- return (cPtr == 0) ? null : new SdpMessage(cPtr, false);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/SipSession.java b/branches/1.0/bindings/java/android/SipSession.java
deleted file mode 100644
index d3d9b84..0000000
--- a/branches/1.0/bindings/java/android/SipSession.java
+++ /dev/null
@@ -1,101 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class SipSession {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected SipSession(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(SipSession obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_SipSession(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- protected java.nio.ByteBuffer getByteBuffer(byte[] bytes) {
- if(bytes != null){
- final java.nio.ByteBuffer byteBuffer = java.nio.ByteBuffer.allocateDirect(bytes.length);
- byteBuffer.put(bytes);
- return byteBuffer;
- }
- return null;
- }
-
- public SipSession(SipStack stack) {
- this(tinyWRAPJNI.new_SipSession(SipStack.getCPtr(stack), stack), true);
- }
-
- public boolean haveOwnership() {
- return tinyWRAPJNI.SipSession_haveOwnership(swigCPtr, this);
- }
-
- public boolean addHeader(String name, String value) {
- return tinyWRAPJNI.SipSession_addHeader(swigCPtr, this, name, value);
- }
-
- public boolean removeHeader(String name) {
- return tinyWRAPJNI.SipSession_removeHeader(swigCPtr, this, name);
- }
-
- public boolean addCaps(String name, String value) {
- return tinyWRAPJNI.SipSession_addCaps__SWIG_0(swigCPtr, this, name, value);
- }
-
- public boolean addCaps(String name) {
- return tinyWRAPJNI.SipSession_addCaps__SWIG_1(swigCPtr, this, name);
- }
-
- public boolean removeCaps(String name) {
- return tinyWRAPJNI.SipSession_removeCaps(swigCPtr, this, name);
- }
-
- public boolean setExpires(long expires) {
- return tinyWRAPJNI.SipSession_setExpires(swigCPtr, this, expires);
- }
-
- public boolean setFromUri(String fromUri) {
- return tinyWRAPJNI.SipSession_setFromUri(swigCPtr, this, fromUri);
- }
-
- public boolean setToUri(String toUri) {
- return tinyWRAPJNI.SipSession_setToUri(swigCPtr, this, toUri);
- }
-
- public boolean setSilentHangup(boolean silent) {
- return tinyWRAPJNI.SipSession_setSilentHangup(swigCPtr, this, silent);
- }
-
- public boolean addSigCompCompartment(String compId) {
- return tinyWRAPJNI.SipSession_addSigCompCompartment(swigCPtr, this, compId);
- }
-
- public boolean removeSigCompCompartment() {
- return tinyWRAPJNI.SipSession_removeSigCompCompartment(swigCPtr, this);
- }
-
- public long getId() {
- return tinyWRAPJNI.SipSession_getId(swigCPtr, this);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/SipStack.java b/branches/1.0/bindings/java/android/SipStack.java
deleted file mode 100644
index ddc220a..0000000
--- a/branches/1.0/bindings/java/android/SipStack.java
+++ /dev/null
@@ -1,184 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class SipStack extends SafeObject {
- private long swigCPtr;
-
- protected SipStack(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGSipStackUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(SipStack obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_SipStack(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public SipStack(SipCallback callback, String realm_uri, String impi_uri, String impu_uri) {
- this(tinyWRAPJNI.new_SipStack(SipCallback.getCPtr(callback), callback, realm_uri, impi_uri, impu_uri), true);
- }
-
- public boolean start() {
- return tinyWRAPJNI.SipStack_start(swigCPtr, this);
- }
-
- public boolean setDebugCallback(DDebugCallback callback) {
- return tinyWRAPJNI.SipStack_setDebugCallback(swigCPtr, this, DDebugCallback.getCPtr(callback), callback);
- }
-
- public boolean setRealm(String realm_uri) {
- return tinyWRAPJNI.SipStack_setRealm(swigCPtr, this, realm_uri);
- }
-
- public boolean setIMPI(String impi) {
- return tinyWRAPJNI.SipStack_setIMPI(swigCPtr, this, impi);
- }
-
- public boolean setIMPU(String impu_uri) {
- return tinyWRAPJNI.SipStack_setIMPU(swigCPtr, this, impu_uri);
- }
-
- public boolean setPassword(String password) {
- return tinyWRAPJNI.SipStack_setPassword(swigCPtr, this, password);
- }
-
- public boolean setAMF(String amf) {
- return tinyWRAPJNI.SipStack_setAMF(swigCPtr, this, amf);
- }
-
- public boolean setOperatorId(String opid) {
- return tinyWRAPJNI.SipStack_setOperatorId(swigCPtr, this, opid);
- }
-
- public boolean setProxyCSCF(String fqdn, int port, String transport, String ipversion) {
- return tinyWRAPJNI.SipStack_setProxyCSCF(swigCPtr, this, fqdn, port, transport, ipversion);
- }
-
- public boolean setLocalIP(String ip) {
- return tinyWRAPJNI.SipStack_setLocalIP(swigCPtr, this, ip);
- }
-
- public boolean setLocalPort(int port) {
- return tinyWRAPJNI.SipStack_setLocalPort(swigCPtr, this, port);
- }
-
- public boolean setEarlyIMS(boolean enabled) {
- return tinyWRAPJNI.SipStack_setEarlyIMS(swigCPtr, this, enabled);
- }
-
- public boolean addHeader(String name, String value) {
- return tinyWRAPJNI.SipStack_addHeader(swigCPtr, this, name, value);
- }
-
- public boolean removeHeader(String name) {
- return tinyWRAPJNI.SipStack_removeHeader(swigCPtr, this, name);
- }
-
- public boolean addDnsServer(String ip) {
- return tinyWRAPJNI.SipStack_addDnsServer(swigCPtr, this, ip);
- }
-
- public boolean setDnsDiscovery(boolean enabled) {
- return tinyWRAPJNI.SipStack_setDnsDiscovery(swigCPtr, this, enabled);
- }
-
- public boolean setAoR(String ip, int port) {
- return tinyWRAPJNI.SipStack_setAoR(swigCPtr, this, ip, port);
- }
-
- public boolean setSigCompParams(long dms, long sms, long cpb, boolean enablePresDict) {
- return tinyWRAPJNI.SipStack_setSigCompParams(swigCPtr, this, dms, sms, cpb, enablePresDict);
- }
-
- public boolean addSigCompCompartment(String compId) {
- return tinyWRAPJNI.SipStack_addSigCompCompartment(swigCPtr, this, compId);
- }
-
- public boolean removeSigCompCompartment(String compId) {
- return tinyWRAPJNI.SipStack_removeSigCompCompartment(swigCPtr, this, compId);
- }
-
- public boolean setSTUNServer(String ip, int port) {
- return tinyWRAPJNI.SipStack_setSTUNServer(swigCPtr, this, ip, port);
- }
-
- public boolean setSTUNCred(String login, String password) {
- return tinyWRAPJNI.SipStack_setSTUNCred(swigCPtr, this, login, password);
- }
-
- public boolean setTLSSecAgree(boolean enabled) {
- return tinyWRAPJNI.SipStack_setTLSSecAgree(swigCPtr, this, enabled);
- }
-
- public boolean setSSLCretificates(String privKey, String pubKey, String caKey) {
- return tinyWRAPJNI.SipStack_setSSLCretificates(swigCPtr, this, privKey, pubKey, caKey);
- }
-
- public boolean setIPSecSecAgree(boolean enabled) {
- return tinyWRAPJNI.SipStack_setIPSecSecAgree(swigCPtr, this, enabled);
- }
-
- public boolean setIPSecParameters(String algo, String ealgo, String mode, String proto) {
- return tinyWRAPJNI.SipStack_setIPSecParameters(swigCPtr, this, algo, ealgo, mode, proto);
- }
-
- public String dnsENUM(String service, String e164num, String domain) {
- return tinyWRAPJNI.SipStack_dnsENUM(swigCPtr, this, service, e164num, domain);
- }
-
- public String dnsNaptrSrv(String domain, String service, int[] OUTPUT) {
- return tinyWRAPJNI.SipStack_dnsNaptrSrv(swigCPtr, this, domain, service, OUTPUT);
- }
-
- public String dnsSrv(String service, int[] OUTPUT) {
- return tinyWRAPJNI.SipStack_dnsSrv(swigCPtr, this, service, OUTPUT);
- }
-
- public String getLocalIPnPort(String protocol, int[] OUTPUT) {
- return tinyWRAPJNI.SipStack_getLocalIPnPort(swigCPtr, this, protocol, OUTPUT);
- }
-
- public String getPreferredIdentity() {
- return tinyWRAPJNI.SipStack_getPreferredIdentity(swigCPtr, this);
- }
-
- public boolean isValid() {
- return tinyWRAPJNI.SipStack_isValid(swigCPtr, this);
- }
-
- public boolean stop() {
- return tinyWRAPJNI.SipStack_stop(swigCPtr, this);
- }
-
- public static void setCodecs(tdav_codec_id_t codecs) {
- tinyWRAPJNI.SipStack_setCodecs(codecs.swigValue());
- }
-
- public static void setCodecs_2(int codecs) {
- tinyWRAPJNI.SipStack_setCodecs_2(codecs);
- }
-
- public static boolean isCodecSupported(tdav_codec_id_t codec) {
- return tinyWRAPJNI.SipStack_isCodecSupported(codec.swigValue());
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/SipUri.java b/branches/1.0/bindings/java/android/SipUri.java
deleted file mode 100644
index d056a04..0000000
--- a/branches/1.0/bindings/java/android/SipUri.java
+++ /dev/null
@@ -1,76 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class SipUri {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected SipUri(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(SipUri obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_SipUri(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public SipUri(String arg0) {
- this(tinyWRAPJNI.new_SipUri(arg0), true);
- }
-
- public static boolean isValid(String arg0) {
- return tinyWRAPJNI.SipUri_isValid__SWIG_0(arg0);
- }
-
- public boolean isValid() {
- return tinyWRAPJNI.SipUri_isValid__SWIG_1(swigCPtr, this);
- }
-
- public String getScheme() {
- return tinyWRAPJNI.SipUri_getScheme(swigCPtr, this);
- }
-
- public String getHost() {
- return tinyWRAPJNI.SipUri_getHost(swigCPtr, this);
- }
-
- public int getPort() {
- return tinyWRAPJNI.SipUri_getPort(swigCPtr, this);
- }
-
- public String getUserName() {
- return tinyWRAPJNI.SipUri_getUserName(swigCPtr, this);
- }
-
- public String getPassword() {
- return tinyWRAPJNI.SipUri_getPassword(swigCPtr, this);
- }
-
- public String getDisplayName() {
- return tinyWRAPJNI.SipUri_getDisplayName(swigCPtr, this);
- }
-
- public String getParamValue(String pname) {
- return tinyWRAPJNI.SipUri_getParamValue(swigCPtr, this, pname);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/StackEvent.java b/branches/1.0/bindings/java/android/StackEvent.java
deleted file mode 100644
index ee0ba84..0000000
--- a/branches/1.0/bindings/java/android/StackEvent.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class StackEvent extends SipEvent {
- private long swigCPtr;
-
- protected StackEvent(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGStackEventUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(StackEvent obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_StackEvent(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/SubscriptionEvent.java b/branches/1.0/bindings/java/android/SubscriptionEvent.java
deleted file mode 100644
index 03d6345..0000000
--- a/branches/1.0/bindings/java/android/SubscriptionEvent.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class SubscriptionEvent extends SipEvent {
- private long swigCPtr;
-
- protected SubscriptionEvent(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGSubscriptionEventUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(SubscriptionEvent obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_SubscriptionEvent(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public tsip_subscribe_event_type_t getType() {
- return tsip_subscribe_event_type_t.swigToEnum(tinyWRAPJNI.SubscriptionEvent_getType(swigCPtr, this));
- }
-
- public SubscriptionSession getSession() {
- long cPtr = tinyWRAPJNI.SubscriptionEvent_getSession(swigCPtr, this);
- return (cPtr == 0) ? null : new SubscriptionSession(cPtr, false);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/SubscriptionSession.java b/branches/1.0/bindings/java/android/SubscriptionSession.java
deleted file mode 100644
index 64cf108..0000000
--- a/branches/1.0/bindings/java/android/SubscriptionSession.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class SubscriptionSession extends SipSession {
- private long swigCPtr;
-
- protected SubscriptionSession(long cPtr, boolean cMemoryOwn) {
- super(tinyWRAPJNI.SWIGSubscriptionSessionUpcast(cPtr), cMemoryOwn);
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(SubscriptionSession obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_SubscriptionSession(swigCPtr);
- }
- swigCPtr = 0;
- super.delete();
- }
-
- public SubscriptionSession(SipStack Stack) {
- this(tinyWRAPJNI.new_SubscriptionSession(SipStack.getCPtr(Stack), Stack), true);
- }
-
- public boolean subscribe() {
- return tinyWRAPJNI.SubscriptionSession_subscribe(swigCPtr, this);
- }
-
- public boolean unSubscribe() {
- return tinyWRAPJNI.SubscriptionSession_unSubscribe(swigCPtr, this);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/XcapCallback.java b/branches/1.0/bindings/java/android/XcapCallback.java
deleted file mode 100644
index 5a58891..0000000
--- a/branches/1.0/bindings/java/android/XcapCallback.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class XcapCallback {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected XcapCallback(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(XcapCallback obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_XcapCallback(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- protected void swigDirectorDisconnect() {
- swigCMemOwn = false;
- delete();
- }
-
- public void swigReleaseOwnership() {
- swigCMemOwn = false;
- tinyWRAPJNI.XcapCallback_change_ownership(this, swigCPtr, false);
- }
-
- public void swigTakeOwnership() {
- swigCMemOwn = true;
- tinyWRAPJNI.XcapCallback_change_ownership(this, swigCPtr, true);
- }
-
- public XcapCallback() {
- this(tinyWRAPJNI.new_XcapCallback(), true);
- tinyWRAPJNI.XcapCallback_director_connect(this, swigCPtr, swigCMemOwn, false);
- }
-
- public int onEvent(XcapEvent e) {
- return (getClass() == XcapCallback.class) ? tinyWRAPJNI.XcapCallback_onEvent(swigCPtr, this, XcapEvent.getCPtr(e), e) : tinyWRAPJNI.XcapCallback_onEventSwigExplicitXcapCallback(swigCPtr, this, XcapEvent.getCPtr(e), e);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/XcapEvent.java b/branches/1.0/bindings/java/android/XcapEvent.java
deleted file mode 100644
index 86ed797..0000000
--- a/branches/1.0/bindings/java/android/XcapEvent.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class XcapEvent {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected XcapEvent(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(XcapEvent obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_XcapEvent(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public thttp_event_type_t getType() {
- return thttp_event_type_t.swigToEnum(tinyWRAPJNI.XcapEvent_getType(swigCPtr, this));
- }
-
- public XcapMessage getXcapMessage() {
- long cPtr = tinyWRAPJNI.XcapEvent_getXcapMessage(swigCPtr, this);
- return (cPtr == 0) ? null : new XcapMessage(cPtr, false);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/XcapMessage.java b/branches/1.0/bindings/java/android/XcapMessage.java
deleted file mode 100644
index 07dbfbb..0000000
--- a/branches/1.0/bindings/java/android/XcapMessage.java
+++ /dev/null
@@ -1,84 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class XcapMessage {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected XcapMessage(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(XcapMessage obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_XcapMessage(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public byte[] getXcapContent() {
- final int clen = (int)this.getXcapContentLength();
- if(clen>0){
- final java.nio.ByteBuffer buffer = java.nio.ByteBuffer.allocateDirect(clen);
- final int read = (int)this.getXcapContent(buffer, clen);
- final byte[] bytes = new byte[read];
- buffer.get(bytes, 0, read);
- return bytes;
- }
- return null;
- }
-
- public XcapMessage() {
- this(tinyWRAPJNI.new_XcapMessage(), true);
- }
-
- public short getCode() {
- return tinyWRAPJNI.XcapMessage_getCode(swigCPtr, this);
- }
-
- public String getPhrase() {
- return tinyWRAPJNI.XcapMessage_getPhrase(swigCPtr, this);
- }
-
- public String getXcapHeaderValue(String name, long index) {
- return tinyWRAPJNI.XcapMessage_getXcapHeaderValue__SWIG_0(swigCPtr, this, name, index);
- }
-
- public String getXcapHeaderValue(String name) {
- return tinyWRAPJNI.XcapMessage_getXcapHeaderValue__SWIG_1(swigCPtr, this, name);
- }
-
- public String getXcapHeaderParamValue(String name, String param, long index) {
- return tinyWRAPJNI.XcapMessage_getXcapHeaderParamValue__SWIG_0(swigCPtr, this, name, param, index);
- }
-
- public String getXcapHeaderParamValue(String name, String param) {
- return tinyWRAPJNI.XcapMessage_getXcapHeaderParamValue__SWIG_1(swigCPtr, this, name, param);
- }
-
- public long getXcapContentLength() {
- return tinyWRAPJNI.XcapMessage_getXcapContentLength(swigCPtr, this);
- }
-
- public long getXcapContent(java.nio.ByteBuffer output, long maxsize) {
- return tinyWRAPJNI.XcapMessage_getXcapContent(swigCPtr, this, output, maxsize);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/XcapSelector.java b/branches/1.0/bindings/java/android/XcapSelector.java
deleted file mode 100644
index efcda49..0000000
--- a/branches/1.0/bindings/java/android/XcapSelector.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class XcapSelector {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected XcapSelector(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(XcapSelector obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_XcapSelector(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public XcapSelector(XcapStack stack) {
- this(tinyWRAPJNI.new_XcapSelector(XcapStack.getCPtr(stack), stack), true);
- }
-
- public XcapSelector setAUID(String auid) {
- long cPtr = tinyWRAPJNI.XcapSelector_setAUID(swigCPtr, this, auid);
- return (cPtr == 0) ? null : new XcapSelector(cPtr, false);
- }
-
- public XcapSelector setName(String qname) {
- long cPtr = tinyWRAPJNI.XcapSelector_setName(swigCPtr, this, qname);
- return (cPtr == 0) ? null : new XcapSelector(cPtr, false);
- }
-
- public XcapSelector setAttribute(String qname, String att_qname, String att_value) {
- long cPtr = tinyWRAPJNI.XcapSelector_setAttribute(swigCPtr, this, qname, att_qname, att_value);
- return (cPtr == 0) ? null : new XcapSelector(cPtr, false);
- }
-
- public XcapSelector setPos(String qname, long pos) {
- long cPtr = tinyWRAPJNI.XcapSelector_setPos(swigCPtr, this, qname, pos);
- return (cPtr == 0) ? null : new XcapSelector(cPtr, false);
- }
-
- public XcapSelector setPosAttribute(String qname, long pos, String att_qname, String att_value) {
- long cPtr = tinyWRAPJNI.XcapSelector_setPosAttribute(swigCPtr, this, qname, pos, att_qname, att_value);
- return (cPtr == 0) ? null : new XcapSelector(cPtr, false);
- }
-
- public XcapSelector setNamespace(String prefix, String value) {
- long cPtr = tinyWRAPJNI.XcapSelector_setNamespace(swigCPtr, this, prefix, value);
- return (cPtr == 0) ? null : new XcapSelector(cPtr, false);
- }
-
- public String getString() {
- return tinyWRAPJNI.XcapSelector_getString(swigCPtr, this);
- }
-
- public void reset() {
- tinyWRAPJNI.XcapSelector_reset(swigCPtr, this);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/XcapStack.java b/branches/1.0/bindings/java/android/XcapStack.java
deleted file mode 100644
index 95d28e9..0000000
--- a/branches/1.0/bindings/java/android/XcapStack.java
+++ /dev/null
@@ -1,116 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class XcapStack {
- private long swigCPtr;
- protected boolean swigCMemOwn;
-
- protected XcapStack(long cPtr, boolean cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = cPtr;
- }
-
- protected static long getCPtr(XcapStack obj) {
- return (obj == null) ? 0 : obj.swigCPtr;
- }
-
- protected void finalize() {
- delete();
- }
-
- public synchronized void delete() {
- if(swigCPtr != 0 && swigCMemOwn) {
- swigCMemOwn = false;
- tinyWRAPJNI.delete_XcapStack(swigCPtr);
- }
- swigCPtr = 0;
- }
-
- public XcapStack(XcapCallback callback, String xui, String password, String xcap_root) {
- this(tinyWRAPJNI.new_XcapStack(XcapCallback.getCPtr(callback), callback, xui, password, xcap_root), true);
- }
-
- public boolean registerAUID(String id, String mime_type, String ns, String document_name, boolean is_global) {
- return tinyWRAPJNI.XcapStack_registerAUID(swigCPtr, this, id, mime_type, ns, document_name, is_global);
- }
-
- public boolean start() {
- return tinyWRAPJNI.XcapStack_start(swigCPtr, this);
- }
-
- public boolean setCredentials(String xui, String password) {
- return tinyWRAPJNI.XcapStack_setCredentials(swigCPtr, this, xui, password);
- }
-
- public boolean setXcapRoot(String xcap_root) {
- return tinyWRAPJNI.XcapStack_setXcapRoot(swigCPtr, this, xcap_root);
- }
-
- public boolean setLocalIP(String ip) {
- return tinyWRAPJNI.XcapStack_setLocalIP(swigCPtr, this, ip);
- }
-
- public boolean setLocalPort(long port) {
- return tinyWRAPJNI.XcapStack_setLocalPort(swigCPtr, this, port);
- }
-
- public boolean addHeader(String name, String value) {
- return tinyWRAPJNI.XcapStack_addHeader(swigCPtr, this, name, value);
- }
-
- public boolean removeHeader(String name) {
- return tinyWRAPJNI.XcapStack_removeHeader(swigCPtr, this, name);
- }
-
- public boolean setTimeout(long timeout) {
- return tinyWRAPJNI.XcapStack_setTimeout(swigCPtr, this, timeout);
- }
-
- public boolean getDocument(String url) {
- return tinyWRAPJNI.XcapStack_getDocument(swigCPtr, this, url);
- }
-
- public boolean getElement(String url) {
- return tinyWRAPJNI.XcapStack_getElement(swigCPtr, this, url);
- }
-
- public boolean getAttribute(String url) {
- return tinyWRAPJNI.XcapStack_getAttribute(swigCPtr, this, url);
- }
-
- public boolean deleteDocument(String url) {
- return tinyWRAPJNI.XcapStack_deleteDocument(swigCPtr, this, url);
- }
-
- public boolean deleteElement(String url) {
- return tinyWRAPJNI.XcapStack_deleteElement(swigCPtr, this, url);
- }
-
- public boolean deleteAttribute(String url) {
- return tinyWRAPJNI.XcapStack_deleteAttribute(swigCPtr, this, url);
- }
-
- public boolean putDocument(String url, java.nio.ByteBuffer payload, long len, String contentType) {
- return tinyWRAPJNI.XcapStack_putDocument(swigCPtr, this, url, payload, len, contentType);
- }
-
- public boolean putElement(String url, java.nio.ByteBuffer payload, long len) {
- return tinyWRAPJNI.XcapStack_putElement(swigCPtr, this, url, payload, len);
- }
-
- public boolean putAttribute(String url, java.nio.ByteBuffer payload, long len) {
- return tinyWRAPJNI.XcapStack_putAttribute(swigCPtr, this, url, payload, len);
- }
-
- public boolean stop() {
- return tinyWRAPJNI.XcapStack_stop(swigCPtr, this);
- }
-
-}
diff --git a/branches/1.0/bindings/java/android/buildAll.sh b/branches/1.0/bindings/java/android/buildAll.sh
deleted file mode 100644
index 19e8761..0000000
--- a/branches/1.0/bindings/java/android/buildAll.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/bash
-# Build tinyWRAP for Google Android Systems
-
-for project in tinySAK tinyNET tinyHTTP tinyXCAP tinyIPSec tinySMS tinySIGCOMP tinySDP tinyRTP tinyMSRP tinyMEDIA tinyDAV tinySIP
-#for project in tinyMSRP
-do
- echo -e building "$project with parameters=$@\n"
- make PROJECT=$project clean
- make PROJECT=$project BT=static $@ all
-done
-
-echo building tinyWRAP....
-make PROJECT=tinyWRAP clean
-make PROJECT=tinyWRAP BT=shared $@ all \ No newline at end of file
diff --git a/branches/1.0/bindings/java/android/droid-makefile b/branches/1.0/bindings/java/android/droid-makefile
deleted file mode 100644
index 63beb29..0000000
--- a/branches/1.0/bindings/java/android/droid-makefile
+++ /dev/null
@@ -1,76 +0,0 @@
-APP := lib$(PROJECT)_$(MARCH).$(EXT)
-
-CFLAGS := $(CFLAGS_LIB) -fno-rtti -fno-exceptions -I../../_common -I../../. -I../../../tinySAK/src -I../../../tinyNET/src -I../../../tinyHTTP/include -I../../../tinyXCAP/include \
- -I../../../tinySMS/include -I../../../tinySDP/include -I../../../tinyMEDIA/include -I../../../tinyMSRP/include -I../../../tinyDAV/include -I../../../tinySIP/include
-
-# Because of the static build, you need all librarires
-THIRDPARTIES_LIB := ../../../thirdparties/android/lib
-THIRDPARTIES_MARCH_LIB := ../../../thirdparties/android/lib/$(MARCH)
-
-FFMPEG_LDFLAGS := -lavutil -lswscale -lavcore -lavcodec -lx264 -ltheora -logg
-SPEEX_LDFLAGS := -lspeexdsp -lspeex
-OPENCORE_ARM_LDFLAGS := -lopencore-amrnb
-BV16_LDFLAGS := -lbv16
-ILBC_LDFLAGS := -liLBC
-LIBGSM_LDFLAGS := -lgsm
-
-ifeq ($(G729), yes)
- G729_LDFLAGS := -lg729b_$(MARCH)
-
- # Reset all other ITU CODECS
- OPENCORE_ARM_LDFLAGS :=
- BV16_LDFLAGS :=
-else
- G729_LDFLAGS :=
-endif
-
-LDFLAGS := $(LDFLAGS_LIB) -L$(THIRDPARTIES_LIB) -L$(THIRDPARTIES_MARCH_LIB) $(FFMPEG_LDFLAGS) $(SPEEX_LDFLAGS) $(OPENCORE_ARM_LDFLAGS) $(BV16_LDFLAGS) $(ILBC_LDFLAGS) $(LIBGSM_LDFLAGS) $(G729_LDFLAGS)\
- -Wl,-Bdynamic -lm -lstdc++ -lgcc -llog \
- -Wl,-Bstatic -ltinySAK_$(MARCH) -ltinyHTTP_$(MARCH) -ltinyXCAP_$(MARCH) -ltinyIPSec_$(MARCH) -ltinySIGCOMP_$(MARCH) -ltinySMS_$(MARCH) -ltinyNET_$(MARCH) -ltinySDP_$(MARCH) -ltinyRTP_$(MARCH) -ltinyMEDIA_$(MARCH) -ltinyMSRP_$(MARCH) -ltinyDAV_$(MARCH) -ltinySIP_$(MARCH)
-
-
-all: $(APP)
-
-OBJS = tinyWRAP_wrap.o\
- ../../_common/ActionConfig.o \
- ../../_common/DDebug.o \
- ../../_common/MediaContent.o \
- ../../_common/MediaSessionMgr.o \
- ../../_common/Msrp.o \
- ../../_common/ProxyConsumer.o \
- ../../_common/ProxyPluginMgr.o \
- ../../_common/ProxyProducer.o \
- ../../_common/SafeObject.o \
- ../../_common/SipCallback.o \
- ../../_common/SipEvent.o \
- ../../_common/SipMessage.o \
- ../../_common/SipSession.o \
- ../../_common/SipStack.o \
- ../../_common/SipUri.o \
- ../../_common/SMSEncoder.o \
- ../../_common/Xcap.o
-
-
-$(APP): $(OBJS)
-ifeq ($(EXT), a)
- $(AR) rcs $@ $^
-else
- $(CC) $(LDFLAGS) -o $@ $^
-endif
-
-%.o: %.cxx
- $(CPP) -c $(INCLUDE) $(CFLAGS) $< -o $@
-
-install: $(APP)
- $(ANDROID_SDK_ROOT)/tools/adb remount
- $(ANDROID_SDK_ROOT)/tools/adb push $(APP) $(LIB_DIR)/$(APP)
- $(ANDROID_SDK_ROOT)/tools/adb shell chmod 777 $(LIB_DIR)/$(APP)
-
-shell:
- $(ANDROID_SDK_ROOT)/tools/adb shell
-
-run:
- $(ANDROID_SDK_ROOT)/tools/adb shell $(LIB_DIR)/$(APP)
-
-clean:
- @rm -f $(OBJS) $(APP) \ No newline at end of file
diff --git a/branches/1.0/bindings/java/android/tdav_codec_id_t.java b/branches/1.0/bindings/java/android/tdav_codec_id_t.java
deleted file mode 100644
index f3e3f87..0000000
--- a/branches/1.0/bindings/java/android/tdav_codec_id_t.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum tdav_codec_id_t {
- tdav_codec_id_none(0x00000000),
- tdav_codec_id_amr_nb_oa(0x00000001 << 0),
- tdav_codec_id_amr_nb_be(0x00000001 << 1),
- tdav_codec_id_amr_wb_oa(0x00000001 << 2),
- tdav_codec_id_amr_wb_be(0x00000001 << 3),
- tdav_codec_id_gsm(0x00000001 << 4),
- tdav_codec_id_pcma(0x00000001 << 5),
- tdav_codec_id_pcmu(0x00000001 << 6),
- tdav_codec_id_ilbc(0x00000001 << 7),
- tdav_codec_id_speex_nb(0x00000001 << 8),
- tdav_codec_id_speex_wb(0x00000001 << 9),
- tdav_codec_id_speex_uwb(0x00000001 << 10),
- tdav_codec_id_bv16(0x00000001 << 11),
- tdav_codec_id_bv32(0x00000001 << 12),
- tdav_codec_id_evrc(0x00000001 << 13),
- tdav_codec_id_g729ab(0x00000001 << 14),
- tdav_codec_id_h261(0x00010000 << 0),
- tdav_codec_id_h263(0x00010000 << 1),
- tdav_codec_id_h263p(0x00010000 << 2),
- tdav_codec_id_h263pp(0x00010000 << 3),
- tdav_codec_id_h264_bp10(0x00010000 << 4),
- tdav_codec_id_h264_bp20(0x00010000 << 5),
- tdav_codec_id_h264_bp30(0x00010000 << 6),
- tdav_codec_id_theora(0x00010000 << 7),
- tdav_codec_id_mp4ves_es(0x00010000 << 8);
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static tdav_codec_id_t swigToEnum(int swigValue) {
- tdav_codec_id_t[] swigValues = tdav_codec_id_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (tdav_codec_id_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + tdav_codec_id_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private tdav_codec_id_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private tdav_codec_id_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private tdav_codec_id_t(tdav_codec_id_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/android/thttp_event_type_t.java b/branches/1.0/bindings/java/android/thttp_event_type_t.java
deleted file mode 100644
index de06855..0000000
--- a/branches/1.0/bindings/java/android/thttp_event_type_t.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum thttp_event_type_t {
- thttp_event_dialog_started,
- thttp_event_message,
- thttp_event_auth_failed,
- thttp_event_closed,
- thttp_event_transport_error,
- thttp_event_dialog_terminated;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static thttp_event_type_t swigToEnum(int swigValue) {
- thttp_event_type_t[] swigValues = thttp_event_type_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (thttp_event_type_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + thttp_event_type_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private thttp_event_type_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private thttp_event_type_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private thttp_event_type_t(thttp_event_type_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/android/tinyWRAP.java b/branches/1.0/bindings/java/android/tinyWRAP.java
deleted file mode 100644
index d10c59a..0000000
--- a/branches/1.0/bindings/java/android/tinyWRAP.java
+++ /dev/null
@@ -1,12 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class tinyWRAP implements tinyWRAPConstants {
-}
diff --git a/branches/1.0/bindings/java/android/tinyWRAPConstants.java b/branches/1.0/bindings/java/android/tinyWRAPConstants.java
deleted file mode 100644
index ae496b7..0000000
--- a/branches/1.0/bindings/java/android/tinyWRAPConstants.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public interface tinyWRAPConstants {
- public final static int tsip_event_code_dialog_transport_error = 702;
- public final static int tsip_event_code_dialog_global_error = 703;
- public final static int tsip_event_code_dialog_message_error = 704;
- public final static int tsip_event_code_dialog_request_incoming = 800;
- public final static int tsip_event_code_dialog_request_cancelled = 801;
- public final static int tsip_event_code_dialog_request_sent = 802;
- public final static int tsip_event_code_dialog_connecting = 900;
- public final static int tsip_event_code_dialog_connected = 901;
- public final static int tsip_event_code_dialog_terminating = 902;
- public final static int tsip_event_code_dialog_terminated = 903;
- public final static int tsip_event_code_stack_started = 950;
- public final static int tsip_event_code_stack_stopped = 951;
- public final static int tsip_event_code_stack_failed_to_start = 952;
- public final static int tsip_event_code_stack_failed_to_stop = 953;
-}
diff --git a/branches/1.0/bindings/java/android/tinyWRAPJNI.java b/branches/1.0/bindings/java/android/tinyWRAPJNI.java
deleted file mode 100644
index 9ffcb56..0000000
--- a/branches/1.0/bindings/java/android/tinyWRAPJNI.java
+++ /dev/null
@@ -1,556 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-class tinyWRAPJNI {
- public final static native long new_DDebugCallback();
- public final static native void delete_DDebugCallback(long jarg1);
- public final static native int DDebugCallback_OnDebugInfo(long jarg1, DDebugCallback jarg1_, String jarg2);
- public final static native int DDebugCallback_OnDebugInfoSwigExplicitDDebugCallback(long jarg1, DDebugCallback jarg1_, String jarg2);
- public final static native int DDebugCallback_OnDebugWarn(long jarg1, DDebugCallback jarg1_, String jarg2);
- public final static native int DDebugCallback_OnDebugWarnSwigExplicitDDebugCallback(long jarg1, DDebugCallback jarg1_, String jarg2);
- public final static native int DDebugCallback_OnDebugError(long jarg1, DDebugCallback jarg1_, String jarg2);
- public final static native int DDebugCallback_OnDebugErrorSwigExplicitDDebugCallback(long jarg1, DDebugCallback jarg1_, String jarg2);
- public final static native int DDebugCallback_OnDebugFatal(long jarg1, DDebugCallback jarg1_, String jarg2);
- public final static native int DDebugCallback_OnDebugFatalSwigExplicitDDebugCallback(long jarg1, DDebugCallback jarg1_, String jarg2);
- public final static native void DDebugCallback_director_connect(DDebugCallback obj, long cptr, boolean mem_own, boolean weak_global);
- public final static native void DDebugCallback_change_ownership(DDebugCallback obj, long cptr, boolean take_or_release);
- public final static native long new_ActionConfig();
- public final static native void delete_ActionConfig(long jarg1);
- public final static native boolean ActionConfig_addHeader(long jarg1, ActionConfig jarg1_, String jarg2, String jarg3);
- public final static native long ActionConfig_setResponseLine(long jarg1, ActionConfig jarg1_, short jarg2, String jarg3);
- public final static native long ActionConfig_setMediaString(long jarg1, ActionConfig jarg1_, int jarg2, String jarg3, String jarg4);
- public final static native long ActionConfig_setMediaInt(long jarg1, ActionConfig jarg1_, int jarg2, String jarg3, int jarg4);
- public final static native void delete_MediaSessionMgr(long jarg1);
- public final static native boolean MediaSessionMgr_sessionSetInt32(long jarg1, MediaSessionMgr jarg1_, int jarg2, String jarg3, int jarg4);
- public final static native boolean MediaSessionMgr_consumerSetInt32(long jarg1, MediaSessionMgr jarg1_, int jarg2, String jarg3, int jarg4);
- public final static native boolean MediaSessionMgr_consumerSetInt64(long jarg1, MediaSessionMgr jarg1_, int jarg2, String jarg3, long jarg4);
- public final static native boolean MediaSessionMgr_producerSetInt32(long jarg1, MediaSessionMgr jarg1_, int jarg2, String jarg3, int jarg4);
- public final static native boolean MediaSessionMgr_producerSetInt64(long jarg1, MediaSessionMgr jarg1_, int jarg2, String jarg3, long jarg4);
- public final static native long MediaSessionMgr_findProxyPluginConsumer(long jarg1, MediaSessionMgr jarg1_, int jarg2);
- public final static native long MediaSessionMgr_findProxyPluginProducer(long jarg1, MediaSessionMgr jarg1_, int jarg2);
- public final static native void delete_MediaContent(long jarg1);
- public final static native String MediaContent_getType(long jarg1, MediaContent jarg1_);
- public final static native long MediaContent_getDataLength(long jarg1, MediaContent jarg1_);
- public final static native long MediaContent_getData(long jarg1, MediaContent jarg1_, java.nio.ByteBuffer jarg2, long jarg3);
- public final static native long MediaContent_parse__SWIG_0(java.nio.ByteBuffer jarg1, long jarg2, String jarg3);
- public final static native long MediaContent_parse__SWIG_1(java.nio.ByteBuffer jarg1, long jarg2);
- public final static native long MediaContent_getPayloadLength(long jarg1, MediaContent jarg1_);
- public final static native long MediaContent_getPayload(long jarg1, MediaContent jarg1_, java.nio.ByteBuffer jarg2, long jarg3);
- public final static native void delete_MediaContentCPIM(long jarg1);
- public final static native long MediaContentCPIM_getPayloadLength(long jarg1, MediaContentCPIM jarg1_);
- public final static native long MediaContentCPIM_getPayload(long jarg1, MediaContentCPIM jarg1_, java.nio.ByteBuffer jarg2, long jarg3);
- public final static native String MediaContentCPIM_getHeaderValue(long jarg1, MediaContentCPIM jarg1_, String jarg2);
- public final static native long new_SipUri(String jarg1);
- public final static native void delete_SipUri(long jarg1);
- public final static native boolean SipUri_isValid__SWIG_0(String jarg1);
- public final static native boolean SipUri_isValid__SWIG_1(long jarg1, SipUri jarg1_);
- public final static native String SipUri_getScheme(long jarg1, SipUri jarg1_);
- public final static native String SipUri_getHost(long jarg1, SipUri jarg1_);
- public final static native int SipUri_getPort(long jarg1, SipUri jarg1_);
- public final static native String SipUri_getUserName(long jarg1, SipUri jarg1_);
- public final static native String SipUri_getPassword(long jarg1, SipUri jarg1_);
- public final static native String SipUri_getDisplayName(long jarg1, SipUri jarg1_);
- public final static native String SipUri_getParamValue(long jarg1, SipUri jarg1_, String jarg2);
- public final static native long new_SdpMessage();
- public final static native void delete_SdpMessage(long jarg1);
- public final static native String SdpMessage_getSdpHeaderValue__SWIG_0(long jarg1, SdpMessage jarg1_, String jarg2, char jarg3, long jarg4);
- public final static native String SdpMessage_getSdpHeaderValue__SWIG_1(long jarg1, SdpMessage jarg1_, String jarg2, char jarg3);
- public final static native String SdpMessage_getSdpHeaderAValue(long jarg1, SdpMessage jarg1_, String jarg2, String jarg3);
- public final static native long new_SipMessage();
- public final static native void delete_SipMessage(long jarg1);
- public final static native String SipMessage_getSipHeaderValue__SWIG_0(long jarg1, SipMessage jarg1_, String jarg2, long jarg3);
- public final static native String SipMessage_getSipHeaderValue__SWIG_1(long jarg1, SipMessage jarg1_, String jarg2);
- public final static native String SipMessage_getSipHeaderParamValue__SWIG_0(long jarg1, SipMessage jarg1_, String jarg2, String jarg3, long jarg4);
- public final static native String SipMessage_getSipHeaderParamValue__SWIG_1(long jarg1, SipMessage jarg1_, String jarg2, String jarg3);
- public final static native long SipMessage_getSipContentLength(long jarg1, SipMessage jarg1_);
- public final static native long SipMessage_getSipContent(long jarg1, SipMessage jarg1_, java.nio.ByteBuffer jarg2, long jarg3);
- public final static native long SipMessage_getSdpMessage(long jarg1, SipMessage jarg1_);
- public final static native void delete_SipEvent(long jarg1);
- public final static native short SipEvent_getCode(long jarg1, SipEvent jarg1_);
- public final static native String SipEvent_getPhrase(long jarg1, SipEvent jarg1_);
- public final static native long SipEvent_getBaseSession(long jarg1, SipEvent jarg1_);
- public final static native long SipEvent_getSipMessage(long jarg1, SipEvent jarg1_);
- public final static native void delete_DialogEvent(long jarg1);
- public final static native void delete_StackEvent(long jarg1);
- public final static native void delete_InviteEvent(long jarg1);
- public final static native int InviteEvent_getType(long jarg1, InviteEvent jarg1_);
- public final static native int InviteEvent_getMediaType(long jarg1, InviteEvent jarg1_);
- public final static native long InviteEvent_getSession(long jarg1, InviteEvent jarg1_);
- public final static native long InviteEvent_takeCallSessionOwnership(long jarg1, InviteEvent jarg1_);
- public final static native long InviteEvent_takeMsrpSessionOwnership(long jarg1, InviteEvent jarg1_);
- public final static native void delete_MessagingEvent(long jarg1);
- public final static native int MessagingEvent_getType(long jarg1, MessagingEvent jarg1_);
- public final static native long MessagingEvent_getSession(long jarg1, MessagingEvent jarg1_);
- public final static native long MessagingEvent_takeSessionOwnership(long jarg1, MessagingEvent jarg1_);
- public final static native void delete_OptionsEvent(long jarg1);
- public final static native int OptionsEvent_getType(long jarg1, OptionsEvent jarg1_);
- public final static native long OptionsEvent_getSession(long jarg1, OptionsEvent jarg1_);
- public final static native void delete_PublicationEvent(long jarg1);
- public final static native int PublicationEvent_getType(long jarg1, PublicationEvent jarg1_);
- public final static native long PublicationEvent_getSession(long jarg1, PublicationEvent jarg1_);
- public final static native void delete_RegistrationEvent(long jarg1);
- public final static native int RegistrationEvent_getType(long jarg1, RegistrationEvent jarg1_);
- public final static native long RegistrationEvent_getSession(long jarg1, RegistrationEvent jarg1_);
- public final static native long RegistrationEvent_takeSessionOwnership(long jarg1, RegistrationEvent jarg1_);
- public final static native void delete_SubscriptionEvent(long jarg1);
- public final static native int SubscriptionEvent_getType(long jarg1, SubscriptionEvent jarg1_);
- public final static native long SubscriptionEvent_getSession(long jarg1, SubscriptionEvent jarg1_);
- public final static native long new_SipSession(long jarg1, SipStack jarg1_);
- public final static native void delete_SipSession(long jarg1);
- public final static native boolean SipSession_haveOwnership(long jarg1, SipSession jarg1_);
- public final static native boolean SipSession_addHeader(long jarg1, SipSession jarg1_, String jarg2, String jarg3);
- public final static native boolean SipSession_removeHeader(long jarg1, SipSession jarg1_, String jarg2);
- public final static native boolean SipSession_addCaps__SWIG_0(long jarg1, SipSession jarg1_, String jarg2, String jarg3);
- public final static native boolean SipSession_addCaps__SWIG_1(long jarg1, SipSession jarg1_, String jarg2);
- public final static native boolean SipSession_removeCaps(long jarg1, SipSession jarg1_, String jarg2);
- public final static native boolean SipSession_setExpires(long jarg1, SipSession jarg1_, long jarg2);
- public final static native boolean SipSession_setFromUri(long jarg1, SipSession jarg1_, String jarg2);
- public final static native boolean SipSession_setToUri(long jarg1, SipSession jarg1_, String jarg2);
- public final static native boolean SipSession_setSilentHangup(long jarg1, SipSession jarg1_, boolean jarg2);
- public final static native boolean SipSession_addSigCompCompartment(long jarg1, SipSession jarg1_, String jarg2);
- public final static native boolean SipSession_removeSigCompCompartment(long jarg1, SipSession jarg1_);
- public final static native long SipSession_getId(long jarg1, SipSession jarg1_);
- public final static native long new_InviteSession(long jarg1, SipStack jarg1_);
- public final static native void delete_InviteSession(long jarg1);
- public final static native boolean InviteSession_accept__SWIG_0(long jarg1, InviteSession jarg1_, long jarg2, ActionConfig jarg2_);
- public final static native boolean InviteSession_accept__SWIG_1(long jarg1, InviteSession jarg1_);
- public final static native boolean InviteSession_hangup__SWIG_0(long jarg1, InviteSession jarg1_, long jarg2, ActionConfig jarg2_);
- public final static native boolean InviteSession_hangup__SWIG_1(long jarg1, InviteSession jarg1_);
- public final static native boolean InviteSession_reject__SWIG_0(long jarg1, InviteSession jarg1_, long jarg2, ActionConfig jarg2_);
- public final static native boolean InviteSession_reject__SWIG_1(long jarg1, InviteSession jarg1_);
- public final static native long InviteSession_getMediaMgr(long jarg1, InviteSession jarg1_);
- public final static native long new_CallSession(long jarg1, SipStack jarg1_);
- public final static native void delete_CallSession(long jarg1);
- public final static native boolean CallSession_callAudio__SWIG_0(long jarg1, CallSession jarg1_, String jarg2, long jarg3, ActionConfig jarg3_);
- public final static native boolean CallSession_callAudio__SWIG_1(long jarg1, CallSession jarg1_, String jarg2);
- public final static native boolean CallSession_callAudioVideo__SWIG_0(long jarg1, CallSession jarg1_, String jarg2, long jarg3, ActionConfig jarg3_);
- public final static native boolean CallSession_callAudioVideo__SWIG_1(long jarg1, CallSession jarg1_, String jarg2);
- public final static native boolean CallSession_callVideo__SWIG_0(long jarg1, CallSession jarg1_, String jarg2, long jarg3, ActionConfig jarg3_);
- public final static native boolean CallSession_callVideo__SWIG_1(long jarg1, CallSession jarg1_, String jarg2);
- public final static native boolean CallSession_setSessionTimer(long jarg1, CallSession jarg1_, long jarg2, String jarg3);
- public final static native boolean CallSession_set100rel(long jarg1, CallSession jarg1_, boolean jarg2);
- public final static native boolean CallSession_setQoS(long jarg1, CallSession jarg1_, int jarg2, int jarg3);
- public final static native boolean CallSession_hold__SWIG_0(long jarg1, CallSession jarg1_, long jarg2, ActionConfig jarg2_);
- public final static native boolean CallSession_hold__SWIG_1(long jarg1, CallSession jarg1_);
- public final static native boolean CallSession_resume__SWIG_0(long jarg1, CallSession jarg1_, long jarg2, ActionConfig jarg2_);
- public final static native boolean CallSession_resume__SWIG_1(long jarg1, CallSession jarg1_);
- public final static native boolean CallSession_sendDTMF(long jarg1, CallSession jarg1_, int jarg2);
- public final static native long new_MsrpSession(long jarg1, SipStack jarg1_, long jarg2, MsrpCallback jarg2_);
- public final static native void delete_MsrpSession(long jarg1);
- public final static native boolean MsrpSession_setCallback(long jarg1, MsrpSession jarg1_, long jarg2, MsrpCallback jarg2_);
- public final static native boolean MsrpSession_callMsrp__SWIG_0(long jarg1, MsrpSession jarg1_, String jarg2, long jarg3, ActionConfig jarg3_);
- public final static native boolean MsrpSession_callMsrp__SWIG_1(long jarg1, MsrpSession jarg1_, String jarg2);
- public final static native boolean MsrpSession_sendMessage__SWIG_0(long jarg1, MsrpSession jarg1_, java.nio.ByteBuffer jarg2, long jarg3, long jarg4, ActionConfig jarg4_);
- public final static native boolean MsrpSession_sendMessage__SWIG_1(long jarg1, MsrpSession jarg1_, java.nio.ByteBuffer jarg2, long jarg3);
- public final static native boolean MsrpSession_sendFile__SWIG_0(long jarg1, MsrpSession jarg1_, long jarg2, ActionConfig jarg2_);
- public final static native boolean MsrpSession_sendFile__SWIG_1(long jarg1, MsrpSession jarg1_);
- public final static native long new_MessagingSession(long jarg1, SipStack jarg1_);
- public final static native void delete_MessagingSession(long jarg1);
- public final static native boolean MessagingSession_send(long jarg1, MessagingSession jarg1_, java.nio.ByteBuffer jarg2, long jarg3);
- public final static native boolean MessagingSession_accept(long jarg1, MessagingSession jarg1_);
- public final static native boolean MessagingSession_reject(long jarg1, MessagingSession jarg1_);
- public final static native long new_OptionsSession(long jarg1, SipStack jarg1_);
- public final static native void delete_OptionsSession(long jarg1);
- public final static native boolean OptionsSession_send(long jarg1, OptionsSession jarg1_);
- public final static native long new_PublicationSession(long jarg1, SipStack jarg1_);
- public final static native void delete_PublicationSession(long jarg1);
- public final static native boolean PublicationSession_publish(long jarg1, PublicationSession jarg1_, java.nio.ByteBuffer jarg2, long jarg3);
- public final static native boolean PublicationSession_unPublish(long jarg1, PublicationSession jarg1_);
- public final static native long new_RegistrationSession(long jarg1, SipStack jarg1_);
- public final static native void delete_RegistrationSession(long jarg1);
- public final static native boolean RegistrationSession_register_(long jarg1, RegistrationSession jarg1_);
- public final static native boolean RegistrationSession_unRegister(long jarg1, RegistrationSession jarg1_);
- public final static native boolean RegistrationSession_accept__SWIG_0(long jarg1, RegistrationSession jarg1_, long jarg2, ActionConfig jarg2_);
- public final static native boolean RegistrationSession_accept__SWIG_1(long jarg1, RegistrationSession jarg1_);
- public final static native boolean RegistrationSession_reject__SWIG_0(long jarg1, RegistrationSession jarg1_, long jarg2, ActionConfig jarg2_);
- public final static native boolean RegistrationSession_reject__SWIG_1(long jarg1, RegistrationSession jarg1_);
- public final static native long new_SubscriptionSession(long jarg1, SipStack jarg1_);
- public final static native void delete_SubscriptionSession(long jarg1);
- public final static native boolean SubscriptionSession_subscribe(long jarg1, SubscriptionSession jarg1_);
- public final static native boolean SubscriptionSession_unSubscribe(long jarg1, SubscriptionSession jarg1_);
- public final static native void delete_ProxyPluginMgr(long jarg1);
- public final static native long ProxyPluginMgr_createInstance(long jarg1, ProxyPluginMgrCallback jarg1_);
- public final static native long ProxyPluginMgr_getInstance();
- public final static native long ProxyPluginMgr_findAudioConsumer(long jarg1, ProxyPluginMgr jarg1_, java.math.BigInteger jarg2);
- public final static native long ProxyPluginMgr_findVideoConsumer(long jarg1, ProxyPluginMgr jarg1_, java.math.BigInteger jarg2);
- public final static native long ProxyPluginMgr_findAudioProducer(long jarg1, ProxyPluginMgr jarg1_, java.math.BigInteger jarg2);
- public final static native long ProxyPluginMgr_findVideoProducer(long jarg1, ProxyPluginMgr jarg1_, java.math.BigInteger jarg2);
- public final static native long new_ProxyPluginMgrCallback();
- public final static native void delete_ProxyPluginMgrCallback(long jarg1);
- public final static native int ProxyPluginMgrCallback_OnPluginCreated(long jarg1, ProxyPluginMgrCallback jarg1_, java.math.BigInteger jarg2, int jarg3);
- public final static native int ProxyPluginMgrCallback_OnPluginCreatedSwigExplicitProxyPluginMgrCallback(long jarg1, ProxyPluginMgrCallback jarg1_, java.math.BigInteger jarg2, int jarg3);
- public final static native int ProxyPluginMgrCallback_OnPluginDestroyed(long jarg1, ProxyPluginMgrCallback jarg1_, java.math.BigInteger jarg2, int jarg3);
- public final static native int ProxyPluginMgrCallback_OnPluginDestroyedSwigExplicitProxyPluginMgrCallback(long jarg1, ProxyPluginMgrCallback jarg1_, java.math.BigInteger jarg2, int jarg3);
- public final static native void ProxyPluginMgrCallback_director_connect(ProxyPluginMgrCallback obj, long cptr, boolean mem_own, boolean weak_global);
- public final static native void ProxyPluginMgrCallback_change_ownership(ProxyPluginMgrCallback obj, long cptr, boolean take_or_release);
- public final static native void delete_ProxyPlugin(long jarg1);
- public final static native int ProxyPlugin_getType(long jarg1, ProxyPlugin jarg1_);
- public final static native java.math.BigInteger ProxyPlugin_getId(long jarg1, ProxyPlugin jarg1_);
- public final static native long new_ProxyAudioConsumerCallback();
- public final static native void delete_ProxyAudioConsumerCallback(long jarg1);
- public final static native int ProxyAudioConsumerCallback_prepare(long jarg1, ProxyAudioConsumerCallback jarg1_, int jarg2, int jarg3, int jarg4);
- public final static native int ProxyAudioConsumerCallback_prepareSwigExplicitProxyAudioConsumerCallback(long jarg1, ProxyAudioConsumerCallback jarg1_, int jarg2, int jarg3, int jarg4);
- public final static native int ProxyAudioConsumerCallback_start(long jarg1, ProxyAudioConsumerCallback jarg1_);
- public final static native int ProxyAudioConsumerCallback_startSwigExplicitProxyAudioConsumerCallback(long jarg1, ProxyAudioConsumerCallback jarg1_);
- public final static native int ProxyAudioConsumerCallback_pause(long jarg1, ProxyAudioConsumerCallback jarg1_);
- public final static native int ProxyAudioConsumerCallback_pauseSwigExplicitProxyAudioConsumerCallback(long jarg1, ProxyAudioConsumerCallback jarg1_);
- public final static native int ProxyAudioConsumerCallback_stop(long jarg1, ProxyAudioConsumerCallback jarg1_);
- public final static native int ProxyAudioConsumerCallback_stopSwigExplicitProxyAudioConsumerCallback(long jarg1, ProxyAudioConsumerCallback jarg1_);
- public final static native void ProxyAudioConsumerCallback_director_connect(ProxyAudioConsumerCallback obj, long cptr, boolean mem_own, boolean weak_global);
- public final static native void ProxyAudioConsumerCallback_change_ownership(ProxyAudioConsumerCallback obj, long cptr, boolean take_or_release);
- public final static native void delete_ProxyAudioConsumer(long jarg1);
- public final static native long ProxyAudioConsumer_pull(long jarg1, ProxyAudioConsumer jarg1_, java.nio.ByteBuffer jarg2, long jarg3);
- public final static native boolean ProxyAudioConsumer_reset(long jarg1, ProxyAudioConsumer jarg1_);
- public final static native void ProxyAudioConsumer_setCallback(long jarg1, ProxyAudioConsumer jarg1_, long jarg2, ProxyAudioConsumerCallback jarg2_);
- public final static native java.math.BigInteger ProxyAudioConsumer_getMediaSessionId(long jarg1, ProxyAudioConsumer jarg1_);
- public final static native boolean ProxyAudioConsumer_registerPlugin();
- public final static native long new_ProxyVideoConsumerCallback();
- public final static native void delete_ProxyVideoConsumerCallback(long jarg1);
- public final static native int ProxyVideoConsumerCallback_prepare(long jarg1, ProxyVideoConsumerCallback jarg1_, int jarg2, int jarg3, int jarg4);
- public final static native int ProxyVideoConsumerCallback_prepareSwigExplicitProxyVideoConsumerCallback(long jarg1, ProxyVideoConsumerCallback jarg1_, int jarg2, int jarg3, int jarg4);
- public final static native int ProxyVideoConsumerCallback_consume(long jarg1, ProxyVideoConsumerCallback jarg1_, long jarg2, ProxyVideoFrame jarg2_);
- public final static native int ProxyVideoConsumerCallback_consumeSwigExplicitProxyVideoConsumerCallback(long jarg1, ProxyVideoConsumerCallback jarg1_, long jarg2, ProxyVideoFrame jarg2_);
- public final static native int ProxyVideoConsumerCallback_start(long jarg1, ProxyVideoConsumerCallback jarg1_);
- public final static native int ProxyVideoConsumerCallback_startSwigExplicitProxyVideoConsumerCallback(long jarg1, ProxyVideoConsumerCallback jarg1_);
- public final static native int ProxyVideoConsumerCallback_pause(long jarg1, ProxyVideoConsumerCallback jarg1_);
- public final static native int ProxyVideoConsumerCallback_pauseSwigExplicitProxyVideoConsumerCallback(long jarg1, ProxyVideoConsumerCallback jarg1_);
- public final static native int ProxyVideoConsumerCallback_stop(long jarg1, ProxyVideoConsumerCallback jarg1_);
- public final static native int ProxyVideoConsumerCallback_stopSwigExplicitProxyVideoConsumerCallback(long jarg1, ProxyVideoConsumerCallback jarg1_);
- public final static native void ProxyVideoConsumerCallback_director_connect(ProxyVideoConsumerCallback obj, long cptr, boolean mem_own, boolean weak_global);
- public final static native void ProxyVideoConsumerCallback_change_ownership(ProxyVideoConsumerCallback obj, long cptr, boolean take_or_release);
- public final static native void delete_ProxyVideoConsumer(long jarg1);
- public final static native boolean ProxyVideoConsumer_setDisplaySize(long jarg1, ProxyVideoConsumer jarg1_, int jarg2, int jarg3);
- public final static native void ProxyVideoConsumer_setCallback(long jarg1, ProxyVideoConsumer jarg1_, long jarg2, ProxyVideoConsumerCallback jarg2_);
- public final static native java.math.BigInteger ProxyVideoConsumer_getMediaSessionId(long jarg1, ProxyVideoConsumer jarg1_);
- public final static native boolean ProxyVideoConsumer_registerPlugin();
- public final static native void ProxyVideoConsumer_setDefaultChroma(int jarg1);
- public final static native void delete_ProxyVideoFrame(long jarg1);
- public final static native long ProxyVideoFrame_getSize(long jarg1, ProxyVideoFrame jarg1_);
- public final static native long ProxyVideoFrame_getContent(long jarg1, ProxyVideoFrame jarg1_, java.nio.ByteBuffer jarg2, long jarg3);
- public final static native long new_ProxyAudioProducerCallback();
- public final static native void delete_ProxyAudioProducerCallback(long jarg1);
- public final static native int ProxyAudioProducerCallback_prepare(long jarg1, ProxyAudioProducerCallback jarg1_, int jarg2, int jarg3, int jarg4);
- public final static native int ProxyAudioProducerCallback_prepareSwigExplicitProxyAudioProducerCallback(long jarg1, ProxyAudioProducerCallback jarg1_, int jarg2, int jarg3, int jarg4);
- public final static native int ProxyAudioProducerCallback_start(long jarg1, ProxyAudioProducerCallback jarg1_);
- public final static native int ProxyAudioProducerCallback_startSwigExplicitProxyAudioProducerCallback(long jarg1, ProxyAudioProducerCallback jarg1_);
- public final static native int ProxyAudioProducerCallback_pause(long jarg1, ProxyAudioProducerCallback jarg1_);
- public final static native int ProxyAudioProducerCallback_pauseSwigExplicitProxyAudioProducerCallback(long jarg1, ProxyAudioProducerCallback jarg1_);
- public final static native int ProxyAudioProducerCallback_stop(long jarg1, ProxyAudioProducerCallback jarg1_);
- public final static native int ProxyAudioProducerCallback_stopSwigExplicitProxyAudioProducerCallback(long jarg1, ProxyAudioProducerCallback jarg1_);
- public final static native void ProxyAudioProducerCallback_director_connect(ProxyAudioProducerCallback obj, long cptr, boolean mem_own, boolean weak_global);
- public final static native void ProxyAudioProducerCallback_change_ownership(ProxyAudioProducerCallback obj, long cptr, boolean take_or_release);
- public final static native void delete_ProxyAudioProducer(long jarg1);
- public final static native int ProxyAudioProducer_push(long jarg1, ProxyAudioProducer jarg1_, java.nio.ByteBuffer jarg2, long jarg3);
- public final static native void ProxyAudioProducer_setCallback(long jarg1, ProxyAudioProducer jarg1_, long jarg2, ProxyAudioProducerCallback jarg2_);
- public final static native java.math.BigInteger ProxyAudioProducer_getMediaSessionId(long jarg1, ProxyAudioProducer jarg1_);
- public final static native boolean ProxyAudioProducer_registerPlugin();
- public final static native long new_ProxyVideoProducerCallback();
- public final static native void delete_ProxyVideoProducerCallback(long jarg1);
- public final static native int ProxyVideoProducerCallback_prepare(long jarg1, ProxyVideoProducerCallback jarg1_, int jarg2, int jarg3, int jarg4);
- public final static native int ProxyVideoProducerCallback_prepareSwigExplicitProxyVideoProducerCallback(long jarg1, ProxyVideoProducerCallback jarg1_, int jarg2, int jarg3, int jarg4);
- public final static native int ProxyVideoProducerCallback_start(long jarg1, ProxyVideoProducerCallback jarg1_);
- public final static native int ProxyVideoProducerCallback_startSwigExplicitProxyVideoProducerCallback(long jarg1, ProxyVideoProducerCallback jarg1_);
- public final static native int ProxyVideoProducerCallback_pause(long jarg1, ProxyVideoProducerCallback jarg1_);
- public final static native int ProxyVideoProducerCallback_pauseSwigExplicitProxyVideoProducerCallback(long jarg1, ProxyVideoProducerCallback jarg1_);
- public final static native int ProxyVideoProducerCallback_stop(long jarg1, ProxyVideoProducerCallback jarg1_);
- public final static native int ProxyVideoProducerCallback_stopSwigExplicitProxyVideoProducerCallback(long jarg1, ProxyVideoProducerCallback jarg1_);
- public final static native void ProxyVideoProducerCallback_director_connect(ProxyVideoProducerCallback obj, long cptr, boolean mem_own, boolean weak_global);
- public final static native void ProxyVideoProducerCallback_change_ownership(ProxyVideoProducerCallback obj, long cptr, boolean take_or_release);
- public final static native void delete_ProxyVideoProducer(long jarg1);
- public final static native int ProxyVideoProducer_getRotation(long jarg1, ProxyVideoProducer jarg1_);
- public final static native void ProxyVideoProducer_setRotation(long jarg1, ProxyVideoProducer jarg1_, int jarg2);
- public final static native int ProxyVideoProducer_push(long jarg1, ProxyVideoProducer jarg1_, java.nio.ByteBuffer jarg2, long jarg3);
- public final static native int ProxyVideoProducer_send(long jarg1, ProxyVideoProducer jarg1_, java.nio.ByteBuffer jarg2, long jarg3, long jarg4, boolean jarg5);
- public final static native void ProxyVideoProducer_setCallback(long jarg1, ProxyVideoProducer jarg1_, long jarg2, ProxyVideoProducerCallback jarg2_);
- public final static native java.math.BigInteger ProxyVideoProducer_getMediaSessionId(long jarg1, ProxyVideoProducer jarg1_);
- public final static native boolean ProxyVideoProducer_registerPlugin();
- public final static native void ProxyVideoProducer_setDefaultChroma(int jarg1);
- public final static native long new_SipCallback();
- public final static native void delete_SipCallback(long jarg1);
- public final static native int SipCallback_OnDialogEvent(long jarg1, SipCallback jarg1_, long jarg2, DialogEvent jarg2_);
- public final static native int SipCallback_OnDialogEventSwigExplicitSipCallback(long jarg1, SipCallback jarg1_, long jarg2, DialogEvent jarg2_);
- public final static native int SipCallback_OnStackEvent(long jarg1, SipCallback jarg1_, long jarg2, StackEvent jarg2_);
- public final static native int SipCallback_OnStackEventSwigExplicitSipCallback(long jarg1, SipCallback jarg1_, long jarg2, StackEvent jarg2_);
- public final static native int SipCallback_OnInviteEvent(long jarg1, SipCallback jarg1_, long jarg2, InviteEvent jarg2_);
- public final static native int SipCallback_OnInviteEventSwigExplicitSipCallback(long jarg1, SipCallback jarg1_, long jarg2, InviteEvent jarg2_);
- public final static native int SipCallback_OnMessagingEvent(long jarg1, SipCallback jarg1_, long jarg2, MessagingEvent jarg2_);
- public final static native int SipCallback_OnMessagingEventSwigExplicitSipCallback(long jarg1, SipCallback jarg1_, long jarg2, MessagingEvent jarg2_);
- public final static native int SipCallback_OnOptionsEvent(long jarg1, SipCallback jarg1_, long jarg2, OptionsEvent jarg2_);
- public final static native int SipCallback_OnOptionsEventSwigExplicitSipCallback(long jarg1, SipCallback jarg1_, long jarg2, OptionsEvent jarg2_);
- public final static native int SipCallback_OnPublicationEvent(long jarg1, SipCallback jarg1_, long jarg2, PublicationEvent jarg2_);
- public final static native int SipCallback_OnPublicationEventSwigExplicitSipCallback(long jarg1, SipCallback jarg1_, long jarg2, PublicationEvent jarg2_);
- public final static native int SipCallback_OnRegistrationEvent(long jarg1, SipCallback jarg1_, long jarg2, RegistrationEvent jarg2_);
- public final static native int SipCallback_OnRegistrationEventSwigExplicitSipCallback(long jarg1, SipCallback jarg1_, long jarg2, RegistrationEvent jarg2_);
- public final static native int SipCallback_OnSubscriptionEvent(long jarg1, SipCallback jarg1_, long jarg2, SubscriptionEvent jarg2_);
- public final static native int SipCallback_OnSubscriptionEventSwigExplicitSipCallback(long jarg1, SipCallback jarg1_, long jarg2, SubscriptionEvent jarg2_);
- public final static native void SipCallback_director_connect(SipCallback obj, long cptr, boolean mem_own, boolean weak_global);
- public final static native void SipCallback_change_ownership(SipCallback obj, long cptr, boolean take_or_release);
- public final static native long new_SafeObject();
- public final static native void delete_SafeObject(long jarg1);
- public final static native int SafeObject_Lock(long jarg1, SafeObject jarg1_);
- public final static native int SafeObject_UnLock(long jarg1, SafeObject jarg1_);
- public final static native long new_SipStack(long jarg1, SipCallback jarg1_, String jarg2, String jarg3, String jarg4);
- public final static native void delete_SipStack(long jarg1);
- public final static native boolean SipStack_start(long jarg1, SipStack jarg1_);
- public final static native boolean SipStack_setDebugCallback(long jarg1, SipStack jarg1_, long jarg2, DDebugCallback jarg2_);
- public final static native boolean SipStack_setRealm(long jarg1, SipStack jarg1_, String jarg2);
- public final static native boolean SipStack_setIMPI(long jarg1, SipStack jarg1_, String jarg2);
- public final static native boolean SipStack_setIMPU(long jarg1, SipStack jarg1_, String jarg2);
- public final static native boolean SipStack_setPassword(long jarg1, SipStack jarg1_, String jarg2);
- public final static native boolean SipStack_setAMF(long jarg1, SipStack jarg1_, String jarg2);
- public final static native boolean SipStack_setOperatorId(long jarg1, SipStack jarg1_, String jarg2);
- public final static native boolean SipStack_setProxyCSCF(long jarg1, SipStack jarg1_, String jarg2, int jarg3, String jarg4, String jarg5);
- public final static native boolean SipStack_setLocalIP(long jarg1, SipStack jarg1_, String jarg2);
- public final static native boolean SipStack_setLocalPort(long jarg1, SipStack jarg1_, int jarg2);
- public final static native boolean SipStack_setEarlyIMS(long jarg1, SipStack jarg1_, boolean jarg2);
- public final static native boolean SipStack_addHeader(long jarg1, SipStack jarg1_, String jarg2, String jarg3);
- public final static native boolean SipStack_removeHeader(long jarg1, SipStack jarg1_, String jarg2);
- public final static native boolean SipStack_addDnsServer(long jarg1, SipStack jarg1_, String jarg2);
- public final static native boolean SipStack_setDnsDiscovery(long jarg1, SipStack jarg1_, boolean jarg2);
- public final static native boolean SipStack_setAoR(long jarg1, SipStack jarg1_, String jarg2, int jarg3);
- public final static native boolean SipStack_setSigCompParams(long jarg1, SipStack jarg1_, long jarg2, long jarg3, long jarg4, boolean jarg5);
- public final static native boolean SipStack_addSigCompCompartment(long jarg1, SipStack jarg1_, String jarg2);
- public final static native boolean SipStack_removeSigCompCompartment(long jarg1, SipStack jarg1_, String jarg2);
- public final static native boolean SipStack_setSTUNServer(long jarg1, SipStack jarg1_, String jarg2, int jarg3);
- public final static native boolean SipStack_setSTUNCred(long jarg1, SipStack jarg1_, String jarg2, String jarg3);
- public final static native boolean SipStack_setTLSSecAgree(long jarg1, SipStack jarg1_, boolean jarg2);
- public final static native boolean SipStack_setSSLCretificates(long jarg1, SipStack jarg1_, String jarg2, String jarg3, String jarg4);
- public final static native boolean SipStack_setIPSecSecAgree(long jarg1, SipStack jarg1_, boolean jarg2);
- public final static native boolean SipStack_setIPSecParameters(long jarg1, SipStack jarg1_, String jarg2, String jarg3, String jarg4, String jarg5);
- public final static native String SipStack_dnsENUM(long jarg1, SipStack jarg1_, String jarg2, String jarg3, String jarg4);
- public final static native String SipStack_dnsNaptrSrv(long jarg1, SipStack jarg1_, String jarg2, String jarg3, int[] jarg4);
- public final static native String SipStack_dnsSrv(long jarg1, SipStack jarg1_, String jarg2, int[] jarg3);
- public final static native String SipStack_getLocalIPnPort(long jarg1, SipStack jarg1_, String jarg2, int[] jarg3);
- public final static native String SipStack_getPreferredIdentity(long jarg1, SipStack jarg1_);
- public final static native boolean SipStack_isValid(long jarg1, SipStack jarg1_);
- public final static native boolean SipStack_stop(long jarg1, SipStack jarg1_);
- public final static native void SipStack_setCodecs(int jarg1);
- public final static native void SipStack_setCodecs_2(int jarg1);
- public final static native boolean SipStack_isCodecSupported(int jarg1);
- public final static native long new_XcapSelector(long jarg1, XcapStack jarg1_);
- public final static native void delete_XcapSelector(long jarg1);
- public final static native long XcapSelector_setAUID(long jarg1, XcapSelector jarg1_, String jarg2);
- public final static native long XcapSelector_setName(long jarg1, XcapSelector jarg1_, String jarg2);
- public final static native long XcapSelector_setAttribute(long jarg1, XcapSelector jarg1_, String jarg2, String jarg3, String jarg4);
- public final static native long XcapSelector_setPos(long jarg1, XcapSelector jarg1_, String jarg2, long jarg3);
- public final static native long XcapSelector_setPosAttribute(long jarg1, XcapSelector jarg1_, String jarg2, long jarg3, String jarg4, String jarg5);
- public final static native long XcapSelector_setNamespace(long jarg1, XcapSelector jarg1_, String jarg2, String jarg3);
- public final static native String XcapSelector_getString(long jarg1, XcapSelector jarg1_);
- public final static native void XcapSelector_reset(long jarg1, XcapSelector jarg1_);
- public final static native long new_XcapMessage();
- public final static native void delete_XcapMessage(long jarg1);
- public final static native short XcapMessage_getCode(long jarg1, XcapMessage jarg1_);
- public final static native String XcapMessage_getPhrase(long jarg1, XcapMessage jarg1_);
- public final static native String XcapMessage_getXcapHeaderValue__SWIG_0(long jarg1, XcapMessage jarg1_, String jarg2, long jarg3);
- public final static native String XcapMessage_getXcapHeaderValue__SWIG_1(long jarg1, XcapMessage jarg1_, String jarg2);
- public final static native String XcapMessage_getXcapHeaderParamValue__SWIG_0(long jarg1, XcapMessage jarg1_, String jarg2, String jarg3, long jarg4);
- public final static native String XcapMessage_getXcapHeaderParamValue__SWIG_1(long jarg1, XcapMessage jarg1_, String jarg2, String jarg3);
- public final static native long XcapMessage_getXcapContentLength(long jarg1, XcapMessage jarg1_);
- public final static native long XcapMessage_getXcapContent(long jarg1, XcapMessage jarg1_, java.nio.ByteBuffer jarg2, long jarg3);
- public final static native void delete_XcapEvent(long jarg1);
- public final static native int XcapEvent_getType(long jarg1, XcapEvent jarg1_);
- public final static native long XcapEvent_getXcapMessage(long jarg1, XcapEvent jarg1_);
- public final static native long new_XcapCallback();
- public final static native void delete_XcapCallback(long jarg1);
- public final static native int XcapCallback_onEvent(long jarg1, XcapCallback jarg1_, long jarg2, XcapEvent jarg2_);
- public final static native int XcapCallback_onEventSwigExplicitXcapCallback(long jarg1, XcapCallback jarg1_, long jarg2, XcapEvent jarg2_);
- public final static native void XcapCallback_director_connect(XcapCallback obj, long cptr, boolean mem_own, boolean weak_global);
- public final static native void XcapCallback_change_ownership(XcapCallback obj, long cptr, boolean take_or_release);
- public final static native long new_XcapStack(long jarg1, XcapCallback jarg1_, String jarg2, String jarg3, String jarg4);
- public final static native void delete_XcapStack(long jarg1);
- public final static native boolean XcapStack_registerAUID(long jarg1, XcapStack jarg1_, String jarg2, String jarg3, String jarg4, String jarg5, boolean jarg6);
- public final static native boolean XcapStack_start(long jarg1, XcapStack jarg1_);
- public final static native boolean XcapStack_setCredentials(long jarg1, XcapStack jarg1_, String jarg2, String jarg3);
- public final static native boolean XcapStack_setXcapRoot(long jarg1, XcapStack jarg1_, String jarg2);
- public final static native boolean XcapStack_setLocalIP(long jarg1, XcapStack jarg1_, String jarg2);
- public final static native boolean XcapStack_setLocalPort(long jarg1, XcapStack jarg1_, long jarg2);
- public final static native boolean XcapStack_addHeader(long jarg1, XcapStack jarg1_, String jarg2, String jarg3);
- public final static native boolean XcapStack_removeHeader(long jarg1, XcapStack jarg1_, String jarg2);
- public final static native boolean XcapStack_setTimeout(long jarg1, XcapStack jarg1_, long jarg2);
- public final static native boolean XcapStack_getDocument(long jarg1, XcapStack jarg1_, String jarg2);
- public final static native boolean XcapStack_getElement(long jarg1, XcapStack jarg1_, String jarg2);
- public final static native boolean XcapStack_getAttribute(long jarg1, XcapStack jarg1_, String jarg2);
- public final static native boolean XcapStack_deleteDocument(long jarg1, XcapStack jarg1_, String jarg2);
- public final static native boolean XcapStack_deleteElement(long jarg1, XcapStack jarg1_, String jarg2);
- public final static native boolean XcapStack_deleteAttribute(long jarg1, XcapStack jarg1_, String jarg2);
- public final static native boolean XcapStack_putDocument(long jarg1, XcapStack jarg1_, String jarg2, java.nio.ByteBuffer jarg3, long jarg4, String jarg5);
- public final static native boolean XcapStack_putElement(long jarg1, XcapStack jarg1_, String jarg2, java.nio.ByteBuffer jarg3, long jarg4);
- public final static native boolean XcapStack_putAttribute(long jarg1, XcapStack jarg1_, String jarg2, java.nio.ByteBuffer jarg3, long jarg4);
- public final static native boolean XcapStack_stop(long jarg1, XcapStack jarg1_);
- public final static native long new_RPMessage();
- public final static native void delete_RPMessage(long jarg1);
- public final static native int RPMessage_getType(long jarg1, RPMessage jarg1_);
- public final static native long RPMessage_getPayloadLength(long jarg1, RPMessage jarg1_);
- public final static native long RPMessage_getPayload(long jarg1, RPMessage jarg1_, java.nio.ByteBuffer jarg2, long jarg3);
- public final static native long new_SMSData();
- public final static native void delete_SMSData(long jarg1);
- public final static native int SMSData_getType(long jarg1, SMSData jarg1_);
- public final static native int SMSData_getMR(long jarg1, SMSData jarg1_);
- public final static native long SMSData_getPayloadLength(long jarg1, SMSData jarg1_);
- public final static native long SMSData_getPayload(long jarg1, SMSData jarg1_, java.nio.ByteBuffer jarg2, long jarg3);
- public final static native String SMSData_getOA(long jarg1, SMSData jarg1_);
- public final static native String SMSData_getDA(long jarg1, SMSData jarg1_);
- public final static native long SMSEncoder_encodeSubmit(int jarg1, String jarg2, String jarg3, String jarg4);
- public final static native long SMSEncoder_encodeDeliver(int jarg1, String jarg2, String jarg3, String jarg4);
- public final static native long SMSEncoder_encodeACK(int jarg1, String jarg2, String jarg3, boolean jarg4);
- public final static native long SMSEncoder_encodeError(int jarg1, String jarg2, String jarg3, boolean jarg4);
- public final static native long SMSEncoder_decode(java.nio.ByteBuffer jarg1, long jarg2, boolean jarg3);
- public final static native void delete_SMSEncoder(long jarg1);
- public final static native long new_MsrpMessage();
- public final static native void delete_MsrpMessage(long jarg1);
- public final static native boolean MsrpMessage_isRequest(long jarg1, MsrpMessage jarg1_);
- public final static native short MsrpMessage_getCode(long jarg1, MsrpMessage jarg1_);
- public final static native String MsrpMessage_getPhrase(long jarg1, MsrpMessage jarg1_);
- public final static native int MsrpMessage_getRequestType(long jarg1, MsrpMessage jarg1_);
- public final static native void MsrpMessage_getByteRange(long jarg1, MsrpMessage jarg1_, long[] jarg2, long[] jarg3, long[] jarg4);
- public final static native boolean MsrpMessage_isLastChunck(long jarg1, MsrpMessage jarg1_);
- public final static native boolean MsrpMessage_isFirstChunck(long jarg1, MsrpMessage jarg1_);
- public final static native String MsrpMessage_getMsrpHeaderValue(long jarg1, MsrpMessage jarg1_, String jarg2);
- public final static native String MsrpMessage_getMsrpHeaderParamValue(long jarg1, MsrpMessage jarg1_, String jarg2, String jarg3);
- public final static native long MsrpMessage_getMsrpContentLength(long jarg1, MsrpMessage jarg1_);
- public final static native long MsrpMessage_getMsrpContent(long jarg1, MsrpMessage jarg1_, java.nio.ByteBuffer jarg2, long jarg3);
- public final static native void delete_MsrpEvent(long jarg1);
- public final static native int MsrpEvent_getType(long jarg1, MsrpEvent jarg1_);
- public final static native long MsrpEvent_getSipSession(long jarg1, MsrpEvent jarg1_);
- public final static native long MsrpEvent_getMessage(long jarg1, MsrpEvent jarg1_);
- public final static native long new_MsrpCallback();
- public final static native void delete_MsrpCallback(long jarg1);
- public final static native int MsrpCallback_OnEvent(long jarg1, MsrpCallback jarg1_, long jarg2, MsrpEvent jarg2_);
- public final static native int MsrpCallback_OnEventSwigExplicitMsrpCallback(long jarg1, MsrpCallback jarg1_, long jarg2, MsrpEvent jarg2_);
- public final static native void MsrpCallback_director_connect(MsrpCallback obj, long cptr, boolean mem_own, boolean weak_global);
- public final static native void MsrpCallback_change_ownership(MsrpCallback obj, long cptr, boolean take_or_release);
- public final static native long SWIGMediaContentCPIMUpcast(long jarg1);
- public final static native long SWIGDialogEventUpcast(long jarg1);
- public final static native long SWIGStackEventUpcast(long jarg1);
- public final static native long SWIGInviteEventUpcast(long jarg1);
- public final static native long SWIGMessagingEventUpcast(long jarg1);
- public final static native long SWIGOptionsEventUpcast(long jarg1);
- public final static native long SWIGPublicationEventUpcast(long jarg1);
- public final static native long SWIGRegistrationEventUpcast(long jarg1);
- public final static native long SWIGSubscriptionEventUpcast(long jarg1);
- public final static native long SWIGInviteSessionUpcast(long jarg1);
- public final static native long SWIGCallSessionUpcast(long jarg1);
- public final static native long SWIGMsrpSessionUpcast(long jarg1);
- public final static native long SWIGMessagingSessionUpcast(long jarg1);
- public final static native long SWIGOptionsSessionUpcast(long jarg1);
- public final static native long SWIGPublicationSessionUpcast(long jarg1);
- public final static native long SWIGRegistrationSessionUpcast(long jarg1);
- public final static native long SWIGSubscriptionSessionUpcast(long jarg1);
- public final static native long SWIGProxyAudioConsumerUpcast(long jarg1);
- public final static native long SWIGProxyVideoConsumerUpcast(long jarg1);
- public final static native long SWIGProxyAudioProducerUpcast(long jarg1);
- public final static native long SWIGProxyVideoProducerUpcast(long jarg1);
- public final static native long SWIGSipStackUpcast(long jarg1);
-
- public static int SwigDirector_DDebugCallback_OnDebugInfo(DDebugCallback self, String message) {
- return self.OnDebugInfo(message);
- }
- public static int SwigDirector_DDebugCallback_OnDebugWarn(DDebugCallback self, String message) {
- return self.OnDebugWarn(message);
- }
- public static int SwigDirector_DDebugCallback_OnDebugError(DDebugCallback self, String message) {
- return self.OnDebugError(message);
- }
- public static int SwigDirector_DDebugCallback_OnDebugFatal(DDebugCallback self, String message) {
- return self.OnDebugFatal(message);
- }
- public static int SwigDirector_ProxyPluginMgrCallback_OnPluginCreated(ProxyPluginMgrCallback self, java.math.BigInteger id, int type) {
- return self.OnPluginCreated(id, twrap_proxy_plugin_type_t.swigToEnum(type));
- }
- public static int SwigDirector_ProxyPluginMgrCallback_OnPluginDestroyed(ProxyPluginMgrCallback self, java.math.BigInteger id, int type) {
- return self.OnPluginDestroyed(id, twrap_proxy_plugin_type_t.swigToEnum(type));
- }
- public static int SwigDirector_ProxyAudioConsumerCallback_prepare(ProxyAudioConsumerCallback self, int ptime, int rate, int channels) {
- return self.prepare(ptime, rate, channels);
- }
- public static int SwigDirector_ProxyAudioConsumerCallback_start(ProxyAudioConsumerCallback self) {
- return self.start();
- }
- public static int SwigDirector_ProxyAudioConsumerCallback_pause(ProxyAudioConsumerCallback self) {
- return self.pause();
- }
- public static int SwigDirector_ProxyAudioConsumerCallback_stop(ProxyAudioConsumerCallback self) {
- return self.stop();
- }
- public static int SwigDirector_ProxyVideoConsumerCallback_prepare(ProxyVideoConsumerCallback self, int width, int height, int fps) {
- return self.prepare(width, height, fps);
- }
- public static int SwigDirector_ProxyVideoConsumerCallback_consume(ProxyVideoConsumerCallback self, long frame) {
- return self.consume((frame == 0) ? null : new ProxyVideoFrame(frame, false));
- }
- public static int SwigDirector_ProxyVideoConsumerCallback_start(ProxyVideoConsumerCallback self) {
- return self.start();
- }
- public static int SwigDirector_ProxyVideoConsumerCallback_pause(ProxyVideoConsumerCallback self) {
- return self.pause();
- }
- public static int SwigDirector_ProxyVideoConsumerCallback_stop(ProxyVideoConsumerCallback self) {
- return self.stop();
- }
- public static int SwigDirector_ProxyAudioProducerCallback_prepare(ProxyAudioProducerCallback self, int ptime, int rate, int channels) {
- return self.prepare(ptime, rate, channels);
- }
- public static int SwigDirector_ProxyAudioProducerCallback_start(ProxyAudioProducerCallback self) {
- return self.start();
- }
- public static int SwigDirector_ProxyAudioProducerCallback_pause(ProxyAudioProducerCallback self) {
- return self.pause();
- }
- public static int SwigDirector_ProxyAudioProducerCallback_stop(ProxyAudioProducerCallback self) {
- return self.stop();
- }
- public static int SwigDirector_ProxyVideoProducerCallback_prepare(ProxyVideoProducerCallback self, int width, int height, int fps) {
- return self.prepare(width, height, fps);
- }
- public static int SwigDirector_ProxyVideoProducerCallback_start(ProxyVideoProducerCallback self) {
- return self.start();
- }
- public static int SwigDirector_ProxyVideoProducerCallback_pause(ProxyVideoProducerCallback self) {
- return self.pause();
- }
- public static int SwigDirector_ProxyVideoProducerCallback_stop(ProxyVideoProducerCallback self) {
- return self.stop();
- }
- public static int SwigDirector_SipCallback_OnDialogEvent(SipCallback self, long e) {
- return self.OnDialogEvent((e == 0) ? null : new DialogEvent(e, false));
- }
- public static int SwigDirector_SipCallback_OnStackEvent(SipCallback self, long e) {
- return self.OnStackEvent((e == 0) ? null : new StackEvent(e, false));
- }
- public static int SwigDirector_SipCallback_OnInviteEvent(SipCallback self, long e) {
- return self.OnInviteEvent((e == 0) ? null : new InviteEvent(e, false));
- }
- public static int SwigDirector_SipCallback_OnMessagingEvent(SipCallback self, long e) {
- return self.OnMessagingEvent((e == 0) ? null : new MessagingEvent(e, false));
- }
- public static int SwigDirector_SipCallback_OnOptionsEvent(SipCallback self, long e) {
- return self.OnOptionsEvent((e == 0) ? null : new OptionsEvent(e, false));
- }
- public static int SwigDirector_SipCallback_OnPublicationEvent(SipCallback self, long e) {
- return self.OnPublicationEvent((e == 0) ? null : new PublicationEvent(e, false));
- }
- public static int SwigDirector_SipCallback_OnRegistrationEvent(SipCallback self, long e) {
- return self.OnRegistrationEvent((e == 0) ? null : new RegistrationEvent(e, false));
- }
- public static int SwigDirector_SipCallback_OnSubscriptionEvent(SipCallback self, long e) {
- return self.OnSubscriptionEvent((e == 0) ? null : new SubscriptionEvent(e, false));
- }
- public static int SwigDirector_XcapCallback_onEvent(XcapCallback self, long e) {
- return self.onEvent((e == 0) ? null : new XcapEvent(e, false));
- }
- public static int SwigDirector_MsrpCallback_OnEvent(MsrpCallback self, long e) {
- return self.OnEvent((e == 0) ? null : new MsrpEvent(e, false));
- }
-
- private final static native void swig_module_init();
- static {
- swig_module_init();
- }
-}
diff --git a/branches/1.0/bindings/java/android/tinyWRAP_wrap.cxx b/branches/1.0/bindings/java/android/tinyWRAP_wrap.cxx
deleted file mode 100644
index a4815b4..0000000
--- a/branches/1.0/bindings/java/android/tinyWRAP_wrap.cxx
+++ /dev/null
@@ -1,9660 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * This file is not intended to be easily readable and contains a number of
- * coding conventions designed to improve portability and efficiency. Do not make
- * changes to this file unless you know what you are doing--modify the SWIG
- * interface file instead.
- * ----------------------------------------------------------------------------- */
-
-#define SWIGJAVA
-#define SWIG_DIRECTORS
-
-
-#ifdef __cplusplus
-/* SwigValueWrapper is described in swig.swg */
-template<typename T> class SwigValueWrapper {
- struct SwigMovePointer {
- T *ptr;
- SwigMovePointer(T *p) : ptr(p) { }
- ~SwigMovePointer() { delete ptr; }
- SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
- } pointer;
- SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
- SwigValueWrapper(const SwigValueWrapper<T>& rhs);
-public:
- SwigValueWrapper() : pointer(0) { }
- SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
- operator T&() const { return *pointer.ptr; }
- T *operator&() { return pointer.ptr; }
-};
-
-template <typename T> T SwigValueInit() {
- return T();
-}
-#endif
-
-/* -----------------------------------------------------------------------------
- * This section contains generic SWIG labels for method/variable
- * declarations/attributes, and other compiler dependent labels.
- * ----------------------------------------------------------------------------- */
-
-/* template workaround for compilers that cannot correctly implement the C++ standard */
-#ifndef SWIGTEMPLATEDISAMBIGUATOR
-# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
-# define SWIGTEMPLATEDISAMBIGUATOR template
-# elif defined(__HP_aCC)
-/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
-/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
-# define SWIGTEMPLATEDISAMBIGUATOR template
-# else
-# define SWIGTEMPLATEDISAMBIGUATOR
-# endif
-#endif
-
-/* inline attribute */
-#ifndef SWIGINLINE
-# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
-# define SWIGINLINE inline
-# else
-# define SWIGINLINE
-# endif
-#endif
-
-/* attribute recognised by some compilers to avoid 'unused' warnings */
-#ifndef SWIGUNUSED
-# if defined(__GNUC__)
-# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
-# define SWIGUNUSED __attribute__ ((__unused__))
-# else
-# define SWIGUNUSED
-# endif
-# elif defined(__ICC)
-# define SWIGUNUSED __attribute__ ((__unused__))
-# else
-# define SWIGUNUSED
-# endif
-#endif
-
-#ifndef SWIG_MSC_UNSUPPRESS_4505
-# if defined(_MSC_VER)
-# pragma warning(disable : 4505) /* unreferenced local function has been removed */
-# endif
-#endif
-
-#ifndef SWIGUNUSEDPARM
-# ifdef __cplusplus
-# define SWIGUNUSEDPARM(p)
-# else
-# define SWIGUNUSEDPARM(p) p SWIGUNUSED
-# endif
-#endif
-
-/* internal SWIG method */
-#ifndef SWIGINTERN
-# define SWIGINTERN static SWIGUNUSED
-#endif
-
-/* internal inline SWIG method */
-#ifndef SWIGINTERNINLINE
-# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
-#endif
-
-/* exporting methods */
-#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
-# ifndef GCC_HASCLASSVISIBILITY
-# define GCC_HASCLASSVISIBILITY
-# endif
-#endif
-
-#ifndef SWIGEXPORT
-# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
-# if defined(STATIC_LINKED)
-# define SWIGEXPORT
-# else
-# define SWIGEXPORT __declspec(dllexport)
-# endif
-# else
-# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
-# define SWIGEXPORT __attribute__ ((visibility("default")))
-# else
-# define SWIGEXPORT
-# endif
-# endif
-#endif
-
-/* calling conventions for Windows */
-#ifndef SWIGSTDCALL
-# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
-# define SWIGSTDCALL __stdcall
-# else
-# define SWIGSTDCALL
-# endif
-#endif
-
-/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
-#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
-# define _CRT_SECURE_NO_DEPRECATE
-#endif
-
-/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
-#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
-# define _SCL_SECURE_NO_DEPRECATE
-#endif
-
-
-
-/* Fix for jlong on some versions of gcc on Windows */
-#if defined(__GNUC__) && !defined(__INTEL_COMPILER)
- typedef long long __int64;
-#endif
-
-/* Fix for jlong on 64-bit x86 Solaris */
-#if defined(__x86_64)
-# ifdef _LP64
-# undef _LP64
-# endif
-#endif
-
-#include <jni.h>
-#include <stdlib.h>
-#include <string.h>
-
-
-/* Support for throwing Java exceptions */
-typedef enum {
- SWIG_JavaOutOfMemoryError = 1,
- SWIG_JavaIOException,
- SWIG_JavaRuntimeException,
- SWIG_JavaIndexOutOfBoundsException,
- SWIG_JavaArithmeticException,
- SWIG_JavaIllegalArgumentException,
- SWIG_JavaNullPointerException,
- SWIG_JavaDirectorPureVirtual,
- SWIG_JavaUnknownError
-} SWIG_JavaExceptionCodes;
-
-typedef struct {
- SWIG_JavaExceptionCodes code;
- const char *java_exception;
-} SWIG_JavaExceptions_t;
-
-
-static void SWIGUNUSED SWIG_JavaThrowException(JNIEnv *jenv, SWIG_JavaExceptionCodes code, const char *msg) {
- jclass excep;
- static const SWIG_JavaExceptions_t java_exceptions[] = {
- { SWIG_JavaOutOfMemoryError, "java/lang/OutOfMemoryError" },
- { SWIG_JavaIOException, "java/io/IOException" },
- { SWIG_JavaRuntimeException, "java/lang/RuntimeException" },
- { SWIG_JavaIndexOutOfBoundsException, "java/lang/IndexOutOfBoundsException" },
- { SWIG_JavaArithmeticException, "java/lang/ArithmeticException" },
- { SWIG_JavaIllegalArgumentException, "java/lang/IllegalArgumentException" },
- { SWIG_JavaNullPointerException, "java/lang/NullPointerException" },
- { SWIG_JavaDirectorPureVirtual, "java/lang/RuntimeException" },
- { SWIG_JavaUnknownError, "java/lang/UnknownError" },
- { (SWIG_JavaExceptionCodes)0, "java/lang/UnknownError" } };
- const SWIG_JavaExceptions_t *except_ptr = java_exceptions;
-
- while (except_ptr->code != code && except_ptr->code)
- except_ptr++;
-
- jenv->ExceptionClear();
- excep = jenv->FindClass(except_ptr->java_exception);
- if (excep)
- jenv->ThrowNew(excep, msg);
-}
-
-
-/* Contract support */
-
-#define SWIG_contract_assert(nullreturn, expr, msg) if (!(expr)) {SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, msg); return nullreturn; } else
-
-/* -----------------------------------------------------------------------------
- * See the LICENSE file for information on copyright, usage and redistribution
- * of SWIG, and the README file for authors - http://www.swig.org/release.html.
- *
- * director.swg
- *
- * This file contains support for director classes that proxy
- * method calls from C++ to Java extensions.
- * ----------------------------------------------------------------------------- */
-
-#ifdef __cplusplus
-
-#if defined(DEBUG_DIRECTOR_OWNED)
-#include <iostream>
-#endif
-
-namespace Swig {
- /* Java object wrapper */
- class JObjectWrapper {
- public:
- JObjectWrapper() : jthis_(NULL), weak_global_(true) {
- }
-
- ~JObjectWrapper() {
- jthis_ = NULL;
- weak_global_ = true;
- }
-
- bool set(JNIEnv *jenv, jobject jobj, bool mem_own, bool weak_global) {
- if (!jthis_) {
- weak_global_ = weak_global;
- if (jobj)
- jthis_ = ((weak_global_ || !mem_own) ? jenv->NewWeakGlobalRef(jobj) : jenv->NewGlobalRef(jobj));
-#if defined(DEBUG_DIRECTOR_OWNED)
- std::cout << "JObjectWrapper::set(" << jobj << ", " << (weak_global ? "weak_global" : "global_ref") << ") -> " << jthis_ << std::endl;
-#endif
- return true;
- } else {
-#if defined(DEBUG_DIRECTOR_OWNED)
- std::cout << "JObjectWrapper::set(" << jobj << ", " << (weak_global ? "weak_global" : "global_ref") << ") -> already set" << std::endl;
-#endif
- return false;
- }
- }
-
- jobject get(JNIEnv *jenv) const {
-#if defined(DEBUG_DIRECTOR_OWNED)
- std::cout << "JObjectWrapper::get(";
- if (jthis_)
- std::cout << jthis_;
- else
- std::cout << "null";
- std::cout << ") -> return new local ref" << std::endl;
-#endif
- return (jthis_ ? jenv->NewLocalRef(jthis_) : jthis_);
- }
-
- void release(JNIEnv *jenv) {
-#if defined(DEBUG_DIRECTOR_OWNED)
- std::cout << "JObjectWrapper::release(" << jthis_ << "): " << (weak_global_ ? "weak global ref" : "global ref") << std::endl;
-#endif
- if (jthis_) {
- if (weak_global_) {
- if (jenv->IsSameObject(jthis_, NULL) == JNI_FALSE)
- jenv->DeleteWeakGlobalRef((jweak)jthis_);
- } else
- jenv->DeleteGlobalRef(jthis_);
- }
-
- jthis_ = NULL;
- weak_global_ = true;
- }
-
- jobject peek() {
- return jthis_;
- }
-
- /* Java proxy releases ownership of C++ object, C++ object is now
- responsible for destruction (creates NewGlobalRef to pin Java
- proxy) */
- void java_change_ownership(JNIEnv *jenv, jobject jself, bool take_or_release) {
- if (take_or_release) { /* Java takes ownership of C++ object's lifetime. */
- if (!weak_global_) {
- jenv->DeleteGlobalRef(jthis_);
- jthis_ = jenv->NewWeakGlobalRef(jself);
- weak_global_ = true;
- }
- } else { /* Java releases ownership of C++ object's lifetime */
- if (weak_global_) {
- jenv->DeleteWeakGlobalRef((jweak)jthis_);
- jthis_ = jenv->NewGlobalRef(jself);
- weak_global_ = false;
- }
- }
- }
-
- private:
- /* pointer to Java object */
- jobject jthis_;
- /* Local or global reference flag */
- bool weak_global_;
- };
-
- /* director base class */
- class Director {
- /* pointer to Java virtual machine */
- JavaVM *swig_jvm_;
-
- protected:
-#if defined (_MSC_VER) && (_MSC_VER<1300)
- class JNIEnvWrapper;
- friend class JNIEnvWrapper;
-#endif
- /* Utility class for managing the JNI environment */
- class JNIEnvWrapper {
- const Director *director_;
- JNIEnv *jenv_;
- public:
- JNIEnvWrapper(const Director *director) : director_(director), jenv_(0) {
-#if defined(SWIG_JAVA_ATTACH_CURRENT_THREAD_AS_DAEMON)
- // Attach a daemon thread to the JVM. Useful when the JVM should not wait for
- // the thread to exit upon shutdown. Only for jdk-1.4 and later.
- director_->swig_jvm_->AttachCurrentThreadAsDaemon((void **) &jenv_, NULL);
-#else
- director_->swig_jvm_->AttachCurrentThread((JNIEnv **) &jenv_, NULL);
-#endif
- }
- ~JNIEnvWrapper() {
-#if !defined(SWIG_JAVA_NO_DETACH_CURRENT_THREAD)
- // Some JVMs, eg jdk-1.4.2 and lower on Solaris have a bug and crash with the DetachCurrentThread call.
- // However, without this call, the JVM hangs on exit when the thread was not created by the JVM and creates a memory leak.
- director_->swig_jvm_->DetachCurrentThread();
-#endif
- }
- JNIEnv *getJNIEnv() const {
- return jenv_;
- }
- };
-
- /* Java object wrapper */
- JObjectWrapper swig_self_;
-
- /* Disconnect director from Java object */
- void swig_disconnect_director_self(const char *disconn_method) {
- JNIEnvWrapper jnienv(this) ;
- JNIEnv *jenv = jnienv.getJNIEnv() ;
- jobject jobj = swig_self_.peek();
-#if defined(DEBUG_DIRECTOR_OWNED)
- std::cout << "Swig::Director::disconnect_director_self(" << jobj << ")" << std::endl;
-#endif
- if (jobj && jenv->IsSameObject(jobj, NULL) == JNI_FALSE) {
- jmethodID disconn_meth = jenv->GetMethodID(jenv->GetObjectClass(jobj), disconn_method, "()V");
- if (disconn_meth) {
-#if defined(DEBUG_DIRECTOR_OWNED)
- std::cout << "Swig::Director::disconnect_director_self upcall to " << disconn_method << std::endl;
-#endif
- jenv->CallVoidMethod(jobj, disconn_meth);
- }
- }
- }
-
- public:
- Director(JNIEnv *jenv) : swig_jvm_((JavaVM *) NULL), swig_self_() {
- /* Acquire the Java VM pointer */
- jenv->GetJavaVM(&swig_jvm_);
- }
-
- virtual ~Director() {
- JNIEnvWrapper jnienv(this) ;
- JNIEnv *jenv = jnienv.getJNIEnv() ;
- swig_self_.release(jenv);
- }
-
- bool swig_set_self(JNIEnv *jenv, jobject jself, bool mem_own, bool weak_global) {
- return swig_self_.set(jenv, jself, mem_own, weak_global);
- }
-
- jobject swig_get_self(JNIEnv *jenv) const {
- return swig_self_.get(jenv);
- }
-
- // Change C++ object's ownership, relative to Java
- void swig_java_change_ownership(JNIEnv *jenv, jobject jself, bool take_or_release) {
- swig_self_.java_change_ownership(jenv, jself, take_or_release);
- }
- };
-}
-
-#endif /* __cplusplus */
-
-
-namespace Swig {
- static jclass jclass_tinyWRAPJNI = NULL;
- static jmethodID director_methids[33];
-}
-
-#include <stdint.h> // Use the C99 official header
-
-
-#include "DDebug.h"
-
-
-#include "ActionConfig.h"
-#include "MediaSessionMgr.h"
-#include "MediaContent.h"
-#include "SipUri.h"
-#include "SipMessage.h"
-#include "SipEvent.h"
-#include "SipSession.h"
-
-#include "ProxyPluginMgr.h"
-#include "ProxyConsumer.h"
-#include "ProxyProducer.h"
-
-#include "SipCallback.h"
-#include "SafeObject.h"
-#include "SipStack.h"
-
-
-#include "Xcap.h"
-
-
-#include "SMSEncoder.h"
-
-
-#include "Msrp.h"
-
-
-
-/* ---------------------------------------------------
- * C++ director class methods
- * --------------------------------------------------- */
-
-#include "tinyWRAP_wrap.h"
-
-SwigDirector_DDebugCallback::SwigDirector_DDebugCallback(JNIEnv *jenv) : DDebugCallback(), Swig::Director(jenv) {
-}
-
-SwigDirector_DDebugCallback::~SwigDirector_DDebugCallback() {
- swig_disconnect_director_self("swigDirectorDisconnect");
-}
-
-
-int SwigDirector_DDebugCallback::OnDebugInfo(char const *message) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jstring jmessage = 0 ;
-
- if (!swig_override[0]) {
- return DDebugCallback::OnDebugInfo(message);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jmessage = 0;
- if (message) {
- jmessage = jenv->NewStringUTF((const char *)message);
- if (!jmessage) return c_result;
- }
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[0], swigjobj, jmessage);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_DDebugCallback::OnDebugWarn(char const *message) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jstring jmessage = 0 ;
-
- if (!swig_override[1]) {
- return DDebugCallback::OnDebugWarn(message);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jmessage = 0;
- if (message) {
- jmessage = jenv->NewStringUTF((const char *)message);
- if (!jmessage) return c_result;
- }
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[1], swigjobj, jmessage);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_DDebugCallback::OnDebugError(char const *message) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jstring jmessage = 0 ;
-
- if (!swig_override[2]) {
- return DDebugCallback::OnDebugError(message);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jmessage = 0;
- if (message) {
- jmessage = jenv->NewStringUTF((const char *)message);
- if (!jmessage) return c_result;
- }
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[2], swigjobj, jmessage);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_DDebugCallback::OnDebugFatal(char const *message) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jstring jmessage = 0 ;
-
- if (!swig_override[3]) {
- return DDebugCallback::OnDebugFatal(message);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jmessage = 0;
- if (message) {
- jmessage = jenv->NewStringUTF((const char *)message);
- if (!jmessage) return c_result;
- }
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[3], swigjobj, jmessage);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-void SwigDirector_DDebugCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
- static struct {
- const char *mname;
- const char *mdesc;
- jmethodID base_methid;
- } methods[] = {
- {
- "OnDebugInfo", "(Ljava/lang/String;)I", NULL
- },
- {
- "OnDebugWarn", "(Ljava/lang/String;)I", NULL
- },
- {
- "OnDebugError", "(Ljava/lang/String;)I", NULL
- },
- {
- "OnDebugFatal", "(Ljava/lang/String;)I", NULL
- }
- };
-
- static jclass baseclass = 0 ;
-
- if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
- if (!baseclass) {
- baseclass = jenv->FindClass("org/doubango/tinyWRAP/DDebugCallback");
- if (!baseclass) return;
- baseclass = (jclass) jenv->NewGlobalRef(baseclass);
- }
- bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
- for (int i = 0; i < 4; ++i) {
- if (!methods[i].base_methid) {
- methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
- if (!methods[i].base_methid) return;
- }
- swig_override[i] = false;
- if (derived) {
- jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
- swig_override[i] = (methid != methods[i].base_methid);
- jenv->ExceptionClear();
- }
- }
- }
-}
-
-
-SwigDirector_ProxyPluginMgrCallback::SwigDirector_ProxyPluginMgrCallback(JNIEnv *jenv) : ProxyPluginMgrCallback(), Swig::Director(jenv) {
-}
-
-SwigDirector_ProxyPluginMgrCallback::~SwigDirector_ProxyPluginMgrCallback() {
- swig_disconnect_director_self("swigDirectorDisconnect");
-}
-
-
-int SwigDirector_ProxyPluginMgrCallback::OnPluginCreated(uint64_t id, enum twrap_proxy_plugin_type_e type) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jobject jid ;
- jint jtype ;
-
- if (!swig_override[0]) {
- return ProxyPluginMgrCallback::OnPluginCreated(id,type);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- {
- jbyteArray ba = jenv->NewByteArray(9);
- jbyte* bae = jenv->GetByteArrayElements(ba, 0);
- jclass clazz = jenv->FindClass("java/math/BigInteger");
- jmethodID mid = jenv->GetMethodID(clazz, "<init>", "([B)V");
- jobject bigint;
- int swig_i;
-
- bae[0] = 0;
- for(swig_i=1; swig_i<9; swig_i++ ) {
- bae[swig_i] = (jbyte)(id>>8*(8-swig_i));
- }
-
- jenv->ReleaseByteArrayElements(ba, bae, 0);
- bigint = jenv->NewObject(clazz, mid, ba);
- jid = bigint;
- }
- jtype = (jint) type;
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[4], swigjobj, jid, jtype);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_ProxyPluginMgrCallback::OnPluginDestroyed(uint64_t id, enum twrap_proxy_plugin_type_e type) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jobject jid ;
- jint jtype ;
-
- if (!swig_override[1]) {
- return ProxyPluginMgrCallback::OnPluginDestroyed(id,type);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- {
- jbyteArray ba = jenv->NewByteArray(9);
- jbyte* bae = jenv->GetByteArrayElements(ba, 0);
- jclass clazz = jenv->FindClass("java/math/BigInteger");
- jmethodID mid = jenv->GetMethodID(clazz, "<init>", "([B)V");
- jobject bigint;
- int swig_i;
-
- bae[0] = 0;
- for(swig_i=1; swig_i<9; swig_i++ ) {
- bae[swig_i] = (jbyte)(id>>8*(8-swig_i));
- }
-
- jenv->ReleaseByteArrayElements(ba, bae, 0);
- bigint = jenv->NewObject(clazz, mid, ba);
- jid = bigint;
- }
- jtype = (jint) type;
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[5], swigjobj, jid, jtype);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-void SwigDirector_ProxyPluginMgrCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
- static struct {
- const char *mname;
- const char *mdesc;
- jmethodID base_methid;
- } methods[] = {
- {
- "OnPluginCreated", "(Ljava/math/BigInteger;Lorg/doubango/tinyWRAP/twrap_proxy_plugin_type_t;)I", NULL
- },
- {
- "OnPluginDestroyed", "(Ljava/math/BigInteger;Lorg/doubango/tinyWRAP/twrap_proxy_plugin_type_t;)I", NULL
- }
- };
-
- static jclass baseclass = 0 ;
-
- if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
- if (!baseclass) {
- baseclass = jenv->FindClass("org/doubango/tinyWRAP/ProxyPluginMgrCallback");
- if (!baseclass) return;
- baseclass = (jclass) jenv->NewGlobalRef(baseclass);
- }
- bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
- for (int i = 0; i < 2; ++i) {
- if (!methods[i].base_methid) {
- methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
- if (!methods[i].base_methid) return;
- }
- swig_override[i] = false;
- if (derived) {
- jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
- swig_override[i] = (methid != methods[i].base_methid);
- jenv->ExceptionClear();
- }
- }
- }
-}
-
-
-SwigDirector_ProxyAudioConsumerCallback::SwigDirector_ProxyAudioConsumerCallback(JNIEnv *jenv) : ProxyAudioConsumerCallback(), Swig::Director(jenv) {
-}
-
-SwigDirector_ProxyAudioConsumerCallback::~SwigDirector_ProxyAudioConsumerCallback() {
- swig_disconnect_director_self("swigDirectorDisconnect");
-}
-
-
-int SwigDirector_ProxyAudioConsumerCallback::prepare(int ptime, int rate, int channels) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jint jptime ;
- jint jrate ;
- jint jchannels ;
-
- if (!swig_override[0]) {
- return ProxyAudioConsumerCallback::prepare(ptime,rate,channels);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jptime = (jint) ptime;
- jrate = (jint) rate;
- jchannels = (jint) channels;
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[6], swigjobj, jptime, jrate, jchannels);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_ProxyAudioConsumerCallback::start() {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
-
- if (!swig_override[1]) {
- return ProxyAudioConsumerCallback::start();
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[7], swigjobj);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_ProxyAudioConsumerCallback::pause() {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
-
- if (!swig_override[2]) {
- return ProxyAudioConsumerCallback::pause();
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[8], swigjobj);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_ProxyAudioConsumerCallback::stop() {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
-
- if (!swig_override[3]) {
- return ProxyAudioConsumerCallback::stop();
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[9], swigjobj);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-void SwigDirector_ProxyAudioConsumerCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
- static struct {
- const char *mname;
- const char *mdesc;
- jmethodID base_methid;
- } methods[] = {
- {
- "prepare", "(III)I", NULL
- },
- {
- "start", "()I", NULL
- },
- {
- "pause", "()I", NULL
- },
- {
- "stop", "()I", NULL
- }
- };
-
- static jclass baseclass = 0 ;
-
- if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
- if (!baseclass) {
- baseclass = jenv->FindClass("org/doubango/tinyWRAP/ProxyAudioConsumerCallback");
- if (!baseclass) return;
- baseclass = (jclass) jenv->NewGlobalRef(baseclass);
- }
- bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
- for (int i = 0; i < 4; ++i) {
- if (!methods[i].base_methid) {
- methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
- if (!methods[i].base_methid) return;
- }
- swig_override[i] = false;
- if (derived) {
- jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
- swig_override[i] = (methid != methods[i].base_methid);
- jenv->ExceptionClear();
- }
- }
- }
-}
-
-
-SwigDirector_ProxyVideoConsumerCallback::SwigDirector_ProxyVideoConsumerCallback(JNIEnv *jenv) : ProxyVideoConsumerCallback(), Swig::Director(jenv) {
-}
-
-SwigDirector_ProxyVideoConsumerCallback::~SwigDirector_ProxyVideoConsumerCallback() {
- swig_disconnect_director_self("swigDirectorDisconnect");
-}
-
-
-int SwigDirector_ProxyVideoConsumerCallback::prepare(int width, int height, int fps) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jint jwidth ;
- jint jheight ;
- jint jfps ;
-
- if (!swig_override[0]) {
- return ProxyVideoConsumerCallback::prepare(width,height,fps);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jwidth = (jint) width;
- jheight = (jint) height;
- jfps = (jint) fps;
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[10], swigjobj, jwidth, jheight, jfps);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_ProxyVideoConsumerCallback::consume(ProxyVideoFrame const *frame) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jlong jframe = 0 ;
-
- if (!swig_override[1]) {
- return ProxyVideoConsumerCallback::consume(frame);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- *((ProxyVideoFrame **)&jframe) = (ProxyVideoFrame *) frame;
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[11], swigjobj, jframe);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_ProxyVideoConsumerCallback::start() {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
-
- if (!swig_override[2]) {
- return ProxyVideoConsumerCallback::start();
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[12], swigjobj);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_ProxyVideoConsumerCallback::pause() {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
-
- if (!swig_override[3]) {
- return ProxyVideoConsumerCallback::pause();
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[13], swigjobj);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_ProxyVideoConsumerCallback::stop() {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
-
- if (!swig_override[4]) {
- return ProxyVideoConsumerCallback::stop();
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[14], swigjobj);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-void SwigDirector_ProxyVideoConsumerCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
- static struct {
- const char *mname;
- const char *mdesc;
- jmethodID base_methid;
- } methods[] = {
- {
- "prepare", "(III)I", NULL
- },
- {
- "consume", "(Lorg/doubango/tinyWRAP/ProxyVideoFrame;)I", NULL
- },
- {
- "start", "()I", NULL
- },
- {
- "pause", "()I", NULL
- },
- {
- "stop", "()I", NULL
- }
- };
-
- static jclass baseclass = 0 ;
-
- if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
- if (!baseclass) {
- baseclass = jenv->FindClass("org/doubango/tinyWRAP/ProxyVideoConsumerCallback");
- if (!baseclass) return;
- baseclass = (jclass) jenv->NewGlobalRef(baseclass);
- }
- bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
- for (int i = 0; i < 5; ++i) {
- if (!methods[i].base_methid) {
- methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
- if (!methods[i].base_methid) return;
- }
- swig_override[i] = false;
- if (derived) {
- jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
- swig_override[i] = (methid != methods[i].base_methid);
- jenv->ExceptionClear();
- }
- }
- }
-}
-
-
-SwigDirector_ProxyAudioProducerCallback::SwigDirector_ProxyAudioProducerCallback(JNIEnv *jenv) : ProxyAudioProducerCallback(), Swig::Director(jenv) {
-}
-
-SwigDirector_ProxyAudioProducerCallback::~SwigDirector_ProxyAudioProducerCallback() {
- swig_disconnect_director_self("swigDirectorDisconnect");
-}
-
-
-int SwigDirector_ProxyAudioProducerCallback::prepare(int ptime, int rate, int channels) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jint jptime ;
- jint jrate ;
- jint jchannels ;
-
- if (!swig_override[0]) {
- return ProxyAudioProducerCallback::prepare(ptime,rate,channels);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jptime = (jint) ptime;
- jrate = (jint) rate;
- jchannels = (jint) channels;
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[15], swigjobj, jptime, jrate, jchannels);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_ProxyAudioProducerCallback::start() {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
-
- if (!swig_override[1]) {
- return ProxyAudioProducerCallback::start();
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[16], swigjobj);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_ProxyAudioProducerCallback::pause() {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
-
- if (!swig_override[2]) {
- return ProxyAudioProducerCallback::pause();
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[17], swigjobj);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_ProxyAudioProducerCallback::stop() {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
-
- if (!swig_override[3]) {
- return ProxyAudioProducerCallback::stop();
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[18], swigjobj);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-void SwigDirector_ProxyAudioProducerCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
- static struct {
- const char *mname;
- const char *mdesc;
- jmethodID base_methid;
- } methods[] = {
- {
- "prepare", "(III)I", NULL
- },
- {
- "start", "()I", NULL
- },
- {
- "pause", "()I", NULL
- },
- {
- "stop", "()I", NULL
- }
- };
-
- static jclass baseclass = 0 ;
-
- if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
- if (!baseclass) {
- baseclass = jenv->FindClass("org/doubango/tinyWRAP/ProxyAudioProducerCallback");
- if (!baseclass) return;
- baseclass = (jclass) jenv->NewGlobalRef(baseclass);
- }
- bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
- for (int i = 0; i < 4; ++i) {
- if (!methods[i].base_methid) {
- methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
- if (!methods[i].base_methid) return;
- }
- swig_override[i] = false;
- if (derived) {
- jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
- swig_override[i] = (methid != methods[i].base_methid);
- jenv->ExceptionClear();
- }
- }
- }
-}
-
-
-SwigDirector_ProxyVideoProducerCallback::SwigDirector_ProxyVideoProducerCallback(JNIEnv *jenv) : ProxyVideoProducerCallback(), Swig::Director(jenv) {
-}
-
-SwigDirector_ProxyVideoProducerCallback::~SwigDirector_ProxyVideoProducerCallback() {
- swig_disconnect_director_self("swigDirectorDisconnect");
-}
-
-
-int SwigDirector_ProxyVideoProducerCallback::prepare(int width, int height, int fps) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jint jwidth ;
- jint jheight ;
- jint jfps ;
-
- if (!swig_override[0]) {
- return ProxyVideoProducerCallback::prepare(width,height,fps);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jwidth = (jint) width;
- jheight = (jint) height;
- jfps = (jint) fps;
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[19], swigjobj, jwidth, jheight, jfps);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_ProxyVideoProducerCallback::start() {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
-
- if (!swig_override[1]) {
- return ProxyVideoProducerCallback::start();
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[20], swigjobj);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_ProxyVideoProducerCallback::pause() {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
-
- if (!swig_override[2]) {
- return ProxyVideoProducerCallback::pause();
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[21], swigjobj);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_ProxyVideoProducerCallback::stop() {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
-
- if (!swig_override[3]) {
- return ProxyVideoProducerCallback::stop();
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[22], swigjobj);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-void SwigDirector_ProxyVideoProducerCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
- static struct {
- const char *mname;
- const char *mdesc;
- jmethodID base_methid;
- } methods[] = {
- {
- "prepare", "(III)I", NULL
- },
- {
- "start", "()I", NULL
- },
- {
- "pause", "()I", NULL
- },
- {
- "stop", "()I", NULL
- }
- };
-
- static jclass baseclass = 0 ;
-
- if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
- if (!baseclass) {
- baseclass = jenv->FindClass("org/doubango/tinyWRAP/ProxyVideoProducerCallback");
- if (!baseclass) return;
- baseclass = (jclass) jenv->NewGlobalRef(baseclass);
- }
- bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
- for (int i = 0; i < 4; ++i) {
- if (!methods[i].base_methid) {
- methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
- if (!methods[i].base_methid) return;
- }
- swig_override[i] = false;
- if (derived) {
- jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
- swig_override[i] = (methid != methods[i].base_methid);
- jenv->ExceptionClear();
- }
- }
- }
-}
-
-
-SwigDirector_SipCallback::SwigDirector_SipCallback(JNIEnv *jenv) : SipCallback(), Swig::Director(jenv) {
-}
-
-SwigDirector_SipCallback::~SwigDirector_SipCallback() {
- swig_disconnect_director_self("swigDirectorDisconnect");
-}
-
-
-int SwigDirector_SipCallback::OnDialogEvent(DialogEvent const *e) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jlong je = 0 ;
-
- if (!swig_override[0]) {
- return SipCallback::OnDialogEvent(e);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- *((DialogEvent **)&je) = (DialogEvent *) e;
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[23], swigjobj, je);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_SipCallback::OnStackEvent(StackEvent const *e) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jlong je = 0 ;
-
- if (!swig_override[1]) {
- return SipCallback::OnStackEvent(e);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- *((StackEvent **)&je) = (StackEvent *) e;
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[24], swigjobj, je);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_SipCallback::OnInviteEvent(InviteEvent const *e) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jlong je = 0 ;
-
- if (!swig_override[2]) {
- return SipCallback::OnInviteEvent(e);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- *((InviteEvent **)&je) = (InviteEvent *) e;
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[25], swigjobj, je);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_SipCallback::OnMessagingEvent(MessagingEvent const *e) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jlong je = 0 ;
-
- if (!swig_override[3]) {
- return SipCallback::OnMessagingEvent(e);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- *((MessagingEvent **)&je) = (MessagingEvent *) e;
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[26], swigjobj, je);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_SipCallback::OnOptionsEvent(OptionsEvent const *e) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jlong je = 0 ;
-
- if (!swig_override[4]) {
- return SipCallback::OnOptionsEvent(e);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- *((OptionsEvent **)&je) = (OptionsEvent *) e;
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[27], swigjobj, je);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_SipCallback::OnPublicationEvent(PublicationEvent const *e) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jlong je = 0 ;
-
- if (!swig_override[5]) {
- return SipCallback::OnPublicationEvent(e);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- *((PublicationEvent **)&je) = (PublicationEvent *) e;
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[28], swigjobj, je);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_SipCallback::OnRegistrationEvent(RegistrationEvent const *e) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jlong je = 0 ;
-
- if (!swig_override[6]) {
- return SipCallback::OnRegistrationEvent(e);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- *((RegistrationEvent **)&je) = (RegistrationEvent *) e;
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[29], swigjobj, je);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_SipCallback::OnSubscriptionEvent(SubscriptionEvent const *e) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jlong je = 0 ;
-
- if (!swig_override[7]) {
- return SipCallback::OnSubscriptionEvent(e);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- *((SubscriptionEvent **)&je) = (SubscriptionEvent *) e;
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[30], swigjobj, je);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-void SwigDirector_SipCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
- static struct {
- const char *mname;
- const char *mdesc;
- jmethodID base_methid;
- } methods[] = {
- {
- "OnDialogEvent", "(Lorg/doubango/tinyWRAP/DialogEvent;)I", NULL
- },
- {
- "OnStackEvent", "(Lorg/doubango/tinyWRAP/StackEvent;)I", NULL
- },
- {
- "OnInviteEvent", "(Lorg/doubango/tinyWRAP/InviteEvent;)I", NULL
- },
- {
- "OnMessagingEvent", "(Lorg/doubango/tinyWRAP/MessagingEvent;)I", NULL
- },
- {
- "OnOptionsEvent", "(Lorg/doubango/tinyWRAP/OptionsEvent;)I", NULL
- },
- {
- "OnPublicationEvent", "(Lorg/doubango/tinyWRAP/PublicationEvent;)I", NULL
- },
- {
- "OnRegistrationEvent", "(Lorg/doubango/tinyWRAP/RegistrationEvent;)I", NULL
- },
- {
- "OnSubscriptionEvent", "(Lorg/doubango/tinyWRAP/SubscriptionEvent;)I", NULL
- }
- };
-
- static jclass baseclass = 0 ;
-
- if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
- if (!baseclass) {
- baseclass = jenv->FindClass("org/doubango/tinyWRAP/SipCallback");
- if (!baseclass) return;
- baseclass = (jclass) jenv->NewGlobalRef(baseclass);
- }
- bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
- for (int i = 0; i < 8; ++i) {
- if (!methods[i].base_methid) {
- methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
- if (!methods[i].base_methid) return;
- }
- swig_override[i] = false;
- if (derived) {
- jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
- swig_override[i] = (methid != methods[i].base_methid);
- jenv->ExceptionClear();
- }
- }
- }
-}
-
-
-SwigDirector_XcapCallback::SwigDirector_XcapCallback(JNIEnv *jenv) : XcapCallback(), Swig::Director(jenv) {
-}
-
-SwigDirector_XcapCallback::~SwigDirector_XcapCallback() {
- swig_disconnect_director_self("swigDirectorDisconnect");
-}
-
-
-int SwigDirector_XcapCallback::onEvent(XcapEvent const *e) const {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jlong je = 0 ;
-
- if (!swig_override[0]) {
- return XcapCallback::onEvent(e);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- *((XcapEvent **)&je) = (XcapEvent *) e;
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[31], swigjobj, je);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-void SwigDirector_XcapCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
- static struct {
- const char *mname;
- const char *mdesc;
- jmethodID base_methid;
- } methods[] = {
- {
- "onEvent", "(Lorg/doubango/tinyWRAP/XcapEvent;)I", NULL
- }
- };
-
- static jclass baseclass = 0 ;
-
- if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
- if (!baseclass) {
- baseclass = jenv->FindClass("org/doubango/tinyWRAP/XcapCallback");
- if (!baseclass) return;
- baseclass = (jclass) jenv->NewGlobalRef(baseclass);
- }
- bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
- for (int i = 0; i < 1; ++i) {
- if (!methods[i].base_methid) {
- methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
- if (!methods[i].base_methid) return;
- }
- swig_override[i] = false;
- if (derived) {
- jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
- swig_override[i] = (methid != methods[i].base_methid);
- jenv->ExceptionClear();
- }
- }
- }
-}
-
-
-SwigDirector_MsrpCallback::SwigDirector_MsrpCallback(JNIEnv *jenv) : MsrpCallback(), Swig::Director(jenv) {
-}
-
-SwigDirector_MsrpCallback::~SwigDirector_MsrpCallback() {
- swig_disconnect_director_self("swigDirectorDisconnect");
-}
-
-
-int SwigDirector_MsrpCallback::OnEvent(MsrpEvent const *e) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jlong je = 0 ;
-
- if (!swig_override[0]) {
- return MsrpCallback::OnEvent(e);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- *((MsrpEvent **)&je) = (MsrpEvent *) e;
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[32], swigjobj, je);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-void SwigDirector_MsrpCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
- static struct {
- const char *mname;
- const char *mdesc;
- jmethodID base_methid;
- } methods[] = {
- {
- "OnEvent", "(Lorg/doubango/tinyWRAP/MsrpEvent;)I", NULL
- }
- };
-
- static jclass baseclass = 0 ;
-
- if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
- if (!baseclass) {
- baseclass = jenv->FindClass("org/doubango/tinyWRAP/MsrpCallback");
- if (!baseclass) return;
- baseclass = (jclass) jenv->NewGlobalRef(baseclass);
- }
- bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
- for (int i = 0; i < 1; ++i) {
- if (!methods[i].base_methid) {
- methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
- if (!methods[i].base_methid) return;
- }
- swig_override[i] = false;
- if (derived) {
- jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
- swig_override[i] = (methid != methods[i].base_methid);
- jenv->ExceptionClear();
- }
- }
- }
-}
-
-
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1DDebugCallback(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- DDebugCallback *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (DDebugCallback *)new SwigDirector_DDebugCallback(jenv);
- *(DDebugCallback **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1DDebugCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(DDebugCallback **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_DDebugCallback_1OnDebugInfo(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jint jresult = 0 ;
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(DDebugCallback **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (int)(arg1)->OnDebugInfo((char const *)arg2);
- jresult = (jint)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_DDebugCallback_1OnDebugInfoSwigExplicitDDebugCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jint jresult = 0 ;
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(DDebugCallback **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (int)(arg1)->DDebugCallback::OnDebugInfo((char const *)arg2);
- jresult = (jint)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_DDebugCallback_1OnDebugWarn(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jint jresult = 0 ;
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(DDebugCallback **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (int)(arg1)->OnDebugWarn((char const *)arg2);
- jresult = (jint)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_DDebugCallback_1OnDebugWarnSwigExplicitDDebugCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jint jresult = 0 ;
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(DDebugCallback **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (int)(arg1)->DDebugCallback::OnDebugWarn((char const *)arg2);
- jresult = (jint)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_DDebugCallback_1OnDebugError(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jint jresult = 0 ;
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(DDebugCallback **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (int)(arg1)->OnDebugError((char const *)arg2);
- jresult = (jint)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_DDebugCallback_1OnDebugErrorSwigExplicitDDebugCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jint jresult = 0 ;
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(DDebugCallback **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (int)(arg1)->DDebugCallback::OnDebugError((char const *)arg2);
- jresult = (jint)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_DDebugCallback_1OnDebugFatal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jint jresult = 0 ;
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(DDebugCallback **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (int)(arg1)->OnDebugFatal((char const *)arg2);
- jresult = (jint)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_DDebugCallback_1OnDebugFatalSwigExplicitDDebugCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jint jresult = 0 ;
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(DDebugCallback **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (int)(arg1)->DDebugCallback::OnDebugFatal((char const *)arg2);
- jresult = (jint)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_DDebugCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
- DDebugCallback *obj = *((DDebugCallback **)&objarg);
- (void)jcls;
- SwigDirector_DDebugCallback *director = static_cast<SwigDirector_DDebugCallback *>(obj);
- if (director) {
- director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
- }
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_DDebugCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
- DDebugCallback *obj = *((DDebugCallback **)&objarg);
- SwigDirector_DDebugCallback *director = static_cast<SwigDirector_DDebugCallback *>(obj);
- (void)jcls;
- if (director) {
- director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
- }
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1ActionConfig(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- ActionConfig *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (ActionConfig *)new ActionConfig();
- *(ActionConfig **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1ActionConfig(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- ActionConfig *arg1 = (ActionConfig *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(ActionConfig **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ActionConfig_1addHeader(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
- jboolean jresult = 0 ;
- ActionConfig *arg1 = (ActionConfig *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ActionConfig **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- result = (bool)(arg1)->addHeader((char const *)arg2,(char const *)arg3);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ActionConfig_1setResponseLine(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jshort jarg2, jstring jarg3) {
- jlong jresult = 0 ;
- ActionConfig *arg1 = (ActionConfig *) 0 ;
- short arg2 ;
- char *arg3 = (char *) 0 ;
- ActionConfig *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ActionConfig **)&jarg1;
- arg2 = (short)jarg2;
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- result = (ActionConfig *)(arg1)->setResponseLine(arg2,(char const *)arg3);
- *(ActionConfig **)&jresult = result;
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ActionConfig_1setMediaString(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jstring jarg3, jstring jarg4) {
- jlong jresult = 0 ;
- ActionConfig *arg1 = (ActionConfig *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- ActionConfig *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ActionConfig **)&jarg1;
- arg2 = (twrap_media_type_t)jarg2;
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = 0;
- if (jarg4) {
- arg4 = (char *)jenv->GetStringUTFChars(jarg4, 0);
- if (!arg4) return 0;
- }
- result = (ActionConfig *)(arg1)->setMediaString(arg2,(char const *)arg3,(char const *)arg4);
- *(ActionConfig **)&jresult = result;
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- if (arg4) jenv->ReleaseStringUTFChars(jarg4, (const char *)arg4);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ActionConfig_1setMediaInt(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jstring jarg3, jint jarg4) {
- jlong jresult = 0 ;
- ActionConfig *arg1 = (ActionConfig *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- int arg4 ;
- ActionConfig *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ActionConfig **)&jarg1;
- arg2 = (twrap_media_type_t)jarg2;
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = (int)jarg4;
- result = (ActionConfig *)(arg1)->setMediaInt(arg2,(char const *)arg3,arg4);
- *(ActionConfig **)&jresult = result;
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1MediaSessionMgr(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(MediaSessionMgr **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaSessionMgr_1sessionSetInt32(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jstring jarg3, jint jarg4) {
- jboolean jresult = 0 ;
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- int32_t arg4 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MediaSessionMgr **)&jarg1;
- arg2 = (twrap_media_type_t)jarg2;
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = (int32_t)jarg4;
- result = (bool)(arg1)->sessionSetInt32(arg2,(char const *)arg3,arg4);
- jresult = (jboolean)result;
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaSessionMgr_1consumerSetInt32(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jstring jarg3, jint jarg4) {
- jboolean jresult = 0 ;
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- int32_t arg4 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MediaSessionMgr **)&jarg1;
- arg2 = (twrap_media_type_t)jarg2;
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = (int32_t)jarg4;
- result = (bool)(arg1)->consumerSetInt32(arg2,(char const *)arg3,arg4);
- jresult = (jboolean)result;
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaSessionMgr_1consumerSetInt64(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jstring jarg3, jlong jarg4) {
- jboolean jresult = 0 ;
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- int64_t arg4 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MediaSessionMgr **)&jarg1;
- arg2 = (twrap_media_type_t)jarg2;
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = (int64_t)jarg4;
- result = (bool)(arg1)->consumerSetInt64(arg2,(char const *)arg3,arg4);
- jresult = (jboolean)result;
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaSessionMgr_1producerSetInt32(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jstring jarg3, jint jarg4) {
- jboolean jresult = 0 ;
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- int32_t arg4 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MediaSessionMgr **)&jarg1;
- arg2 = (twrap_media_type_t)jarg2;
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = (int32_t)jarg4;
- result = (bool)(arg1)->producerSetInt32(arg2,(char const *)arg3,arg4);
- jresult = (jboolean)result;
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaSessionMgr_1producerSetInt64(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jstring jarg3, jlong jarg4) {
- jboolean jresult = 0 ;
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- int64_t arg4 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MediaSessionMgr **)&jarg1;
- arg2 = (twrap_media_type_t)jarg2;
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = (int64_t)jarg4;
- result = (bool)(arg1)->producerSetInt64(arg2,(char const *)arg3,arg4);
- jresult = (jboolean)result;
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaSessionMgr_1findProxyPluginConsumer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
- jlong jresult = 0 ;
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- ProxyPlugin *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MediaSessionMgr **)&jarg1;
- arg2 = (twrap_media_type_t)jarg2;
- result = (ProxyPlugin *)(arg1)->findProxyPluginConsumer(arg2);
- *(ProxyPlugin **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaSessionMgr_1findProxyPluginProducer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
- jlong jresult = 0 ;
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- ProxyPlugin *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MediaSessionMgr **)&jarg1;
- arg2 = (twrap_media_type_t)jarg2;
- result = (ProxyPlugin *)(arg1)->findProxyPluginProducer(arg2);
- *(ProxyPlugin **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1MediaContent(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- MediaContent *arg1 = (MediaContent *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(MediaContent **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaContent_1getType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jstring jresult = 0 ;
- MediaContent *arg1 = (MediaContent *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MediaContent **)&jarg1;
- result = (char *)(arg1)->getType();
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaContent_1getDataLength(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- MediaContent *arg1 = (MediaContent *) 0 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MediaContent **)&jarg1;
- result = (unsigned int)(arg1)->getDataLength();
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaContent_1getData(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2, jlong jarg3) {
- jlong jresult = 0 ;
- MediaContent *arg1 = (MediaContent *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MediaContent **)&jarg1;
-
- arg2 = jenv->GetDirectBufferAddress(jarg2);
-
- arg3 = (unsigned int)jarg3;
- result = (unsigned int)(arg1)->getData(arg2,arg3);
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaContent_1parse_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jbyteArray jarg1, jlong jarg2, jstring jarg3) {
- jlong jresult = 0 ;
- void *arg1 = (void *) 0 ;
- unsigned int arg2 ;
- char *arg3 = (char *) 0 ;
- MediaContent *result = 0 ;
-
- (void)jenv;
- (void)jcls;
-
- arg1 = jenv->GetDirectBufferAddress(jarg1);
-
- arg2 = (unsigned int)jarg2;
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- result = (MediaContent *)MediaContent::parse((void const *)arg1,arg2,(char const *)arg3);
- *(MediaContent **)&jresult = result;
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaContent_1parse_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jbyteArray jarg1, jlong jarg2) {
- jlong jresult = 0 ;
- void *arg1 = (void *) 0 ;
- unsigned int arg2 ;
- MediaContentCPIM *result = 0 ;
-
- (void)jenv;
- (void)jcls;
-
- arg1 = jenv->GetDirectBufferAddress(jarg1);
-
- arg2 = (unsigned int)jarg2;
- result = (MediaContentCPIM *)MediaContent::parse((void const *)arg1,arg2);
- *(MediaContentCPIM **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaContent_1getPayloadLength(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- MediaContent *arg1 = (MediaContent *) 0 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MediaContent **)&jarg1;
- result = (unsigned int)(arg1)->getPayloadLength();
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaContent_1getPayload(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2, jlong jarg3) {
- jlong jresult = 0 ;
- MediaContent *arg1 = (MediaContent *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MediaContent **)&jarg1;
-
- arg2 = jenv->GetDirectBufferAddress(jarg2);
-
- arg3 = (unsigned int)jarg3;
- result = (unsigned int)(arg1)->getPayload(arg2,arg3);
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1MediaContentCPIM(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- MediaContentCPIM *arg1 = (MediaContentCPIM *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(MediaContentCPIM **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaContentCPIM_1getPayloadLength(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- MediaContentCPIM *arg1 = (MediaContentCPIM *) 0 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MediaContentCPIM **)&jarg1;
- result = (unsigned int)(arg1)->getPayloadLength();
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaContentCPIM_1getPayload(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2, jlong jarg3) {
- jlong jresult = 0 ;
- MediaContentCPIM *arg1 = (MediaContentCPIM *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MediaContentCPIM **)&jarg1;
-
- arg2 = jenv->GetDirectBufferAddress(jarg2);
-
- arg3 = (unsigned int)jarg3;
- result = (unsigned int)(arg1)->getPayload(arg2,arg3);
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaContentCPIM_1getHeaderValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jstring jresult = 0 ;
- MediaContentCPIM *arg1 = (MediaContentCPIM *) 0 ;
- char *arg2 = (char *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MediaContentCPIM **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (char *)(arg1)->getHeaderValue((char const *)arg2);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1SipUri(JNIEnv *jenv, jclass jcls, jstring jarg1) {
- jlong jresult = 0 ;
- char *arg1 = (char *) 0 ;
- SipUri *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = 0;
- if (jarg1) {
- arg1 = (char *)jenv->GetStringUTFChars(jarg1, 0);
- if (!arg1) return 0;
- }
- result = (SipUri *)new SipUri((char const *)arg1);
- *(SipUri **)&jresult = result;
- if (arg1) jenv->ReleaseStringUTFChars(jarg1, (const char *)arg1);
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1SipUri(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- SipUri *arg1 = (SipUri *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(SipUri **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipUri_1isValid_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jstring jarg1) {
- jboolean jresult = 0 ;
- char *arg1 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- arg1 = 0;
- if (jarg1) {
- arg1 = (char *)jenv->GetStringUTFChars(jarg1, 0);
- if (!arg1) return 0;
- }
- result = (bool)SipUri::isValid((char const *)arg1);
- jresult = (jboolean)result;
- if (arg1) jenv->ReleaseStringUTFChars(jarg1, (const char *)arg1);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipUri_1isValid_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- SipUri *arg1 = (SipUri *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipUri **)&jarg1;
- result = (bool)(arg1)->isValid();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipUri_1getScheme(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jstring jresult = 0 ;
- SipUri *arg1 = (SipUri *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipUri **)&jarg1;
- result = (char *)(arg1)->getScheme();
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipUri_1getHost(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jstring jresult = 0 ;
- SipUri *arg1 = (SipUri *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipUri **)&jarg1;
- result = (char *)(arg1)->getHost();
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipUri_1getPort(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- SipUri *arg1 = (SipUri *) 0 ;
- unsigned short result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipUri **)&jarg1;
- result = (unsigned short)(arg1)->getPort();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipUri_1getUserName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jstring jresult = 0 ;
- SipUri *arg1 = (SipUri *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipUri **)&jarg1;
- result = (char *)(arg1)->getUserName();
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipUri_1getPassword(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jstring jresult = 0 ;
- SipUri *arg1 = (SipUri *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipUri **)&jarg1;
- result = (char *)(arg1)->getPassword();
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipUri_1getDisplayName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jstring jresult = 0 ;
- SipUri *arg1 = (SipUri *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipUri **)&jarg1;
- result = (char *)(arg1)->getDisplayName();
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipUri_1getParamValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jstring jresult = 0 ;
- SipUri *arg1 = (SipUri *) 0 ;
- char *arg2 = (char *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipUri **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (char *)(arg1)->getParamValue((char const *)arg2);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1SdpMessage(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- SdpMessage *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (SdpMessage *)new SdpMessage();
- *(SdpMessage **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1SdpMessage(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- SdpMessage *arg1 = (SdpMessage *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(SdpMessage **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SdpMessage_1getSdpHeaderValue_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jchar jarg3, jlong jarg4) {
- jstring jresult = 0 ;
- SdpMessage *arg1 = (SdpMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char arg3 ;
- unsigned int arg4 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SdpMessage **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = (char)jarg3;
- arg4 = (unsigned int)jarg4;
- result = (char *)(arg1)->getSdpHeaderValue((char const *)arg2,arg3,arg4);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SdpMessage_1getSdpHeaderValue_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jchar jarg3) {
- jstring jresult = 0 ;
- SdpMessage *arg1 = (SdpMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char arg3 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SdpMessage **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = (char)jarg3;
- result = (char *)(arg1)->getSdpHeaderValue((char const *)arg2,arg3);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SdpMessage_1getSdpHeaderAValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
- jstring jresult = 0 ;
- SdpMessage *arg1 = (SdpMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SdpMessage **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- result = (char *)(arg1)->getSdpHeaderAValue((char const *)arg2,(char const *)arg3);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1SipMessage(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- SipMessage *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (SipMessage *)new SipMessage();
- *(SipMessage **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1SipMessage(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- SipMessage *arg1 = (SipMessage *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(SipMessage **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipMessage_1getSipHeaderValue_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jlong jarg3) {
- jstring jresult = 0 ;
- SipMessage *arg1 = (SipMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned int arg3 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipMessage **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = (unsigned int)jarg3;
- result = (char *)(arg1)->getSipHeaderValue((char const *)arg2,arg3);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipMessage_1getSipHeaderValue_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jstring jresult = 0 ;
- SipMessage *arg1 = (SipMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipMessage **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (char *)(arg1)->getSipHeaderValue((char const *)arg2);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipMessage_1getSipHeaderParamValue_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3, jlong jarg4) {
- jstring jresult = 0 ;
- SipMessage *arg1 = (SipMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- unsigned int arg4 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipMessage **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = (unsigned int)jarg4;
- result = (char *)(arg1)->getSipHeaderParamValue((char const *)arg2,(char const *)arg3,arg4);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipMessage_1getSipHeaderParamValue_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
- jstring jresult = 0 ;
- SipMessage *arg1 = (SipMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipMessage **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- result = (char *)(arg1)->getSipHeaderParamValue((char const *)arg2,(char const *)arg3);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipMessage_1getSipContentLength(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- SipMessage *arg1 = (SipMessage *) 0 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipMessage **)&jarg1;
- result = (unsigned int)(arg1)->getSipContentLength();
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipMessage_1getSipContent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2, jlong jarg3) {
- jlong jresult = 0 ;
- SipMessage *arg1 = (SipMessage *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipMessage **)&jarg1;
-
- arg2 = jenv->GetDirectBufferAddress(jarg2);
-
- arg3 = (unsigned int)jarg3;
- result = (unsigned int)(arg1)->getSipContent(arg2,arg3);
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipMessage_1getSdpMessage(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- SipMessage *arg1 = (SipMessage *) 0 ;
- SdpMessage *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipMessage **)&jarg1;
- result = (SdpMessage *)(arg1)->getSdpMessage();
- *(SdpMessage **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1SipEvent(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- SipEvent *arg1 = (SipEvent *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(SipEvent **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jshort JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipEvent_1getCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jshort jresult = 0 ;
- SipEvent *arg1 = (SipEvent *) 0 ;
- short result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipEvent **)&jarg1;
- result = (short)((SipEvent const *)arg1)->getCode();
- jresult = (jshort)result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipEvent_1getPhrase(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jstring jresult = 0 ;
- SipEvent *arg1 = (SipEvent *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipEvent **)&jarg1;
- result = (char *)((SipEvent const *)arg1)->getPhrase();
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipEvent_1getBaseSession(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- SipEvent *arg1 = (SipEvent *) 0 ;
- SipSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipEvent **)&jarg1;
- result = (SipSession *)((SipEvent const *)arg1)->getBaseSession();
- *(SipSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipEvent_1getSipMessage(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- SipEvent *arg1 = (SipEvent *) 0 ;
- SipMessage *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipEvent **)&jarg1;
- result = (SipMessage *)((SipEvent const *)arg1)->getSipMessage();
- *(SipMessage **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1DialogEvent(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- DialogEvent *arg1 = (DialogEvent *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(DialogEvent **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1StackEvent(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- StackEvent *arg1 = (StackEvent *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(StackEvent **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1InviteEvent(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- InviteEvent *arg1 = (InviteEvent *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(InviteEvent **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_InviteEvent_1getType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- InviteEvent *arg1 = (InviteEvent *) 0 ;
- tsip_invite_event_type_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(InviteEvent **)&jarg1;
- result = (tsip_invite_event_type_t)((InviteEvent const *)arg1)->getType();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_InviteEvent_1getMediaType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- InviteEvent *arg1 = (InviteEvent *) 0 ;
- twrap_media_type_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(InviteEvent **)&jarg1;
- result = (twrap_media_type_t)(arg1)->getMediaType();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_InviteEvent_1getSession(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- InviteEvent *arg1 = (InviteEvent *) 0 ;
- InviteSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(InviteEvent **)&jarg1;
- result = (InviteSession *)((InviteEvent const *)arg1)->getSession();
- *(InviteSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_InviteEvent_1takeCallSessionOwnership(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- InviteEvent *arg1 = (InviteEvent *) 0 ;
- CallSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(InviteEvent **)&jarg1;
- result = (CallSession *)((InviteEvent const *)arg1)->takeCallSessionOwnership();
- *(CallSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_InviteEvent_1takeMsrpSessionOwnership(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- InviteEvent *arg1 = (InviteEvent *) 0 ;
- MsrpSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(InviteEvent **)&jarg1;
- result = (MsrpSession *)((InviteEvent const *)arg1)->takeMsrpSessionOwnership();
- *(MsrpSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1MessagingEvent(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- MessagingEvent *arg1 = (MessagingEvent *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(MessagingEvent **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MessagingEvent_1getType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- MessagingEvent *arg1 = (MessagingEvent *) 0 ;
- tsip_message_event_type_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MessagingEvent **)&jarg1;
- result = (tsip_message_event_type_t)((MessagingEvent const *)arg1)->getType();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MessagingEvent_1getSession(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- MessagingEvent *arg1 = (MessagingEvent *) 0 ;
- MessagingSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MessagingEvent **)&jarg1;
- result = (MessagingSession *)((MessagingEvent const *)arg1)->getSession();
- *(MessagingSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MessagingEvent_1takeSessionOwnership(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- MessagingEvent *arg1 = (MessagingEvent *) 0 ;
- MessagingSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MessagingEvent **)&jarg1;
- result = (MessagingSession *)((MessagingEvent const *)arg1)->takeSessionOwnership();
- *(MessagingSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1OptionsEvent(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- OptionsEvent *arg1 = (OptionsEvent *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(OptionsEvent **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_OptionsEvent_1getType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- OptionsEvent *arg1 = (OptionsEvent *) 0 ;
- tsip_options_event_type_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(OptionsEvent **)&jarg1;
- result = (tsip_options_event_type_t)((OptionsEvent const *)arg1)->getType();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_OptionsEvent_1getSession(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- OptionsEvent *arg1 = (OptionsEvent *) 0 ;
- OptionsSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(OptionsEvent **)&jarg1;
- result = (OptionsSession *)((OptionsEvent const *)arg1)->getSession();
- *(OptionsSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1PublicationEvent(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- PublicationEvent *arg1 = (PublicationEvent *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(PublicationEvent **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_PublicationEvent_1getType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- PublicationEvent *arg1 = (PublicationEvent *) 0 ;
- tsip_publish_event_type_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(PublicationEvent **)&jarg1;
- result = (tsip_publish_event_type_t)((PublicationEvent const *)arg1)->getType();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_PublicationEvent_1getSession(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- PublicationEvent *arg1 = (PublicationEvent *) 0 ;
- PublicationSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(PublicationEvent **)&jarg1;
- result = (PublicationSession *)((PublicationEvent const *)arg1)->getSession();
- *(PublicationSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1RegistrationEvent(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- RegistrationEvent *arg1 = (RegistrationEvent *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(RegistrationEvent **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_RegistrationEvent_1getType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- RegistrationEvent *arg1 = (RegistrationEvent *) 0 ;
- tsip_register_event_type_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(RegistrationEvent **)&jarg1;
- result = (tsip_register_event_type_t)((RegistrationEvent const *)arg1)->getType();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_RegistrationEvent_1getSession(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- RegistrationEvent *arg1 = (RegistrationEvent *) 0 ;
- RegistrationSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(RegistrationEvent **)&jarg1;
- result = (RegistrationSession *)((RegistrationEvent const *)arg1)->getSession();
- *(RegistrationSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_RegistrationEvent_1takeSessionOwnership(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- RegistrationEvent *arg1 = (RegistrationEvent *) 0 ;
- RegistrationSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(RegistrationEvent **)&jarg1;
- result = (RegistrationSession *)((RegistrationEvent const *)arg1)->takeSessionOwnership();
- *(RegistrationSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1SubscriptionEvent(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- SubscriptionEvent *arg1 = (SubscriptionEvent *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(SubscriptionEvent **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SubscriptionEvent_1getType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- SubscriptionEvent *arg1 = (SubscriptionEvent *) 0 ;
- tsip_subscribe_event_type_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SubscriptionEvent **)&jarg1;
- result = (tsip_subscribe_event_type_t)((SubscriptionEvent const *)arg1)->getType();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SubscriptionEvent_1getSession(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- SubscriptionEvent *arg1 = (SubscriptionEvent *) 0 ;
- SubscriptionSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SubscriptionEvent **)&jarg1;
- result = (SubscriptionSession *)((SubscriptionEvent const *)arg1)->getSession();
- *(SubscriptionSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1SipSession(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- SipSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- result = (SipSession *)new SipSession(arg1);
- *(SipSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1SipSession(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- SipSession *arg1 = (SipSession *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(SipSession **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipSession_1haveOwnership(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- SipSession *arg1 = (SipSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipSession **)&jarg1;
- result = (bool)(arg1)->haveOwnership();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipSession_1addHeader(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
- jboolean jresult = 0 ;
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipSession **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- result = (bool)(arg1)->addHeader((char const *)arg2,(char const *)arg3);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipSession_1removeHeader(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipSession **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->removeHeader((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipSession_1addCaps_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
- jboolean jresult = 0 ;
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipSession **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- result = (bool)(arg1)->addCaps((char const *)arg2,(char const *)arg3);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipSession_1addCaps_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipSession **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->addCaps((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipSession_1removeCaps(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipSession **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->removeCaps((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipSession_1setExpires(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
- jboolean jresult = 0 ;
- SipSession *arg1 = (SipSession *) 0 ;
- unsigned int arg2 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipSession **)&jarg1;
- arg2 = (unsigned int)jarg2;
- result = (bool)(arg1)->setExpires(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipSession_1setFromUri(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipSession **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->setFromUri((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipSession_1setToUri(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipSession **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->setToUri((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipSession_1setSilentHangup(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
- jboolean jresult = 0 ;
- SipSession *arg1 = (SipSession *) 0 ;
- bool arg2 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipSession **)&jarg1;
- arg2 = jarg2 ? true : false;
- result = (bool)(arg1)->setSilentHangup(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipSession_1addSigCompCompartment(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipSession **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->addSigCompCompartment((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipSession_1removeSigCompCompartment(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- SipSession *arg1 = (SipSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipSession **)&jarg1;
- result = (bool)(arg1)->removeSigCompCompartment();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipSession_1getId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- SipSession *arg1 = (SipSession *) 0 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipSession **)&jarg1;
- result = (unsigned int)(arg1)->getId();
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1InviteSession(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- InviteSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- result = (InviteSession *)new InviteSession(arg1);
- *(InviteSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1InviteSession(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- InviteSession *arg1 = (InviteSession *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(InviteSession **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_InviteSession_1accept_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jboolean jresult = 0 ;
- InviteSession *arg1 = (InviteSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(InviteSession **)&jarg1;
- arg2 = *(ActionConfig **)&jarg2;
- result = (bool)(arg1)->accept(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_InviteSession_1accept_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- InviteSession *arg1 = (InviteSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(InviteSession **)&jarg1;
- result = (bool)(arg1)->accept();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_InviteSession_1hangup_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jboolean jresult = 0 ;
- InviteSession *arg1 = (InviteSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(InviteSession **)&jarg1;
- arg2 = *(ActionConfig **)&jarg2;
- result = (bool)(arg1)->hangup(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_InviteSession_1hangup_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- InviteSession *arg1 = (InviteSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(InviteSession **)&jarg1;
- result = (bool)(arg1)->hangup();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_InviteSession_1reject_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jboolean jresult = 0 ;
- InviteSession *arg1 = (InviteSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(InviteSession **)&jarg1;
- arg2 = *(ActionConfig **)&jarg2;
- result = (bool)(arg1)->reject(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_InviteSession_1reject_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- InviteSession *arg1 = (InviteSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(InviteSession **)&jarg1;
- result = (bool)(arg1)->reject();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_InviteSession_1getMediaMgr(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- InviteSession *arg1 = (InviteSession *) 0 ;
- MediaSessionMgr *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(InviteSession **)&jarg1;
- result = (MediaSessionMgr *)(arg1)->getMediaMgr();
- *(MediaSessionMgr **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1CallSession(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- CallSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- result = (CallSession *)new CallSession(arg1);
- *(CallSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1CallSession(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- CallSession *arg1 = (CallSession *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(CallSession **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_CallSession_1callAudio_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jlong jarg3, jobject jarg3_) {
- jboolean jresult = 0 ;
- CallSession *arg1 = (CallSession *) 0 ;
- char *arg2 = (char *) 0 ;
- ActionConfig *arg3 = (ActionConfig *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg3_;
- arg1 = *(CallSession **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = *(ActionConfig **)&jarg3;
- result = (bool)(arg1)->callAudio((char const *)arg2,arg3);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_CallSession_1callAudio_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- CallSession *arg1 = (CallSession *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(CallSession **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->callAudio((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_CallSession_1callAudioVideo_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jlong jarg3, jobject jarg3_) {
- jboolean jresult = 0 ;
- CallSession *arg1 = (CallSession *) 0 ;
- char *arg2 = (char *) 0 ;
- ActionConfig *arg3 = (ActionConfig *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg3_;
- arg1 = *(CallSession **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = *(ActionConfig **)&jarg3;
- result = (bool)(arg1)->callAudioVideo((char const *)arg2,arg3);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_CallSession_1callAudioVideo_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- CallSession *arg1 = (CallSession *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(CallSession **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->callAudioVideo((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_CallSession_1callVideo_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jlong jarg3, jobject jarg3_) {
- jboolean jresult = 0 ;
- CallSession *arg1 = (CallSession *) 0 ;
- char *arg2 = (char *) 0 ;
- ActionConfig *arg3 = (ActionConfig *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg3_;
- arg1 = *(CallSession **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = *(ActionConfig **)&jarg3;
- result = (bool)(arg1)->callVideo((char const *)arg2,arg3);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_CallSession_1callVideo_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- CallSession *arg1 = (CallSession *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(CallSession **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->callVideo((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_CallSession_1setSessionTimer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jstring jarg3) {
- jboolean jresult = 0 ;
- CallSession *arg1 = (CallSession *) 0 ;
- unsigned int arg2 ;
- char *arg3 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(CallSession **)&jarg1;
- arg2 = (unsigned int)jarg2;
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- result = (bool)(arg1)->setSessionTimer(arg2,(char const *)arg3);
- jresult = (jboolean)result;
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_CallSession_1set100rel(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
- jboolean jresult = 0 ;
- CallSession *arg1 = (CallSession *) 0 ;
- bool arg2 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(CallSession **)&jarg1;
- arg2 = jarg2 ? true : false;
- result = (bool)(arg1)->set100rel(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_CallSession_1setQoS(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
- jboolean jresult = 0 ;
- CallSession *arg1 = (CallSession *) 0 ;
- tmedia_qos_stype_t arg2 ;
- tmedia_qos_strength_t arg3 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(CallSession **)&jarg1;
- arg2 = (tmedia_qos_stype_t)jarg2;
- arg3 = (tmedia_qos_strength_t)jarg3;
- result = (bool)(arg1)->setQoS(arg2,arg3);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_CallSession_1hold_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jboolean jresult = 0 ;
- CallSession *arg1 = (CallSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(CallSession **)&jarg1;
- arg2 = *(ActionConfig **)&jarg2;
- result = (bool)(arg1)->hold(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_CallSession_1hold_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- CallSession *arg1 = (CallSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(CallSession **)&jarg1;
- result = (bool)(arg1)->hold();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_CallSession_1resume_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jboolean jresult = 0 ;
- CallSession *arg1 = (CallSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(CallSession **)&jarg1;
- arg2 = *(ActionConfig **)&jarg2;
- result = (bool)(arg1)->resume(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_CallSession_1resume_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- CallSession *arg1 = (CallSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(CallSession **)&jarg1;
- result = (bool)(arg1)->resume();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_CallSession_1sendDTMF(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
- jboolean jresult = 0 ;
- CallSession *arg1 = (CallSession *) 0 ;
- int arg2 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(CallSession **)&jarg1;
- arg2 = (int)jarg2;
- result = (bool)(arg1)->sendDTMF(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1MsrpSession(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jlong jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- MsrpCallback *arg2 = (MsrpCallback *) 0 ;
- MsrpSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = *(MsrpCallback **)&jarg2;
- result = (MsrpSession *)new MsrpSession(arg1,arg2);
- *(MsrpSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1MsrpSession(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- MsrpSession *arg1 = (MsrpSession *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(MsrpSession **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpSession_1setCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jboolean jresult = 0 ;
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- MsrpCallback *arg2 = (MsrpCallback *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(MsrpSession **)&jarg1;
- arg2 = *(MsrpCallback **)&jarg2;
- result = (bool)(arg1)->setCallback(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpSession_1callMsrp_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jlong jarg3, jobject jarg3_) {
- jboolean jresult = 0 ;
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- char *arg2 = (char *) 0 ;
- ActionConfig *arg3 = (ActionConfig *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg3_;
- arg1 = *(MsrpSession **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = *(ActionConfig **)&jarg3;
- result = (bool)(arg1)->callMsrp((char const *)arg2,arg3);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpSession_1callMsrp_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MsrpSession **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->callMsrp((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpSession_1sendMessage_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2, jlong jarg3, jlong jarg4, jobject jarg4_) {
- jboolean jresult = 0 ;
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- ActionConfig *arg4 = (ActionConfig *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg4_;
- arg1 = *(MsrpSession **)&jarg1;
-
- arg2 = jenv->GetDirectBufferAddress(jarg2);
-
- arg3 = (unsigned int)jarg3;
- arg4 = *(ActionConfig **)&jarg4;
- result = (bool)(arg1)->sendMessage((void const *)arg2,arg3,arg4);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpSession_1sendMessage_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2, jlong jarg3) {
- jboolean jresult = 0 ;
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MsrpSession **)&jarg1;
-
- arg2 = jenv->GetDirectBufferAddress(jarg2);
-
- arg3 = (unsigned int)jarg3;
- result = (bool)(arg1)->sendMessage((void const *)arg2,arg3);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpSession_1sendFile_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jboolean jresult = 0 ;
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(MsrpSession **)&jarg1;
- arg2 = *(ActionConfig **)&jarg2;
- result = (bool)(arg1)->sendFile(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpSession_1sendFile_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MsrpSession **)&jarg1;
- result = (bool)(arg1)->sendFile();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1MessagingSession(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- MessagingSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- result = (MessagingSession *)new MessagingSession(arg1);
- *(MessagingSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1MessagingSession(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- MessagingSession *arg1 = (MessagingSession *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(MessagingSession **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MessagingSession_1send(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2, jlong jarg3) {
- jboolean jresult = 0 ;
- MessagingSession *arg1 = (MessagingSession *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MessagingSession **)&jarg1;
-
- arg2 = jenv->GetDirectBufferAddress(jarg2);
-
- arg3 = (unsigned int)jarg3;
- result = (bool)(arg1)->send((void const *)arg2,arg3);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MessagingSession_1accept(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- MessagingSession *arg1 = (MessagingSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MessagingSession **)&jarg1;
- result = (bool)(arg1)->accept();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MessagingSession_1reject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- MessagingSession *arg1 = (MessagingSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MessagingSession **)&jarg1;
- result = (bool)(arg1)->reject();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1OptionsSession(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- OptionsSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- result = (OptionsSession *)new OptionsSession(arg1);
- *(OptionsSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1OptionsSession(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- OptionsSession *arg1 = (OptionsSession *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(OptionsSession **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_OptionsSession_1send(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- OptionsSession *arg1 = (OptionsSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(OptionsSession **)&jarg1;
- result = (bool)(arg1)->send();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1PublicationSession(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- PublicationSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- result = (PublicationSession *)new PublicationSession(arg1);
- *(PublicationSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1PublicationSession(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- PublicationSession *arg1 = (PublicationSession *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(PublicationSession **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_PublicationSession_1publish(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2, jlong jarg3) {
- jboolean jresult = 0 ;
- PublicationSession *arg1 = (PublicationSession *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(PublicationSession **)&jarg1;
-
- arg2 = jenv->GetDirectBufferAddress(jarg2);
-
- arg3 = (unsigned int)jarg3;
- result = (bool)(arg1)->publish((void const *)arg2,arg3);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_PublicationSession_1unPublish(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- PublicationSession *arg1 = (PublicationSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(PublicationSession **)&jarg1;
- result = (bool)(arg1)->unPublish();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1RegistrationSession(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- RegistrationSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- result = (RegistrationSession *)new RegistrationSession(arg1);
- *(RegistrationSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1RegistrationSession(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(RegistrationSession **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_RegistrationSession_1register_1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(RegistrationSession **)&jarg1;
- result = (bool)(arg1)->register_();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_RegistrationSession_1unRegister(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(RegistrationSession **)&jarg1;
- result = (bool)(arg1)->unRegister();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_RegistrationSession_1accept_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jboolean jresult = 0 ;
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(RegistrationSession **)&jarg1;
- arg2 = *(ActionConfig **)&jarg2;
- result = (bool)(arg1)->accept(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_RegistrationSession_1accept_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(RegistrationSession **)&jarg1;
- result = (bool)(arg1)->accept();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_RegistrationSession_1reject_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jboolean jresult = 0 ;
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(RegistrationSession **)&jarg1;
- arg2 = *(ActionConfig **)&jarg2;
- result = (bool)(arg1)->reject(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_RegistrationSession_1reject_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(RegistrationSession **)&jarg1;
- result = (bool)(arg1)->reject();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1SubscriptionSession(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- SubscriptionSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- result = (SubscriptionSession *)new SubscriptionSession(arg1);
- *(SubscriptionSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1SubscriptionSession(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- SubscriptionSession *arg1 = (SubscriptionSession *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(SubscriptionSession **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SubscriptionSession_1subscribe(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- SubscriptionSession *arg1 = (SubscriptionSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SubscriptionSession **)&jarg1;
- result = (bool)(arg1)->subscribe();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SubscriptionSession_1unSubscribe(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- SubscriptionSession *arg1 = (SubscriptionSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SubscriptionSession **)&jarg1;
- result = (bool)(arg1)->unSubscribe();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1ProxyPluginMgr(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- ProxyPluginMgr *arg1 = (ProxyPluginMgr *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(ProxyPluginMgr **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyPluginMgr_1createInstance(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- ProxyPluginMgrCallback *arg1 = (ProxyPluginMgrCallback *) 0 ;
- ProxyPluginMgr *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyPluginMgrCallback **)&jarg1;
- result = (ProxyPluginMgr *)ProxyPluginMgr::createInstance(arg1);
- *(ProxyPluginMgr **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyPluginMgr_1getInstance(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- ProxyPluginMgr *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (ProxyPluginMgr *)ProxyPluginMgr::getInstance();
- *(ProxyPluginMgr **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyPluginMgr_1findAudioConsumer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
- jlong jresult = 0 ;
- ProxyPluginMgr *arg1 = (ProxyPluginMgr *) 0 ;
- uint64_t arg2 ;
- ProxyAudioConsumer *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyPluginMgr **)&jarg1;
- {
- jclass clazz;
- jmethodID mid;
- jbyteArray ba;
- jbyte* bae;
- jsize sz;
- int i;
-
- if (!jarg2) {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "BigInteger null");
- return 0;
- }
- clazz = jenv->GetObjectClass(jarg2);
- mid = jenv->GetMethodID(clazz, "toByteArray", "()[B");
- ba = (jbyteArray)jenv->CallObjectMethod(jarg2, mid);
- bae = jenv->GetByteArrayElements(ba, 0);
- sz = jenv->GetArrayLength(ba);
- arg2 = 0;
- for(i=0; i<sz; i++) {
- arg2 = (arg2 << 8) | (uint64_t)(unsigned char)bae[i];
- }
- jenv->ReleaseByteArrayElements(ba, bae, 0);
- }
- result = (ProxyAudioConsumer *)(arg1)->findAudioConsumer(arg2);
- *(ProxyAudioConsumer **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyPluginMgr_1findVideoConsumer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
- jlong jresult = 0 ;
- ProxyPluginMgr *arg1 = (ProxyPluginMgr *) 0 ;
- uint64_t arg2 ;
- ProxyVideoConsumer *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyPluginMgr **)&jarg1;
- {
- jclass clazz;
- jmethodID mid;
- jbyteArray ba;
- jbyte* bae;
- jsize sz;
- int i;
-
- if (!jarg2) {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "BigInteger null");
- return 0;
- }
- clazz = jenv->GetObjectClass(jarg2);
- mid = jenv->GetMethodID(clazz, "toByteArray", "()[B");
- ba = (jbyteArray)jenv->CallObjectMethod(jarg2, mid);
- bae = jenv->GetByteArrayElements(ba, 0);
- sz = jenv->GetArrayLength(ba);
- arg2 = 0;
- for(i=0; i<sz; i++) {
- arg2 = (arg2 << 8) | (uint64_t)(unsigned char)bae[i];
- }
- jenv->ReleaseByteArrayElements(ba, bae, 0);
- }
- result = (ProxyVideoConsumer *)(arg1)->findVideoConsumer(arg2);
- *(ProxyVideoConsumer **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyPluginMgr_1findAudioProducer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
- jlong jresult = 0 ;
- ProxyPluginMgr *arg1 = (ProxyPluginMgr *) 0 ;
- uint64_t arg2 ;
- ProxyAudioProducer *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyPluginMgr **)&jarg1;
- {
- jclass clazz;
- jmethodID mid;
- jbyteArray ba;
- jbyte* bae;
- jsize sz;
- int i;
-
- if (!jarg2) {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "BigInteger null");
- return 0;
- }
- clazz = jenv->GetObjectClass(jarg2);
- mid = jenv->GetMethodID(clazz, "toByteArray", "()[B");
- ba = (jbyteArray)jenv->CallObjectMethod(jarg2, mid);
- bae = jenv->GetByteArrayElements(ba, 0);
- sz = jenv->GetArrayLength(ba);
- arg2 = 0;
- for(i=0; i<sz; i++) {
- arg2 = (arg2 << 8) | (uint64_t)(unsigned char)bae[i];
- }
- jenv->ReleaseByteArrayElements(ba, bae, 0);
- }
- result = (ProxyAudioProducer *)(arg1)->findAudioProducer(arg2);
- *(ProxyAudioProducer **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyPluginMgr_1findVideoProducer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
- jlong jresult = 0 ;
- ProxyPluginMgr *arg1 = (ProxyPluginMgr *) 0 ;
- uint64_t arg2 ;
- ProxyVideoProducer *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyPluginMgr **)&jarg1;
- {
- jclass clazz;
- jmethodID mid;
- jbyteArray ba;
- jbyte* bae;
- jsize sz;
- int i;
-
- if (!jarg2) {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "BigInteger null");
- return 0;
- }
- clazz = jenv->GetObjectClass(jarg2);
- mid = jenv->GetMethodID(clazz, "toByteArray", "()[B");
- ba = (jbyteArray)jenv->CallObjectMethod(jarg2, mid);
- bae = jenv->GetByteArrayElements(ba, 0);
- sz = jenv->GetArrayLength(ba);
- arg2 = 0;
- for(i=0; i<sz; i++) {
- arg2 = (arg2 << 8) | (uint64_t)(unsigned char)bae[i];
- }
- jenv->ReleaseByteArrayElements(ba, bae, 0);
- }
- result = (ProxyVideoProducer *)(arg1)->findVideoProducer(arg2);
- *(ProxyVideoProducer **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1ProxyPluginMgrCallback(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- ProxyPluginMgrCallback *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (ProxyPluginMgrCallback *)new SwigDirector_ProxyPluginMgrCallback(jenv);
- *(ProxyPluginMgrCallback **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1ProxyPluginMgrCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- ProxyPluginMgrCallback *arg1 = (ProxyPluginMgrCallback *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(ProxyPluginMgrCallback **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyPluginMgrCallback_1OnPluginCreated(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jint jarg3) {
- jint jresult = 0 ;
- ProxyPluginMgrCallback *arg1 = (ProxyPluginMgrCallback *) 0 ;
- uint64_t arg2 ;
- enum twrap_proxy_plugin_type_e arg3 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyPluginMgrCallback **)&jarg1;
- {
- jclass clazz;
- jmethodID mid;
- jbyteArray ba;
- jbyte* bae;
- jsize sz;
- int i;
-
- if (!jarg2) {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "BigInteger null");
- return 0;
- }
- clazz = jenv->GetObjectClass(jarg2);
- mid = jenv->GetMethodID(clazz, "toByteArray", "()[B");
- ba = (jbyteArray)jenv->CallObjectMethod(jarg2, mid);
- bae = jenv->GetByteArrayElements(ba, 0);
- sz = jenv->GetArrayLength(ba);
- arg2 = 0;
- for(i=0; i<sz; i++) {
- arg2 = (arg2 << 8) | (uint64_t)(unsigned char)bae[i];
- }
- jenv->ReleaseByteArrayElements(ba, bae, 0);
- }
- arg3 = (enum twrap_proxy_plugin_type_e)jarg3;
- result = (int)(arg1)->OnPluginCreated(arg2,arg3);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyPluginMgrCallback_1OnPluginCreatedSwigExplicitProxyPluginMgrCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jint jarg3) {
- jint jresult = 0 ;
- ProxyPluginMgrCallback *arg1 = (ProxyPluginMgrCallback *) 0 ;
- uint64_t arg2 ;
- enum twrap_proxy_plugin_type_e arg3 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyPluginMgrCallback **)&jarg1;
- {
- jclass clazz;
- jmethodID mid;
- jbyteArray ba;
- jbyte* bae;
- jsize sz;
- int i;
-
- if (!jarg2) {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "BigInteger null");
- return 0;
- }
- clazz = jenv->GetObjectClass(jarg2);
- mid = jenv->GetMethodID(clazz, "toByteArray", "()[B");
- ba = (jbyteArray)jenv->CallObjectMethod(jarg2, mid);
- bae = jenv->GetByteArrayElements(ba, 0);
- sz = jenv->GetArrayLength(ba);
- arg2 = 0;
- for(i=0; i<sz; i++) {
- arg2 = (arg2 << 8) | (uint64_t)(unsigned char)bae[i];
- }
- jenv->ReleaseByteArrayElements(ba, bae, 0);
- }
- arg3 = (enum twrap_proxy_plugin_type_e)jarg3;
- result = (int)(arg1)->ProxyPluginMgrCallback::OnPluginCreated(arg2,arg3);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyPluginMgrCallback_1OnPluginDestroyed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jint jarg3) {
- jint jresult = 0 ;
- ProxyPluginMgrCallback *arg1 = (ProxyPluginMgrCallback *) 0 ;
- uint64_t arg2 ;
- enum twrap_proxy_plugin_type_e arg3 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyPluginMgrCallback **)&jarg1;
- {
- jclass clazz;
- jmethodID mid;
- jbyteArray ba;
- jbyte* bae;
- jsize sz;
- int i;
-
- if (!jarg2) {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "BigInteger null");
- return 0;
- }
- clazz = jenv->GetObjectClass(jarg2);
- mid = jenv->GetMethodID(clazz, "toByteArray", "()[B");
- ba = (jbyteArray)jenv->CallObjectMethod(jarg2, mid);
- bae = jenv->GetByteArrayElements(ba, 0);
- sz = jenv->GetArrayLength(ba);
- arg2 = 0;
- for(i=0; i<sz; i++) {
- arg2 = (arg2 << 8) | (uint64_t)(unsigned char)bae[i];
- }
- jenv->ReleaseByteArrayElements(ba, bae, 0);
- }
- arg3 = (enum twrap_proxy_plugin_type_e)jarg3;
- result = (int)(arg1)->OnPluginDestroyed(arg2,arg3);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyPluginMgrCallback_1OnPluginDestroyedSwigExplicitProxyPluginMgrCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jint jarg3) {
- jint jresult = 0 ;
- ProxyPluginMgrCallback *arg1 = (ProxyPluginMgrCallback *) 0 ;
- uint64_t arg2 ;
- enum twrap_proxy_plugin_type_e arg3 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyPluginMgrCallback **)&jarg1;
- {
- jclass clazz;
- jmethodID mid;
- jbyteArray ba;
- jbyte* bae;
- jsize sz;
- int i;
-
- if (!jarg2) {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "BigInteger null");
- return 0;
- }
- clazz = jenv->GetObjectClass(jarg2);
- mid = jenv->GetMethodID(clazz, "toByteArray", "()[B");
- ba = (jbyteArray)jenv->CallObjectMethod(jarg2, mid);
- bae = jenv->GetByteArrayElements(ba, 0);
- sz = jenv->GetArrayLength(ba);
- arg2 = 0;
- for(i=0; i<sz; i++) {
- arg2 = (arg2 << 8) | (uint64_t)(unsigned char)bae[i];
- }
- jenv->ReleaseByteArrayElements(ba, bae, 0);
- }
- arg3 = (enum twrap_proxy_plugin_type_e)jarg3;
- result = (int)(arg1)->ProxyPluginMgrCallback::OnPluginDestroyed(arg2,arg3);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyPluginMgrCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
- ProxyPluginMgrCallback *obj = *((ProxyPluginMgrCallback **)&objarg);
- (void)jcls;
- SwigDirector_ProxyPluginMgrCallback *director = static_cast<SwigDirector_ProxyPluginMgrCallback *>(obj);
- if (director) {
- director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
- }
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyPluginMgrCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
- ProxyPluginMgrCallback *obj = *((ProxyPluginMgrCallback **)&objarg);
- SwigDirector_ProxyPluginMgrCallback *director = static_cast<SwigDirector_ProxyPluginMgrCallback *>(obj);
- (void)jcls;
- if (director) {
- director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
- }
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1ProxyPlugin(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- ProxyPlugin *arg1 = (ProxyPlugin *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(ProxyPlugin **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyPlugin_1getType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyPlugin *arg1 = (ProxyPlugin *) 0 ;
- twrap_proxy_plugin_type_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyPlugin **)&jarg1;
- result = (twrap_proxy_plugin_type_t)((ProxyPlugin const *)arg1)->getType();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jobject JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyPlugin_1getId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jobject jresult = 0 ;
- ProxyPlugin *arg1 = (ProxyPlugin *) 0 ;
- uint64_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyPlugin **)&jarg1;
- result = (uint64_t)((ProxyPlugin const *)arg1)->getId();
- {
- jbyteArray ba = jenv->NewByteArray(9);
- jbyte* bae = jenv->GetByteArrayElements(ba, 0);
- jclass clazz = jenv->FindClass("java/math/BigInteger");
- jmethodID mid = jenv->GetMethodID(clazz, "<init>", "([B)V");
- jobject bigint;
- int i;
-
- bae[0] = 0;
- for(i=1; i<9; i++ ) {
- bae[i] = (jbyte)(result>>8*(8-i));
- }
-
- jenv->ReleaseByteArrayElements(ba, bae, 0);
- bigint = jenv->NewObject(clazz, mid, ba);
- jresult = bigint;
- }
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1ProxyAudioConsumerCallback(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- ProxyAudioConsumerCallback *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (ProxyAudioConsumerCallback *)new SwigDirector_ProxyAudioConsumerCallback(jenv);
- *(ProxyAudioConsumerCallback **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1ProxyAudioConsumerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(ProxyAudioConsumerCallback **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioConsumerCallback_1prepare(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jint jarg4) {
- jint jresult = 0 ;
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioConsumerCallback **)&jarg1;
- arg2 = (int)jarg2;
- arg3 = (int)jarg3;
- arg4 = (int)jarg4;
- result = (int)(arg1)->prepare(arg2,arg3,arg4);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioConsumerCallback_1prepareSwigExplicitProxyAudioConsumerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jint jarg4) {
- jint jresult = 0 ;
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioConsumerCallback **)&jarg1;
- arg2 = (int)jarg2;
- arg3 = (int)jarg3;
- arg4 = (int)jarg4;
- result = (int)(arg1)->ProxyAudioConsumerCallback::prepare(arg2,arg3,arg4);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioConsumerCallback_1start(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioConsumerCallback **)&jarg1;
- result = (int)(arg1)->start();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioConsumerCallback_1startSwigExplicitProxyAudioConsumerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioConsumerCallback **)&jarg1;
- result = (int)(arg1)->ProxyAudioConsumerCallback::start();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioConsumerCallback_1pause(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioConsumerCallback **)&jarg1;
- result = (int)(arg1)->pause();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioConsumerCallback_1pauseSwigExplicitProxyAudioConsumerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioConsumerCallback **)&jarg1;
- result = (int)(arg1)->ProxyAudioConsumerCallback::pause();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioConsumerCallback_1stop(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioConsumerCallback **)&jarg1;
- result = (int)(arg1)->stop();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioConsumerCallback_1stopSwigExplicitProxyAudioConsumerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioConsumerCallback **)&jarg1;
- result = (int)(arg1)->ProxyAudioConsumerCallback::stop();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioConsumerCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
- ProxyAudioConsumerCallback *obj = *((ProxyAudioConsumerCallback **)&objarg);
- (void)jcls;
- SwigDirector_ProxyAudioConsumerCallback *director = static_cast<SwigDirector_ProxyAudioConsumerCallback *>(obj);
- if (director) {
- director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
- }
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioConsumerCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
- ProxyAudioConsumerCallback *obj = *((ProxyAudioConsumerCallback **)&objarg);
- SwigDirector_ProxyAudioConsumerCallback *director = static_cast<SwigDirector_ProxyAudioConsumerCallback *>(obj);
- (void)jcls;
- if (director) {
- director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
- }
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1ProxyAudioConsumer(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(ProxyAudioConsumer **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioConsumer_1pull(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2, jlong jarg3) {
- jlong jresult = 0 ;
- ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioConsumer **)&jarg1;
-
- arg2 = jenv->GetDirectBufferAddress(jarg2);
-
- arg3 = (unsigned int)jarg3;
- result = (unsigned int)(arg1)->pull(arg2,arg3);
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioConsumer_1reset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioConsumer **)&jarg1;
- result = (bool)(arg1)->reset();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioConsumer_1setCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
- ProxyAudioConsumerCallback *arg2 = (ProxyAudioConsumerCallback *) 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(ProxyAudioConsumer **)&jarg1;
- arg2 = *(ProxyAudioConsumerCallback **)&jarg2;
- (arg1)->setCallback(arg2);
-}
-
-
-SWIGEXPORT jobject JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioConsumer_1getMediaSessionId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jobject jresult = 0 ;
- ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
- uint64_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioConsumer **)&jarg1;
- result = (uint64_t)(arg1)->getMediaSessionId();
- {
- jbyteArray ba = jenv->NewByteArray(9);
- jbyte* bae = jenv->GetByteArrayElements(ba, 0);
- jclass clazz = jenv->FindClass("java/math/BigInteger");
- jmethodID mid = jenv->GetMethodID(clazz, "<init>", "([B)V");
- jobject bigint;
- int i;
-
- bae[0] = 0;
- for(i=1; i<9; i++ ) {
- bae[i] = (jbyte)(result>>8*(8-i));
- }
-
- jenv->ReleaseByteArrayElements(ba, bae, 0);
- bigint = jenv->NewObject(clazz, mid, ba);
- jresult = bigint;
- }
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioConsumer_1registerPlugin(JNIEnv *jenv, jclass jcls) {
- jboolean jresult = 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- result = (bool)ProxyAudioConsumer::registerPlugin();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1ProxyVideoConsumerCallback(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- ProxyVideoConsumerCallback *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (ProxyVideoConsumerCallback *)new SwigDirector_ProxyVideoConsumerCallback(jenv);
- *(ProxyVideoConsumerCallback **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1ProxyVideoConsumerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(ProxyVideoConsumerCallback **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoConsumerCallback_1prepare(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jint jarg4) {
- jint jresult = 0 ;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoConsumerCallback **)&jarg1;
- arg2 = (int)jarg2;
- arg3 = (int)jarg3;
- arg4 = (int)jarg4;
- result = (int)(arg1)->prepare(arg2,arg3,arg4);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoConsumerCallback_1prepareSwigExplicitProxyVideoConsumerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jint jarg4) {
- jint jresult = 0 ;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoConsumerCallback **)&jarg1;
- arg2 = (int)jarg2;
- arg3 = (int)jarg3;
- arg4 = (int)jarg4;
- result = (int)(arg1)->ProxyVideoConsumerCallback::prepare(arg2,arg3,arg4);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoConsumerCallback_1consume(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- ProxyVideoFrame *arg2 = (ProxyVideoFrame *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(ProxyVideoConsumerCallback **)&jarg1;
- arg2 = *(ProxyVideoFrame **)&jarg2;
- result = (int)(arg1)->consume((ProxyVideoFrame const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoConsumerCallback_1consumeSwigExplicitProxyVideoConsumerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- ProxyVideoFrame *arg2 = (ProxyVideoFrame *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(ProxyVideoConsumerCallback **)&jarg1;
- arg2 = *(ProxyVideoFrame **)&jarg2;
- result = (int)(arg1)->ProxyVideoConsumerCallback::consume((ProxyVideoFrame const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoConsumerCallback_1start(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoConsumerCallback **)&jarg1;
- result = (int)(arg1)->start();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoConsumerCallback_1startSwigExplicitProxyVideoConsumerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoConsumerCallback **)&jarg1;
- result = (int)(arg1)->ProxyVideoConsumerCallback::start();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoConsumerCallback_1pause(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoConsumerCallback **)&jarg1;
- result = (int)(arg1)->pause();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoConsumerCallback_1pauseSwigExplicitProxyVideoConsumerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoConsumerCallback **)&jarg1;
- result = (int)(arg1)->ProxyVideoConsumerCallback::pause();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoConsumerCallback_1stop(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoConsumerCallback **)&jarg1;
- result = (int)(arg1)->stop();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoConsumerCallback_1stopSwigExplicitProxyVideoConsumerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoConsumerCallback **)&jarg1;
- result = (int)(arg1)->ProxyVideoConsumerCallback::stop();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoConsumerCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
- ProxyVideoConsumerCallback *obj = *((ProxyVideoConsumerCallback **)&objarg);
- (void)jcls;
- SwigDirector_ProxyVideoConsumerCallback *director = static_cast<SwigDirector_ProxyVideoConsumerCallback *>(obj);
- if (director) {
- director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
- }
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoConsumerCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
- ProxyVideoConsumerCallback *obj = *((ProxyVideoConsumerCallback **)&objarg);
- SwigDirector_ProxyVideoConsumerCallback *director = static_cast<SwigDirector_ProxyVideoConsumerCallback *>(obj);
- (void)jcls;
- if (director) {
- director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
- }
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1ProxyVideoConsumer(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- ProxyVideoConsumer *arg1 = (ProxyVideoConsumer *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(ProxyVideoConsumer **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoConsumer_1setDisplaySize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
- jboolean jresult = 0 ;
- ProxyVideoConsumer *arg1 = (ProxyVideoConsumer *) 0 ;
- int arg2 ;
- int arg3 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoConsumer **)&jarg1;
- arg2 = (int)jarg2;
- arg3 = (int)jarg3;
- result = (bool)(arg1)->setDisplaySize(arg2,arg3);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoConsumer_1setCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- ProxyVideoConsumer *arg1 = (ProxyVideoConsumer *) 0 ;
- ProxyVideoConsumerCallback *arg2 = (ProxyVideoConsumerCallback *) 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(ProxyVideoConsumer **)&jarg1;
- arg2 = *(ProxyVideoConsumerCallback **)&jarg2;
- (arg1)->setCallback(arg2);
-}
-
-
-SWIGEXPORT jobject JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoConsumer_1getMediaSessionId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jobject jresult = 0 ;
- ProxyVideoConsumer *arg1 = (ProxyVideoConsumer *) 0 ;
- uint64_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoConsumer **)&jarg1;
- result = (uint64_t)(arg1)->getMediaSessionId();
- {
- jbyteArray ba = jenv->NewByteArray(9);
- jbyte* bae = jenv->GetByteArrayElements(ba, 0);
- jclass clazz = jenv->FindClass("java/math/BigInteger");
- jmethodID mid = jenv->GetMethodID(clazz, "<init>", "([B)V");
- jobject bigint;
- int i;
-
- bae[0] = 0;
- for(i=1; i<9; i++ ) {
- bae[i] = (jbyte)(result>>8*(8-i));
- }
-
- jenv->ReleaseByteArrayElements(ba, bae, 0);
- bigint = jenv->NewObject(clazz, mid, ba);
- jresult = bigint;
- }
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoConsumer_1registerPlugin(JNIEnv *jenv, jclass jcls) {
- jboolean jresult = 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- result = (bool)ProxyVideoConsumer::registerPlugin();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoConsumer_1setDefaultChroma(JNIEnv *jenv, jclass jcls, jint jarg1) {
- tmedia_chroma_t arg1 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = (tmedia_chroma_t)jarg1;
- ProxyVideoConsumer::setDefaultChroma(arg1);
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1ProxyVideoFrame(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- ProxyVideoFrame *arg1 = (ProxyVideoFrame *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(ProxyVideoFrame **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoFrame_1getSize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- ProxyVideoFrame *arg1 = (ProxyVideoFrame *) 0 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoFrame **)&jarg1;
- result = (unsigned int)(arg1)->getSize();
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoFrame_1getContent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2, jlong jarg3) {
- jlong jresult = 0 ;
- ProxyVideoFrame *arg1 = (ProxyVideoFrame *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoFrame **)&jarg1;
-
- arg2 = jenv->GetDirectBufferAddress(jarg2);
-
- arg3 = (unsigned int)jarg3;
- result = (unsigned int)(arg1)->getContent(arg2,arg3);
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1ProxyAudioProducerCallback(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- ProxyAudioProducerCallback *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (ProxyAudioProducerCallback *)new SwigDirector_ProxyAudioProducerCallback(jenv);
- *(ProxyAudioProducerCallback **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1ProxyAudioProducerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(ProxyAudioProducerCallback **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioProducerCallback_1prepare(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jint jarg4) {
- jint jresult = 0 ;
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioProducerCallback **)&jarg1;
- arg2 = (int)jarg2;
- arg3 = (int)jarg3;
- arg4 = (int)jarg4;
- result = (int)(arg1)->prepare(arg2,arg3,arg4);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioProducerCallback_1prepareSwigExplicitProxyAudioProducerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jint jarg4) {
- jint jresult = 0 ;
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioProducerCallback **)&jarg1;
- arg2 = (int)jarg2;
- arg3 = (int)jarg3;
- arg4 = (int)jarg4;
- result = (int)(arg1)->ProxyAudioProducerCallback::prepare(arg2,arg3,arg4);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioProducerCallback_1start(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioProducerCallback **)&jarg1;
- result = (int)(arg1)->start();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioProducerCallback_1startSwigExplicitProxyAudioProducerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioProducerCallback **)&jarg1;
- result = (int)(arg1)->ProxyAudioProducerCallback::start();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioProducerCallback_1pause(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioProducerCallback **)&jarg1;
- result = (int)(arg1)->pause();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioProducerCallback_1pauseSwigExplicitProxyAudioProducerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioProducerCallback **)&jarg1;
- result = (int)(arg1)->ProxyAudioProducerCallback::pause();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioProducerCallback_1stop(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioProducerCallback **)&jarg1;
- result = (int)(arg1)->stop();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioProducerCallback_1stopSwigExplicitProxyAudioProducerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioProducerCallback **)&jarg1;
- result = (int)(arg1)->ProxyAudioProducerCallback::stop();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioProducerCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
- ProxyAudioProducerCallback *obj = *((ProxyAudioProducerCallback **)&objarg);
- (void)jcls;
- SwigDirector_ProxyAudioProducerCallback *director = static_cast<SwigDirector_ProxyAudioProducerCallback *>(obj);
- if (director) {
- director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
- }
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioProducerCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
- ProxyAudioProducerCallback *obj = *((ProxyAudioProducerCallback **)&objarg);
- SwigDirector_ProxyAudioProducerCallback *director = static_cast<SwigDirector_ProxyAudioProducerCallback *>(obj);
- (void)jcls;
- if (director) {
- director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
- }
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1ProxyAudioProducer(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- ProxyAudioProducer *arg1 = (ProxyAudioProducer *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(ProxyAudioProducer **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioProducer_1push(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2, jlong jarg3) {
- jint jresult = 0 ;
- ProxyAudioProducer *arg1 = (ProxyAudioProducer *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioProducer **)&jarg1;
-
- arg2 = jenv->GetDirectBufferAddress(jarg2);
-
- arg3 = (unsigned int)jarg3;
- result = (int)(arg1)->push((void const *)arg2,arg3);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioProducer_1setCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- ProxyAudioProducer *arg1 = (ProxyAudioProducer *) 0 ;
- ProxyAudioProducerCallback *arg2 = (ProxyAudioProducerCallback *) 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(ProxyAudioProducer **)&jarg1;
- arg2 = *(ProxyAudioProducerCallback **)&jarg2;
- (arg1)->setCallback(arg2);
-}
-
-
-SWIGEXPORT jobject JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioProducer_1getMediaSessionId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jobject jresult = 0 ;
- ProxyAudioProducer *arg1 = (ProxyAudioProducer *) 0 ;
- uint64_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioProducer **)&jarg1;
- result = (uint64_t)(arg1)->getMediaSessionId();
- {
- jbyteArray ba = jenv->NewByteArray(9);
- jbyte* bae = jenv->GetByteArrayElements(ba, 0);
- jclass clazz = jenv->FindClass("java/math/BigInteger");
- jmethodID mid = jenv->GetMethodID(clazz, "<init>", "([B)V");
- jobject bigint;
- int i;
-
- bae[0] = 0;
- for(i=1; i<9; i++ ) {
- bae[i] = (jbyte)(result>>8*(8-i));
- }
-
- jenv->ReleaseByteArrayElements(ba, bae, 0);
- bigint = jenv->NewObject(clazz, mid, ba);
- jresult = bigint;
- }
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioProducer_1registerPlugin(JNIEnv *jenv, jclass jcls) {
- jboolean jresult = 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- result = (bool)ProxyAudioProducer::registerPlugin();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1ProxyVideoProducerCallback(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- ProxyVideoProducerCallback *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (ProxyVideoProducerCallback *)new SwigDirector_ProxyVideoProducerCallback(jenv);
- *(ProxyVideoProducerCallback **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1ProxyVideoProducerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(ProxyVideoProducerCallback **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducerCallback_1prepare(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jint jarg4) {
- jint jresult = 0 ;
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoProducerCallback **)&jarg1;
- arg2 = (int)jarg2;
- arg3 = (int)jarg3;
- arg4 = (int)jarg4;
- result = (int)(arg1)->prepare(arg2,arg3,arg4);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducerCallback_1prepareSwigExplicitProxyVideoProducerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jint jarg4) {
- jint jresult = 0 ;
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoProducerCallback **)&jarg1;
- arg2 = (int)jarg2;
- arg3 = (int)jarg3;
- arg4 = (int)jarg4;
- result = (int)(arg1)->ProxyVideoProducerCallback::prepare(arg2,arg3,arg4);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducerCallback_1start(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoProducerCallback **)&jarg1;
- result = (int)(arg1)->start();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducerCallback_1startSwigExplicitProxyVideoProducerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoProducerCallback **)&jarg1;
- result = (int)(arg1)->ProxyVideoProducerCallback::start();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducerCallback_1pause(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoProducerCallback **)&jarg1;
- result = (int)(arg1)->pause();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducerCallback_1pauseSwigExplicitProxyVideoProducerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoProducerCallback **)&jarg1;
- result = (int)(arg1)->ProxyVideoProducerCallback::pause();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducerCallback_1stop(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoProducerCallback **)&jarg1;
- result = (int)(arg1)->stop();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducerCallback_1stopSwigExplicitProxyVideoProducerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoProducerCallback **)&jarg1;
- result = (int)(arg1)->ProxyVideoProducerCallback::stop();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducerCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
- ProxyVideoProducerCallback *obj = *((ProxyVideoProducerCallback **)&objarg);
- (void)jcls;
- SwigDirector_ProxyVideoProducerCallback *director = static_cast<SwigDirector_ProxyVideoProducerCallback *>(obj);
- if (director) {
- director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
- }
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducerCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
- ProxyVideoProducerCallback *obj = *((ProxyVideoProducerCallback **)&objarg);
- SwigDirector_ProxyVideoProducerCallback *director = static_cast<SwigDirector_ProxyVideoProducerCallback *>(obj);
- (void)jcls;
- if (director) {
- director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
- }
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1ProxyVideoProducer(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(ProxyVideoProducer **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducer_1getRotation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoProducer **)&jarg1;
- result = (int)(arg1)->getRotation();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducer_1setRotation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
- int arg2 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoProducer **)&jarg1;
- arg2 = (int)jarg2;
- (arg1)->setRotation(arg2);
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducer_1push(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2, jlong jarg3) {
- jint jresult = 0 ;
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoProducer **)&jarg1;
-
- arg2 = jenv->GetDirectBufferAddress(jarg2);
-
- arg3 = (unsigned int)jarg3;
- result = (int)(arg1)->push((void const *)arg2,arg3);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducer_1send(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2, jlong jarg3, jlong jarg4, jboolean jarg5) {
- jint jresult = 0 ;
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int arg4 ;
- bool arg5 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoProducer **)&jarg1;
-
- arg2 = jenv->GetDirectBufferAddress(jarg2);
-
- arg3 = (unsigned int)jarg3;
- arg4 = (unsigned int)jarg4;
- arg5 = jarg5 ? true : false;
- result = (int)(arg1)->send((void const *)arg2,arg3,arg4,arg5);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducer_1setCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
- ProxyVideoProducerCallback *arg2 = (ProxyVideoProducerCallback *) 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(ProxyVideoProducer **)&jarg1;
- arg2 = *(ProxyVideoProducerCallback **)&jarg2;
- (arg1)->setCallback(arg2);
-}
-
-
-SWIGEXPORT jobject JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducer_1getMediaSessionId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jobject jresult = 0 ;
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
- uint64_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoProducer **)&jarg1;
- result = (uint64_t)(arg1)->getMediaSessionId();
- {
- jbyteArray ba = jenv->NewByteArray(9);
- jbyte* bae = jenv->GetByteArrayElements(ba, 0);
- jclass clazz = jenv->FindClass("java/math/BigInteger");
- jmethodID mid = jenv->GetMethodID(clazz, "<init>", "([B)V");
- jobject bigint;
- int i;
-
- bae[0] = 0;
- for(i=1; i<9; i++ ) {
- bae[i] = (jbyte)(result>>8*(8-i));
- }
-
- jenv->ReleaseByteArrayElements(ba, bae, 0);
- bigint = jenv->NewObject(clazz, mid, ba);
- jresult = bigint;
- }
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducer_1registerPlugin(JNIEnv *jenv, jclass jcls) {
- jboolean jresult = 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- result = (bool)ProxyVideoProducer::registerPlugin();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducer_1setDefaultChroma(JNIEnv *jenv, jclass jcls, jint jarg1) {
- tmedia_chroma_t arg1 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = (tmedia_chroma_t)jarg1;
- ProxyVideoProducer::setDefaultChroma(arg1);
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1SipCallback(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- SipCallback *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (SipCallback *)new SwigDirector_SipCallback(jenv);
- *(SipCallback **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1SipCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- SipCallback *arg1 = (SipCallback *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(SipCallback **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1OnDialogEvent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- DialogEvent *arg2 = (DialogEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipCallback **)&jarg1;
- arg2 = *(DialogEvent **)&jarg2;
- result = (int)(arg1)->OnDialogEvent((DialogEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1OnDialogEventSwigExplicitSipCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- DialogEvent *arg2 = (DialogEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipCallback **)&jarg1;
- arg2 = *(DialogEvent **)&jarg2;
- result = (int)(arg1)->SipCallback::OnDialogEvent((DialogEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1OnStackEvent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- StackEvent *arg2 = (StackEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipCallback **)&jarg1;
- arg2 = *(StackEvent **)&jarg2;
- result = (int)(arg1)->OnStackEvent((StackEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1OnStackEventSwigExplicitSipCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- StackEvent *arg2 = (StackEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipCallback **)&jarg1;
- arg2 = *(StackEvent **)&jarg2;
- result = (int)(arg1)->SipCallback::OnStackEvent((StackEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1OnInviteEvent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- InviteEvent *arg2 = (InviteEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipCallback **)&jarg1;
- arg2 = *(InviteEvent **)&jarg2;
- result = (int)(arg1)->OnInviteEvent((InviteEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1OnInviteEventSwigExplicitSipCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- InviteEvent *arg2 = (InviteEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipCallback **)&jarg1;
- arg2 = *(InviteEvent **)&jarg2;
- result = (int)(arg1)->SipCallback::OnInviteEvent((InviteEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1OnMessagingEvent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- MessagingEvent *arg2 = (MessagingEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipCallback **)&jarg1;
- arg2 = *(MessagingEvent **)&jarg2;
- result = (int)(arg1)->OnMessagingEvent((MessagingEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1OnMessagingEventSwigExplicitSipCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- MessagingEvent *arg2 = (MessagingEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipCallback **)&jarg1;
- arg2 = *(MessagingEvent **)&jarg2;
- result = (int)(arg1)->SipCallback::OnMessagingEvent((MessagingEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1OnOptionsEvent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- OptionsEvent *arg2 = (OptionsEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipCallback **)&jarg1;
- arg2 = *(OptionsEvent **)&jarg2;
- result = (int)(arg1)->OnOptionsEvent((OptionsEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1OnOptionsEventSwigExplicitSipCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- OptionsEvent *arg2 = (OptionsEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipCallback **)&jarg1;
- arg2 = *(OptionsEvent **)&jarg2;
- result = (int)(arg1)->SipCallback::OnOptionsEvent((OptionsEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1OnPublicationEvent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- PublicationEvent *arg2 = (PublicationEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipCallback **)&jarg1;
- arg2 = *(PublicationEvent **)&jarg2;
- result = (int)(arg1)->OnPublicationEvent((PublicationEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1OnPublicationEventSwigExplicitSipCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- PublicationEvent *arg2 = (PublicationEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipCallback **)&jarg1;
- arg2 = *(PublicationEvent **)&jarg2;
- result = (int)(arg1)->SipCallback::OnPublicationEvent((PublicationEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1OnRegistrationEvent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- RegistrationEvent *arg2 = (RegistrationEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipCallback **)&jarg1;
- arg2 = *(RegistrationEvent **)&jarg2;
- result = (int)(arg1)->OnRegistrationEvent((RegistrationEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1OnRegistrationEventSwigExplicitSipCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- RegistrationEvent *arg2 = (RegistrationEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipCallback **)&jarg1;
- arg2 = *(RegistrationEvent **)&jarg2;
- result = (int)(arg1)->SipCallback::OnRegistrationEvent((RegistrationEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1OnSubscriptionEvent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- SubscriptionEvent *arg2 = (SubscriptionEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipCallback **)&jarg1;
- arg2 = *(SubscriptionEvent **)&jarg2;
- result = (int)(arg1)->OnSubscriptionEvent((SubscriptionEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1OnSubscriptionEventSwigExplicitSipCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- SubscriptionEvent *arg2 = (SubscriptionEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipCallback **)&jarg1;
- arg2 = *(SubscriptionEvent **)&jarg2;
- result = (int)(arg1)->SipCallback::OnSubscriptionEvent((SubscriptionEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
- SipCallback *obj = *((SipCallback **)&objarg);
- (void)jcls;
- SwigDirector_SipCallback *director = static_cast<SwigDirector_SipCallback *>(obj);
- if (director) {
- director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
- }
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
- SipCallback *obj = *((SipCallback **)&objarg);
- SwigDirector_SipCallback *director = static_cast<SwigDirector_SipCallback *>(obj);
- (void)jcls;
- if (director) {
- director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
- }
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1SafeObject(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- SafeObject *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (SafeObject *)new SafeObject();
- *(SafeObject **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1SafeObject(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- SafeObject *arg1 = (SafeObject *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(SafeObject **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SafeObject_1Lock(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- SafeObject *arg1 = (SafeObject *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SafeObject **)&jarg1;
- result = (int)((SafeObject const *)arg1)->Lock();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SafeObject_1UnLock(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- SafeObject *arg1 = (SafeObject *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SafeObject **)&jarg1;
- result = (int)((SafeObject const *)arg1)->UnLock();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1SipStack(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3, jstring jarg4) {
- jlong jresult = 0 ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- SipStack *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipCallback **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = 0;
- if (jarg4) {
- arg4 = (char *)jenv->GetStringUTFChars(jarg4, 0);
- if (!arg4) return 0;
- }
- result = (SipStack *)new SipStack(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
- *(SipStack **)&jresult = result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- if (arg4) jenv->ReleaseStringUTFChars(jarg4, (const char *)arg4);
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1SipStack(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- SipStack *arg1 = (SipStack *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(SipStack **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1start(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- result = (bool)(arg1)->start();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setDebugCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- DDebugCallback *arg2 = (DDebugCallback *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = *(DDebugCallback **)&jarg2;
- result = (bool)(arg1)->setDebugCallback(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setRealm(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->setRealm((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setIMPI(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->setIMPI((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setIMPU(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->setIMPU((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setPassword(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->setPassword((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setAMF(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->setAMF((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setOperatorId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->setOperatorId((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setProxyCSCF(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jint jarg3, jstring jarg4, jstring jarg5) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned short arg3 ;
- char *arg4 = (char *) 0 ;
- char *arg5 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = (unsigned short)jarg3;
- arg4 = 0;
- if (jarg4) {
- arg4 = (char *)jenv->GetStringUTFChars(jarg4, 0);
- if (!arg4) return 0;
- }
- arg5 = 0;
- if (jarg5) {
- arg5 = (char *)jenv->GetStringUTFChars(jarg5, 0);
- if (!arg5) return 0;
- }
- result = (bool)(arg1)->setProxyCSCF((char const *)arg2,arg3,(char const *)arg4,(char const *)arg5);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg4) jenv->ReleaseStringUTFChars(jarg4, (const char *)arg4);
- if (arg5) jenv->ReleaseStringUTFChars(jarg5, (const char *)arg5);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setLocalIP(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->setLocalIP((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setLocalPort(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- unsigned short arg2 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = (unsigned short)jarg2;
- result = (bool)(arg1)->setLocalPort(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setEarlyIMS(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- bool arg2 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = jarg2 ? true : false;
- result = (bool)(arg1)->setEarlyIMS(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1addHeader(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- result = (bool)(arg1)->addHeader((char const *)arg2,(char const *)arg3);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1removeHeader(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->removeHeader((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1addDnsServer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->addDnsServer((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setDnsDiscovery(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- bool arg2 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = jarg2 ? true : false;
- result = (bool)(arg1)->setDnsDiscovery(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setAoR(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jint jarg3) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- int arg3 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = (int)jarg3;
- result = (bool)(arg1)->setAoR((char const *)arg2,arg3);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setSigCompParams(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jboolean jarg5) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- unsigned int arg2 ;
- unsigned int arg3 ;
- unsigned int arg4 ;
- bool arg5 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = (unsigned int)jarg2;
- arg3 = (unsigned int)jarg3;
- arg4 = (unsigned int)jarg4;
- arg5 = jarg5 ? true : false;
- result = (bool)(arg1)->setSigCompParams(arg2,arg3,arg4,arg5);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1addSigCompCompartment(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->addSigCompCompartment((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1removeSigCompCompartment(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->removeSigCompCompartment((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setSTUNServer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jint jarg3) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned short arg3 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = (unsigned short)jarg3;
- result = (bool)(arg1)->setSTUNServer((char const *)arg2,arg3);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setSTUNCred(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- result = (bool)(arg1)->setSTUNCred((char const *)arg2,(char const *)arg3);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setTLSSecAgree(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- bool arg2 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = jarg2 ? true : false;
- result = (bool)(arg1)->setTLSSecAgree(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setSSLCretificates(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3, jstring jarg4) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = 0;
- if (jarg4) {
- arg4 = (char *)jenv->GetStringUTFChars(jarg4, 0);
- if (!arg4) return 0;
- }
- result = (bool)(arg1)->setSSLCretificates((char const *)arg2,(char const *)arg3,(char const *)arg4);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- if (arg4) jenv->ReleaseStringUTFChars(jarg4, (const char *)arg4);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setIPSecSecAgree(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- bool arg2 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = jarg2 ? true : false;
- result = (bool)(arg1)->setIPSecSecAgree(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setIPSecParameters(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3, jstring jarg4, jstring jarg5) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- char *arg5 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = 0;
- if (jarg4) {
- arg4 = (char *)jenv->GetStringUTFChars(jarg4, 0);
- if (!arg4) return 0;
- }
- arg5 = 0;
- if (jarg5) {
- arg5 = (char *)jenv->GetStringUTFChars(jarg5, 0);
- if (!arg5) return 0;
- }
- result = (bool)(arg1)->setIPSecParameters((char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- if (arg4) jenv->ReleaseStringUTFChars(jarg4, (const char *)arg4);
- if (arg5) jenv->ReleaseStringUTFChars(jarg5, (const char *)arg5);
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1dnsENUM(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3, jstring jarg4) {
- jstring jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = 0;
- if (jarg4) {
- arg4 = (char *)jenv->GetStringUTFChars(jarg4, 0);
- if (!arg4) return 0;
- }
- result = (char *)(arg1)->dnsENUM((char const *)arg2,(char const *)arg3,(char const *)arg4);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- if (arg4) jenv->ReleaseStringUTFChars(jarg4, (const char *)arg4);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1dnsNaptrSrv(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3, jintArray jarg4) {
- jstring jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- unsigned short *arg4 = (unsigned short *) 0 ;
- unsigned short temp4 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- {
- if (!jarg4) {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "array null");
- return 0;
- }
- if (jenv->GetArrayLength(jarg4) == 0) {
- SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "Array must contain at least 1 element");
- return 0;
- }
- arg4 = &temp4;
- }
- result = (char *)(arg1)->dnsNaptrSrv((char const *)arg2,(char const *)arg3,arg4);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- {
- jint jvalue = (jint)temp4;
- jenv->SetIntArrayRegion(jarg4, 0, 1, &jvalue);
- }
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
-
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1dnsSrv(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jintArray jarg3) {
- jstring jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned short *arg3 = (unsigned short *) 0 ;
- unsigned short temp3 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- {
- if (!jarg3) {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "array null");
- return 0;
- }
- if (jenv->GetArrayLength(jarg3) == 0) {
- SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "Array must contain at least 1 element");
- return 0;
- }
- arg3 = &temp3;
- }
- result = (char *)(arg1)->dnsSrv((char const *)arg2,arg3);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- {
- jint jvalue = (jint)temp3;
- jenv->SetIntArrayRegion(jarg3, 0, 1, &jvalue);
- }
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
-
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1getLocalIPnPort(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jintArray jarg3) {
- jstring jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned short *arg3 = (unsigned short *) 0 ;
- unsigned short temp3 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- {
- if (!jarg3) {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "array null");
- return 0;
- }
- if (jenv->GetArrayLength(jarg3) == 0) {
- SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "Array must contain at least 1 element");
- return 0;
- }
- arg3 = &temp3;
- }
- result = (char *)(arg1)->getLocalIPnPort((char const *)arg2,arg3);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- {
- jint jvalue = (jint)temp3;
- jenv->SetIntArrayRegion(jarg3, 0, 1, &jvalue);
- }
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
-
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1getPreferredIdentity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jstring jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- result = (char *)(arg1)->getPreferredIdentity();
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1isValid(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- result = (bool)(arg1)->isValid();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1stop(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- result = (bool)(arg1)->stop();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setCodecs(JNIEnv *jenv, jclass jcls, jint jarg1) {
- tdav_codec_id_t arg1 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = (tdav_codec_id_t)jarg1;
- SipStack::setCodecs(arg1);
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setCodecs_12(JNIEnv *jenv, jclass jcls, jint jarg1) {
- int arg1 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = (int)jarg1;
- SipStack::setCodecs_2(arg1);
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1isCodecSupported(JNIEnv *jenv, jclass jcls, jint jarg1) {
- jboolean jresult = 0 ;
- tdav_codec_id_t arg1 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- arg1 = (tdav_codec_id_t)jarg1;
- result = (bool)SipStack::isCodecSupported(arg1);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1XcapSelector(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- XcapSelector *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- result = (XcapSelector *)new XcapSelector(arg1);
- *(XcapSelector **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1XcapSelector(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- XcapSelector *arg1 = (XcapSelector *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(XcapSelector **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapSelector_1setAUID(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jlong jresult = 0 ;
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- char *arg2 = (char *) 0 ;
- XcapSelector *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapSelector **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (XcapSelector *)(arg1)->setAUID((char const *)arg2);
- *(XcapSelector **)&jresult = result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapSelector_1setName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jlong jresult = 0 ;
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- char *arg2 = (char *) 0 ;
- XcapSelector *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapSelector **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (XcapSelector *)(arg1)->setName((char const *)arg2);
- *(XcapSelector **)&jresult = result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapSelector_1setAttribute(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3, jstring jarg4) {
- jlong jresult = 0 ;
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- XcapSelector *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapSelector **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = 0;
- if (jarg4) {
- arg4 = (char *)jenv->GetStringUTFChars(jarg4, 0);
- if (!arg4) return 0;
- }
- result = (XcapSelector *)(arg1)->setAttribute((char const *)arg2,(char const *)arg3,(char const *)arg4);
- *(XcapSelector **)&jresult = result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- if (arg4) jenv->ReleaseStringUTFChars(jarg4, (const char *)arg4);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapSelector_1setPos(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jlong jarg3) {
- jlong jresult = 0 ;
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned int arg3 ;
- XcapSelector *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapSelector **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = (unsigned int)jarg3;
- result = (XcapSelector *)(arg1)->setPos((char const *)arg2,arg3);
- *(XcapSelector **)&jresult = result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapSelector_1setPosAttribute(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jlong jarg3, jstring jarg4, jstring jarg5) {
- jlong jresult = 0 ;
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned int arg3 ;
- char *arg4 = (char *) 0 ;
- char *arg5 = (char *) 0 ;
- XcapSelector *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapSelector **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = (unsigned int)jarg3;
- arg4 = 0;
- if (jarg4) {
- arg4 = (char *)jenv->GetStringUTFChars(jarg4, 0);
- if (!arg4) return 0;
- }
- arg5 = 0;
- if (jarg5) {
- arg5 = (char *)jenv->GetStringUTFChars(jarg5, 0);
- if (!arg5) return 0;
- }
- result = (XcapSelector *)(arg1)->setPosAttribute((char const *)arg2,arg3,(char const *)arg4,(char const *)arg5);
- *(XcapSelector **)&jresult = result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg4) jenv->ReleaseStringUTFChars(jarg4, (const char *)arg4);
- if (arg5) jenv->ReleaseStringUTFChars(jarg5, (const char *)arg5);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapSelector_1setNamespace(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
- jlong jresult = 0 ;
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- XcapSelector *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapSelector **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- result = (XcapSelector *)(arg1)->setNamespace((char const *)arg2,(char const *)arg3);
- *(XcapSelector **)&jresult = result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapSelector_1getString(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jstring jresult = 0 ;
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapSelector **)&jarg1;
- result = (char *)(arg1)->getString();
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapSelector_1reset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- XcapSelector *arg1 = (XcapSelector *) 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapSelector **)&jarg1;
- (arg1)->reset();
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1XcapMessage(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- XcapMessage *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (XcapMessage *)new XcapMessage();
- *(XcapMessage **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1XcapMessage(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- XcapMessage *arg1 = (XcapMessage *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(XcapMessage **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jshort JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapMessage_1getCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jshort jresult = 0 ;
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- short result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapMessage **)&jarg1;
- result = (short)((XcapMessage const *)arg1)->getCode();
- jresult = (jshort)result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapMessage_1getPhrase(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jstring jresult = 0 ;
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapMessage **)&jarg1;
- result = (char *)((XcapMessage const *)arg1)->getPhrase();
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapMessage_1getXcapHeaderValue_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jlong jarg3) {
- jstring jresult = 0 ;
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned int arg3 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapMessage **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = (unsigned int)jarg3;
- result = (char *)(arg1)->getXcapHeaderValue((char const *)arg2,arg3);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapMessage_1getXcapHeaderValue_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jstring jresult = 0 ;
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapMessage **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (char *)(arg1)->getXcapHeaderValue((char const *)arg2);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapMessage_1getXcapHeaderParamValue_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3, jlong jarg4) {
- jstring jresult = 0 ;
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- unsigned int arg4 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapMessage **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = (unsigned int)jarg4;
- result = (char *)(arg1)->getXcapHeaderParamValue((char const *)arg2,(char const *)arg3,arg4);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapMessage_1getXcapHeaderParamValue_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
- jstring jresult = 0 ;
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapMessage **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- result = (char *)(arg1)->getXcapHeaderParamValue((char const *)arg2,(char const *)arg3);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapMessage_1getXcapContentLength(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapMessage **)&jarg1;
- result = (unsigned int)(arg1)->getXcapContentLength();
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapMessage_1getXcapContent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2, jlong jarg3) {
- jlong jresult = 0 ;
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapMessage **)&jarg1;
-
- arg2 = jenv->GetDirectBufferAddress(jarg2);
-
- arg3 = (unsigned int)jarg3;
- result = (unsigned int)(arg1)->getXcapContent(arg2,arg3);
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1XcapEvent(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- XcapEvent *arg1 = (XcapEvent *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(XcapEvent **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapEvent_1getType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- XcapEvent *arg1 = (XcapEvent *) 0 ;
- thttp_event_type_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapEvent **)&jarg1;
- result = (thttp_event_type_t)(arg1)->getType();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapEvent_1getXcapMessage(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- XcapEvent *arg1 = (XcapEvent *) 0 ;
- XcapMessage *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapEvent **)&jarg1;
- result = (XcapMessage *)((XcapEvent const *)arg1)->getXcapMessage();
- *(XcapMessage **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1XcapCallback(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- XcapCallback *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (XcapCallback *)new SwigDirector_XcapCallback(jenv);
- *(XcapCallback **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1XcapCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- XcapCallback *arg1 = (XcapCallback *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(XcapCallback **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapCallback_1onEvent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- XcapCallback *arg1 = (XcapCallback *) 0 ;
- XcapEvent *arg2 = (XcapEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(XcapCallback **)&jarg1;
- arg2 = *(XcapEvent **)&jarg2;
- result = (int)((XcapCallback const *)arg1)->onEvent((XcapEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapCallback_1onEventSwigExplicitXcapCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- XcapCallback *arg1 = (XcapCallback *) 0 ;
- XcapEvent *arg2 = (XcapEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(XcapCallback **)&jarg1;
- arg2 = *(XcapEvent **)&jarg2;
- result = (int)((XcapCallback const *)arg1)->XcapCallback::onEvent((XcapEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
- XcapCallback *obj = *((XcapCallback **)&objarg);
- (void)jcls;
- SwigDirector_XcapCallback *director = static_cast<SwigDirector_XcapCallback *>(obj);
- if (director) {
- director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
- }
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
- XcapCallback *obj = *((XcapCallback **)&objarg);
- SwigDirector_XcapCallback *director = static_cast<SwigDirector_XcapCallback *>(obj);
- (void)jcls;
- if (director) {
- director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
- }
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1XcapStack(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3, jstring jarg4) {
- jlong jresult = 0 ;
- XcapCallback *arg1 = (XcapCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- XcapStack *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapCallback **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = 0;
- if (jarg4) {
- arg4 = (char *)jenv->GetStringUTFChars(jarg4, 0);
- if (!arg4) return 0;
- }
- result = (XcapStack *)new XcapStack(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
- *(XcapStack **)&jresult = result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- if (arg4) jenv->ReleaseStringUTFChars(jarg4, (const char *)arg4);
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1XcapStack(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- XcapStack *arg1 = (XcapStack *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(XcapStack **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1registerAUID(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3, jstring jarg4, jstring jarg5, jboolean jarg6) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- char *arg5 = (char *) 0 ;
- bool arg6 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = 0;
- if (jarg4) {
- arg4 = (char *)jenv->GetStringUTFChars(jarg4, 0);
- if (!arg4) return 0;
- }
- arg5 = 0;
- if (jarg5) {
- arg5 = (char *)jenv->GetStringUTFChars(jarg5, 0);
- if (!arg5) return 0;
- }
- arg6 = jarg6 ? true : false;
- result = (bool)(arg1)->registerAUID((char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,arg6);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- if (arg4) jenv->ReleaseStringUTFChars(jarg4, (const char *)arg4);
- if (arg5) jenv->ReleaseStringUTFChars(jarg5, (const char *)arg5);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1start(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- result = (bool)(arg1)->start();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1setCredentials(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- result = (bool)(arg1)->setCredentials((char const *)arg2,(char const *)arg3);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1setXcapRoot(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->setXcapRoot((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1setLocalIP(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->setLocalIP((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1setLocalPort(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- unsigned int arg2 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- arg2 = (unsigned int)jarg2;
- result = (bool)(arg1)->setLocalPort(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1addHeader(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- result = (bool)(arg1)->addHeader((char const *)arg2,(char const *)arg3);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1removeHeader(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->removeHeader((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1setTimeout(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- unsigned int arg2 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- arg2 = (unsigned int)jarg2;
- result = (bool)(arg1)->setTimeout(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1getDocument(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->getDocument((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1getElement(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->getElement((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1getAttribute(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->getAttribute((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1deleteDocument(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->deleteDocument((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1deleteElement(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->deleteElement((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1deleteAttribute(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->deleteAttribute((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1putDocument(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jbyteArray jarg3, jlong jarg4, jstring jarg5) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *arg3 = (void *) 0 ;
- unsigned int arg4 ;
- char *arg5 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
-
- arg3 = jenv->GetDirectBufferAddress(jarg3);
-
- arg4 = (unsigned int)jarg4;
- arg5 = 0;
- if (jarg5) {
- arg5 = (char *)jenv->GetStringUTFChars(jarg5, 0);
- if (!arg5) return 0;
- }
- result = (bool)(arg1)->putDocument((char const *)arg2,(void const *)arg3,arg4,(char const *)arg5);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg5) jenv->ReleaseStringUTFChars(jarg5, (const char *)arg5);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1putElement(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jbyteArray jarg3, jlong jarg4) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *arg3 = (void *) 0 ;
- unsigned int arg4 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
-
- arg3 = jenv->GetDirectBufferAddress(jarg3);
-
- arg4 = (unsigned int)jarg4;
- result = (bool)(arg1)->putElement((char const *)arg2,(void const *)arg3,arg4);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1putAttribute(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jbyteArray jarg3, jlong jarg4) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *arg3 = (void *) 0 ;
- unsigned int arg4 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
-
- arg3 = jenv->GetDirectBufferAddress(jarg3);
-
- arg4 = (unsigned int)jarg4;
- result = (bool)(arg1)->putAttribute((char const *)arg2,(void const *)arg3,arg4);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1stop(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- result = (bool)(arg1)->stop();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1RPMessage(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- RPMessage *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (RPMessage *)new RPMessage();
- *(RPMessage **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1RPMessage(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- RPMessage *arg1 = (RPMessage *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(RPMessage **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_RPMessage_1getType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- RPMessage *arg1 = (RPMessage *) 0 ;
- twrap_rpmessage_type_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(RPMessage **)&jarg1;
- result = (twrap_rpmessage_type_t)(arg1)->getType();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_RPMessage_1getPayloadLength(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- RPMessage *arg1 = (RPMessage *) 0 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(RPMessage **)&jarg1;
- result = (unsigned int)(arg1)->getPayloadLength();
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_RPMessage_1getPayload(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2, jlong jarg3) {
- jlong jresult = 0 ;
- RPMessage *arg1 = (RPMessage *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(RPMessage **)&jarg1;
-
- arg2 = jenv->GetDirectBufferAddress(jarg2);
-
- arg3 = (unsigned int)jarg3;
- result = (unsigned int)(arg1)->getPayload(arg2,arg3);
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1SMSData(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- SMSData *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (SMSData *)new SMSData();
- *(SMSData **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1SMSData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- SMSData *arg1 = (SMSData *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(SMSData **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SMSData_1getType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- SMSData *arg1 = (SMSData *) 0 ;
- twrap_sms_type_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SMSData **)&jarg1;
- result = (twrap_sms_type_t)(arg1)->getType();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SMSData_1getMR(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- SMSData *arg1 = (SMSData *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SMSData **)&jarg1;
- result = (int)(arg1)->getMR();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SMSData_1getPayloadLength(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- SMSData *arg1 = (SMSData *) 0 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SMSData **)&jarg1;
- result = (unsigned int)(arg1)->getPayloadLength();
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SMSData_1getPayload(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2, jlong jarg3) {
- jlong jresult = 0 ;
- SMSData *arg1 = (SMSData *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SMSData **)&jarg1;
-
- arg2 = jenv->GetDirectBufferAddress(jarg2);
-
- arg3 = (unsigned int)jarg3;
- result = (unsigned int)(arg1)->getPayload(arg2,arg3);
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SMSData_1getOA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jstring jresult = 0 ;
- SMSData *arg1 = (SMSData *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SMSData **)&jarg1;
- result = (char *)(arg1)->getOA();
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SMSData_1getDA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jstring jresult = 0 ;
- SMSData *arg1 = (SMSData *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SMSData **)&jarg1;
- result = (char *)(arg1)->getDA();
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SMSEncoder_1encodeSubmit(JNIEnv *jenv, jclass jcls, jint jarg1, jstring jarg2, jstring jarg3, jstring jarg4) {
- jlong jresult = 0 ;
- int arg1 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- RPMessage *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = (int)jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = 0;
- if (jarg4) {
- arg4 = (char *)jenv->GetStringUTFChars(jarg4, 0);
- if (!arg4) return 0;
- }
- result = (RPMessage *)SMSEncoder::encodeSubmit(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
- *(RPMessage **)&jresult = result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- if (arg4) jenv->ReleaseStringUTFChars(jarg4, (const char *)arg4);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SMSEncoder_1encodeDeliver(JNIEnv *jenv, jclass jcls, jint jarg1, jstring jarg2, jstring jarg3, jstring jarg4) {
- jlong jresult = 0 ;
- int arg1 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- RPMessage *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = (int)jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = 0;
- if (jarg4) {
- arg4 = (char *)jenv->GetStringUTFChars(jarg4, 0);
- if (!arg4) return 0;
- }
- result = (RPMessage *)SMSEncoder::encodeDeliver(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
- *(RPMessage **)&jresult = result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- if (arg4) jenv->ReleaseStringUTFChars(jarg4, (const char *)arg4);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SMSEncoder_1encodeACK(JNIEnv *jenv, jclass jcls, jint jarg1, jstring jarg2, jstring jarg3, jboolean jarg4) {
- jlong jresult = 0 ;
- int arg1 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- bool arg4 ;
- RPMessage *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = (int)jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = jarg4 ? true : false;
- result = (RPMessage *)SMSEncoder::encodeACK(arg1,(char const *)arg2,(char const *)arg3,arg4);
- *(RPMessage **)&jresult = result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SMSEncoder_1encodeError(JNIEnv *jenv, jclass jcls, jint jarg1, jstring jarg2, jstring jarg3, jboolean jarg4) {
- jlong jresult = 0 ;
- int arg1 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- bool arg4 ;
- RPMessage *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = (int)jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = jarg4 ? true : false;
- result = (RPMessage *)SMSEncoder::encodeError(arg1,(char const *)arg2,(char const *)arg3,arg4);
- *(RPMessage **)&jresult = result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SMSEncoder_1decode(JNIEnv *jenv, jclass jcls, jbyteArray jarg1, jlong jarg2, jboolean jarg3) {
- jlong jresult = 0 ;
- void *arg1 = (void *) 0 ;
- unsigned int arg2 ;
- bool arg3 ;
- SMSData *result = 0 ;
-
- (void)jenv;
- (void)jcls;
-
- arg1 = jenv->GetDirectBufferAddress(jarg1);
-
- arg2 = (unsigned int)jarg2;
- arg3 = jarg3 ? true : false;
- result = (SMSData *)SMSEncoder::decode((void const *)arg1,arg2,arg3);
- *(SMSData **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1SMSEncoder(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- SMSEncoder *arg1 = (SMSEncoder *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(SMSEncoder **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1MsrpMessage(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- MsrpMessage *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (MsrpMessage *)new MsrpMessage();
- *(MsrpMessage **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1MsrpMessage(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(MsrpMessage **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpMessage_1isRequest(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MsrpMessage **)&jarg1;
- result = (bool)(arg1)->isRequest();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jshort JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpMessage_1getCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jshort jresult = 0 ;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- short result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MsrpMessage **)&jarg1;
- result = (short)(arg1)->getCode();
- jresult = (jshort)result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpMessage_1getPhrase(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jstring jresult = 0 ;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MsrpMessage **)&jarg1;
- result = (char *)(arg1)->getPhrase();
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpMessage_1getRequestType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- tmsrp_request_type_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MsrpMessage **)&jarg1;
- result = (tmsrp_request_type_t)(arg1)->getRequestType();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpMessage_1getByteRange(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlongArray jarg2, jlongArray jarg3, jlongArray jarg4) {
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- int64_t *arg2 = (int64_t *) 0 ;
- int64_t *arg3 = (int64_t *) 0 ;
- int64_t *arg4 = (int64_t *) 0 ;
- int64_t temp2 ;
- int64_t temp3 ;
- int64_t temp4 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MsrpMessage **)&jarg1;
- {
- if (!jarg2) {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "array null");
- return ;
- }
- if (jenv->GetArrayLength(jarg2) == 0) {
- SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "Array must contain at least 1 element");
- return ;
- }
- arg2 = &temp2;
- }
- {
- if (!jarg3) {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "array null");
- return ;
- }
- if (jenv->GetArrayLength(jarg3) == 0) {
- SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "Array must contain at least 1 element");
- return ;
- }
- arg3 = &temp3;
- }
- {
- if (!jarg4) {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "array null");
- return ;
- }
- if (jenv->GetArrayLength(jarg4) == 0) {
- SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "Array must contain at least 1 element");
- return ;
- }
- arg4 = &temp4;
- }
- (arg1)->getByteRange(arg2,arg3,arg4);
- {
- jlong jvalue = (jlong)temp2;
- jenv->SetLongArrayRegion(jarg2, 0, 1, &jvalue);
- }
- {
- jlong jvalue = (jlong)temp3;
- jenv->SetLongArrayRegion(jarg3, 0, 1, &jvalue);
- }
- {
- jlong jvalue = (jlong)temp4;
- jenv->SetLongArrayRegion(jarg4, 0, 1, &jvalue);
- }
-
-
-
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpMessage_1isLastChunck(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MsrpMessage **)&jarg1;
- result = (bool)(arg1)->isLastChunck();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpMessage_1isFirstChunck(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MsrpMessage **)&jarg1;
- result = (bool)(arg1)->isFirstChunck();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpMessage_1getMsrpHeaderValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jstring jresult = 0 ;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MsrpMessage **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (char *)(arg1)->getMsrpHeaderValue((char const *)arg2);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpMessage_1getMsrpHeaderParamValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
- jstring jresult = 0 ;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MsrpMessage **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- result = (char *)(arg1)->getMsrpHeaderParamValue((char const *)arg2,(char const *)arg3);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpMessage_1getMsrpContentLength(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MsrpMessage **)&jarg1;
- result = (unsigned int)(arg1)->getMsrpContentLength();
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpMessage_1getMsrpContent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2, jlong jarg3) {
- jlong jresult = 0 ;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MsrpMessage **)&jarg1;
-
- arg2 = jenv->GetDirectBufferAddress(jarg2);
-
- arg3 = (unsigned int)jarg3;
- result = (unsigned int)(arg1)->getMsrpContent(arg2,arg3);
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1MsrpEvent(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- MsrpEvent *arg1 = (MsrpEvent *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(MsrpEvent **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpEvent_1getType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- MsrpEvent *arg1 = (MsrpEvent *) 0 ;
- tmsrp_event_type_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MsrpEvent **)&jarg1;
- result = (tmsrp_event_type_t)(arg1)->getType();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpEvent_1getSipSession(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- MsrpEvent *arg1 = (MsrpEvent *) 0 ;
- MsrpSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MsrpEvent **)&jarg1;
- result = (MsrpSession *)(arg1)->getSipSession();
- *(MsrpSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpEvent_1getMessage(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- MsrpEvent *arg1 = (MsrpEvent *) 0 ;
- MsrpMessage *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MsrpEvent **)&jarg1;
- result = (MsrpMessage *)((MsrpEvent const *)arg1)->getMessage();
- *(MsrpMessage **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1MsrpCallback(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- MsrpCallback *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (MsrpCallback *)new SwigDirector_MsrpCallback(jenv);
- *(MsrpCallback **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1MsrpCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- MsrpCallback *arg1 = (MsrpCallback *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(MsrpCallback **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpCallback_1OnEvent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- MsrpCallback *arg1 = (MsrpCallback *) 0 ;
- MsrpEvent *arg2 = (MsrpEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(MsrpCallback **)&jarg1;
- arg2 = *(MsrpEvent **)&jarg2;
- result = (int)(arg1)->OnEvent((MsrpEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpCallback_1OnEventSwigExplicitMsrpCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- MsrpCallback *arg1 = (MsrpCallback *) 0 ;
- MsrpEvent *arg2 = (MsrpEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(MsrpCallback **)&jarg1;
- arg2 = *(MsrpEvent **)&jarg2;
- result = (int)(arg1)->MsrpCallback::OnEvent((MsrpEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
- MsrpCallback *obj = *((MsrpCallback **)&objarg);
- (void)jcls;
- SwigDirector_MsrpCallback *director = static_cast<SwigDirector_MsrpCallback *>(obj);
- if (director) {
- director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
- }
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
- MsrpCallback *obj = *((MsrpCallback **)&objarg);
- SwigDirector_MsrpCallback *director = static_cast<SwigDirector_MsrpCallback *>(obj);
- (void)jcls;
- if (director) {
- director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
- }
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGMediaContentCPIMUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(MediaContent **)&baseptr = *(MediaContentCPIM **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGDialogEventUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(SipEvent **)&baseptr = *(DialogEvent **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGStackEventUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(SipEvent **)&baseptr = *(StackEvent **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGInviteEventUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(SipEvent **)&baseptr = *(InviteEvent **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGMessagingEventUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(SipEvent **)&baseptr = *(MessagingEvent **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGOptionsEventUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(SipEvent **)&baseptr = *(OptionsEvent **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGPublicationEventUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(SipEvent **)&baseptr = *(PublicationEvent **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGRegistrationEventUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(SipEvent **)&baseptr = *(RegistrationEvent **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGSubscriptionEventUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(SipEvent **)&baseptr = *(SubscriptionEvent **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGInviteSessionUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(SipSession **)&baseptr = *(InviteSession **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGCallSessionUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(InviteSession **)&baseptr = *(CallSession **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGMsrpSessionUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(InviteSession **)&baseptr = *(MsrpSession **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGMessagingSessionUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(SipSession **)&baseptr = *(MessagingSession **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGOptionsSessionUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(SipSession **)&baseptr = *(OptionsSession **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGPublicationSessionUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(SipSession **)&baseptr = *(PublicationSession **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGRegistrationSessionUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(SipSession **)&baseptr = *(RegistrationSession **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGSubscriptionSessionUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(SipSession **)&baseptr = *(SubscriptionSession **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGProxyAudioConsumerUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(ProxyPlugin **)&baseptr = *(ProxyAudioConsumer **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGProxyVideoConsumerUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(ProxyPlugin **)&baseptr = *(ProxyVideoConsumer **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGProxyAudioProducerUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(ProxyPlugin **)&baseptr = *(ProxyAudioProducer **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGProxyVideoProducerUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(ProxyPlugin **)&baseptr = *(ProxyVideoProducer **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGSipStackUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(SafeObject **)&baseptr = *(SipStack **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_swig_1module_1init(JNIEnv *jenv, jclass jcls) {
- int i;
-
- static struct {
- const char *method;
- const char *signature;
- } methods[33] = {
- {
- "SwigDirector_DDebugCallback_OnDebugInfo", "(Lorg/doubango/tinyWRAP/DDebugCallback;Ljava/lang/String;)I"
- },
- {
- "SwigDirector_DDebugCallback_OnDebugWarn", "(Lorg/doubango/tinyWRAP/DDebugCallback;Ljava/lang/String;)I"
- },
- {
- "SwigDirector_DDebugCallback_OnDebugError", "(Lorg/doubango/tinyWRAP/DDebugCallback;Ljava/lang/String;)I"
- },
- {
- "SwigDirector_DDebugCallback_OnDebugFatal", "(Lorg/doubango/tinyWRAP/DDebugCallback;Ljava/lang/String;)I"
- },
- {
- "SwigDirector_ProxyPluginMgrCallback_OnPluginCreated", "(Lorg/doubango/tinyWRAP/ProxyPluginMgrCallback;Ljava/math/BigInteger;I)I"
- },
- {
- "SwigDirector_ProxyPluginMgrCallback_OnPluginDestroyed", "(Lorg/doubango/tinyWRAP/ProxyPluginMgrCallback;Ljava/math/BigInteger;I)I"
- },
- {
- "SwigDirector_ProxyAudioConsumerCallback_prepare", "(Lorg/doubango/tinyWRAP/ProxyAudioConsumerCallback;III)I"
- },
- {
- "SwigDirector_ProxyAudioConsumerCallback_start", "(Lorg/doubango/tinyWRAP/ProxyAudioConsumerCallback;)I"
- },
- {
- "SwigDirector_ProxyAudioConsumerCallback_pause", "(Lorg/doubango/tinyWRAP/ProxyAudioConsumerCallback;)I"
- },
- {
- "SwigDirector_ProxyAudioConsumerCallback_stop", "(Lorg/doubango/tinyWRAP/ProxyAudioConsumerCallback;)I"
- },
- {
- "SwigDirector_ProxyVideoConsumerCallback_prepare", "(Lorg/doubango/tinyWRAP/ProxyVideoConsumerCallback;III)I"
- },
- {
- "SwigDirector_ProxyVideoConsumerCallback_consume", "(Lorg/doubango/tinyWRAP/ProxyVideoConsumerCallback;J)I"
- },
- {
- "SwigDirector_ProxyVideoConsumerCallback_start", "(Lorg/doubango/tinyWRAP/ProxyVideoConsumerCallback;)I"
- },
- {
- "SwigDirector_ProxyVideoConsumerCallback_pause", "(Lorg/doubango/tinyWRAP/ProxyVideoConsumerCallback;)I"
- },
- {
- "SwigDirector_ProxyVideoConsumerCallback_stop", "(Lorg/doubango/tinyWRAP/ProxyVideoConsumerCallback;)I"
- },
- {
- "SwigDirector_ProxyAudioProducerCallback_prepare", "(Lorg/doubango/tinyWRAP/ProxyAudioProducerCallback;III)I"
- },
- {
- "SwigDirector_ProxyAudioProducerCallback_start", "(Lorg/doubango/tinyWRAP/ProxyAudioProducerCallback;)I"
- },
- {
- "SwigDirector_ProxyAudioProducerCallback_pause", "(Lorg/doubango/tinyWRAP/ProxyAudioProducerCallback;)I"
- },
- {
- "SwigDirector_ProxyAudioProducerCallback_stop", "(Lorg/doubango/tinyWRAP/ProxyAudioProducerCallback;)I"
- },
- {
- "SwigDirector_ProxyVideoProducerCallback_prepare", "(Lorg/doubango/tinyWRAP/ProxyVideoProducerCallback;III)I"
- },
- {
- "SwigDirector_ProxyVideoProducerCallback_start", "(Lorg/doubango/tinyWRAP/ProxyVideoProducerCallback;)I"
- },
- {
- "SwigDirector_ProxyVideoProducerCallback_pause", "(Lorg/doubango/tinyWRAP/ProxyVideoProducerCallback;)I"
- },
- {
- "SwigDirector_ProxyVideoProducerCallback_stop", "(Lorg/doubango/tinyWRAP/ProxyVideoProducerCallback;)I"
- },
- {
- "SwigDirector_SipCallback_OnDialogEvent", "(Lorg/doubango/tinyWRAP/SipCallback;J)I"
- },
- {
- "SwigDirector_SipCallback_OnStackEvent", "(Lorg/doubango/tinyWRAP/SipCallback;J)I"
- },
- {
- "SwigDirector_SipCallback_OnInviteEvent", "(Lorg/doubango/tinyWRAP/SipCallback;J)I"
- },
- {
- "SwigDirector_SipCallback_OnMessagingEvent", "(Lorg/doubango/tinyWRAP/SipCallback;J)I"
- },
- {
- "SwigDirector_SipCallback_OnOptionsEvent", "(Lorg/doubango/tinyWRAP/SipCallback;J)I"
- },
- {
- "SwigDirector_SipCallback_OnPublicationEvent", "(Lorg/doubango/tinyWRAP/SipCallback;J)I"
- },
- {
- "SwigDirector_SipCallback_OnRegistrationEvent", "(Lorg/doubango/tinyWRAP/SipCallback;J)I"
- },
- {
- "SwigDirector_SipCallback_OnSubscriptionEvent", "(Lorg/doubango/tinyWRAP/SipCallback;J)I"
- },
- {
- "SwigDirector_XcapCallback_onEvent", "(Lorg/doubango/tinyWRAP/XcapCallback;J)I"
- },
- {
- "SwigDirector_MsrpCallback_OnEvent", "(Lorg/doubango/tinyWRAP/MsrpCallback;J)I"
- }
- };
- Swig::jclass_tinyWRAPJNI = (jclass) jenv->NewGlobalRef(jcls);
- if (!Swig::jclass_tinyWRAPJNI) return;
- for (i = 0; i < (int) (sizeof(methods)/sizeof(methods[0])); ++i) {
- Swig::director_methids[i] = jenv->GetStaticMethodID(jcls, methods[i].method, methods[i].signature);
- if (!Swig::director_methids[i]) return;
- }
-}
-
-
-#ifdef __cplusplus
-}
-#endif
-
diff --git a/branches/1.0/bindings/java/android/tinyWRAP_wrap.h b/branches/1.0/bindings/java/android/tinyWRAP_wrap.h
deleted file mode 100644
index dcccf16..0000000
--- a/branches/1.0/bindings/java/android/tinyWRAP_wrap.h
+++ /dev/null
@@ -1,174 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * This file is not intended to be easily readable and contains a number of
- * coding conventions designed to improve portability and efficiency. Do not make
- * changes to this file unless you know what you are doing--modify the SWIG
- * interface file instead.
- * ----------------------------------------------------------------------------- */
-
-#ifndef SWIG_tinyWRAP_WRAP_H_
-#define SWIG_tinyWRAP_WRAP_H_
-
-class SwigDirector_DDebugCallback : public DDebugCallback, public Swig::Director {
-
-public:
- void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global);
- SwigDirector_DDebugCallback(JNIEnv *jenv);
- virtual ~SwigDirector_DDebugCallback();
- virtual int OnDebugInfo(char const *message);
- virtual int OnDebugWarn(char const *message);
- virtual int OnDebugError(char const *message);
- virtual int OnDebugFatal(char const *message);
-public:
- bool swig_overrides(int n) {
- return (n < 4 ? swig_override[n] : false);
- }
-protected:
- bool swig_override[4];
-};
-
-class SwigDirector_ProxyPluginMgrCallback : public ProxyPluginMgrCallback, public Swig::Director {
-
-public:
- void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global);
- SwigDirector_ProxyPluginMgrCallback(JNIEnv *jenv);
- virtual ~SwigDirector_ProxyPluginMgrCallback();
- virtual int OnPluginCreated(uint64_t id, enum twrap_proxy_plugin_type_e type);
- virtual int OnPluginDestroyed(uint64_t id, enum twrap_proxy_plugin_type_e type);
-public:
- bool swig_overrides(int n) {
- return (n < 2 ? swig_override[n] : false);
- }
-protected:
- bool swig_override[2];
-};
-
-class SwigDirector_ProxyAudioConsumerCallback : public ProxyAudioConsumerCallback, public Swig::Director {
-
-public:
- void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global);
- SwigDirector_ProxyAudioConsumerCallback(JNIEnv *jenv);
- virtual ~SwigDirector_ProxyAudioConsumerCallback();
- virtual int prepare(int ptime, int rate, int channels);
- virtual int start();
- virtual int pause();
- virtual int stop();
-public:
- bool swig_overrides(int n) {
- return (n < 4 ? swig_override[n] : false);
- }
-protected:
- bool swig_override[4];
-};
-
-class SwigDirector_ProxyVideoConsumerCallback : public ProxyVideoConsumerCallback, public Swig::Director {
-
-public:
- void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global);
- SwigDirector_ProxyVideoConsumerCallback(JNIEnv *jenv);
- virtual ~SwigDirector_ProxyVideoConsumerCallback();
- virtual int prepare(int width, int height, int fps);
- virtual int consume(ProxyVideoFrame const *frame);
- virtual int start();
- virtual int pause();
- virtual int stop();
-public:
- bool swig_overrides(int n) {
- return (n < 5 ? swig_override[n] : false);
- }
-protected:
- bool swig_override[5];
-};
-
-class SwigDirector_ProxyAudioProducerCallback : public ProxyAudioProducerCallback, public Swig::Director {
-
-public:
- void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global);
- SwigDirector_ProxyAudioProducerCallback(JNIEnv *jenv);
- virtual ~SwigDirector_ProxyAudioProducerCallback();
- virtual int prepare(int ptime, int rate, int channels);
- virtual int start();
- virtual int pause();
- virtual int stop();
-public:
- bool swig_overrides(int n) {
- return (n < 4 ? swig_override[n] : false);
- }
-protected:
- bool swig_override[4];
-};
-
-class SwigDirector_ProxyVideoProducerCallback : public ProxyVideoProducerCallback, public Swig::Director {
-
-public:
- void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global);
- SwigDirector_ProxyVideoProducerCallback(JNIEnv *jenv);
- virtual ~SwigDirector_ProxyVideoProducerCallback();
- virtual int prepare(int width, int height, int fps);
- virtual int start();
- virtual int pause();
- virtual int stop();
-public:
- bool swig_overrides(int n) {
- return (n < 4 ? swig_override[n] : false);
- }
-protected:
- bool swig_override[4];
-};
-
-class SwigDirector_SipCallback : public SipCallback, public Swig::Director {
-
-public:
- void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global);
- SwigDirector_SipCallback(JNIEnv *jenv);
- virtual ~SwigDirector_SipCallback();
- virtual int OnDialogEvent(DialogEvent const *e);
- virtual int OnStackEvent(StackEvent const *e);
- virtual int OnInviteEvent(InviteEvent const *e);
- virtual int OnMessagingEvent(MessagingEvent const *e);
- virtual int OnOptionsEvent(OptionsEvent const *e);
- virtual int OnPublicationEvent(PublicationEvent const *e);
- virtual int OnRegistrationEvent(RegistrationEvent const *e);
- virtual int OnSubscriptionEvent(SubscriptionEvent const *e);
-public:
- bool swig_overrides(int n) {
- return (n < 8 ? swig_override[n] : false);
- }
-protected:
- bool swig_override[8];
-};
-
-class SwigDirector_XcapCallback : public XcapCallback, public Swig::Director {
-
-public:
- void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global);
- SwigDirector_XcapCallback(JNIEnv *jenv);
- virtual ~SwigDirector_XcapCallback();
- virtual int onEvent(XcapEvent const *e) const;
-public:
- bool swig_overrides(int n) {
- return (n < 1 ? swig_override[n] : false);
- }
-protected:
- bool swig_override[1];
-};
-
-class SwigDirector_MsrpCallback : public MsrpCallback, public Swig::Director {
-
-public:
- void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global);
- SwigDirector_MsrpCallback(JNIEnv *jenv);
- virtual ~SwigDirector_MsrpCallback();
- virtual int OnEvent(MsrpEvent const *e);
-public:
- bool swig_overrides(int n) {
- return (n < 1 ? swig_override[n] : false);
- }
-protected:
- bool swig_override[1];
-};
-
-
-#endif
diff --git a/branches/1.0/bindings/java/android/tmedia_bandwidth_level_t.java b/branches/1.0/bindings/java/android/tmedia_bandwidth_level_t.java
deleted file mode 100644
index 3d094f3..0000000
--- a/branches/1.0/bindings/java/android/tmedia_bandwidth_level_t.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum tmedia_bandwidth_level_t {
- tmedia_bl_low,
- tmedia_bl_medium,
- tmedia_bl_hight;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static tmedia_bandwidth_level_t swigToEnum(int swigValue) {
- tmedia_bandwidth_level_t[] swigValues = tmedia_bandwidth_level_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (tmedia_bandwidth_level_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + tmedia_bandwidth_level_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private tmedia_bandwidth_level_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private tmedia_bandwidth_level_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private tmedia_bandwidth_level_t(tmedia_bandwidth_level_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/android/tmedia_chroma_t.java b/branches/1.0/bindings/java/android/tmedia_chroma_t.java
deleted file mode 100644
index 18fbb97..0000000
--- a/branches/1.0/bindings/java/android/tmedia_chroma_t.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum tmedia_chroma_t {
- tmedia_rgb24,
- tmedia_bgr24,
- tmedia_rgb32,
- tmedia_rgb565le,
- tmedia_rgb565be,
- tmedia_nv12,
- tmedia_nv21,
- tmedia_yuv422p,
- tmedia_uyvy422,
- tmedia_yuv420p;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static tmedia_chroma_t swigToEnum(int swigValue) {
- tmedia_chroma_t[] swigValues = tmedia_chroma_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (tmedia_chroma_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + tmedia_chroma_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private tmedia_chroma_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private tmedia_chroma_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private tmedia_chroma_t(tmedia_chroma_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/android/tmedia_qos_strength_t.java b/branches/1.0/bindings/java/android/tmedia_qos_strength_t.java
deleted file mode 100644
index 5bd8017..0000000
--- a/branches/1.0/bindings/java/android/tmedia_qos_strength_t.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum tmedia_qos_strength_t {
- tmedia_qos_strength_none,
- tmedia_qos_strength_failure,
- tmedia_qos_strength_unknown,
- tmedia_qos_strength_optional,
- tmedia_qos_strength_mandatory;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static tmedia_qos_strength_t swigToEnum(int swigValue) {
- tmedia_qos_strength_t[] swigValues = tmedia_qos_strength_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (tmedia_qos_strength_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + tmedia_qos_strength_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private tmedia_qos_strength_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private tmedia_qos_strength_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private tmedia_qos_strength_t(tmedia_qos_strength_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/android/tmedia_qos_stype_t.java b/branches/1.0/bindings/java/android/tmedia_qos_stype_t.java
deleted file mode 100644
index e81416e..0000000
--- a/branches/1.0/bindings/java/android/tmedia_qos_stype_t.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum tmedia_qos_stype_t {
- tmedia_qos_stype_none,
- tmedia_qos_stype_segmented,
- tmedia_qos_stype_e2e;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static tmedia_qos_stype_t swigToEnum(int swigValue) {
- tmedia_qos_stype_t[] swigValues = tmedia_qos_stype_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (tmedia_qos_stype_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + tmedia_qos_stype_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private tmedia_qos_stype_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private tmedia_qos_stype_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private tmedia_qos_stype_t(tmedia_qos_stype_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/android/tmsrp_event_type_t.java b/branches/1.0/bindings/java/android/tmsrp_event_type_t.java
deleted file mode 100644
index c849e75..0000000
--- a/branches/1.0/bindings/java/android/tmsrp_event_type_t.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum tmsrp_event_type_t {
- tmsrp_event_type_none,
- tmsrp_event_type_connected,
- tmsrp_event_type_disconnected,
- tmsrp_event_type_message;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static tmsrp_event_type_t swigToEnum(int swigValue) {
- tmsrp_event_type_t[] swigValues = tmsrp_event_type_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (tmsrp_event_type_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + tmsrp_event_type_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private tmsrp_event_type_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private tmsrp_event_type_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private tmsrp_event_type_t(tmsrp_event_type_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/android/tmsrp_request_type_t.java b/branches/1.0/bindings/java/android/tmsrp_request_type_t.java
deleted file mode 100644
index 5c0d691..0000000
--- a/branches/1.0/bindings/java/android/tmsrp_request_type_t.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum tmsrp_request_type_t {
- tmsrp_NONE(0),
- tmsrp_SEND,
- tmsrp_REPORT,
- tmsrp_AUTH;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static tmsrp_request_type_t swigToEnum(int swigValue) {
- tmsrp_request_type_t[] swigValues = tmsrp_request_type_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (tmsrp_request_type_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + tmsrp_request_type_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private tmsrp_request_type_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private tmsrp_request_type_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private tmsrp_request_type_t(tmsrp_request_type_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/android/tsip_event_type_t.java b/branches/1.0/bindings/java/android/tsip_event_type_t.java
deleted file mode 100644
index 6527ee1..0000000
--- a/branches/1.0/bindings/java/android/tsip_event_type_t.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum tsip_event_type_t {
- tsip_event_invite,
- tsip_event_message,
- tsip_event_options,
- tsip_event_publish,
- tsip_event_register,
- tsip_event_subscribe,
- tsip_event_dialog;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static tsip_event_type_t swigToEnum(int swigValue) {
- tsip_event_type_t[] swigValues = tsip_event_type_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (tsip_event_type_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + tsip_event_type_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private tsip_event_type_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private tsip_event_type_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private tsip_event_type_t(tsip_event_type_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/android/tsip_invite_event_type_t.java b/branches/1.0/bindings/java/android/tsip_invite_event_type_t.java
deleted file mode 100644
index 64f036d..0000000
--- a/branches/1.0/bindings/java/android/tsip_invite_event_type_t.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum tsip_invite_event_type_t {
- tsip_i_newcall,
- tsip_i_request,
- tsip_ao_request,
- tsip_o_ect_ok,
- tsip_o_ect_nok,
- tsip_i_ect,
- tsip_m_early_media,
- tsip_m_local_hold_ok,
- tsip_m_local_hold_nok,
- tsip_m_local_resume_ok,
- tsip_m_local_resume_nok,
- tsip_m_remote_hold,
- tsip_m_remote_resume;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static tsip_invite_event_type_t swigToEnum(int swigValue) {
- tsip_invite_event_type_t[] swigValues = tsip_invite_event_type_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (tsip_invite_event_type_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + tsip_invite_event_type_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private tsip_invite_event_type_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private tsip_invite_event_type_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private tsip_invite_event_type_t(tsip_invite_event_type_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/android/tsip_message_event_type_t.java b/branches/1.0/bindings/java/android/tsip_message_event_type_t.java
deleted file mode 100644
index 280845a..0000000
--- a/branches/1.0/bindings/java/android/tsip_message_event_type_t.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum tsip_message_event_type_t {
- tsip_i_message,
- tsip_ao_message;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static tsip_message_event_type_t swigToEnum(int swigValue) {
- tsip_message_event_type_t[] swigValues = tsip_message_event_type_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (tsip_message_event_type_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + tsip_message_event_type_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private tsip_message_event_type_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private tsip_message_event_type_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private tsip_message_event_type_t(tsip_message_event_type_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/android/tsip_options_event_type_t.java b/branches/1.0/bindings/java/android/tsip_options_event_type_t.java
deleted file mode 100644
index 7016676..0000000
--- a/branches/1.0/bindings/java/android/tsip_options_event_type_t.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum tsip_options_event_type_t {
- tsip_i_options,
- tsip_ao_options;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static tsip_options_event_type_t swigToEnum(int swigValue) {
- tsip_options_event_type_t[] swigValues = tsip_options_event_type_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (tsip_options_event_type_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + tsip_options_event_type_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private tsip_options_event_type_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private tsip_options_event_type_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private tsip_options_event_type_t(tsip_options_event_type_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/android/tsip_publish_event_type_t.java b/branches/1.0/bindings/java/android/tsip_publish_event_type_t.java
deleted file mode 100644
index a9ec14a..0000000
--- a/branches/1.0/bindings/java/android/tsip_publish_event_type_t.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum tsip_publish_event_type_t {
- tsip_i_publish,
- tsip_ao_publish,
- tsip_i_unpublish,
- tsip_ao_unpublish;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static tsip_publish_event_type_t swigToEnum(int swigValue) {
- tsip_publish_event_type_t[] swigValues = tsip_publish_event_type_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (tsip_publish_event_type_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + tsip_publish_event_type_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private tsip_publish_event_type_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private tsip_publish_event_type_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private tsip_publish_event_type_t(tsip_publish_event_type_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/android/tsip_register_event_type_t.java b/branches/1.0/bindings/java/android/tsip_register_event_type_t.java
deleted file mode 100644
index 298204e..0000000
--- a/branches/1.0/bindings/java/android/tsip_register_event_type_t.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum tsip_register_event_type_t {
- tsip_i_newreg,
- tsip_i_register,
- tsip_ao_register,
- tsip_i_unregister,
- tsip_ao_unregister;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static tsip_register_event_type_t swigToEnum(int swigValue) {
- tsip_register_event_type_t[] swigValues = tsip_register_event_type_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (tsip_register_event_type_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + tsip_register_event_type_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private tsip_register_event_type_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private tsip_register_event_type_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private tsip_register_event_type_t(tsip_register_event_type_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/android/tsip_subscribe_event_type_t.java b/branches/1.0/bindings/java/android/tsip_subscribe_event_type_t.java
deleted file mode 100644
index 5091b65..0000000
--- a/branches/1.0/bindings/java/android/tsip_subscribe_event_type_t.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum tsip_subscribe_event_type_t {
- tsip_i_subscribe,
- tsip_ao_subscribe,
- tsip_i_unsubscribe,
- tsip_ao_unsubscribe,
- tsip_i_notify,
- tsip_ao_notify;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static tsip_subscribe_event_type_t swigToEnum(int swigValue) {
- tsip_subscribe_event_type_t[] swigValues = tsip_subscribe_event_type_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (tsip_subscribe_event_type_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + tsip_subscribe_event_type_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private tsip_subscribe_event_type_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private tsip_subscribe_event_type_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private tsip_subscribe_event_type_t(tsip_subscribe_event_type_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/android/twrap_media_type_t.java b/branches/1.0/bindings/java/android/twrap_media_type_t.java
deleted file mode 100644
index c70e6c9..0000000
--- a/branches/1.0/bindings/java/android/twrap_media_type_t.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum twrap_media_type_t {
- twrap_media_none,
- twrap_media_audio,
- twrap_media_video,
- twrap_media_audiovideo,
- twrap_media_msrp;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static twrap_media_type_t swigToEnum(int swigValue) {
- twrap_media_type_t[] swigValues = twrap_media_type_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (twrap_media_type_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + twrap_media_type_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private twrap_media_type_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private twrap_media_type_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private twrap_media_type_t(twrap_media_type_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/android/twrap_proxy_plugin_type_t.java b/branches/1.0/bindings/java/android/twrap_proxy_plugin_type_t.java
deleted file mode 100644
index bc0421b..0000000
--- a/branches/1.0/bindings/java/android/twrap_proxy_plugin_type_t.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum twrap_proxy_plugin_type_t {
- twrap_proxy_plugin_audio_producer,
- twrap_proxy_plugin_video_producer,
- twrap_proxy_plugin_audio_consumer,
- twrap_proxy_plugin_video_consumer;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static twrap_proxy_plugin_type_t swigToEnum(int swigValue) {
- twrap_proxy_plugin_type_t[] swigValues = twrap_proxy_plugin_type_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (twrap_proxy_plugin_type_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + twrap_proxy_plugin_type_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private twrap_proxy_plugin_type_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private twrap_proxy_plugin_type_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private twrap_proxy_plugin_type_t(twrap_proxy_plugin_type_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/android/twrap_rpmessage_type_t.java b/branches/1.0/bindings/java/android/twrap_rpmessage_type_t.java
deleted file mode 100644
index f8ed86a..0000000
--- a/branches/1.0/bindings/java/android/twrap_rpmessage_type_t.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum twrap_rpmessage_type_t {
- twrap_rpmessage_type_sms_none,
- twrap_rpmessage_type_sms_submit,
- twrap_rpmessage_type_sms_deliver,
- twrap_rpmessage_type_sms_ack,
- twrap_rpmessage_type_sms_error;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static twrap_rpmessage_type_t swigToEnum(int swigValue) {
- twrap_rpmessage_type_t[] swigValues = twrap_rpmessage_type_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (twrap_rpmessage_type_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + twrap_rpmessage_type_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private twrap_rpmessage_type_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private twrap_rpmessage_type_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private twrap_rpmessage_type_t(twrap_rpmessage_type_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/android/twrap_sms_type_t.java b/branches/1.0/bindings/java/android/twrap_sms_type_t.java
deleted file mode 100644
index dde6e1b..0000000
--- a/branches/1.0/bindings/java/android/twrap_sms_type_t.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum twrap_sms_type_t {
- twrap_sms_type_none,
- twrap_sms_type_rpdata,
- twrap_sms_type_smma,
- twrap_sms_type_ack,
- twrap_sms_type_error;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static twrap_sms_type_t swigToEnum(int swigValue) {
- twrap_sms_type_t[] swigValues = twrap_sms_type_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (twrap_sms_type_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + twrap_sms_type_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private twrap_sms_type_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private twrap_sms_type_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private twrap_sms_type_t(twrap_sms_type_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/java.i b/branches/1.0/bindings/java/java.i
deleted file mode 100644
index 6872e59..0000000
--- a/branches/1.0/bindings/java/java.i
+++ /dev/null
@@ -1,79 +0,0 @@
-/* File : java.i
-* http://www.swig.org/Doc1.3/Java.html
-*/
-
-// http://www.swig.org/Doc1.3/Java.html#enumerations
-%include "enums.swg"
-%javaconst(1);
-
-
-//================== Mapping void* (Java to C) as ByteBuffer
-%typemap(jni) void * "jbyteArray"
-%typemap(jtype) void * "java.nio.ByteBuffer"
-%typemap(jstype) void * "java.nio.ByteBuffer"
-%typemap(javain) void * "$javainput"
-%typemap(javaout) void * { return $jnicall; }
-
-// (From Java to C)
-%typemap(in) void * %{
- $1 = jenv->GetDirectBufferAddress($input);
-%}
-
-// (From C to Java)
-//%typemap(out) void * %{
-// $result = $1;
-//%}
-%typemap(javadirectorin) void * "$jniinput"
-//==================
-
-
-%typemap(javacode) SipMessage %{
- public byte[] getSipContent() {
- final int clen = (int)this.getSipContentLength();
- if(clen>0){
- final java.nio.ByteBuffer buffer = java.nio.ByteBuffer.allocateDirect(clen);
- final int read = (int)this.getSipContent(buffer, clen);
- final byte[] bytes = new byte[read];
- buffer.get(bytes, 0, read);
- return bytes;
- }
- return null;
- }
-%}
-
-%typemap(javacode) SipSession %{
- protected java.nio.ByteBuffer getByteBuffer(byte[] bytes) {
- if(bytes != null){
- final java.nio.ByteBuffer byteBuffer = java.nio.ByteBuffer.allocateDirect(bytes.length);
- byteBuffer.put(bytes);
- return byteBuffer;
- }
- return null;
- }
-%}
-
-%typemap(javacode) PublicationSession %{
- public boolean Publish(byte[] bytes) {
- if(bytes != null){
- final java.nio.ByteBuffer byteBuffer = this.getByteBuffer(bytes);
- return this.publish(byteBuffer, bytes.length);
- }
- return false;
- }
-%}
-
-%typemap(javacode) XcapMessage %{
- public byte[] getXcapContent() {
- final int clen = (int)this.getXcapContentLength();
- if(clen>0){
- final java.nio.ByteBuffer buffer = java.nio.ByteBuffer.allocateDirect(clen);
- final int read = (int)this.getXcapContent(buffer, clen);
- final byte[] bytes = new byte[read];
- buffer.get(bytes, 0, read);
- return bytes;
- }
- return null;
- }
-%}
-
-%include ../_common/tinyWRAP.i
diff --git a/branches/1.0/bindings/java/tdav_codec_id_t.java b/branches/1.0/bindings/java/tdav_codec_id_t.java
deleted file mode 100644
index f3e3f87..0000000
--- a/branches/1.0/bindings/java/tdav_codec_id_t.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum tdav_codec_id_t {
- tdav_codec_id_none(0x00000000),
- tdav_codec_id_amr_nb_oa(0x00000001 << 0),
- tdav_codec_id_amr_nb_be(0x00000001 << 1),
- tdav_codec_id_amr_wb_oa(0x00000001 << 2),
- tdav_codec_id_amr_wb_be(0x00000001 << 3),
- tdav_codec_id_gsm(0x00000001 << 4),
- tdav_codec_id_pcma(0x00000001 << 5),
- tdav_codec_id_pcmu(0x00000001 << 6),
- tdav_codec_id_ilbc(0x00000001 << 7),
- tdav_codec_id_speex_nb(0x00000001 << 8),
- tdav_codec_id_speex_wb(0x00000001 << 9),
- tdav_codec_id_speex_uwb(0x00000001 << 10),
- tdav_codec_id_bv16(0x00000001 << 11),
- tdav_codec_id_bv32(0x00000001 << 12),
- tdav_codec_id_evrc(0x00000001 << 13),
- tdav_codec_id_g729ab(0x00000001 << 14),
- tdav_codec_id_h261(0x00010000 << 0),
- tdav_codec_id_h263(0x00010000 << 1),
- tdav_codec_id_h263p(0x00010000 << 2),
- tdav_codec_id_h263pp(0x00010000 << 3),
- tdav_codec_id_h264_bp10(0x00010000 << 4),
- tdav_codec_id_h264_bp20(0x00010000 << 5),
- tdav_codec_id_h264_bp30(0x00010000 << 6),
- tdav_codec_id_theora(0x00010000 << 7),
- tdav_codec_id_mp4ves_es(0x00010000 << 8);
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static tdav_codec_id_t swigToEnum(int swigValue) {
- tdav_codec_id_t[] swigValues = tdav_codec_id_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (tdav_codec_id_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + tdav_codec_id_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private tdav_codec_id_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private tdav_codec_id_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private tdav_codec_id_t(tdav_codec_id_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/thttp_event_type_t.java b/branches/1.0/bindings/java/thttp_event_type_t.java
deleted file mode 100644
index de06855..0000000
--- a/branches/1.0/bindings/java/thttp_event_type_t.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum thttp_event_type_t {
- thttp_event_dialog_started,
- thttp_event_message,
- thttp_event_auth_failed,
- thttp_event_closed,
- thttp_event_transport_error,
- thttp_event_dialog_terminated;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static thttp_event_type_t swigToEnum(int swigValue) {
- thttp_event_type_t[] swigValues = thttp_event_type_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (thttp_event_type_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + thttp_event_type_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private thttp_event_type_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private thttp_event_type_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private thttp_event_type_t(thttp_event_type_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/tinyWRAP.java b/branches/1.0/bindings/java/tinyWRAP.java
deleted file mode 100644
index d10c59a..0000000
--- a/branches/1.0/bindings/java/tinyWRAP.java
+++ /dev/null
@@ -1,12 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public class tinyWRAP implements tinyWRAPConstants {
-}
diff --git a/branches/1.0/bindings/java/tinyWRAP.sln b/branches/1.0/bindings/java/tinyWRAP.sln
deleted file mode 100644
index 566b754..0000000
--- a/branches/1.0/bindings/java/tinyWRAP.sln
+++ /dev/null
@@ -1,478 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 10.00
-# Visual Studio 2008
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyWRAP", "tinyWRAP.vcproj", "{6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyNET", "..\..\tinyNET\tinyNET.vcproj", "{7522A458-92F4-4259-B906-E84C2A65D9F1}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyHTTP", "..\..\tinyHTTP\tinyHTTP.vcproj", "{B3E45009-C7C3-4090-837C-2D30C9058443}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinySIP", "..\..\tinySIP\tinySIP.vcproj", "{4CE20732-9978-4A88-B586-CFEFCB63E82D}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinySDP", "..\..\tinySDP\tinySDP.vcproj", "{E45DB518-6562-4033-80E8-60030F0B169F}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyMEDIA", "..\..\tinyMEDIA\tinyMEDIA.vcproj", "{52814B0D-7DCA-45B8-9A16-8B147040D619}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyIPSec", "..\..\tinyIPSec\tinyIPSec.vcproj", "{002FF064-588F-402E-A096-C8D033F49F40}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinySAK", "..\..\tinySAK\tinySAK.vcproj", "{6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyDAV", "..\..\tinyDAV\tinyDAV.vcproj", "{8E2F0B2E-2596-4010-BF4A-2F688975B5C1}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyDSHOW", "..\..\tinyDSHOW\tinyDSHOW.vcproj", "{0CCC02F1-4233-424F-AD5E-A021456E6E8D}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyMSRP", "..\..\tinyMSRP\tinyMSRP.vcproj", "{AA46AF16-9678-4054-8E48-98DC21ECEC82}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinySIGCOMP", "..\..\tinySIGCOMP\tinySIGCOMP.vcproj", "{76261DC8-25B3-43F4-9FB5-112C4AC0880E}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinySMS", "..\..\tinySMS\tinySMS.vcproj", "{9A3A5AF3-2333-4477-B880-7F901F9D8972}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyXCAP", "..\..\tinyXCAP\tinyXCAP.vcproj", "{570CF33D-E65F-448F-8AC2-F9AE2F23152F}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyRTP", "..\..\tinyRTP\tinyRTP.vcproj", "{99B7D02F-8C70-4B45-AF3C-92313C3CEE15}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Debug|Mixed Platforms = Debug|Mixed Platforms
- Debug|Win32 = Debug|Win32
- Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- Release|Any CPU = Release|Any CPU
- Release|Mixed Platforms = Release|Mixed Platforms
- Release|Win32 = Release|Win32
- Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- Static_Debug|Any CPU = Static_Debug|Any CPU
- Static_Debug|Mixed Platforms = Static_Debug|Mixed Platforms
- Static_Debug|Win32 = Static_Debug|Win32
- Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) = Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- Static_Release|Any CPU = Static_Release|Any CPU
- Static_Release|Mixed Platforms = Static_Release|Mixed Platforms
- Static_Release|Win32 = Static_Release|Win32
- Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) = Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Debug|Any CPU.ActiveCfg = Debug|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Debug|Win32.ActiveCfg = Debug|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Debug|Win32.Build.0 = Debug|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Release|Any CPU.ActiveCfg = Release|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Release|Mixed Platforms.ActiveCfg = Release|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Release|Mixed Platforms.Build.0 = Release|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Release|Win32.ActiveCfg = Release|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Release|Win32.Build.0 = Release|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Static_Debug|Any CPU.ActiveCfg = Debug|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Static_Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Static_Debug|Mixed Platforms.Build.0 = Debug|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Static_Debug|Win32.ActiveCfg = Debug|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Static_Debug|Win32.Build.0 = Debug|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Static_Release|Any CPU.ActiveCfg = Release|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Static_Release|Mixed Platforms.ActiveCfg = Release|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Static_Release|Mixed Platforms.Build.0 = Release|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Static_Release|Win32.ActiveCfg = Release|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Static_Release|Win32.Build.0 = Release|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Debug|Any CPU.ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Debug|Mixed Platforms.Deploy.0 = Debug|Win32
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Debug|Win32.ActiveCfg = Debug|Win32
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Debug|Win32.Build.0 = Debug|Win32
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Release|Any CPU.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Release|Mixed Platforms.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Release|Mixed Platforms.Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Release|Mixed Platforms.Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Release|Win32.ActiveCfg = Release|Win32
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Release|Win32.Build.0 = Release|Win32
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Debug|Any CPU.ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Debug|Mixed Platforms.ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Debug|Mixed Platforms.Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Debug|Mixed Platforms.Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Debug|Win32.ActiveCfg = Debug|Win32
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Debug|Win32.Build.0 = Debug|Win32
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Release|Any CPU.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Release|Mixed Platforms.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Release|Mixed Platforms.Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Release|Mixed Platforms.Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Release|Win32.ActiveCfg = Release|Win32
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Release|Win32.Build.0 = Release|Win32
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Debug|Any CPU.ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Debug|Mixed Platforms.Deploy.0 = Debug|Win32
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Debug|Win32.ActiveCfg = Debug|Win32
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Debug|Win32.Build.0 = Debug|Win32
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Release|Any CPU.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Release|Mixed Platforms.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Release|Mixed Platforms.Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Release|Mixed Platforms.Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Release|Win32.ActiveCfg = Release|Win32
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Release|Win32.Build.0 = Release|Win32
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Debug|Any CPU.ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Debug|Mixed Platforms.ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Debug|Mixed Platforms.Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Debug|Mixed Platforms.Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Debug|Win32.ActiveCfg = Debug|Win32
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Debug|Win32.Build.0 = Debug|Win32
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Release|Any CPU.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Release|Mixed Platforms.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Release|Mixed Platforms.Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Release|Mixed Platforms.Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Release|Win32.ActiveCfg = Release|Win32
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Release|Win32.Build.0 = Release|Win32
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Debug|Any CPU.ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Debug|Mixed Platforms.Deploy.0 = Debug|Win32
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Debug|Win32.ActiveCfg = Debug|Win32
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Debug|Win32.Build.0 = Debug|Win32
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Release|Any CPU.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Release|Mixed Platforms.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Release|Mixed Platforms.Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Release|Mixed Platforms.Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Release|Win32.ActiveCfg = Release|Win32
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Release|Win32.Build.0 = Release|Win32
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Debug|Any CPU.ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Debug|Mixed Platforms.ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Debug|Mixed Platforms.Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Debug|Mixed Platforms.Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Debug|Win32.ActiveCfg = Debug|Win32
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Debug|Win32.Build.0 = Debug|Win32
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Release|Any CPU.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Release|Mixed Platforms.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Release|Mixed Platforms.Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Release|Mixed Platforms.Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Release|Win32.ActiveCfg = Release|Win32
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Release|Win32.Build.0 = Release|Win32
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {E45DB518-6562-4033-80E8-60030F0B169F}.Debug|Any CPU.ActiveCfg = Debug|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Debug|Win32.ActiveCfg = Debug|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Debug|Win32.Build.0 = Debug|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Release|Any CPU.ActiveCfg = Release|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Release|Mixed Platforms.ActiveCfg = Release|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Release|Mixed Platforms.Build.0 = Release|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Release|Win32.ActiveCfg = Release|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Release|Win32.Build.0 = Release|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Static_Debug|Any CPU.ActiveCfg = Debug|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Static_Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Static_Debug|Mixed Platforms.Build.0 = Debug|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Static_Debug|Win32.ActiveCfg = Debug|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Static_Debug|Win32.Build.0 = Debug|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Static_Release|Any CPU.ActiveCfg = Release|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Static_Release|Mixed Platforms.ActiveCfg = Release|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Static_Release|Mixed Platforms.Build.0 = Release|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Static_Release|Win32.ActiveCfg = Release|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Static_Release|Win32.Build.0 = Release|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Debug|Any CPU.ActiveCfg = Debug|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Debug|Win32.ActiveCfg = Debug|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Debug|Win32.Build.0 = Debug|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Release|Any CPU.ActiveCfg = Release|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Release|Mixed Platforms.ActiveCfg = Release|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Release|Mixed Platforms.Build.0 = Release|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Release|Win32.ActiveCfg = Release|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Release|Win32.Build.0 = Release|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Static_Debug|Any CPU.ActiveCfg = Debug|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Static_Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Static_Debug|Mixed Platforms.Build.0 = Debug|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Static_Debug|Win32.ActiveCfg = Debug|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Static_Debug|Win32.Build.0 = Debug|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Static_Release|Any CPU.ActiveCfg = Release|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Static_Release|Mixed Platforms.ActiveCfg = Release|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Static_Release|Mixed Platforms.Build.0 = Release|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Static_Release|Win32.ActiveCfg = Release|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Static_Release|Win32.Build.0 = Release|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Debug|Any CPU.ActiveCfg = Debug|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Debug|Win32.ActiveCfg = Debug|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Debug|Win32.Build.0 = Debug|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Release|Any CPU.ActiveCfg = Release|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Release|Mixed Platforms.ActiveCfg = Release|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Release|Mixed Platforms.Build.0 = Release|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Release|Win32.ActiveCfg = Release|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Release|Win32.Build.0 = Release|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Static_Debug|Any CPU.ActiveCfg = Debug|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Static_Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Static_Debug|Mixed Platforms.Build.0 = Debug|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Static_Debug|Win32.ActiveCfg = Debug|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Static_Debug|Win32.Build.0 = Debug|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Static_Release|Any CPU.ActiveCfg = Release|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Static_Release|Mixed Platforms.ActiveCfg = Release|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Static_Release|Mixed Platforms.Build.0 = Release|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Static_Release|Win32.ActiveCfg = Release|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Static_Release|Win32.Build.0 = Release|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Debug|Any CPU.ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Debug|Mixed Platforms.Deploy.0 = Debug|Win32
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Debug|Win32.ActiveCfg = Debug|Win32
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Debug|Win32.Build.0 = Debug|Win32
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Release|Any CPU.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Release|Mixed Platforms.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Release|Mixed Platforms.Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Release|Mixed Platforms.Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Release|Win32.ActiveCfg = Release|Win32
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Release|Win32.Build.0 = Release|Win32
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Debug|Any CPU.ActiveCfg = Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Debug|Mixed Platforms.ActiveCfg = Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Debug|Mixed Platforms.Build.0 = Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Debug|Mixed Platforms.Deploy.0 = Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Debug|Win32.ActiveCfg = Static_Debug|Win32
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Debug|Win32.Build.0 = Static_Debug|Win32
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Release|Any CPU.ActiveCfg = Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Release|Mixed Platforms.ActiveCfg = Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Release|Mixed Platforms.Build.0 = Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Release|Mixed Platforms.Deploy.0 = Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Release|Win32.ActiveCfg = Static_Release|Win32
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Release|Win32.Build.0 = Static_Release|Win32
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Debug|Any CPU.ActiveCfg = Debug|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Debug|Win32.ActiveCfg = Debug|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Debug|Win32.Build.0 = Debug|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Release|Any CPU.ActiveCfg = Release|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Release|Mixed Platforms.ActiveCfg = Release|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Release|Mixed Platforms.Build.0 = Release|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Release|Win32.ActiveCfg = Release|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Release|Win32.Build.0 = Release|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Static_Debug|Any CPU.ActiveCfg = Debug|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Static_Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Static_Debug|Mixed Platforms.Build.0 = Debug|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Static_Debug|Win32.ActiveCfg = Debug|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Static_Debug|Win32.Build.0 = Debug|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Static_Release|Any CPU.ActiveCfg = Release|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Static_Release|Mixed Platforms.ActiveCfg = Release|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Static_Release|Mixed Platforms.Build.0 = Release|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Static_Release|Win32.ActiveCfg = Release|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Static_Release|Win32.Build.0 = Release|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Debug|Any CPU.ActiveCfg = Debug|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Debug|Win32.ActiveCfg = Debug|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Debug|Win32.Build.0 = Debug|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Release|Any CPU.ActiveCfg = Release|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Release|Mixed Platforms.ActiveCfg = Release|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Release|Mixed Platforms.Build.0 = Release|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Release|Win32.ActiveCfg = Release|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Release|Win32.Build.0 = Release|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Static_Debug|Any CPU.ActiveCfg = Debug|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Static_Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Static_Debug|Mixed Platforms.Build.0 = Debug|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Static_Debug|Win32.ActiveCfg = Debug|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Static_Debug|Win32.Build.0 = Debug|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Static_Release|Any CPU.ActiveCfg = Release|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Static_Release|Mixed Platforms.ActiveCfg = Release|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Static_Release|Mixed Platforms.Build.0 = Release|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Static_Release|Win32.ActiveCfg = Release|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Static_Release|Win32.Build.0 = Release|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Debug|Any CPU.ActiveCfg = Debug|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Debug|Win32.ActiveCfg = Debug|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Debug|Win32.Build.0 = Debug|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Release|Any CPU.ActiveCfg = Release|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Release|Mixed Platforms.ActiveCfg = Release|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Release|Mixed Platforms.Build.0 = Release|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Release|Win32.ActiveCfg = Release|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Release|Win32.Build.0 = Release|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Static_Debug|Any CPU.ActiveCfg = Debug|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Static_Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Static_Debug|Mixed Platforms.Build.0 = Debug|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Static_Debug|Win32.ActiveCfg = Debug|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Static_Debug|Win32.Build.0 = Debug|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Static_Release|Any CPU.ActiveCfg = Release|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Static_Release|Mixed Platforms.ActiveCfg = Release|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Static_Release|Mixed Platforms.Build.0 = Release|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Static_Release|Win32.ActiveCfg = Release|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Static_Release|Win32.Build.0 = Release|Win32
- {AA46AF16-9678-4054-8E48-98DC21ECEC82}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Debug|Any CPU.ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Debug|Mixed Platforms.ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Debug|Mixed Platforms.Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Debug|Mixed Platforms.Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Debug|Win32.ActiveCfg = Debug|Win32
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Debug|Win32.Build.0 = Debug|Win32
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Release|Any CPU.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Release|Mixed Platforms.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Release|Mixed Platforms.Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Release|Mixed Platforms.Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Release|Win32.ActiveCfg = Release|Win32
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Release|Win32.Build.0 = Release|Win32
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Debug|Any CPU.ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Debug|Mixed Platforms.ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Debug|Mixed Platforms.Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Debug|Mixed Platforms.Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Debug|Win32.ActiveCfg = Debug|Win32
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Debug|Win32.Build.0 = Debug|Win32
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Release|Any CPU.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Release|Mixed Platforms.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Release|Mixed Platforms.Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Release|Mixed Platforms.Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Release|Win32.ActiveCfg = Release|Win32
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Release|Win32.Build.0 = Release|Win32
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Debug|Any CPU.ActiveCfg = Debug|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Debug|Win32.ActiveCfg = Debug|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Debug|Win32.Build.0 = Debug|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Release|Any CPU.ActiveCfg = Release|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Release|Mixed Platforms.ActiveCfg = Release|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Release|Mixed Platforms.Build.0 = Release|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Release|Win32.ActiveCfg = Release|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Release|Win32.Build.0 = Release|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Static_Debug|Any CPU.ActiveCfg = Debug|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Static_Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Static_Debug|Mixed Platforms.Build.0 = Debug|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Static_Debug|Win32.ActiveCfg = Debug|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Static_Debug|Win32.Build.0 = Debug|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Static_Release|Any CPU.ActiveCfg = Release|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Static_Release|Mixed Platforms.ActiveCfg = Release|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Static_Release|Mixed Platforms.Build.0 = Release|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Static_Release|Win32.ActiveCfg = Release|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Static_Release|Win32.Build.0 = Release|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Debug|Any CPU.ActiveCfg = Debug|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Debug|Win32.ActiveCfg = Debug|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Debug|Win32.Build.0 = Debug|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Release|Any CPU.ActiveCfg = Release|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Release|Mixed Platforms.ActiveCfg = Release|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Release|Mixed Platforms.Build.0 = Release|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Release|Win32.ActiveCfg = Release|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Release|Win32.Build.0 = Release|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Static_Debug|Any CPU.ActiveCfg = Debug|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Static_Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Static_Debug|Mixed Platforms.Build.0 = Debug|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Static_Debug|Win32.ActiveCfg = Debug|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Static_Debug|Win32.Build.0 = Debug|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Static_Release|Any CPU.ActiveCfg = Release|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Static_Release|Mixed Platforms.ActiveCfg = Release|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Static_Release|Mixed Platforms.Build.0 = Release|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Static_Release|Win32.ActiveCfg = Release|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Static_Release|Win32.Build.0 = Release|Win32
- {570CF33D-E65F-448F-8AC2-F9AE2F23152F}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Debug|Any CPU.ActiveCfg = Debug|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Debug|Win32.ActiveCfg = Debug|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Debug|Win32.Build.0 = Debug|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Release|Any CPU.ActiveCfg = Release|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Release|Mixed Platforms.ActiveCfg = Release|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Release|Mixed Platforms.Build.0 = Release|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Release|Win32.ActiveCfg = Release|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Release|Win32.Build.0 = Release|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Static_Debug|Any CPU.ActiveCfg = Debug|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Static_Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Static_Debug|Mixed Platforms.Build.0 = Debug|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Static_Debug|Win32.ActiveCfg = Debug|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Static_Debug|Win32.Build.0 = Debug|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Static_Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Static_Release|Any CPU.ActiveCfg = Release|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Static_Release|Mixed Platforms.ActiveCfg = Release|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Static_Release|Mixed Platforms.Build.0 = Release|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Static_Release|Win32.ActiveCfg = Release|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Static_Release|Win32.Build.0 = Release|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Static_Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/branches/1.0/bindings/java/tinyWRAP.vcproj b/branches/1.0/bindings/java/tinyWRAP.vcproj
deleted file mode 100644
index 65a00f7..0000000
--- a/branches/1.0/bindings/java/tinyWRAP.vcproj
+++ /dev/null
@@ -1,362 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="tinyWRAP"
- ProjectGUID="{6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}"
- RootNamespace="tinyWRAP"
- Keyword="Win32Proj"
- TargetFrameworkVersion="196613"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="2"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories="&quot;$(JDK_HOME)\include&quot;;&quot;$(JDK_HOME)\include\win32&quot;;..\_common;..\.;..\..\thirdparties\win32\include;..\..\tinySAK\src;..\..\tinyNET\src;..\..\tinyHTTP\include;..\..\tinySIP\include;..\..\tinyDAV\include;..\..\tinySDP\include;..\..\tinyMEDIA\include;..\..\tinyXCAP\include;..\..\tinySMS\include;..\..\tinyMSRP\include"
- PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;TINYWRAP_EXPORTS"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- WarnAsError="true"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="$(OutDir)\tinySAK.lib $(OutDir)\tinySIP.lib $(OutDir)\tinyNET.lib $(OutDir)\tinyDAV.lib $(OutDir)\tinyMEDIA.lib $(OutDir)\tinyHTTP.lib $(OutDir)\tinyXCAP.lib $(OutDir)\tinySMS.lib $(OutDir)\tinyMSRP.lib $(OutDir)\tinySDP.lib"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="2"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- EnableIntrinsicFunctions="true"
- AdditionalIncludeDirectories="&quot;$(JDK_HOME)\include&quot;;&quot;$(JDK_HOME)\include\win32&quot;;..\_common;..\.;..\..\thirdparties\win32\include;..\..\tinySAK\src;..\..\tinyNET\src;..\..\tinyHTTP\include;..\..\tinySIP\include;..\..\tinyDAV\include;..\..\tinySDP\include;..\..\tinyMEDIA\include;..\..\tinyXCAP\include;..\..\tinySMS\include;..\..\tinyMSRP\include"
- PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;TINYWRAP_EXPORTS"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="$(OutDir)\tinySAK.lib $(OutDir)\tinySIP.lib $(OutDir)\tinyNET.lib $(OutDir)\tinyDAV.lib $(OutDir)\tinyMEDIA.lib $(OutDir)\tinyHTTP.lib $(OutDir)\tinyXCAP.lib $(OutDir)\tinySMS.lib $(OutDir)\tinyMSRP.lib $(OutDir)\tinySDP.lib"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="2"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="source"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath="..\_common\ActionConfig.cxx"
- >
- </File>
- <File
- RelativePath="..\_common\DDebug.cxx"
- >
- </File>
- <File
- RelativePath="..\_common\Msrp.cxx"
- >
- </File>
- <File
- RelativePath="..\_common\ProxyConsumer.cxx"
- >
- </File>
- <File
- RelativePath="..\_common\ProxyProducer.cxx"
- >
- </File>
- <File
- RelativePath="..\_common\SafeObject.cxx"
- >
- </File>
- <File
- RelativePath="..\_common\SipCallback.cxx"
- >
- </File>
- <File
- RelativePath="..\_common\SipEvent.cxx"
- >
- </File>
- <File
- RelativePath="..\_common\SipMessage.cxx"
- >
- </File>
- <File
- RelativePath="..\_common\SipSession.cxx"
- >
- </File>
- <File
- RelativePath="..\_common\SipStack.cxx"
- >
- </File>
- <File
- RelativePath="..\_common\SipUri.cxx"
- >
- </File>
- <File
- RelativePath="..\_common\SMSEncoder.cxx"
- >
- </File>
- <File
- RelativePath=".\tinyWRAP_wrap.cxx"
- >
- </File>
- <File
- RelativePath="..\_common\Xcap.cxx"
- >
- </File>
- </Filter>
- <Filter
- Name="headers"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- <File
- RelativePath="..\_common\ActionConfig.h"
- >
- </File>
- <File
- RelativePath="..\_common\Common.h"
- >
- </File>
- <File
- RelativePath="..\_common\DDebug.h"
- >
- </File>
- <File
- RelativePath="..\_common\Msrp.h"
- >
- </File>
- <File
- RelativePath="..\_common\ProxyConsumer.h"
- >
- </File>
- <File
- RelativePath="..\_common\ProxyProducer.h"
- >
- </File>
- <File
- RelativePath="..\_common\SafeObject.h"
- >
- </File>
- <File
- RelativePath="..\_common\SipCallback.h"
- >
- </File>
- <File
- RelativePath="..\_common\SipEvent.h"
- >
- </File>
- <File
- RelativePath="..\_common\SipMessage.h"
- >
- </File>
- <File
- RelativePath="..\_common\SipSession.h"
- >
- </File>
- <File
- RelativePath="..\_common\SipStack.h"
- >
- </File>
- <File
- RelativePath="..\_common\SipUri.h"
- >
- </File>
- <File
- RelativePath="..\_common\SMSEncoder.h"
- >
- </File>
- <File
- RelativePath="..\_common\tinyWRAP_config.h"
- >
- </File>
- <File
- RelativePath=".\tinyWRAP_wrap.h"
- >
- </File>
- <File
- RelativePath="..\_common\Xcap.h"
- >
- </File>
- </Filter>
- <Filter
- Name="interfaces"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- <Filter
- Name="common"
- >
- <File
- RelativePath="..\_common\SipStack.i"
- >
- </File>
- <File
- RelativePath="..\_common\tinyWRAP.i"
- >
- </File>
- </Filter>
- <Filter
- Name="languages"
- >
- <File
- RelativePath=".\csharp.i"
- >
- </File>
- <File
- RelativePath="..\java\java.i"
- >
- </File>
- <File
- RelativePath="..\perl\perl.i"
- >
- </File>
- <File
- RelativePath="..\python\python.i"
- >
- </File>
- <File
- RelativePath="..\ruby\ruby.i"
- >
- </File>
- <File
- RelativePath="..\_common\XcapStack.i"
- >
- </File>
- </Filter>
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/branches/1.0/bindings/java/tinyWRAPConstants.java b/branches/1.0/bindings/java/tinyWRAPConstants.java
deleted file mode 100644
index ae496b7..0000000
--- a/branches/1.0/bindings/java/tinyWRAPConstants.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public interface tinyWRAPConstants {
- public final static int tsip_event_code_dialog_transport_error = 702;
- public final static int tsip_event_code_dialog_global_error = 703;
- public final static int tsip_event_code_dialog_message_error = 704;
- public final static int tsip_event_code_dialog_request_incoming = 800;
- public final static int tsip_event_code_dialog_request_cancelled = 801;
- public final static int tsip_event_code_dialog_request_sent = 802;
- public final static int tsip_event_code_dialog_connecting = 900;
- public final static int tsip_event_code_dialog_connected = 901;
- public final static int tsip_event_code_dialog_terminating = 902;
- public final static int tsip_event_code_dialog_terminated = 903;
- public final static int tsip_event_code_stack_started = 950;
- public final static int tsip_event_code_stack_stopped = 951;
- public final static int tsip_event_code_stack_failed_to_start = 952;
- public final static int tsip_event_code_stack_failed_to_stop = 953;
-}
diff --git a/branches/1.0/bindings/java/tinyWRAPJNI.java b/branches/1.0/bindings/java/tinyWRAPJNI.java
deleted file mode 100644
index 9ffcb56..0000000
--- a/branches/1.0/bindings/java/tinyWRAPJNI.java
+++ /dev/null
@@ -1,556 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-class tinyWRAPJNI {
- public final static native long new_DDebugCallback();
- public final static native void delete_DDebugCallback(long jarg1);
- public final static native int DDebugCallback_OnDebugInfo(long jarg1, DDebugCallback jarg1_, String jarg2);
- public final static native int DDebugCallback_OnDebugInfoSwigExplicitDDebugCallback(long jarg1, DDebugCallback jarg1_, String jarg2);
- public final static native int DDebugCallback_OnDebugWarn(long jarg1, DDebugCallback jarg1_, String jarg2);
- public final static native int DDebugCallback_OnDebugWarnSwigExplicitDDebugCallback(long jarg1, DDebugCallback jarg1_, String jarg2);
- public final static native int DDebugCallback_OnDebugError(long jarg1, DDebugCallback jarg1_, String jarg2);
- public final static native int DDebugCallback_OnDebugErrorSwigExplicitDDebugCallback(long jarg1, DDebugCallback jarg1_, String jarg2);
- public final static native int DDebugCallback_OnDebugFatal(long jarg1, DDebugCallback jarg1_, String jarg2);
- public final static native int DDebugCallback_OnDebugFatalSwigExplicitDDebugCallback(long jarg1, DDebugCallback jarg1_, String jarg2);
- public final static native void DDebugCallback_director_connect(DDebugCallback obj, long cptr, boolean mem_own, boolean weak_global);
- public final static native void DDebugCallback_change_ownership(DDebugCallback obj, long cptr, boolean take_or_release);
- public final static native long new_ActionConfig();
- public final static native void delete_ActionConfig(long jarg1);
- public final static native boolean ActionConfig_addHeader(long jarg1, ActionConfig jarg1_, String jarg2, String jarg3);
- public final static native long ActionConfig_setResponseLine(long jarg1, ActionConfig jarg1_, short jarg2, String jarg3);
- public final static native long ActionConfig_setMediaString(long jarg1, ActionConfig jarg1_, int jarg2, String jarg3, String jarg4);
- public final static native long ActionConfig_setMediaInt(long jarg1, ActionConfig jarg1_, int jarg2, String jarg3, int jarg4);
- public final static native void delete_MediaSessionMgr(long jarg1);
- public final static native boolean MediaSessionMgr_sessionSetInt32(long jarg1, MediaSessionMgr jarg1_, int jarg2, String jarg3, int jarg4);
- public final static native boolean MediaSessionMgr_consumerSetInt32(long jarg1, MediaSessionMgr jarg1_, int jarg2, String jarg3, int jarg4);
- public final static native boolean MediaSessionMgr_consumerSetInt64(long jarg1, MediaSessionMgr jarg1_, int jarg2, String jarg3, long jarg4);
- public final static native boolean MediaSessionMgr_producerSetInt32(long jarg1, MediaSessionMgr jarg1_, int jarg2, String jarg3, int jarg4);
- public final static native boolean MediaSessionMgr_producerSetInt64(long jarg1, MediaSessionMgr jarg1_, int jarg2, String jarg3, long jarg4);
- public final static native long MediaSessionMgr_findProxyPluginConsumer(long jarg1, MediaSessionMgr jarg1_, int jarg2);
- public final static native long MediaSessionMgr_findProxyPluginProducer(long jarg1, MediaSessionMgr jarg1_, int jarg2);
- public final static native void delete_MediaContent(long jarg1);
- public final static native String MediaContent_getType(long jarg1, MediaContent jarg1_);
- public final static native long MediaContent_getDataLength(long jarg1, MediaContent jarg1_);
- public final static native long MediaContent_getData(long jarg1, MediaContent jarg1_, java.nio.ByteBuffer jarg2, long jarg3);
- public final static native long MediaContent_parse__SWIG_0(java.nio.ByteBuffer jarg1, long jarg2, String jarg3);
- public final static native long MediaContent_parse__SWIG_1(java.nio.ByteBuffer jarg1, long jarg2);
- public final static native long MediaContent_getPayloadLength(long jarg1, MediaContent jarg1_);
- public final static native long MediaContent_getPayload(long jarg1, MediaContent jarg1_, java.nio.ByteBuffer jarg2, long jarg3);
- public final static native void delete_MediaContentCPIM(long jarg1);
- public final static native long MediaContentCPIM_getPayloadLength(long jarg1, MediaContentCPIM jarg1_);
- public final static native long MediaContentCPIM_getPayload(long jarg1, MediaContentCPIM jarg1_, java.nio.ByteBuffer jarg2, long jarg3);
- public final static native String MediaContentCPIM_getHeaderValue(long jarg1, MediaContentCPIM jarg1_, String jarg2);
- public final static native long new_SipUri(String jarg1);
- public final static native void delete_SipUri(long jarg1);
- public final static native boolean SipUri_isValid__SWIG_0(String jarg1);
- public final static native boolean SipUri_isValid__SWIG_1(long jarg1, SipUri jarg1_);
- public final static native String SipUri_getScheme(long jarg1, SipUri jarg1_);
- public final static native String SipUri_getHost(long jarg1, SipUri jarg1_);
- public final static native int SipUri_getPort(long jarg1, SipUri jarg1_);
- public final static native String SipUri_getUserName(long jarg1, SipUri jarg1_);
- public final static native String SipUri_getPassword(long jarg1, SipUri jarg1_);
- public final static native String SipUri_getDisplayName(long jarg1, SipUri jarg1_);
- public final static native String SipUri_getParamValue(long jarg1, SipUri jarg1_, String jarg2);
- public final static native long new_SdpMessage();
- public final static native void delete_SdpMessage(long jarg1);
- public final static native String SdpMessage_getSdpHeaderValue__SWIG_0(long jarg1, SdpMessage jarg1_, String jarg2, char jarg3, long jarg4);
- public final static native String SdpMessage_getSdpHeaderValue__SWIG_1(long jarg1, SdpMessage jarg1_, String jarg2, char jarg3);
- public final static native String SdpMessage_getSdpHeaderAValue(long jarg1, SdpMessage jarg1_, String jarg2, String jarg3);
- public final static native long new_SipMessage();
- public final static native void delete_SipMessage(long jarg1);
- public final static native String SipMessage_getSipHeaderValue__SWIG_0(long jarg1, SipMessage jarg1_, String jarg2, long jarg3);
- public final static native String SipMessage_getSipHeaderValue__SWIG_1(long jarg1, SipMessage jarg1_, String jarg2);
- public final static native String SipMessage_getSipHeaderParamValue__SWIG_0(long jarg1, SipMessage jarg1_, String jarg2, String jarg3, long jarg4);
- public final static native String SipMessage_getSipHeaderParamValue__SWIG_1(long jarg1, SipMessage jarg1_, String jarg2, String jarg3);
- public final static native long SipMessage_getSipContentLength(long jarg1, SipMessage jarg1_);
- public final static native long SipMessage_getSipContent(long jarg1, SipMessage jarg1_, java.nio.ByteBuffer jarg2, long jarg3);
- public final static native long SipMessage_getSdpMessage(long jarg1, SipMessage jarg1_);
- public final static native void delete_SipEvent(long jarg1);
- public final static native short SipEvent_getCode(long jarg1, SipEvent jarg1_);
- public final static native String SipEvent_getPhrase(long jarg1, SipEvent jarg1_);
- public final static native long SipEvent_getBaseSession(long jarg1, SipEvent jarg1_);
- public final static native long SipEvent_getSipMessage(long jarg1, SipEvent jarg1_);
- public final static native void delete_DialogEvent(long jarg1);
- public final static native void delete_StackEvent(long jarg1);
- public final static native void delete_InviteEvent(long jarg1);
- public final static native int InviteEvent_getType(long jarg1, InviteEvent jarg1_);
- public final static native int InviteEvent_getMediaType(long jarg1, InviteEvent jarg1_);
- public final static native long InviteEvent_getSession(long jarg1, InviteEvent jarg1_);
- public final static native long InviteEvent_takeCallSessionOwnership(long jarg1, InviteEvent jarg1_);
- public final static native long InviteEvent_takeMsrpSessionOwnership(long jarg1, InviteEvent jarg1_);
- public final static native void delete_MessagingEvent(long jarg1);
- public final static native int MessagingEvent_getType(long jarg1, MessagingEvent jarg1_);
- public final static native long MessagingEvent_getSession(long jarg1, MessagingEvent jarg1_);
- public final static native long MessagingEvent_takeSessionOwnership(long jarg1, MessagingEvent jarg1_);
- public final static native void delete_OptionsEvent(long jarg1);
- public final static native int OptionsEvent_getType(long jarg1, OptionsEvent jarg1_);
- public final static native long OptionsEvent_getSession(long jarg1, OptionsEvent jarg1_);
- public final static native void delete_PublicationEvent(long jarg1);
- public final static native int PublicationEvent_getType(long jarg1, PublicationEvent jarg1_);
- public final static native long PublicationEvent_getSession(long jarg1, PublicationEvent jarg1_);
- public final static native void delete_RegistrationEvent(long jarg1);
- public final static native int RegistrationEvent_getType(long jarg1, RegistrationEvent jarg1_);
- public final static native long RegistrationEvent_getSession(long jarg1, RegistrationEvent jarg1_);
- public final static native long RegistrationEvent_takeSessionOwnership(long jarg1, RegistrationEvent jarg1_);
- public final static native void delete_SubscriptionEvent(long jarg1);
- public final static native int SubscriptionEvent_getType(long jarg1, SubscriptionEvent jarg1_);
- public final static native long SubscriptionEvent_getSession(long jarg1, SubscriptionEvent jarg1_);
- public final static native long new_SipSession(long jarg1, SipStack jarg1_);
- public final static native void delete_SipSession(long jarg1);
- public final static native boolean SipSession_haveOwnership(long jarg1, SipSession jarg1_);
- public final static native boolean SipSession_addHeader(long jarg1, SipSession jarg1_, String jarg2, String jarg3);
- public final static native boolean SipSession_removeHeader(long jarg1, SipSession jarg1_, String jarg2);
- public final static native boolean SipSession_addCaps__SWIG_0(long jarg1, SipSession jarg1_, String jarg2, String jarg3);
- public final static native boolean SipSession_addCaps__SWIG_1(long jarg1, SipSession jarg1_, String jarg2);
- public final static native boolean SipSession_removeCaps(long jarg1, SipSession jarg1_, String jarg2);
- public final static native boolean SipSession_setExpires(long jarg1, SipSession jarg1_, long jarg2);
- public final static native boolean SipSession_setFromUri(long jarg1, SipSession jarg1_, String jarg2);
- public final static native boolean SipSession_setToUri(long jarg1, SipSession jarg1_, String jarg2);
- public final static native boolean SipSession_setSilentHangup(long jarg1, SipSession jarg1_, boolean jarg2);
- public final static native boolean SipSession_addSigCompCompartment(long jarg1, SipSession jarg1_, String jarg2);
- public final static native boolean SipSession_removeSigCompCompartment(long jarg1, SipSession jarg1_);
- public final static native long SipSession_getId(long jarg1, SipSession jarg1_);
- public final static native long new_InviteSession(long jarg1, SipStack jarg1_);
- public final static native void delete_InviteSession(long jarg1);
- public final static native boolean InviteSession_accept__SWIG_0(long jarg1, InviteSession jarg1_, long jarg2, ActionConfig jarg2_);
- public final static native boolean InviteSession_accept__SWIG_1(long jarg1, InviteSession jarg1_);
- public final static native boolean InviteSession_hangup__SWIG_0(long jarg1, InviteSession jarg1_, long jarg2, ActionConfig jarg2_);
- public final static native boolean InviteSession_hangup__SWIG_1(long jarg1, InviteSession jarg1_);
- public final static native boolean InviteSession_reject__SWIG_0(long jarg1, InviteSession jarg1_, long jarg2, ActionConfig jarg2_);
- public final static native boolean InviteSession_reject__SWIG_1(long jarg1, InviteSession jarg1_);
- public final static native long InviteSession_getMediaMgr(long jarg1, InviteSession jarg1_);
- public final static native long new_CallSession(long jarg1, SipStack jarg1_);
- public final static native void delete_CallSession(long jarg1);
- public final static native boolean CallSession_callAudio__SWIG_0(long jarg1, CallSession jarg1_, String jarg2, long jarg3, ActionConfig jarg3_);
- public final static native boolean CallSession_callAudio__SWIG_1(long jarg1, CallSession jarg1_, String jarg2);
- public final static native boolean CallSession_callAudioVideo__SWIG_0(long jarg1, CallSession jarg1_, String jarg2, long jarg3, ActionConfig jarg3_);
- public final static native boolean CallSession_callAudioVideo__SWIG_1(long jarg1, CallSession jarg1_, String jarg2);
- public final static native boolean CallSession_callVideo__SWIG_0(long jarg1, CallSession jarg1_, String jarg2, long jarg3, ActionConfig jarg3_);
- public final static native boolean CallSession_callVideo__SWIG_1(long jarg1, CallSession jarg1_, String jarg2);
- public final static native boolean CallSession_setSessionTimer(long jarg1, CallSession jarg1_, long jarg2, String jarg3);
- public final static native boolean CallSession_set100rel(long jarg1, CallSession jarg1_, boolean jarg2);
- public final static native boolean CallSession_setQoS(long jarg1, CallSession jarg1_, int jarg2, int jarg3);
- public final static native boolean CallSession_hold__SWIG_0(long jarg1, CallSession jarg1_, long jarg2, ActionConfig jarg2_);
- public final static native boolean CallSession_hold__SWIG_1(long jarg1, CallSession jarg1_);
- public final static native boolean CallSession_resume__SWIG_0(long jarg1, CallSession jarg1_, long jarg2, ActionConfig jarg2_);
- public final static native boolean CallSession_resume__SWIG_1(long jarg1, CallSession jarg1_);
- public final static native boolean CallSession_sendDTMF(long jarg1, CallSession jarg1_, int jarg2);
- public final static native long new_MsrpSession(long jarg1, SipStack jarg1_, long jarg2, MsrpCallback jarg2_);
- public final static native void delete_MsrpSession(long jarg1);
- public final static native boolean MsrpSession_setCallback(long jarg1, MsrpSession jarg1_, long jarg2, MsrpCallback jarg2_);
- public final static native boolean MsrpSession_callMsrp__SWIG_0(long jarg1, MsrpSession jarg1_, String jarg2, long jarg3, ActionConfig jarg3_);
- public final static native boolean MsrpSession_callMsrp__SWIG_1(long jarg1, MsrpSession jarg1_, String jarg2);
- public final static native boolean MsrpSession_sendMessage__SWIG_0(long jarg1, MsrpSession jarg1_, java.nio.ByteBuffer jarg2, long jarg3, long jarg4, ActionConfig jarg4_);
- public final static native boolean MsrpSession_sendMessage__SWIG_1(long jarg1, MsrpSession jarg1_, java.nio.ByteBuffer jarg2, long jarg3);
- public final static native boolean MsrpSession_sendFile__SWIG_0(long jarg1, MsrpSession jarg1_, long jarg2, ActionConfig jarg2_);
- public final static native boolean MsrpSession_sendFile__SWIG_1(long jarg1, MsrpSession jarg1_);
- public final static native long new_MessagingSession(long jarg1, SipStack jarg1_);
- public final static native void delete_MessagingSession(long jarg1);
- public final static native boolean MessagingSession_send(long jarg1, MessagingSession jarg1_, java.nio.ByteBuffer jarg2, long jarg3);
- public final static native boolean MessagingSession_accept(long jarg1, MessagingSession jarg1_);
- public final static native boolean MessagingSession_reject(long jarg1, MessagingSession jarg1_);
- public final static native long new_OptionsSession(long jarg1, SipStack jarg1_);
- public final static native void delete_OptionsSession(long jarg1);
- public final static native boolean OptionsSession_send(long jarg1, OptionsSession jarg1_);
- public final static native long new_PublicationSession(long jarg1, SipStack jarg1_);
- public final static native void delete_PublicationSession(long jarg1);
- public final static native boolean PublicationSession_publish(long jarg1, PublicationSession jarg1_, java.nio.ByteBuffer jarg2, long jarg3);
- public final static native boolean PublicationSession_unPublish(long jarg1, PublicationSession jarg1_);
- public final static native long new_RegistrationSession(long jarg1, SipStack jarg1_);
- public final static native void delete_RegistrationSession(long jarg1);
- public final static native boolean RegistrationSession_register_(long jarg1, RegistrationSession jarg1_);
- public final static native boolean RegistrationSession_unRegister(long jarg1, RegistrationSession jarg1_);
- public final static native boolean RegistrationSession_accept__SWIG_0(long jarg1, RegistrationSession jarg1_, long jarg2, ActionConfig jarg2_);
- public final static native boolean RegistrationSession_accept__SWIG_1(long jarg1, RegistrationSession jarg1_);
- public final static native boolean RegistrationSession_reject__SWIG_0(long jarg1, RegistrationSession jarg1_, long jarg2, ActionConfig jarg2_);
- public final static native boolean RegistrationSession_reject__SWIG_1(long jarg1, RegistrationSession jarg1_);
- public final static native long new_SubscriptionSession(long jarg1, SipStack jarg1_);
- public final static native void delete_SubscriptionSession(long jarg1);
- public final static native boolean SubscriptionSession_subscribe(long jarg1, SubscriptionSession jarg1_);
- public final static native boolean SubscriptionSession_unSubscribe(long jarg1, SubscriptionSession jarg1_);
- public final static native void delete_ProxyPluginMgr(long jarg1);
- public final static native long ProxyPluginMgr_createInstance(long jarg1, ProxyPluginMgrCallback jarg1_);
- public final static native long ProxyPluginMgr_getInstance();
- public final static native long ProxyPluginMgr_findAudioConsumer(long jarg1, ProxyPluginMgr jarg1_, java.math.BigInteger jarg2);
- public final static native long ProxyPluginMgr_findVideoConsumer(long jarg1, ProxyPluginMgr jarg1_, java.math.BigInteger jarg2);
- public final static native long ProxyPluginMgr_findAudioProducer(long jarg1, ProxyPluginMgr jarg1_, java.math.BigInteger jarg2);
- public final static native long ProxyPluginMgr_findVideoProducer(long jarg1, ProxyPluginMgr jarg1_, java.math.BigInteger jarg2);
- public final static native long new_ProxyPluginMgrCallback();
- public final static native void delete_ProxyPluginMgrCallback(long jarg1);
- public final static native int ProxyPluginMgrCallback_OnPluginCreated(long jarg1, ProxyPluginMgrCallback jarg1_, java.math.BigInteger jarg2, int jarg3);
- public final static native int ProxyPluginMgrCallback_OnPluginCreatedSwigExplicitProxyPluginMgrCallback(long jarg1, ProxyPluginMgrCallback jarg1_, java.math.BigInteger jarg2, int jarg3);
- public final static native int ProxyPluginMgrCallback_OnPluginDestroyed(long jarg1, ProxyPluginMgrCallback jarg1_, java.math.BigInteger jarg2, int jarg3);
- public final static native int ProxyPluginMgrCallback_OnPluginDestroyedSwigExplicitProxyPluginMgrCallback(long jarg1, ProxyPluginMgrCallback jarg1_, java.math.BigInteger jarg2, int jarg3);
- public final static native void ProxyPluginMgrCallback_director_connect(ProxyPluginMgrCallback obj, long cptr, boolean mem_own, boolean weak_global);
- public final static native void ProxyPluginMgrCallback_change_ownership(ProxyPluginMgrCallback obj, long cptr, boolean take_or_release);
- public final static native void delete_ProxyPlugin(long jarg1);
- public final static native int ProxyPlugin_getType(long jarg1, ProxyPlugin jarg1_);
- public final static native java.math.BigInteger ProxyPlugin_getId(long jarg1, ProxyPlugin jarg1_);
- public final static native long new_ProxyAudioConsumerCallback();
- public final static native void delete_ProxyAudioConsumerCallback(long jarg1);
- public final static native int ProxyAudioConsumerCallback_prepare(long jarg1, ProxyAudioConsumerCallback jarg1_, int jarg2, int jarg3, int jarg4);
- public final static native int ProxyAudioConsumerCallback_prepareSwigExplicitProxyAudioConsumerCallback(long jarg1, ProxyAudioConsumerCallback jarg1_, int jarg2, int jarg3, int jarg4);
- public final static native int ProxyAudioConsumerCallback_start(long jarg1, ProxyAudioConsumerCallback jarg1_);
- public final static native int ProxyAudioConsumerCallback_startSwigExplicitProxyAudioConsumerCallback(long jarg1, ProxyAudioConsumerCallback jarg1_);
- public final static native int ProxyAudioConsumerCallback_pause(long jarg1, ProxyAudioConsumerCallback jarg1_);
- public final static native int ProxyAudioConsumerCallback_pauseSwigExplicitProxyAudioConsumerCallback(long jarg1, ProxyAudioConsumerCallback jarg1_);
- public final static native int ProxyAudioConsumerCallback_stop(long jarg1, ProxyAudioConsumerCallback jarg1_);
- public final static native int ProxyAudioConsumerCallback_stopSwigExplicitProxyAudioConsumerCallback(long jarg1, ProxyAudioConsumerCallback jarg1_);
- public final static native void ProxyAudioConsumerCallback_director_connect(ProxyAudioConsumerCallback obj, long cptr, boolean mem_own, boolean weak_global);
- public final static native void ProxyAudioConsumerCallback_change_ownership(ProxyAudioConsumerCallback obj, long cptr, boolean take_or_release);
- public final static native void delete_ProxyAudioConsumer(long jarg1);
- public final static native long ProxyAudioConsumer_pull(long jarg1, ProxyAudioConsumer jarg1_, java.nio.ByteBuffer jarg2, long jarg3);
- public final static native boolean ProxyAudioConsumer_reset(long jarg1, ProxyAudioConsumer jarg1_);
- public final static native void ProxyAudioConsumer_setCallback(long jarg1, ProxyAudioConsumer jarg1_, long jarg2, ProxyAudioConsumerCallback jarg2_);
- public final static native java.math.BigInteger ProxyAudioConsumer_getMediaSessionId(long jarg1, ProxyAudioConsumer jarg1_);
- public final static native boolean ProxyAudioConsumer_registerPlugin();
- public final static native long new_ProxyVideoConsumerCallback();
- public final static native void delete_ProxyVideoConsumerCallback(long jarg1);
- public final static native int ProxyVideoConsumerCallback_prepare(long jarg1, ProxyVideoConsumerCallback jarg1_, int jarg2, int jarg3, int jarg4);
- public final static native int ProxyVideoConsumerCallback_prepareSwigExplicitProxyVideoConsumerCallback(long jarg1, ProxyVideoConsumerCallback jarg1_, int jarg2, int jarg3, int jarg4);
- public final static native int ProxyVideoConsumerCallback_consume(long jarg1, ProxyVideoConsumerCallback jarg1_, long jarg2, ProxyVideoFrame jarg2_);
- public final static native int ProxyVideoConsumerCallback_consumeSwigExplicitProxyVideoConsumerCallback(long jarg1, ProxyVideoConsumerCallback jarg1_, long jarg2, ProxyVideoFrame jarg2_);
- public final static native int ProxyVideoConsumerCallback_start(long jarg1, ProxyVideoConsumerCallback jarg1_);
- public final static native int ProxyVideoConsumerCallback_startSwigExplicitProxyVideoConsumerCallback(long jarg1, ProxyVideoConsumerCallback jarg1_);
- public final static native int ProxyVideoConsumerCallback_pause(long jarg1, ProxyVideoConsumerCallback jarg1_);
- public final static native int ProxyVideoConsumerCallback_pauseSwigExplicitProxyVideoConsumerCallback(long jarg1, ProxyVideoConsumerCallback jarg1_);
- public final static native int ProxyVideoConsumerCallback_stop(long jarg1, ProxyVideoConsumerCallback jarg1_);
- public final static native int ProxyVideoConsumerCallback_stopSwigExplicitProxyVideoConsumerCallback(long jarg1, ProxyVideoConsumerCallback jarg1_);
- public final static native void ProxyVideoConsumerCallback_director_connect(ProxyVideoConsumerCallback obj, long cptr, boolean mem_own, boolean weak_global);
- public final static native void ProxyVideoConsumerCallback_change_ownership(ProxyVideoConsumerCallback obj, long cptr, boolean take_or_release);
- public final static native void delete_ProxyVideoConsumer(long jarg1);
- public final static native boolean ProxyVideoConsumer_setDisplaySize(long jarg1, ProxyVideoConsumer jarg1_, int jarg2, int jarg3);
- public final static native void ProxyVideoConsumer_setCallback(long jarg1, ProxyVideoConsumer jarg1_, long jarg2, ProxyVideoConsumerCallback jarg2_);
- public final static native java.math.BigInteger ProxyVideoConsumer_getMediaSessionId(long jarg1, ProxyVideoConsumer jarg1_);
- public final static native boolean ProxyVideoConsumer_registerPlugin();
- public final static native void ProxyVideoConsumer_setDefaultChroma(int jarg1);
- public final static native void delete_ProxyVideoFrame(long jarg1);
- public final static native long ProxyVideoFrame_getSize(long jarg1, ProxyVideoFrame jarg1_);
- public final static native long ProxyVideoFrame_getContent(long jarg1, ProxyVideoFrame jarg1_, java.nio.ByteBuffer jarg2, long jarg3);
- public final static native long new_ProxyAudioProducerCallback();
- public final static native void delete_ProxyAudioProducerCallback(long jarg1);
- public final static native int ProxyAudioProducerCallback_prepare(long jarg1, ProxyAudioProducerCallback jarg1_, int jarg2, int jarg3, int jarg4);
- public final static native int ProxyAudioProducerCallback_prepareSwigExplicitProxyAudioProducerCallback(long jarg1, ProxyAudioProducerCallback jarg1_, int jarg2, int jarg3, int jarg4);
- public final static native int ProxyAudioProducerCallback_start(long jarg1, ProxyAudioProducerCallback jarg1_);
- public final static native int ProxyAudioProducerCallback_startSwigExplicitProxyAudioProducerCallback(long jarg1, ProxyAudioProducerCallback jarg1_);
- public final static native int ProxyAudioProducerCallback_pause(long jarg1, ProxyAudioProducerCallback jarg1_);
- public final static native int ProxyAudioProducerCallback_pauseSwigExplicitProxyAudioProducerCallback(long jarg1, ProxyAudioProducerCallback jarg1_);
- public final static native int ProxyAudioProducerCallback_stop(long jarg1, ProxyAudioProducerCallback jarg1_);
- public final static native int ProxyAudioProducerCallback_stopSwigExplicitProxyAudioProducerCallback(long jarg1, ProxyAudioProducerCallback jarg1_);
- public final static native void ProxyAudioProducerCallback_director_connect(ProxyAudioProducerCallback obj, long cptr, boolean mem_own, boolean weak_global);
- public final static native void ProxyAudioProducerCallback_change_ownership(ProxyAudioProducerCallback obj, long cptr, boolean take_or_release);
- public final static native void delete_ProxyAudioProducer(long jarg1);
- public final static native int ProxyAudioProducer_push(long jarg1, ProxyAudioProducer jarg1_, java.nio.ByteBuffer jarg2, long jarg3);
- public final static native void ProxyAudioProducer_setCallback(long jarg1, ProxyAudioProducer jarg1_, long jarg2, ProxyAudioProducerCallback jarg2_);
- public final static native java.math.BigInteger ProxyAudioProducer_getMediaSessionId(long jarg1, ProxyAudioProducer jarg1_);
- public final static native boolean ProxyAudioProducer_registerPlugin();
- public final static native long new_ProxyVideoProducerCallback();
- public final static native void delete_ProxyVideoProducerCallback(long jarg1);
- public final static native int ProxyVideoProducerCallback_prepare(long jarg1, ProxyVideoProducerCallback jarg1_, int jarg2, int jarg3, int jarg4);
- public final static native int ProxyVideoProducerCallback_prepareSwigExplicitProxyVideoProducerCallback(long jarg1, ProxyVideoProducerCallback jarg1_, int jarg2, int jarg3, int jarg4);
- public final static native int ProxyVideoProducerCallback_start(long jarg1, ProxyVideoProducerCallback jarg1_);
- public final static native int ProxyVideoProducerCallback_startSwigExplicitProxyVideoProducerCallback(long jarg1, ProxyVideoProducerCallback jarg1_);
- public final static native int ProxyVideoProducerCallback_pause(long jarg1, ProxyVideoProducerCallback jarg1_);
- public final static native int ProxyVideoProducerCallback_pauseSwigExplicitProxyVideoProducerCallback(long jarg1, ProxyVideoProducerCallback jarg1_);
- public final static native int ProxyVideoProducerCallback_stop(long jarg1, ProxyVideoProducerCallback jarg1_);
- public final static native int ProxyVideoProducerCallback_stopSwigExplicitProxyVideoProducerCallback(long jarg1, ProxyVideoProducerCallback jarg1_);
- public final static native void ProxyVideoProducerCallback_director_connect(ProxyVideoProducerCallback obj, long cptr, boolean mem_own, boolean weak_global);
- public final static native void ProxyVideoProducerCallback_change_ownership(ProxyVideoProducerCallback obj, long cptr, boolean take_or_release);
- public final static native void delete_ProxyVideoProducer(long jarg1);
- public final static native int ProxyVideoProducer_getRotation(long jarg1, ProxyVideoProducer jarg1_);
- public final static native void ProxyVideoProducer_setRotation(long jarg1, ProxyVideoProducer jarg1_, int jarg2);
- public final static native int ProxyVideoProducer_push(long jarg1, ProxyVideoProducer jarg1_, java.nio.ByteBuffer jarg2, long jarg3);
- public final static native int ProxyVideoProducer_send(long jarg1, ProxyVideoProducer jarg1_, java.nio.ByteBuffer jarg2, long jarg3, long jarg4, boolean jarg5);
- public final static native void ProxyVideoProducer_setCallback(long jarg1, ProxyVideoProducer jarg1_, long jarg2, ProxyVideoProducerCallback jarg2_);
- public final static native java.math.BigInteger ProxyVideoProducer_getMediaSessionId(long jarg1, ProxyVideoProducer jarg1_);
- public final static native boolean ProxyVideoProducer_registerPlugin();
- public final static native void ProxyVideoProducer_setDefaultChroma(int jarg1);
- public final static native long new_SipCallback();
- public final static native void delete_SipCallback(long jarg1);
- public final static native int SipCallback_OnDialogEvent(long jarg1, SipCallback jarg1_, long jarg2, DialogEvent jarg2_);
- public final static native int SipCallback_OnDialogEventSwigExplicitSipCallback(long jarg1, SipCallback jarg1_, long jarg2, DialogEvent jarg2_);
- public final static native int SipCallback_OnStackEvent(long jarg1, SipCallback jarg1_, long jarg2, StackEvent jarg2_);
- public final static native int SipCallback_OnStackEventSwigExplicitSipCallback(long jarg1, SipCallback jarg1_, long jarg2, StackEvent jarg2_);
- public final static native int SipCallback_OnInviteEvent(long jarg1, SipCallback jarg1_, long jarg2, InviteEvent jarg2_);
- public final static native int SipCallback_OnInviteEventSwigExplicitSipCallback(long jarg1, SipCallback jarg1_, long jarg2, InviteEvent jarg2_);
- public final static native int SipCallback_OnMessagingEvent(long jarg1, SipCallback jarg1_, long jarg2, MessagingEvent jarg2_);
- public final static native int SipCallback_OnMessagingEventSwigExplicitSipCallback(long jarg1, SipCallback jarg1_, long jarg2, MessagingEvent jarg2_);
- public final static native int SipCallback_OnOptionsEvent(long jarg1, SipCallback jarg1_, long jarg2, OptionsEvent jarg2_);
- public final static native int SipCallback_OnOptionsEventSwigExplicitSipCallback(long jarg1, SipCallback jarg1_, long jarg2, OptionsEvent jarg2_);
- public final static native int SipCallback_OnPublicationEvent(long jarg1, SipCallback jarg1_, long jarg2, PublicationEvent jarg2_);
- public final static native int SipCallback_OnPublicationEventSwigExplicitSipCallback(long jarg1, SipCallback jarg1_, long jarg2, PublicationEvent jarg2_);
- public final static native int SipCallback_OnRegistrationEvent(long jarg1, SipCallback jarg1_, long jarg2, RegistrationEvent jarg2_);
- public final static native int SipCallback_OnRegistrationEventSwigExplicitSipCallback(long jarg1, SipCallback jarg1_, long jarg2, RegistrationEvent jarg2_);
- public final static native int SipCallback_OnSubscriptionEvent(long jarg1, SipCallback jarg1_, long jarg2, SubscriptionEvent jarg2_);
- public final static native int SipCallback_OnSubscriptionEventSwigExplicitSipCallback(long jarg1, SipCallback jarg1_, long jarg2, SubscriptionEvent jarg2_);
- public final static native void SipCallback_director_connect(SipCallback obj, long cptr, boolean mem_own, boolean weak_global);
- public final static native void SipCallback_change_ownership(SipCallback obj, long cptr, boolean take_or_release);
- public final static native long new_SafeObject();
- public final static native void delete_SafeObject(long jarg1);
- public final static native int SafeObject_Lock(long jarg1, SafeObject jarg1_);
- public final static native int SafeObject_UnLock(long jarg1, SafeObject jarg1_);
- public final static native long new_SipStack(long jarg1, SipCallback jarg1_, String jarg2, String jarg3, String jarg4);
- public final static native void delete_SipStack(long jarg1);
- public final static native boolean SipStack_start(long jarg1, SipStack jarg1_);
- public final static native boolean SipStack_setDebugCallback(long jarg1, SipStack jarg1_, long jarg2, DDebugCallback jarg2_);
- public final static native boolean SipStack_setRealm(long jarg1, SipStack jarg1_, String jarg2);
- public final static native boolean SipStack_setIMPI(long jarg1, SipStack jarg1_, String jarg2);
- public final static native boolean SipStack_setIMPU(long jarg1, SipStack jarg1_, String jarg2);
- public final static native boolean SipStack_setPassword(long jarg1, SipStack jarg1_, String jarg2);
- public final static native boolean SipStack_setAMF(long jarg1, SipStack jarg1_, String jarg2);
- public final static native boolean SipStack_setOperatorId(long jarg1, SipStack jarg1_, String jarg2);
- public final static native boolean SipStack_setProxyCSCF(long jarg1, SipStack jarg1_, String jarg2, int jarg3, String jarg4, String jarg5);
- public final static native boolean SipStack_setLocalIP(long jarg1, SipStack jarg1_, String jarg2);
- public final static native boolean SipStack_setLocalPort(long jarg1, SipStack jarg1_, int jarg2);
- public final static native boolean SipStack_setEarlyIMS(long jarg1, SipStack jarg1_, boolean jarg2);
- public final static native boolean SipStack_addHeader(long jarg1, SipStack jarg1_, String jarg2, String jarg3);
- public final static native boolean SipStack_removeHeader(long jarg1, SipStack jarg1_, String jarg2);
- public final static native boolean SipStack_addDnsServer(long jarg1, SipStack jarg1_, String jarg2);
- public final static native boolean SipStack_setDnsDiscovery(long jarg1, SipStack jarg1_, boolean jarg2);
- public final static native boolean SipStack_setAoR(long jarg1, SipStack jarg1_, String jarg2, int jarg3);
- public final static native boolean SipStack_setSigCompParams(long jarg1, SipStack jarg1_, long jarg2, long jarg3, long jarg4, boolean jarg5);
- public final static native boolean SipStack_addSigCompCompartment(long jarg1, SipStack jarg1_, String jarg2);
- public final static native boolean SipStack_removeSigCompCompartment(long jarg1, SipStack jarg1_, String jarg2);
- public final static native boolean SipStack_setSTUNServer(long jarg1, SipStack jarg1_, String jarg2, int jarg3);
- public final static native boolean SipStack_setSTUNCred(long jarg1, SipStack jarg1_, String jarg2, String jarg3);
- public final static native boolean SipStack_setTLSSecAgree(long jarg1, SipStack jarg1_, boolean jarg2);
- public final static native boolean SipStack_setSSLCretificates(long jarg1, SipStack jarg1_, String jarg2, String jarg3, String jarg4);
- public final static native boolean SipStack_setIPSecSecAgree(long jarg1, SipStack jarg1_, boolean jarg2);
- public final static native boolean SipStack_setIPSecParameters(long jarg1, SipStack jarg1_, String jarg2, String jarg3, String jarg4, String jarg5);
- public final static native String SipStack_dnsENUM(long jarg1, SipStack jarg1_, String jarg2, String jarg3, String jarg4);
- public final static native String SipStack_dnsNaptrSrv(long jarg1, SipStack jarg1_, String jarg2, String jarg3, int[] jarg4);
- public final static native String SipStack_dnsSrv(long jarg1, SipStack jarg1_, String jarg2, int[] jarg3);
- public final static native String SipStack_getLocalIPnPort(long jarg1, SipStack jarg1_, String jarg2, int[] jarg3);
- public final static native String SipStack_getPreferredIdentity(long jarg1, SipStack jarg1_);
- public final static native boolean SipStack_isValid(long jarg1, SipStack jarg1_);
- public final static native boolean SipStack_stop(long jarg1, SipStack jarg1_);
- public final static native void SipStack_setCodecs(int jarg1);
- public final static native void SipStack_setCodecs_2(int jarg1);
- public final static native boolean SipStack_isCodecSupported(int jarg1);
- public final static native long new_XcapSelector(long jarg1, XcapStack jarg1_);
- public final static native void delete_XcapSelector(long jarg1);
- public final static native long XcapSelector_setAUID(long jarg1, XcapSelector jarg1_, String jarg2);
- public final static native long XcapSelector_setName(long jarg1, XcapSelector jarg1_, String jarg2);
- public final static native long XcapSelector_setAttribute(long jarg1, XcapSelector jarg1_, String jarg2, String jarg3, String jarg4);
- public final static native long XcapSelector_setPos(long jarg1, XcapSelector jarg1_, String jarg2, long jarg3);
- public final static native long XcapSelector_setPosAttribute(long jarg1, XcapSelector jarg1_, String jarg2, long jarg3, String jarg4, String jarg5);
- public final static native long XcapSelector_setNamespace(long jarg1, XcapSelector jarg1_, String jarg2, String jarg3);
- public final static native String XcapSelector_getString(long jarg1, XcapSelector jarg1_);
- public final static native void XcapSelector_reset(long jarg1, XcapSelector jarg1_);
- public final static native long new_XcapMessage();
- public final static native void delete_XcapMessage(long jarg1);
- public final static native short XcapMessage_getCode(long jarg1, XcapMessage jarg1_);
- public final static native String XcapMessage_getPhrase(long jarg1, XcapMessage jarg1_);
- public final static native String XcapMessage_getXcapHeaderValue__SWIG_0(long jarg1, XcapMessage jarg1_, String jarg2, long jarg3);
- public final static native String XcapMessage_getXcapHeaderValue__SWIG_1(long jarg1, XcapMessage jarg1_, String jarg2);
- public final static native String XcapMessage_getXcapHeaderParamValue__SWIG_0(long jarg1, XcapMessage jarg1_, String jarg2, String jarg3, long jarg4);
- public final static native String XcapMessage_getXcapHeaderParamValue__SWIG_1(long jarg1, XcapMessage jarg1_, String jarg2, String jarg3);
- public final static native long XcapMessage_getXcapContentLength(long jarg1, XcapMessage jarg1_);
- public final static native long XcapMessage_getXcapContent(long jarg1, XcapMessage jarg1_, java.nio.ByteBuffer jarg2, long jarg3);
- public final static native void delete_XcapEvent(long jarg1);
- public final static native int XcapEvent_getType(long jarg1, XcapEvent jarg1_);
- public final static native long XcapEvent_getXcapMessage(long jarg1, XcapEvent jarg1_);
- public final static native long new_XcapCallback();
- public final static native void delete_XcapCallback(long jarg1);
- public final static native int XcapCallback_onEvent(long jarg1, XcapCallback jarg1_, long jarg2, XcapEvent jarg2_);
- public final static native int XcapCallback_onEventSwigExplicitXcapCallback(long jarg1, XcapCallback jarg1_, long jarg2, XcapEvent jarg2_);
- public final static native void XcapCallback_director_connect(XcapCallback obj, long cptr, boolean mem_own, boolean weak_global);
- public final static native void XcapCallback_change_ownership(XcapCallback obj, long cptr, boolean take_or_release);
- public final static native long new_XcapStack(long jarg1, XcapCallback jarg1_, String jarg2, String jarg3, String jarg4);
- public final static native void delete_XcapStack(long jarg1);
- public final static native boolean XcapStack_registerAUID(long jarg1, XcapStack jarg1_, String jarg2, String jarg3, String jarg4, String jarg5, boolean jarg6);
- public final static native boolean XcapStack_start(long jarg1, XcapStack jarg1_);
- public final static native boolean XcapStack_setCredentials(long jarg1, XcapStack jarg1_, String jarg2, String jarg3);
- public final static native boolean XcapStack_setXcapRoot(long jarg1, XcapStack jarg1_, String jarg2);
- public final static native boolean XcapStack_setLocalIP(long jarg1, XcapStack jarg1_, String jarg2);
- public final static native boolean XcapStack_setLocalPort(long jarg1, XcapStack jarg1_, long jarg2);
- public final static native boolean XcapStack_addHeader(long jarg1, XcapStack jarg1_, String jarg2, String jarg3);
- public final static native boolean XcapStack_removeHeader(long jarg1, XcapStack jarg1_, String jarg2);
- public final static native boolean XcapStack_setTimeout(long jarg1, XcapStack jarg1_, long jarg2);
- public final static native boolean XcapStack_getDocument(long jarg1, XcapStack jarg1_, String jarg2);
- public final static native boolean XcapStack_getElement(long jarg1, XcapStack jarg1_, String jarg2);
- public final static native boolean XcapStack_getAttribute(long jarg1, XcapStack jarg1_, String jarg2);
- public final static native boolean XcapStack_deleteDocument(long jarg1, XcapStack jarg1_, String jarg2);
- public final static native boolean XcapStack_deleteElement(long jarg1, XcapStack jarg1_, String jarg2);
- public final static native boolean XcapStack_deleteAttribute(long jarg1, XcapStack jarg1_, String jarg2);
- public final static native boolean XcapStack_putDocument(long jarg1, XcapStack jarg1_, String jarg2, java.nio.ByteBuffer jarg3, long jarg4, String jarg5);
- public final static native boolean XcapStack_putElement(long jarg1, XcapStack jarg1_, String jarg2, java.nio.ByteBuffer jarg3, long jarg4);
- public final static native boolean XcapStack_putAttribute(long jarg1, XcapStack jarg1_, String jarg2, java.nio.ByteBuffer jarg3, long jarg4);
- public final static native boolean XcapStack_stop(long jarg1, XcapStack jarg1_);
- public final static native long new_RPMessage();
- public final static native void delete_RPMessage(long jarg1);
- public final static native int RPMessage_getType(long jarg1, RPMessage jarg1_);
- public final static native long RPMessage_getPayloadLength(long jarg1, RPMessage jarg1_);
- public final static native long RPMessage_getPayload(long jarg1, RPMessage jarg1_, java.nio.ByteBuffer jarg2, long jarg3);
- public final static native long new_SMSData();
- public final static native void delete_SMSData(long jarg1);
- public final static native int SMSData_getType(long jarg1, SMSData jarg1_);
- public final static native int SMSData_getMR(long jarg1, SMSData jarg1_);
- public final static native long SMSData_getPayloadLength(long jarg1, SMSData jarg1_);
- public final static native long SMSData_getPayload(long jarg1, SMSData jarg1_, java.nio.ByteBuffer jarg2, long jarg3);
- public final static native String SMSData_getOA(long jarg1, SMSData jarg1_);
- public final static native String SMSData_getDA(long jarg1, SMSData jarg1_);
- public final static native long SMSEncoder_encodeSubmit(int jarg1, String jarg2, String jarg3, String jarg4);
- public final static native long SMSEncoder_encodeDeliver(int jarg1, String jarg2, String jarg3, String jarg4);
- public final static native long SMSEncoder_encodeACK(int jarg1, String jarg2, String jarg3, boolean jarg4);
- public final static native long SMSEncoder_encodeError(int jarg1, String jarg2, String jarg3, boolean jarg4);
- public final static native long SMSEncoder_decode(java.nio.ByteBuffer jarg1, long jarg2, boolean jarg3);
- public final static native void delete_SMSEncoder(long jarg1);
- public final static native long new_MsrpMessage();
- public final static native void delete_MsrpMessage(long jarg1);
- public final static native boolean MsrpMessage_isRequest(long jarg1, MsrpMessage jarg1_);
- public final static native short MsrpMessage_getCode(long jarg1, MsrpMessage jarg1_);
- public final static native String MsrpMessage_getPhrase(long jarg1, MsrpMessage jarg1_);
- public final static native int MsrpMessage_getRequestType(long jarg1, MsrpMessage jarg1_);
- public final static native void MsrpMessage_getByteRange(long jarg1, MsrpMessage jarg1_, long[] jarg2, long[] jarg3, long[] jarg4);
- public final static native boolean MsrpMessage_isLastChunck(long jarg1, MsrpMessage jarg1_);
- public final static native boolean MsrpMessage_isFirstChunck(long jarg1, MsrpMessage jarg1_);
- public final static native String MsrpMessage_getMsrpHeaderValue(long jarg1, MsrpMessage jarg1_, String jarg2);
- public final static native String MsrpMessage_getMsrpHeaderParamValue(long jarg1, MsrpMessage jarg1_, String jarg2, String jarg3);
- public final static native long MsrpMessage_getMsrpContentLength(long jarg1, MsrpMessage jarg1_);
- public final static native long MsrpMessage_getMsrpContent(long jarg1, MsrpMessage jarg1_, java.nio.ByteBuffer jarg2, long jarg3);
- public final static native void delete_MsrpEvent(long jarg1);
- public final static native int MsrpEvent_getType(long jarg1, MsrpEvent jarg1_);
- public final static native long MsrpEvent_getSipSession(long jarg1, MsrpEvent jarg1_);
- public final static native long MsrpEvent_getMessage(long jarg1, MsrpEvent jarg1_);
- public final static native long new_MsrpCallback();
- public final static native void delete_MsrpCallback(long jarg1);
- public final static native int MsrpCallback_OnEvent(long jarg1, MsrpCallback jarg1_, long jarg2, MsrpEvent jarg2_);
- public final static native int MsrpCallback_OnEventSwigExplicitMsrpCallback(long jarg1, MsrpCallback jarg1_, long jarg2, MsrpEvent jarg2_);
- public final static native void MsrpCallback_director_connect(MsrpCallback obj, long cptr, boolean mem_own, boolean weak_global);
- public final static native void MsrpCallback_change_ownership(MsrpCallback obj, long cptr, boolean take_or_release);
- public final static native long SWIGMediaContentCPIMUpcast(long jarg1);
- public final static native long SWIGDialogEventUpcast(long jarg1);
- public final static native long SWIGStackEventUpcast(long jarg1);
- public final static native long SWIGInviteEventUpcast(long jarg1);
- public final static native long SWIGMessagingEventUpcast(long jarg1);
- public final static native long SWIGOptionsEventUpcast(long jarg1);
- public final static native long SWIGPublicationEventUpcast(long jarg1);
- public final static native long SWIGRegistrationEventUpcast(long jarg1);
- public final static native long SWIGSubscriptionEventUpcast(long jarg1);
- public final static native long SWIGInviteSessionUpcast(long jarg1);
- public final static native long SWIGCallSessionUpcast(long jarg1);
- public final static native long SWIGMsrpSessionUpcast(long jarg1);
- public final static native long SWIGMessagingSessionUpcast(long jarg1);
- public final static native long SWIGOptionsSessionUpcast(long jarg1);
- public final static native long SWIGPublicationSessionUpcast(long jarg1);
- public final static native long SWIGRegistrationSessionUpcast(long jarg1);
- public final static native long SWIGSubscriptionSessionUpcast(long jarg1);
- public final static native long SWIGProxyAudioConsumerUpcast(long jarg1);
- public final static native long SWIGProxyVideoConsumerUpcast(long jarg1);
- public final static native long SWIGProxyAudioProducerUpcast(long jarg1);
- public final static native long SWIGProxyVideoProducerUpcast(long jarg1);
- public final static native long SWIGSipStackUpcast(long jarg1);
-
- public static int SwigDirector_DDebugCallback_OnDebugInfo(DDebugCallback self, String message) {
- return self.OnDebugInfo(message);
- }
- public static int SwigDirector_DDebugCallback_OnDebugWarn(DDebugCallback self, String message) {
- return self.OnDebugWarn(message);
- }
- public static int SwigDirector_DDebugCallback_OnDebugError(DDebugCallback self, String message) {
- return self.OnDebugError(message);
- }
- public static int SwigDirector_DDebugCallback_OnDebugFatal(DDebugCallback self, String message) {
- return self.OnDebugFatal(message);
- }
- public static int SwigDirector_ProxyPluginMgrCallback_OnPluginCreated(ProxyPluginMgrCallback self, java.math.BigInteger id, int type) {
- return self.OnPluginCreated(id, twrap_proxy_plugin_type_t.swigToEnum(type));
- }
- public static int SwigDirector_ProxyPluginMgrCallback_OnPluginDestroyed(ProxyPluginMgrCallback self, java.math.BigInteger id, int type) {
- return self.OnPluginDestroyed(id, twrap_proxy_plugin_type_t.swigToEnum(type));
- }
- public static int SwigDirector_ProxyAudioConsumerCallback_prepare(ProxyAudioConsumerCallback self, int ptime, int rate, int channels) {
- return self.prepare(ptime, rate, channels);
- }
- public static int SwigDirector_ProxyAudioConsumerCallback_start(ProxyAudioConsumerCallback self) {
- return self.start();
- }
- public static int SwigDirector_ProxyAudioConsumerCallback_pause(ProxyAudioConsumerCallback self) {
- return self.pause();
- }
- public static int SwigDirector_ProxyAudioConsumerCallback_stop(ProxyAudioConsumerCallback self) {
- return self.stop();
- }
- public static int SwigDirector_ProxyVideoConsumerCallback_prepare(ProxyVideoConsumerCallback self, int width, int height, int fps) {
- return self.prepare(width, height, fps);
- }
- public static int SwigDirector_ProxyVideoConsumerCallback_consume(ProxyVideoConsumerCallback self, long frame) {
- return self.consume((frame == 0) ? null : new ProxyVideoFrame(frame, false));
- }
- public static int SwigDirector_ProxyVideoConsumerCallback_start(ProxyVideoConsumerCallback self) {
- return self.start();
- }
- public static int SwigDirector_ProxyVideoConsumerCallback_pause(ProxyVideoConsumerCallback self) {
- return self.pause();
- }
- public static int SwigDirector_ProxyVideoConsumerCallback_stop(ProxyVideoConsumerCallback self) {
- return self.stop();
- }
- public static int SwigDirector_ProxyAudioProducerCallback_prepare(ProxyAudioProducerCallback self, int ptime, int rate, int channels) {
- return self.prepare(ptime, rate, channels);
- }
- public static int SwigDirector_ProxyAudioProducerCallback_start(ProxyAudioProducerCallback self) {
- return self.start();
- }
- public static int SwigDirector_ProxyAudioProducerCallback_pause(ProxyAudioProducerCallback self) {
- return self.pause();
- }
- public static int SwigDirector_ProxyAudioProducerCallback_stop(ProxyAudioProducerCallback self) {
- return self.stop();
- }
- public static int SwigDirector_ProxyVideoProducerCallback_prepare(ProxyVideoProducerCallback self, int width, int height, int fps) {
- return self.prepare(width, height, fps);
- }
- public static int SwigDirector_ProxyVideoProducerCallback_start(ProxyVideoProducerCallback self) {
- return self.start();
- }
- public static int SwigDirector_ProxyVideoProducerCallback_pause(ProxyVideoProducerCallback self) {
- return self.pause();
- }
- public static int SwigDirector_ProxyVideoProducerCallback_stop(ProxyVideoProducerCallback self) {
- return self.stop();
- }
- public static int SwigDirector_SipCallback_OnDialogEvent(SipCallback self, long e) {
- return self.OnDialogEvent((e == 0) ? null : new DialogEvent(e, false));
- }
- public static int SwigDirector_SipCallback_OnStackEvent(SipCallback self, long e) {
- return self.OnStackEvent((e == 0) ? null : new StackEvent(e, false));
- }
- public static int SwigDirector_SipCallback_OnInviteEvent(SipCallback self, long e) {
- return self.OnInviteEvent((e == 0) ? null : new InviteEvent(e, false));
- }
- public static int SwigDirector_SipCallback_OnMessagingEvent(SipCallback self, long e) {
- return self.OnMessagingEvent((e == 0) ? null : new MessagingEvent(e, false));
- }
- public static int SwigDirector_SipCallback_OnOptionsEvent(SipCallback self, long e) {
- return self.OnOptionsEvent((e == 0) ? null : new OptionsEvent(e, false));
- }
- public static int SwigDirector_SipCallback_OnPublicationEvent(SipCallback self, long e) {
- return self.OnPublicationEvent((e == 0) ? null : new PublicationEvent(e, false));
- }
- public static int SwigDirector_SipCallback_OnRegistrationEvent(SipCallback self, long e) {
- return self.OnRegistrationEvent((e == 0) ? null : new RegistrationEvent(e, false));
- }
- public static int SwigDirector_SipCallback_OnSubscriptionEvent(SipCallback self, long e) {
- return self.OnSubscriptionEvent((e == 0) ? null : new SubscriptionEvent(e, false));
- }
- public static int SwigDirector_XcapCallback_onEvent(XcapCallback self, long e) {
- return self.onEvent((e == 0) ? null : new XcapEvent(e, false));
- }
- public static int SwigDirector_MsrpCallback_OnEvent(MsrpCallback self, long e) {
- return self.OnEvent((e == 0) ? null : new MsrpEvent(e, false));
- }
-
- private final static native void swig_module_init();
- static {
- swig_module_init();
- }
-}
diff --git a/branches/1.0/bindings/java/tinyWRAP_wrap.cxx b/branches/1.0/bindings/java/tinyWRAP_wrap.cxx
deleted file mode 100644
index e6d184c..0000000
--- a/branches/1.0/bindings/java/tinyWRAP_wrap.cxx
+++ /dev/null
@@ -1,9660 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * This file is not intended to be easily readable and contains a number of
- * coding conventions designed to improve portability and efficiency. Do not make
- * changes to this file unless you know what you are doing--modify the SWIG
- * interface file instead.
- * ----------------------------------------------------------------------------- */
-
-#define SWIGJAVA
-#define SWIG_DIRECTORS
-
-
-#ifdef __cplusplus
-/* SwigValueWrapper is described in swig.swg */
-template<typename T> class SwigValueWrapper {
- struct SwigMovePointer {
- T *ptr;
- SwigMovePointer(T *p) : ptr(p) { }
- ~SwigMovePointer() { delete ptr; }
- SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
- } pointer;
- SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
- SwigValueWrapper(const SwigValueWrapper<T>& rhs);
-public:
- SwigValueWrapper() : pointer(0) { }
- SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
- operator T&() const { return *pointer.ptr; }
- T *operator&() { return pointer.ptr; }
-};
-
-template <typename T> T SwigValueInit() {
- return T();
-}
-#endif
-
-/* -----------------------------------------------------------------------------
- * This section contains generic SWIG labels for method/variable
- * declarations/attributes, and other compiler dependent labels.
- * ----------------------------------------------------------------------------- */
-
-/* template workaround for compilers that cannot correctly implement the C++ standard */
-#ifndef SWIGTEMPLATEDISAMBIGUATOR
-# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
-# define SWIGTEMPLATEDISAMBIGUATOR template
-# elif defined(__HP_aCC)
-/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
-/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
-# define SWIGTEMPLATEDISAMBIGUATOR template
-# else
-# define SWIGTEMPLATEDISAMBIGUATOR
-# endif
-#endif
-
-/* inline attribute */
-#ifndef SWIGINLINE
-# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
-# define SWIGINLINE inline
-# else
-# define SWIGINLINE
-# endif
-#endif
-
-/* attribute recognised by some compilers to avoid 'unused' warnings */
-#ifndef SWIGUNUSED
-# if defined(__GNUC__)
-# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
-# define SWIGUNUSED __attribute__ ((__unused__))
-# else
-# define SWIGUNUSED
-# endif
-# elif defined(__ICC)
-# define SWIGUNUSED __attribute__ ((__unused__))
-# else
-# define SWIGUNUSED
-# endif
-#endif
-
-#ifndef SWIG_MSC_UNSUPPRESS_4505
-# if defined(_MSC_VER)
-# pragma warning(disable : 4505) /* unreferenced local function has been removed */
-# endif
-#endif
-
-#ifndef SWIGUNUSEDPARM
-# ifdef __cplusplus
-# define SWIGUNUSEDPARM(p)
-# else
-# define SWIGUNUSEDPARM(p) p SWIGUNUSED
-# endif
-#endif
-
-/* internal SWIG method */
-#ifndef SWIGINTERN
-# define SWIGINTERN static SWIGUNUSED
-#endif
-
-/* internal inline SWIG method */
-#ifndef SWIGINTERNINLINE
-# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
-#endif
-
-/* exporting methods */
-#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
-# ifndef GCC_HASCLASSVISIBILITY
-# define GCC_HASCLASSVISIBILITY
-# endif
-#endif
-
-#ifndef SWIGEXPORT
-# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
-# if defined(STATIC_LINKED)
-# define SWIGEXPORT
-# else
-# define SWIGEXPORT __declspec(dllexport)
-# endif
-# else
-# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
-# define SWIGEXPORT __attribute__ ((visibility("default")))
-# else
-# define SWIGEXPORT
-# endif
-# endif
-#endif
-
-/* calling conventions for Windows */
-#ifndef SWIGSTDCALL
-# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
-# define SWIGSTDCALL __stdcall
-# else
-# define SWIGSTDCALL
-# endif
-#endif
-
-/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
-#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
-# define _CRT_SECURE_NO_DEPRECATE
-#endif
-
-/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
-#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
-# define _SCL_SECURE_NO_DEPRECATE
-#endif
-
-
-
-/* Fix for jlong on some versions of gcc on Windows */
-#if defined(__GNUC__) && !defined(__INTEL_COMPILER)
- typedef long long __int64;
-#endif
-
-/* Fix for jlong on 64-bit x86 Solaris */
-#if defined(__x86_64)
-# ifdef _LP64
-# undef _LP64
-# endif
-#endif
-
-#include <jni.h>
-#include <stdlib.h>
-#include <string.h>
-
-
-/* Support for throwing Java exceptions */
-typedef enum {
- SWIG_JavaOutOfMemoryError = 1,
- SWIG_JavaIOException,
- SWIG_JavaRuntimeException,
- SWIG_JavaIndexOutOfBoundsException,
- SWIG_JavaArithmeticException,
- SWIG_JavaIllegalArgumentException,
- SWIG_JavaNullPointerException,
- SWIG_JavaDirectorPureVirtual,
- SWIG_JavaUnknownError
-} SWIG_JavaExceptionCodes;
-
-typedef struct {
- SWIG_JavaExceptionCodes code;
- const char *java_exception;
-} SWIG_JavaExceptions_t;
-
-
-static void SWIGUNUSED SWIG_JavaThrowException(JNIEnv *jenv, SWIG_JavaExceptionCodes code, const char *msg) {
- jclass excep;
- static const SWIG_JavaExceptions_t java_exceptions[] = {
- { SWIG_JavaOutOfMemoryError, "java/lang/OutOfMemoryError" },
- { SWIG_JavaIOException, "java/io/IOException" },
- { SWIG_JavaRuntimeException, "java/lang/RuntimeException" },
- { SWIG_JavaIndexOutOfBoundsException, "java/lang/IndexOutOfBoundsException" },
- { SWIG_JavaArithmeticException, "java/lang/ArithmeticException" },
- { SWIG_JavaIllegalArgumentException, "java/lang/IllegalArgumentException" },
- { SWIG_JavaNullPointerException, "java/lang/NullPointerException" },
- { SWIG_JavaDirectorPureVirtual, "java/lang/RuntimeException" },
- { SWIG_JavaUnknownError, "java/lang/UnknownError" },
- { (SWIG_JavaExceptionCodes)0, "java/lang/UnknownError" } };
- const SWIG_JavaExceptions_t *except_ptr = java_exceptions;
-
- while (except_ptr->code != code && except_ptr->code)
- except_ptr++;
-
- jenv->ExceptionClear();
- excep = jenv->FindClass(except_ptr->java_exception);
- if (excep)
- jenv->ThrowNew(excep, msg);
-}
-
-
-/* Contract support */
-
-#define SWIG_contract_assert(nullreturn, expr, msg) if (!(expr)) {SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, msg); return nullreturn; } else
-
-/* -----------------------------------------------------------------------------
- * See the LICENSE file for information on copyright, usage and redistribution
- * of SWIG, and the README file for authors - http://www.swig.org/release.html.
- *
- * director.swg
- *
- * This file contains support for director classes that proxy
- * method calls from C++ to Java extensions.
- * ----------------------------------------------------------------------------- */
-
-#ifdef __cplusplus
-
-#if defined(DEBUG_DIRECTOR_OWNED)
-#include <iostream>
-#endif
-
-namespace Swig {
- /* Java object wrapper */
- class JObjectWrapper {
- public:
- JObjectWrapper() : jthis_(NULL), weak_global_(true) {
- }
-
- ~JObjectWrapper() {
- jthis_ = NULL;
- weak_global_ = true;
- }
-
- bool set(JNIEnv *jenv, jobject jobj, bool mem_own, bool weak_global) {
- if (!jthis_) {
- weak_global_ = weak_global;
- if (jobj)
- jthis_ = ((weak_global_ || !mem_own) ? jenv->NewWeakGlobalRef(jobj) : jenv->NewGlobalRef(jobj));
-#if defined(DEBUG_DIRECTOR_OWNED)
- std::cout << "JObjectWrapper::set(" << jobj << ", " << (weak_global ? "weak_global" : "global_ref") << ") -> " << jthis_ << std::endl;
-#endif
- return true;
- } else {
-#if defined(DEBUG_DIRECTOR_OWNED)
- std::cout << "JObjectWrapper::set(" << jobj << ", " << (weak_global ? "weak_global" : "global_ref") << ") -> already set" << std::endl;
-#endif
- return false;
- }
- }
-
- jobject get(JNIEnv *jenv) const {
-#if defined(DEBUG_DIRECTOR_OWNED)
- std::cout << "JObjectWrapper::get(";
- if (jthis_)
- std::cout << jthis_;
- else
- std::cout << "null";
- std::cout << ") -> return new local ref" << std::endl;
-#endif
- return (jthis_ ? jenv->NewLocalRef(jthis_) : jthis_);
- }
-
- void release(JNIEnv *jenv) {
-#if defined(DEBUG_DIRECTOR_OWNED)
- std::cout << "JObjectWrapper::release(" << jthis_ << "): " << (weak_global_ ? "weak global ref" : "global ref") << std::endl;
-#endif
- if (jthis_) {
- if (weak_global_) {
- if (jenv->IsSameObject(jthis_, NULL) == JNI_FALSE)
- jenv->DeleteWeakGlobalRef((jweak)jthis_);
- } else
- jenv->DeleteGlobalRef(jthis_);
- }
-
- jthis_ = NULL;
- weak_global_ = true;
- }
-
- jobject peek() {
- return jthis_;
- }
-
- /* Java proxy releases ownership of C++ object, C++ object is now
- responsible for destruction (creates NewGlobalRef to pin Java
- proxy) */
- void java_change_ownership(JNIEnv *jenv, jobject jself, bool take_or_release) {
- if (take_or_release) { /* Java takes ownership of C++ object's lifetime. */
- if (!weak_global_) {
- jenv->DeleteGlobalRef(jthis_);
- jthis_ = jenv->NewWeakGlobalRef(jself);
- weak_global_ = true;
- }
- } else { /* Java releases ownership of C++ object's lifetime */
- if (weak_global_) {
- jenv->DeleteWeakGlobalRef((jweak)jthis_);
- jthis_ = jenv->NewGlobalRef(jself);
- weak_global_ = false;
- }
- }
- }
-
- private:
- /* pointer to Java object */
- jobject jthis_;
- /* Local or global reference flag */
- bool weak_global_;
- };
-
- /* director base class */
- class Director {
- /* pointer to Java virtual machine */
- JavaVM *swig_jvm_;
-
- protected:
-#if defined (_MSC_VER) && (_MSC_VER<1300)
- class JNIEnvWrapper;
- friend class JNIEnvWrapper;
-#endif
- /* Utility class for managing the JNI environment */
- class JNIEnvWrapper {
- const Director *director_;
- JNIEnv *jenv_;
- public:
- JNIEnvWrapper(const Director *director) : director_(director), jenv_(0) {
-#if defined(SWIG_JAVA_ATTACH_CURRENT_THREAD_AS_DAEMON)
- // Attach a daemon thread to the JVM. Useful when the JVM should not wait for
- // the thread to exit upon shutdown. Only for jdk-1.4 and later.
- director_->swig_jvm_->AttachCurrentThreadAsDaemon((void **) &jenv_, NULL);
-#else
- director_->swig_jvm_->AttachCurrentThread((void **) &jenv_, NULL);
-#endif
- }
- ~JNIEnvWrapper() {
-#if !defined(SWIG_JAVA_NO_DETACH_CURRENT_THREAD)
- // Some JVMs, eg jdk-1.4.2 and lower on Solaris have a bug and crash with the DetachCurrentThread call.
- // However, without this call, the JVM hangs on exit when the thread was not created by the JVM and creates a memory leak.
- director_->swig_jvm_->DetachCurrentThread();
-#endif
- }
- JNIEnv *getJNIEnv() const {
- return jenv_;
- }
- };
-
- /* Java object wrapper */
- JObjectWrapper swig_self_;
-
- /* Disconnect director from Java object */
- void swig_disconnect_director_self(const char *disconn_method) {
- JNIEnvWrapper jnienv(this) ;
- JNIEnv *jenv = jnienv.getJNIEnv() ;
- jobject jobj = swig_self_.peek();
-#if defined(DEBUG_DIRECTOR_OWNED)
- std::cout << "Swig::Director::disconnect_director_self(" << jobj << ")" << std::endl;
-#endif
- if (jobj && jenv->IsSameObject(jobj, NULL) == JNI_FALSE) {
- jmethodID disconn_meth = jenv->GetMethodID(jenv->GetObjectClass(jobj), disconn_method, "()V");
- if (disconn_meth) {
-#if defined(DEBUG_DIRECTOR_OWNED)
- std::cout << "Swig::Director::disconnect_director_self upcall to " << disconn_method << std::endl;
-#endif
- jenv->CallVoidMethod(jobj, disconn_meth);
- }
- }
- }
-
- public:
- Director(JNIEnv *jenv) : swig_jvm_((JavaVM *) NULL), swig_self_() {
- /* Acquire the Java VM pointer */
- jenv->GetJavaVM(&swig_jvm_);
- }
-
- virtual ~Director() {
- JNIEnvWrapper jnienv(this) ;
- JNIEnv *jenv = jnienv.getJNIEnv() ;
- swig_self_.release(jenv);
- }
-
- bool swig_set_self(JNIEnv *jenv, jobject jself, bool mem_own, bool weak_global) {
- return swig_self_.set(jenv, jself, mem_own, weak_global);
- }
-
- jobject swig_get_self(JNIEnv *jenv) const {
- return swig_self_.get(jenv);
- }
-
- // Change C++ object's ownership, relative to Java
- void swig_java_change_ownership(JNIEnv *jenv, jobject jself, bool take_or_release) {
- swig_self_.java_change_ownership(jenv, jself, take_or_release);
- }
- };
-}
-
-#endif /* __cplusplus */
-
-
-namespace Swig {
- static jclass jclass_tinyWRAPJNI = NULL;
- static jmethodID director_methids[33];
-}
-
-#include <stdint.h> // Use the C99 official header
-
-
-#include "DDebug.h"
-
-
-#include "ActionConfig.h"
-#include "MediaSessionMgr.h"
-#include "MediaContent.h"
-#include "SipUri.h"
-#include "SipMessage.h"
-#include "SipEvent.h"
-#include "SipSession.h"
-
-#include "ProxyPluginMgr.h"
-#include "ProxyConsumer.h"
-#include "ProxyProducer.h"
-
-#include "SipCallback.h"
-#include "SafeObject.h"
-#include "SipStack.h"
-
-
-#include "Xcap.h"
-
-
-#include "SMSEncoder.h"
-
-
-#include "Msrp.h"
-
-
-
-/* ---------------------------------------------------
- * C++ director class methods
- * --------------------------------------------------- */
-
-#include "tinyWRAP_wrap.h"
-
-SwigDirector_DDebugCallback::SwigDirector_DDebugCallback(JNIEnv *jenv) : DDebugCallback(), Swig::Director(jenv) {
-}
-
-SwigDirector_DDebugCallback::~SwigDirector_DDebugCallback() {
- swig_disconnect_director_self("swigDirectorDisconnect");
-}
-
-
-int SwigDirector_DDebugCallback::OnDebugInfo(char const *message) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jstring jmessage = 0 ;
-
- if (!swig_override[0]) {
- return DDebugCallback::OnDebugInfo(message);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jmessage = 0;
- if (message) {
- jmessage = jenv->NewStringUTF((const char *)message);
- if (!jmessage) return c_result;
- }
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[0], swigjobj, jmessage);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_DDebugCallback::OnDebugWarn(char const *message) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jstring jmessage = 0 ;
-
- if (!swig_override[1]) {
- return DDebugCallback::OnDebugWarn(message);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jmessage = 0;
- if (message) {
- jmessage = jenv->NewStringUTF((const char *)message);
- if (!jmessage) return c_result;
- }
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[1], swigjobj, jmessage);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_DDebugCallback::OnDebugError(char const *message) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jstring jmessage = 0 ;
-
- if (!swig_override[2]) {
- return DDebugCallback::OnDebugError(message);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jmessage = 0;
- if (message) {
- jmessage = jenv->NewStringUTF((const char *)message);
- if (!jmessage) return c_result;
- }
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[2], swigjobj, jmessage);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_DDebugCallback::OnDebugFatal(char const *message) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jstring jmessage = 0 ;
-
- if (!swig_override[3]) {
- return DDebugCallback::OnDebugFatal(message);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jmessage = 0;
- if (message) {
- jmessage = jenv->NewStringUTF((const char *)message);
- if (!jmessage) return c_result;
- }
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[3], swigjobj, jmessage);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-void SwigDirector_DDebugCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
- static struct {
- const char *mname;
- const char *mdesc;
- jmethodID base_methid;
- } methods[] = {
- {
- "OnDebugInfo", "(Ljava/lang/String;)I", NULL
- },
- {
- "OnDebugWarn", "(Ljava/lang/String;)I", NULL
- },
- {
- "OnDebugError", "(Ljava/lang/String;)I", NULL
- },
- {
- "OnDebugFatal", "(Ljava/lang/String;)I", NULL
- }
- };
-
- static jclass baseclass = 0 ;
-
- if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
- if (!baseclass) {
- baseclass = jenv->FindClass("org/doubango/tinyWRAP/DDebugCallback");
- if (!baseclass) return;
- baseclass = (jclass) jenv->NewGlobalRef(baseclass);
- }
- bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
- for (int i = 0; i < 4; ++i) {
- if (!methods[i].base_methid) {
- methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
- if (!methods[i].base_methid) return;
- }
- swig_override[i] = false;
- if (derived) {
- jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
- swig_override[i] = (methid != methods[i].base_methid);
- jenv->ExceptionClear();
- }
- }
- }
-}
-
-
-SwigDirector_ProxyPluginMgrCallback::SwigDirector_ProxyPluginMgrCallback(JNIEnv *jenv) : ProxyPluginMgrCallback(), Swig::Director(jenv) {
-}
-
-SwigDirector_ProxyPluginMgrCallback::~SwigDirector_ProxyPluginMgrCallback() {
- swig_disconnect_director_self("swigDirectorDisconnect");
-}
-
-
-int SwigDirector_ProxyPluginMgrCallback::OnPluginCreated(uint64_t id, enum twrap_proxy_plugin_type_e type) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jobject jid ;
- jint jtype ;
-
- if (!swig_override[0]) {
- return ProxyPluginMgrCallback::OnPluginCreated(id,type);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- {
- jbyteArray ba = jenv->NewByteArray(9);
- jbyte* bae = jenv->GetByteArrayElements(ba, 0);
- jclass clazz = jenv->FindClass("java/math/BigInteger");
- jmethodID mid = jenv->GetMethodID(clazz, "<init>", "([B)V");
- jobject bigint;
- int swig_i;
-
- bae[0] = 0;
- for(swig_i=1; swig_i<9; swig_i++ ) {
- bae[swig_i] = (jbyte)(id>>8*(8-swig_i));
- }
-
- jenv->ReleaseByteArrayElements(ba, bae, 0);
- bigint = jenv->NewObject(clazz, mid, ba);
- jid = bigint;
- }
- jtype = (jint) type;
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[4], swigjobj, jid, jtype);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_ProxyPluginMgrCallback::OnPluginDestroyed(uint64_t id, enum twrap_proxy_plugin_type_e type) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jobject jid ;
- jint jtype ;
-
- if (!swig_override[1]) {
- return ProxyPluginMgrCallback::OnPluginDestroyed(id,type);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- {
- jbyteArray ba = jenv->NewByteArray(9);
- jbyte* bae = jenv->GetByteArrayElements(ba, 0);
- jclass clazz = jenv->FindClass("java/math/BigInteger");
- jmethodID mid = jenv->GetMethodID(clazz, "<init>", "([B)V");
- jobject bigint;
- int swig_i;
-
- bae[0] = 0;
- for(swig_i=1; swig_i<9; swig_i++ ) {
- bae[swig_i] = (jbyte)(id>>8*(8-swig_i));
- }
-
- jenv->ReleaseByteArrayElements(ba, bae, 0);
- bigint = jenv->NewObject(clazz, mid, ba);
- jid = bigint;
- }
- jtype = (jint) type;
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[5], swigjobj, jid, jtype);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-void SwigDirector_ProxyPluginMgrCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
- static struct {
- const char *mname;
- const char *mdesc;
- jmethodID base_methid;
- } methods[] = {
- {
- "OnPluginCreated", "(Ljava/math/BigInteger;Lorg/doubango/tinyWRAP/twrap_proxy_plugin_type_t;)I", NULL
- },
- {
- "OnPluginDestroyed", "(Ljava/math/BigInteger;Lorg/doubango/tinyWRAP/twrap_proxy_plugin_type_t;)I", NULL
- }
- };
-
- static jclass baseclass = 0 ;
-
- if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
- if (!baseclass) {
- baseclass = jenv->FindClass("org/doubango/tinyWRAP/ProxyPluginMgrCallback");
- if (!baseclass) return;
- baseclass = (jclass) jenv->NewGlobalRef(baseclass);
- }
- bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
- for (int i = 0; i < 2; ++i) {
- if (!methods[i].base_methid) {
- methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
- if (!methods[i].base_methid) return;
- }
- swig_override[i] = false;
- if (derived) {
- jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
- swig_override[i] = (methid != methods[i].base_methid);
- jenv->ExceptionClear();
- }
- }
- }
-}
-
-
-SwigDirector_ProxyAudioConsumerCallback::SwigDirector_ProxyAudioConsumerCallback(JNIEnv *jenv) : ProxyAudioConsumerCallback(), Swig::Director(jenv) {
-}
-
-SwigDirector_ProxyAudioConsumerCallback::~SwigDirector_ProxyAudioConsumerCallback() {
- swig_disconnect_director_self("swigDirectorDisconnect");
-}
-
-
-int SwigDirector_ProxyAudioConsumerCallback::prepare(int ptime, int rate, int channels) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jint jptime ;
- jint jrate ;
- jint jchannels ;
-
- if (!swig_override[0]) {
- return ProxyAudioConsumerCallback::prepare(ptime,rate,channels);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jptime = (jint) ptime;
- jrate = (jint) rate;
- jchannels = (jint) channels;
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[6], swigjobj, jptime, jrate, jchannels);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_ProxyAudioConsumerCallback::start() {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
-
- if (!swig_override[1]) {
- return ProxyAudioConsumerCallback::start();
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[7], swigjobj);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_ProxyAudioConsumerCallback::pause() {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
-
- if (!swig_override[2]) {
- return ProxyAudioConsumerCallback::pause();
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[8], swigjobj);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_ProxyAudioConsumerCallback::stop() {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
-
- if (!swig_override[3]) {
- return ProxyAudioConsumerCallback::stop();
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[9], swigjobj);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-void SwigDirector_ProxyAudioConsumerCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
- static struct {
- const char *mname;
- const char *mdesc;
- jmethodID base_methid;
- } methods[] = {
- {
- "prepare", "(III)I", NULL
- },
- {
- "start", "()I", NULL
- },
- {
- "pause", "()I", NULL
- },
- {
- "stop", "()I", NULL
- }
- };
-
- static jclass baseclass = 0 ;
-
- if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
- if (!baseclass) {
- baseclass = jenv->FindClass("org/doubango/tinyWRAP/ProxyAudioConsumerCallback");
- if (!baseclass) return;
- baseclass = (jclass) jenv->NewGlobalRef(baseclass);
- }
- bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
- for (int i = 0; i < 4; ++i) {
- if (!methods[i].base_methid) {
- methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
- if (!methods[i].base_methid) return;
- }
- swig_override[i] = false;
- if (derived) {
- jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
- swig_override[i] = (methid != methods[i].base_methid);
- jenv->ExceptionClear();
- }
- }
- }
-}
-
-
-SwigDirector_ProxyVideoConsumerCallback::SwigDirector_ProxyVideoConsumerCallback(JNIEnv *jenv) : ProxyVideoConsumerCallback(), Swig::Director(jenv) {
-}
-
-SwigDirector_ProxyVideoConsumerCallback::~SwigDirector_ProxyVideoConsumerCallback() {
- swig_disconnect_director_self("swigDirectorDisconnect");
-}
-
-
-int SwigDirector_ProxyVideoConsumerCallback::prepare(int width, int height, int fps) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jint jwidth ;
- jint jheight ;
- jint jfps ;
-
- if (!swig_override[0]) {
- return ProxyVideoConsumerCallback::prepare(width,height,fps);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jwidth = (jint) width;
- jheight = (jint) height;
- jfps = (jint) fps;
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[10], swigjobj, jwidth, jheight, jfps);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_ProxyVideoConsumerCallback::consume(ProxyVideoFrame const *frame) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jlong jframe = 0 ;
-
- if (!swig_override[1]) {
- return ProxyVideoConsumerCallback::consume(frame);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- *((ProxyVideoFrame **)&jframe) = (ProxyVideoFrame *) frame;
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[11], swigjobj, jframe);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_ProxyVideoConsumerCallback::start() {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
-
- if (!swig_override[2]) {
- return ProxyVideoConsumerCallback::start();
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[12], swigjobj);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_ProxyVideoConsumerCallback::pause() {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
-
- if (!swig_override[3]) {
- return ProxyVideoConsumerCallback::pause();
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[13], swigjobj);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_ProxyVideoConsumerCallback::stop() {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
-
- if (!swig_override[4]) {
- return ProxyVideoConsumerCallback::stop();
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[14], swigjobj);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-void SwigDirector_ProxyVideoConsumerCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
- static struct {
- const char *mname;
- const char *mdesc;
- jmethodID base_methid;
- } methods[] = {
- {
- "prepare", "(III)I", NULL
- },
- {
- "consume", "(Lorg/doubango/tinyWRAP/ProxyVideoFrame;)I", NULL
- },
- {
- "start", "()I", NULL
- },
- {
- "pause", "()I", NULL
- },
- {
- "stop", "()I", NULL
- }
- };
-
- static jclass baseclass = 0 ;
-
- if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
- if (!baseclass) {
- baseclass = jenv->FindClass("org/doubango/tinyWRAP/ProxyVideoConsumerCallback");
- if (!baseclass) return;
- baseclass = (jclass) jenv->NewGlobalRef(baseclass);
- }
- bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
- for (int i = 0; i < 5; ++i) {
- if (!methods[i].base_methid) {
- methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
- if (!methods[i].base_methid) return;
- }
- swig_override[i] = false;
- if (derived) {
- jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
- swig_override[i] = (methid != methods[i].base_methid);
- jenv->ExceptionClear();
- }
- }
- }
-}
-
-
-SwigDirector_ProxyAudioProducerCallback::SwigDirector_ProxyAudioProducerCallback(JNIEnv *jenv) : ProxyAudioProducerCallback(), Swig::Director(jenv) {
-}
-
-SwigDirector_ProxyAudioProducerCallback::~SwigDirector_ProxyAudioProducerCallback() {
- swig_disconnect_director_self("swigDirectorDisconnect");
-}
-
-
-int SwigDirector_ProxyAudioProducerCallback::prepare(int ptime, int rate, int channels) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jint jptime ;
- jint jrate ;
- jint jchannels ;
-
- if (!swig_override[0]) {
- return ProxyAudioProducerCallback::prepare(ptime,rate,channels);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jptime = (jint) ptime;
- jrate = (jint) rate;
- jchannels = (jint) channels;
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[15], swigjobj, jptime, jrate, jchannels);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_ProxyAudioProducerCallback::start() {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
-
- if (!swig_override[1]) {
- return ProxyAudioProducerCallback::start();
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[16], swigjobj);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_ProxyAudioProducerCallback::pause() {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
-
- if (!swig_override[2]) {
- return ProxyAudioProducerCallback::pause();
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[17], swigjobj);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_ProxyAudioProducerCallback::stop() {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
-
- if (!swig_override[3]) {
- return ProxyAudioProducerCallback::stop();
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[18], swigjobj);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-void SwigDirector_ProxyAudioProducerCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
- static struct {
- const char *mname;
- const char *mdesc;
- jmethodID base_methid;
- } methods[] = {
- {
- "prepare", "(III)I", NULL
- },
- {
- "start", "()I", NULL
- },
- {
- "pause", "()I", NULL
- },
- {
- "stop", "()I", NULL
- }
- };
-
- static jclass baseclass = 0 ;
-
- if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
- if (!baseclass) {
- baseclass = jenv->FindClass("org/doubango/tinyWRAP/ProxyAudioProducerCallback");
- if (!baseclass) return;
- baseclass = (jclass) jenv->NewGlobalRef(baseclass);
- }
- bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
- for (int i = 0; i < 4; ++i) {
- if (!methods[i].base_methid) {
- methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
- if (!methods[i].base_methid) return;
- }
- swig_override[i] = false;
- if (derived) {
- jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
- swig_override[i] = (methid != methods[i].base_methid);
- jenv->ExceptionClear();
- }
- }
- }
-}
-
-
-SwigDirector_ProxyVideoProducerCallback::SwigDirector_ProxyVideoProducerCallback(JNIEnv *jenv) : ProxyVideoProducerCallback(), Swig::Director(jenv) {
-}
-
-SwigDirector_ProxyVideoProducerCallback::~SwigDirector_ProxyVideoProducerCallback() {
- swig_disconnect_director_self("swigDirectorDisconnect");
-}
-
-
-int SwigDirector_ProxyVideoProducerCallback::prepare(int width, int height, int fps) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jint jwidth ;
- jint jheight ;
- jint jfps ;
-
- if (!swig_override[0]) {
- return ProxyVideoProducerCallback::prepare(width,height,fps);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jwidth = (jint) width;
- jheight = (jint) height;
- jfps = (jint) fps;
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[19], swigjobj, jwidth, jheight, jfps);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_ProxyVideoProducerCallback::start() {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
-
- if (!swig_override[1]) {
- return ProxyVideoProducerCallback::start();
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[20], swigjobj);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_ProxyVideoProducerCallback::pause() {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
-
- if (!swig_override[2]) {
- return ProxyVideoProducerCallback::pause();
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[21], swigjobj);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_ProxyVideoProducerCallback::stop() {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
-
- if (!swig_override[3]) {
- return ProxyVideoProducerCallback::stop();
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[22], swigjobj);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-void SwigDirector_ProxyVideoProducerCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
- static struct {
- const char *mname;
- const char *mdesc;
- jmethodID base_methid;
- } methods[] = {
- {
- "prepare", "(III)I", NULL
- },
- {
- "start", "()I", NULL
- },
- {
- "pause", "()I", NULL
- },
- {
- "stop", "()I", NULL
- }
- };
-
- static jclass baseclass = 0 ;
-
- if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
- if (!baseclass) {
- baseclass = jenv->FindClass("org/doubango/tinyWRAP/ProxyVideoProducerCallback");
- if (!baseclass) return;
- baseclass = (jclass) jenv->NewGlobalRef(baseclass);
- }
- bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
- for (int i = 0; i < 4; ++i) {
- if (!methods[i].base_methid) {
- methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
- if (!methods[i].base_methid) return;
- }
- swig_override[i] = false;
- if (derived) {
- jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
- swig_override[i] = (methid != methods[i].base_methid);
- jenv->ExceptionClear();
- }
- }
- }
-}
-
-
-SwigDirector_SipCallback::SwigDirector_SipCallback(JNIEnv *jenv) : SipCallback(), Swig::Director(jenv) {
-}
-
-SwigDirector_SipCallback::~SwigDirector_SipCallback() {
- swig_disconnect_director_self("swigDirectorDisconnect");
-}
-
-
-int SwigDirector_SipCallback::OnDialogEvent(DialogEvent const *e) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jlong je = 0 ;
-
- if (!swig_override[0]) {
- return SipCallback::OnDialogEvent(e);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- *((DialogEvent **)&je) = (DialogEvent *) e;
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[23], swigjobj, je);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_SipCallback::OnStackEvent(StackEvent const *e) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jlong je = 0 ;
-
- if (!swig_override[1]) {
- return SipCallback::OnStackEvent(e);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- *((StackEvent **)&je) = (StackEvent *) e;
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[24], swigjobj, je);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_SipCallback::OnInviteEvent(InviteEvent const *e) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jlong je = 0 ;
-
- if (!swig_override[2]) {
- return SipCallback::OnInviteEvent(e);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- *((InviteEvent **)&je) = (InviteEvent *) e;
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[25], swigjobj, je);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_SipCallback::OnMessagingEvent(MessagingEvent const *e) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jlong je = 0 ;
-
- if (!swig_override[3]) {
- return SipCallback::OnMessagingEvent(e);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- *((MessagingEvent **)&je) = (MessagingEvent *) e;
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[26], swigjobj, je);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_SipCallback::OnOptionsEvent(OptionsEvent const *e) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jlong je = 0 ;
-
- if (!swig_override[4]) {
- return SipCallback::OnOptionsEvent(e);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- *((OptionsEvent **)&je) = (OptionsEvent *) e;
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[27], swigjobj, je);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_SipCallback::OnPublicationEvent(PublicationEvent const *e) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jlong je = 0 ;
-
- if (!swig_override[5]) {
- return SipCallback::OnPublicationEvent(e);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- *((PublicationEvent **)&je) = (PublicationEvent *) e;
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[28], swigjobj, je);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_SipCallback::OnRegistrationEvent(RegistrationEvent const *e) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jlong je = 0 ;
-
- if (!swig_override[6]) {
- return SipCallback::OnRegistrationEvent(e);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- *((RegistrationEvent **)&je) = (RegistrationEvent *) e;
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[29], swigjobj, je);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-int SwigDirector_SipCallback::OnSubscriptionEvent(SubscriptionEvent const *e) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jlong je = 0 ;
-
- if (!swig_override[7]) {
- return SipCallback::OnSubscriptionEvent(e);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- *((SubscriptionEvent **)&je) = (SubscriptionEvent *) e;
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[30], swigjobj, je);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-void SwigDirector_SipCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
- static struct {
- const char *mname;
- const char *mdesc;
- jmethodID base_methid;
- } methods[] = {
- {
- "OnDialogEvent", "(Lorg/doubango/tinyWRAP/DialogEvent;)I", NULL
- },
- {
- "OnStackEvent", "(Lorg/doubango/tinyWRAP/StackEvent;)I", NULL
- },
- {
- "OnInviteEvent", "(Lorg/doubango/tinyWRAP/InviteEvent;)I", NULL
- },
- {
- "OnMessagingEvent", "(Lorg/doubango/tinyWRAP/MessagingEvent;)I", NULL
- },
- {
- "OnOptionsEvent", "(Lorg/doubango/tinyWRAP/OptionsEvent;)I", NULL
- },
- {
- "OnPublicationEvent", "(Lorg/doubango/tinyWRAP/PublicationEvent;)I", NULL
- },
- {
- "OnRegistrationEvent", "(Lorg/doubango/tinyWRAP/RegistrationEvent;)I", NULL
- },
- {
- "OnSubscriptionEvent", "(Lorg/doubango/tinyWRAP/SubscriptionEvent;)I", NULL
- }
- };
-
- static jclass baseclass = 0 ;
-
- if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
- if (!baseclass) {
- baseclass = jenv->FindClass("org/doubango/tinyWRAP/SipCallback");
- if (!baseclass) return;
- baseclass = (jclass) jenv->NewGlobalRef(baseclass);
- }
- bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
- for (int i = 0; i < 8; ++i) {
- if (!methods[i].base_methid) {
- methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
- if (!methods[i].base_methid) return;
- }
- swig_override[i] = false;
- if (derived) {
- jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
- swig_override[i] = (methid != methods[i].base_methid);
- jenv->ExceptionClear();
- }
- }
- }
-}
-
-
-SwigDirector_XcapCallback::SwigDirector_XcapCallback(JNIEnv *jenv) : XcapCallback(), Swig::Director(jenv) {
-}
-
-SwigDirector_XcapCallback::~SwigDirector_XcapCallback() {
- swig_disconnect_director_self("swigDirectorDisconnect");
-}
-
-
-int SwigDirector_XcapCallback::onEvent(XcapEvent const *e) const {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jlong je = 0 ;
-
- if (!swig_override[0]) {
- return XcapCallback::onEvent(e);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- *((XcapEvent **)&je) = (XcapEvent *) e;
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[31], swigjobj, je);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-void SwigDirector_XcapCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
- static struct {
- const char *mname;
- const char *mdesc;
- jmethodID base_methid;
- } methods[] = {
- {
- "onEvent", "(Lorg/doubango/tinyWRAP/XcapEvent;)I", NULL
- }
- };
-
- static jclass baseclass = 0 ;
-
- if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
- if (!baseclass) {
- baseclass = jenv->FindClass("org/doubango/tinyWRAP/XcapCallback");
- if (!baseclass) return;
- baseclass = (jclass) jenv->NewGlobalRef(baseclass);
- }
- bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
- for (int i = 0; i < 1; ++i) {
- if (!methods[i].base_methid) {
- methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
- if (!methods[i].base_methid) return;
- }
- swig_override[i] = false;
- if (derived) {
- jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
- swig_override[i] = (methid != methods[i].base_methid);
- jenv->ExceptionClear();
- }
- }
- }
-}
-
-
-SwigDirector_MsrpCallback::SwigDirector_MsrpCallback(JNIEnv *jenv) : MsrpCallback(), Swig::Director(jenv) {
-}
-
-SwigDirector_MsrpCallback::~SwigDirector_MsrpCallback() {
- swig_disconnect_director_self("swigDirectorDisconnect");
-}
-
-
-int SwigDirector_MsrpCallback::OnEvent(MsrpEvent const *e) {
- int c_result = SwigValueInit< int >() ;
- jint jresult = 0 ;
- JNIEnvWrapper swigjnienv(this) ;
- JNIEnv * jenv = swigjnienv.getJNIEnv() ;
- jobject swigjobj = (jobject) NULL ;
- jlong je = 0 ;
-
- if (!swig_override[0]) {
- return MsrpCallback::OnEvent(e);
- }
- swigjobj = swig_get_self(jenv);
- if (swigjobj && jenv->IsSameObject(swigjobj, NULL) == JNI_FALSE) {
- *((MsrpEvent **)&je) = (MsrpEvent *) e;
- jresult = (jint) jenv->CallStaticIntMethod(Swig::jclass_tinyWRAPJNI, Swig::director_methids[32], swigjobj, je);
- if (jenv->ExceptionOccurred()) return c_result;
- c_result = (int)jresult;
- } else {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null upcall object");
- }
- if (swigjobj) jenv->DeleteLocalRef(swigjobj);
- return c_result;
-}
-
-void SwigDirector_MsrpCallback::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {
- static struct {
- const char *mname;
- const char *mdesc;
- jmethodID base_methid;
- } methods[] = {
- {
- "OnEvent", "(Lorg/doubango/tinyWRAP/MsrpEvent;)I", NULL
- }
- };
-
- static jclass baseclass = 0 ;
-
- if (swig_set_self(jenv, jself, swig_mem_own, weak_global)) {
- if (!baseclass) {
- baseclass = jenv->FindClass("org/doubango/tinyWRAP/MsrpCallback");
- if (!baseclass) return;
- baseclass = (jclass) jenv->NewGlobalRef(baseclass);
- }
- bool derived = (jenv->IsSameObject(baseclass, jcls) ? false : true);
- for (int i = 0; i < 1; ++i) {
- if (!methods[i].base_methid) {
- methods[i].base_methid = jenv->GetMethodID(baseclass, methods[i].mname, methods[i].mdesc);
- if (!methods[i].base_methid) return;
- }
- swig_override[i] = false;
- if (derived) {
- jmethodID methid = jenv->GetMethodID(jcls, methods[i].mname, methods[i].mdesc);
- swig_override[i] = (methid != methods[i].base_methid);
- jenv->ExceptionClear();
- }
- }
- }
-}
-
-
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1DDebugCallback(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- DDebugCallback *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (DDebugCallback *)new SwigDirector_DDebugCallback(jenv);
- *(DDebugCallback **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1DDebugCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(DDebugCallback **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_DDebugCallback_1OnDebugInfo(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jint jresult = 0 ;
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(DDebugCallback **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (int)(arg1)->OnDebugInfo((char const *)arg2);
- jresult = (jint)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_DDebugCallback_1OnDebugInfoSwigExplicitDDebugCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jint jresult = 0 ;
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(DDebugCallback **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (int)(arg1)->DDebugCallback::OnDebugInfo((char const *)arg2);
- jresult = (jint)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_DDebugCallback_1OnDebugWarn(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jint jresult = 0 ;
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(DDebugCallback **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (int)(arg1)->OnDebugWarn((char const *)arg2);
- jresult = (jint)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_DDebugCallback_1OnDebugWarnSwigExplicitDDebugCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jint jresult = 0 ;
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(DDebugCallback **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (int)(arg1)->DDebugCallback::OnDebugWarn((char const *)arg2);
- jresult = (jint)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_DDebugCallback_1OnDebugError(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jint jresult = 0 ;
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(DDebugCallback **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (int)(arg1)->OnDebugError((char const *)arg2);
- jresult = (jint)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_DDebugCallback_1OnDebugErrorSwigExplicitDDebugCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jint jresult = 0 ;
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(DDebugCallback **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (int)(arg1)->DDebugCallback::OnDebugError((char const *)arg2);
- jresult = (jint)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_DDebugCallback_1OnDebugFatal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jint jresult = 0 ;
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(DDebugCallback **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (int)(arg1)->OnDebugFatal((char const *)arg2);
- jresult = (jint)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_DDebugCallback_1OnDebugFatalSwigExplicitDDebugCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jint jresult = 0 ;
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(DDebugCallback **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (int)(arg1)->DDebugCallback::OnDebugFatal((char const *)arg2);
- jresult = (jint)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_DDebugCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
- DDebugCallback *obj = *((DDebugCallback **)&objarg);
- (void)jcls;
- SwigDirector_DDebugCallback *director = dynamic_cast<SwigDirector_DDebugCallback *>(obj);
- if (director) {
- director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
- }
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_DDebugCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
- DDebugCallback *obj = *((DDebugCallback **)&objarg);
- SwigDirector_DDebugCallback *director = dynamic_cast<SwigDirector_DDebugCallback *>(obj);
- (void)jcls;
- if (director) {
- director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
- }
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1ActionConfig(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- ActionConfig *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (ActionConfig *)new ActionConfig();
- *(ActionConfig **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1ActionConfig(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- ActionConfig *arg1 = (ActionConfig *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(ActionConfig **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ActionConfig_1addHeader(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
- jboolean jresult = 0 ;
- ActionConfig *arg1 = (ActionConfig *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ActionConfig **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- result = (bool)(arg1)->addHeader((char const *)arg2,(char const *)arg3);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ActionConfig_1setResponseLine(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jshort jarg2, jstring jarg3) {
- jlong jresult = 0 ;
- ActionConfig *arg1 = (ActionConfig *) 0 ;
- short arg2 ;
- char *arg3 = (char *) 0 ;
- ActionConfig *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ActionConfig **)&jarg1;
- arg2 = (short)jarg2;
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- result = (ActionConfig *)(arg1)->setResponseLine(arg2,(char const *)arg3);
- *(ActionConfig **)&jresult = result;
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ActionConfig_1setMediaString(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jstring jarg3, jstring jarg4) {
- jlong jresult = 0 ;
- ActionConfig *arg1 = (ActionConfig *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- ActionConfig *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ActionConfig **)&jarg1;
- arg2 = (twrap_media_type_t)jarg2;
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = 0;
- if (jarg4) {
- arg4 = (char *)jenv->GetStringUTFChars(jarg4, 0);
- if (!arg4) return 0;
- }
- result = (ActionConfig *)(arg1)->setMediaString(arg2,(char const *)arg3,(char const *)arg4);
- *(ActionConfig **)&jresult = result;
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- if (arg4) jenv->ReleaseStringUTFChars(jarg4, (const char *)arg4);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ActionConfig_1setMediaInt(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jstring jarg3, jint jarg4) {
- jlong jresult = 0 ;
- ActionConfig *arg1 = (ActionConfig *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- int arg4 ;
- ActionConfig *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ActionConfig **)&jarg1;
- arg2 = (twrap_media_type_t)jarg2;
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = (int)jarg4;
- result = (ActionConfig *)(arg1)->setMediaInt(arg2,(char const *)arg3,arg4);
- *(ActionConfig **)&jresult = result;
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1MediaSessionMgr(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(MediaSessionMgr **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaSessionMgr_1sessionSetInt32(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jstring jarg3, jint jarg4) {
- jboolean jresult = 0 ;
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- int32_t arg4 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MediaSessionMgr **)&jarg1;
- arg2 = (twrap_media_type_t)jarg2;
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = (int32_t)jarg4;
- result = (bool)(arg1)->sessionSetInt32(arg2,(char const *)arg3,arg4);
- jresult = (jboolean)result;
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaSessionMgr_1consumerSetInt32(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jstring jarg3, jint jarg4) {
- jboolean jresult = 0 ;
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- int32_t arg4 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MediaSessionMgr **)&jarg1;
- arg2 = (twrap_media_type_t)jarg2;
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = (int32_t)jarg4;
- result = (bool)(arg1)->consumerSetInt32(arg2,(char const *)arg3,arg4);
- jresult = (jboolean)result;
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaSessionMgr_1consumerSetInt64(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jstring jarg3, jlong jarg4) {
- jboolean jresult = 0 ;
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- int64_t arg4 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MediaSessionMgr **)&jarg1;
- arg2 = (twrap_media_type_t)jarg2;
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = (int64_t)jarg4;
- result = (bool)(arg1)->consumerSetInt64(arg2,(char const *)arg3,arg4);
- jresult = (jboolean)result;
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaSessionMgr_1producerSetInt32(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jstring jarg3, jint jarg4) {
- jboolean jresult = 0 ;
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- int32_t arg4 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MediaSessionMgr **)&jarg1;
- arg2 = (twrap_media_type_t)jarg2;
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = (int32_t)jarg4;
- result = (bool)(arg1)->producerSetInt32(arg2,(char const *)arg3,arg4);
- jresult = (jboolean)result;
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaSessionMgr_1producerSetInt64(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jstring jarg3, jlong jarg4) {
- jboolean jresult = 0 ;
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- int64_t arg4 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MediaSessionMgr **)&jarg1;
- arg2 = (twrap_media_type_t)jarg2;
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = (int64_t)jarg4;
- result = (bool)(arg1)->producerSetInt64(arg2,(char const *)arg3,arg4);
- jresult = (jboolean)result;
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaSessionMgr_1findProxyPluginConsumer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
- jlong jresult = 0 ;
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- ProxyPlugin *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MediaSessionMgr **)&jarg1;
- arg2 = (twrap_media_type_t)jarg2;
- result = (ProxyPlugin *)(arg1)->findProxyPluginConsumer(arg2);
- *(ProxyPlugin **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaSessionMgr_1findProxyPluginProducer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
- jlong jresult = 0 ;
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- ProxyPlugin *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MediaSessionMgr **)&jarg1;
- arg2 = (twrap_media_type_t)jarg2;
- result = (ProxyPlugin *)(arg1)->findProxyPluginProducer(arg2);
- *(ProxyPlugin **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1MediaContent(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- MediaContent *arg1 = (MediaContent *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(MediaContent **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaContent_1getType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jstring jresult = 0 ;
- MediaContent *arg1 = (MediaContent *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MediaContent **)&jarg1;
- result = (char *)(arg1)->getType();
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaContent_1getDataLength(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- MediaContent *arg1 = (MediaContent *) 0 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MediaContent **)&jarg1;
- result = (unsigned int)(arg1)->getDataLength();
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaContent_1getData(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2, jlong jarg3) {
- jlong jresult = 0 ;
- MediaContent *arg1 = (MediaContent *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MediaContent **)&jarg1;
-
- arg2 = jenv->GetDirectBufferAddress(jarg2);
-
- arg3 = (unsigned int)jarg3;
- result = (unsigned int)(arg1)->getData(arg2,arg3);
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaContent_1parse_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jbyteArray jarg1, jlong jarg2, jstring jarg3) {
- jlong jresult = 0 ;
- void *arg1 = (void *) 0 ;
- unsigned int arg2 ;
- char *arg3 = (char *) 0 ;
- MediaContent *result = 0 ;
-
- (void)jenv;
- (void)jcls;
-
- arg1 = jenv->GetDirectBufferAddress(jarg1);
-
- arg2 = (unsigned int)jarg2;
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- result = (MediaContent *)MediaContent::parse((void const *)arg1,arg2,(char const *)arg3);
- *(MediaContent **)&jresult = result;
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaContent_1parse_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jbyteArray jarg1, jlong jarg2) {
- jlong jresult = 0 ;
- void *arg1 = (void *) 0 ;
- unsigned int arg2 ;
- MediaContentCPIM *result = 0 ;
-
- (void)jenv;
- (void)jcls;
-
- arg1 = jenv->GetDirectBufferAddress(jarg1);
-
- arg2 = (unsigned int)jarg2;
- result = (MediaContentCPIM *)MediaContent::parse((void const *)arg1,arg2);
- *(MediaContentCPIM **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaContent_1getPayloadLength(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- MediaContent *arg1 = (MediaContent *) 0 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MediaContent **)&jarg1;
- result = (unsigned int)(arg1)->getPayloadLength();
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaContent_1getPayload(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2, jlong jarg3) {
- jlong jresult = 0 ;
- MediaContent *arg1 = (MediaContent *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MediaContent **)&jarg1;
-
- arg2 = jenv->GetDirectBufferAddress(jarg2);
-
- arg3 = (unsigned int)jarg3;
- result = (unsigned int)(arg1)->getPayload(arg2,arg3);
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1MediaContentCPIM(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- MediaContentCPIM *arg1 = (MediaContentCPIM *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(MediaContentCPIM **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaContentCPIM_1getPayloadLength(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- MediaContentCPIM *arg1 = (MediaContentCPIM *) 0 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MediaContentCPIM **)&jarg1;
- result = (unsigned int)(arg1)->getPayloadLength();
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaContentCPIM_1getPayload(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2, jlong jarg3) {
- jlong jresult = 0 ;
- MediaContentCPIM *arg1 = (MediaContentCPIM *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MediaContentCPIM **)&jarg1;
-
- arg2 = jenv->GetDirectBufferAddress(jarg2);
-
- arg3 = (unsigned int)jarg3;
- result = (unsigned int)(arg1)->getPayload(arg2,arg3);
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaContentCPIM_1getHeaderValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jstring jresult = 0 ;
- MediaContentCPIM *arg1 = (MediaContentCPIM *) 0 ;
- char *arg2 = (char *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MediaContentCPIM **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (char *)(arg1)->getHeaderValue((char const *)arg2);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1SipUri(JNIEnv *jenv, jclass jcls, jstring jarg1) {
- jlong jresult = 0 ;
- char *arg1 = (char *) 0 ;
- SipUri *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = 0;
- if (jarg1) {
- arg1 = (char *)jenv->GetStringUTFChars(jarg1, 0);
- if (!arg1) return 0;
- }
- result = (SipUri *)new SipUri((char const *)arg1);
- *(SipUri **)&jresult = result;
- if (arg1) jenv->ReleaseStringUTFChars(jarg1, (const char *)arg1);
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1SipUri(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- SipUri *arg1 = (SipUri *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(SipUri **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipUri_1isValid_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jstring jarg1) {
- jboolean jresult = 0 ;
- char *arg1 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- arg1 = 0;
- if (jarg1) {
- arg1 = (char *)jenv->GetStringUTFChars(jarg1, 0);
- if (!arg1) return 0;
- }
- result = (bool)SipUri::isValid((char const *)arg1);
- jresult = (jboolean)result;
- if (arg1) jenv->ReleaseStringUTFChars(jarg1, (const char *)arg1);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipUri_1isValid_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- SipUri *arg1 = (SipUri *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipUri **)&jarg1;
- result = (bool)(arg1)->isValid();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipUri_1getScheme(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jstring jresult = 0 ;
- SipUri *arg1 = (SipUri *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipUri **)&jarg1;
- result = (char *)(arg1)->getScheme();
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipUri_1getHost(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jstring jresult = 0 ;
- SipUri *arg1 = (SipUri *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipUri **)&jarg1;
- result = (char *)(arg1)->getHost();
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipUri_1getPort(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- SipUri *arg1 = (SipUri *) 0 ;
- unsigned short result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipUri **)&jarg1;
- result = (unsigned short)(arg1)->getPort();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipUri_1getUserName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jstring jresult = 0 ;
- SipUri *arg1 = (SipUri *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipUri **)&jarg1;
- result = (char *)(arg1)->getUserName();
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipUri_1getPassword(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jstring jresult = 0 ;
- SipUri *arg1 = (SipUri *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipUri **)&jarg1;
- result = (char *)(arg1)->getPassword();
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipUri_1getDisplayName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jstring jresult = 0 ;
- SipUri *arg1 = (SipUri *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipUri **)&jarg1;
- result = (char *)(arg1)->getDisplayName();
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipUri_1getParamValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jstring jresult = 0 ;
- SipUri *arg1 = (SipUri *) 0 ;
- char *arg2 = (char *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipUri **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (char *)(arg1)->getParamValue((char const *)arg2);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1SdpMessage(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- SdpMessage *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (SdpMessage *)new SdpMessage();
- *(SdpMessage **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1SdpMessage(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- SdpMessage *arg1 = (SdpMessage *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(SdpMessage **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SdpMessage_1getSdpHeaderValue_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jchar jarg3, jlong jarg4) {
- jstring jresult = 0 ;
- SdpMessage *arg1 = (SdpMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char arg3 ;
- unsigned int arg4 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SdpMessage **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = (char)jarg3;
- arg4 = (unsigned int)jarg4;
- result = (char *)(arg1)->getSdpHeaderValue((char const *)arg2,arg3,arg4);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SdpMessage_1getSdpHeaderValue_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jchar jarg3) {
- jstring jresult = 0 ;
- SdpMessage *arg1 = (SdpMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char arg3 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SdpMessage **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = (char)jarg3;
- result = (char *)(arg1)->getSdpHeaderValue((char const *)arg2,arg3);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SdpMessage_1getSdpHeaderAValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
- jstring jresult = 0 ;
- SdpMessage *arg1 = (SdpMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SdpMessage **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- result = (char *)(arg1)->getSdpHeaderAValue((char const *)arg2,(char const *)arg3);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1SipMessage(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- SipMessage *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (SipMessage *)new SipMessage();
- *(SipMessage **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1SipMessage(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- SipMessage *arg1 = (SipMessage *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(SipMessage **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipMessage_1getSipHeaderValue_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jlong jarg3) {
- jstring jresult = 0 ;
- SipMessage *arg1 = (SipMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned int arg3 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipMessage **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = (unsigned int)jarg3;
- result = (char *)(arg1)->getSipHeaderValue((char const *)arg2,arg3);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipMessage_1getSipHeaderValue_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jstring jresult = 0 ;
- SipMessage *arg1 = (SipMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipMessage **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (char *)(arg1)->getSipHeaderValue((char const *)arg2);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipMessage_1getSipHeaderParamValue_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3, jlong jarg4) {
- jstring jresult = 0 ;
- SipMessage *arg1 = (SipMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- unsigned int arg4 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipMessage **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = (unsigned int)jarg4;
- result = (char *)(arg1)->getSipHeaderParamValue((char const *)arg2,(char const *)arg3,arg4);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipMessage_1getSipHeaderParamValue_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
- jstring jresult = 0 ;
- SipMessage *arg1 = (SipMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipMessage **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- result = (char *)(arg1)->getSipHeaderParamValue((char const *)arg2,(char const *)arg3);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipMessage_1getSipContentLength(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- SipMessage *arg1 = (SipMessage *) 0 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipMessage **)&jarg1;
- result = (unsigned int)(arg1)->getSipContentLength();
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipMessage_1getSipContent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2, jlong jarg3) {
- jlong jresult = 0 ;
- SipMessage *arg1 = (SipMessage *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipMessage **)&jarg1;
-
- arg2 = jenv->GetDirectBufferAddress(jarg2);
-
- arg3 = (unsigned int)jarg3;
- result = (unsigned int)(arg1)->getSipContent(arg2,arg3);
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipMessage_1getSdpMessage(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- SipMessage *arg1 = (SipMessage *) 0 ;
- SdpMessage *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipMessage **)&jarg1;
- result = (SdpMessage *)(arg1)->getSdpMessage();
- *(SdpMessage **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1SipEvent(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- SipEvent *arg1 = (SipEvent *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(SipEvent **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jshort JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipEvent_1getCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jshort jresult = 0 ;
- SipEvent *arg1 = (SipEvent *) 0 ;
- short result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipEvent **)&jarg1;
- result = (short)((SipEvent const *)arg1)->getCode();
- jresult = (jshort)result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipEvent_1getPhrase(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jstring jresult = 0 ;
- SipEvent *arg1 = (SipEvent *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipEvent **)&jarg1;
- result = (char *)((SipEvent const *)arg1)->getPhrase();
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipEvent_1getBaseSession(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- SipEvent *arg1 = (SipEvent *) 0 ;
- SipSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipEvent **)&jarg1;
- result = (SipSession *)((SipEvent const *)arg1)->getBaseSession();
- *(SipSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipEvent_1getSipMessage(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- SipEvent *arg1 = (SipEvent *) 0 ;
- SipMessage *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipEvent **)&jarg1;
- result = (SipMessage *)((SipEvent const *)arg1)->getSipMessage();
- *(SipMessage **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1DialogEvent(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- DialogEvent *arg1 = (DialogEvent *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(DialogEvent **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1StackEvent(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- StackEvent *arg1 = (StackEvent *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(StackEvent **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1InviteEvent(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- InviteEvent *arg1 = (InviteEvent *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(InviteEvent **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_InviteEvent_1getType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- InviteEvent *arg1 = (InviteEvent *) 0 ;
- tsip_invite_event_type_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(InviteEvent **)&jarg1;
- result = (tsip_invite_event_type_t)((InviteEvent const *)arg1)->getType();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_InviteEvent_1getMediaType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- InviteEvent *arg1 = (InviteEvent *) 0 ;
- twrap_media_type_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(InviteEvent **)&jarg1;
- result = (twrap_media_type_t)(arg1)->getMediaType();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_InviteEvent_1getSession(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- InviteEvent *arg1 = (InviteEvent *) 0 ;
- InviteSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(InviteEvent **)&jarg1;
- result = (InviteSession *)((InviteEvent const *)arg1)->getSession();
- *(InviteSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_InviteEvent_1takeCallSessionOwnership(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- InviteEvent *arg1 = (InviteEvent *) 0 ;
- CallSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(InviteEvent **)&jarg1;
- result = (CallSession *)((InviteEvent const *)arg1)->takeCallSessionOwnership();
- *(CallSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_InviteEvent_1takeMsrpSessionOwnership(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- InviteEvent *arg1 = (InviteEvent *) 0 ;
- MsrpSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(InviteEvent **)&jarg1;
- result = (MsrpSession *)((InviteEvent const *)arg1)->takeMsrpSessionOwnership();
- *(MsrpSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1MessagingEvent(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- MessagingEvent *arg1 = (MessagingEvent *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(MessagingEvent **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MessagingEvent_1getType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- MessagingEvent *arg1 = (MessagingEvent *) 0 ;
- tsip_message_event_type_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MessagingEvent **)&jarg1;
- result = (tsip_message_event_type_t)((MessagingEvent const *)arg1)->getType();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MessagingEvent_1getSession(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- MessagingEvent *arg1 = (MessagingEvent *) 0 ;
- MessagingSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MessagingEvent **)&jarg1;
- result = (MessagingSession *)((MessagingEvent const *)arg1)->getSession();
- *(MessagingSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MessagingEvent_1takeSessionOwnership(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- MessagingEvent *arg1 = (MessagingEvent *) 0 ;
- MessagingSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MessagingEvent **)&jarg1;
- result = (MessagingSession *)((MessagingEvent const *)arg1)->takeSessionOwnership();
- *(MessagingSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1OptionsEvent(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- OptionsEvent *arg1 = (OptionsEvent *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(OptionsEvent **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_OptionsEvent_1getType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- OptionsEvent *arg1 = (OptionsEvent *) 0 ;
- tsip_options_event_type_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(OptionsEvent **)&jarg1;
- result = (tsip_options_event_type_t)((OptionsEvent const *)arg1)->getType();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_OptionsEvent_1getSession(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- OptionsEvent *arg1 = (OptionsEvent *) 0 ;
- OptionsSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(OptionsEvent **)&jarg1;
- result = (OptionsSession *)((OptionsEvent const *)arg1)->getSession();
- *(OptionsSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1PublicationEvent(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- PublicationEvent *arg1 = (PublicationEvent *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(PublicationEvent **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_PublicationEvent_1getType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- PublicationEvent *arg1 = (PublicationEvent *) 0 ;
- tsip_publish_event_type_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(PublicationEvent **)&jarg1;
- result = (tsip_publish_event_type_t)((PublicationEvent const *)arg1)->getType();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_PublicationEvent_1getSession(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- PublicationEvent *arg1 = (PublicationEvent *) 0 ;
- PublicationSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(PublicationEvent **)&jarg1;
- result = (PublicationSession *)((PublicationEvent const *)arg1)->getSession();
- *(PublicationSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1RegistrationEvent(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- RegistrationEvent *arg1 = (RegistrationEvent *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(RegistrationEvent **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_RegistrationEvent_1getType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- RegistrationEvent *arg1 = (RegistrationEvent *) 0 ;
- tsip_register_event_type_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(RegistrationEvent **)&jarg1;
- result = (tsip_register_event_type_t)((RegistrationEvent const *)arg1)->getType();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_RegistrationEvent_1getSession(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- RegistrationEvent *arg1 = (RegistrationEvent *) 0 ;
- RegistrationSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(RegistrationEvent **)&jarg1;
- result = (RegistrationSession *)((RegistrationEvent const *)arg1)->getSession();
- *(RegistrationSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_RegistrationEvent_1takeSessionOwnership(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- RegistrationEvent *arg1 = (RegistrationEvent *) 0 ;
- RegistrationSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(RegistrationEvent **)&jarg1;
- result = (RegistrationSession *)((RegistrationEvent const *)arg1)->takeSessionOwnership();
- *(RegistrationSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1SubscriptionEvent(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- SubscriptionEvent *arg1 = (SubscriptionEvent *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(SubscriptionEvent **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SubscriptionEvent_1getType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- SubscriptionEvent *arg1 = (SubscriptionEvent *) 0 ;
- tsip_subscribe_event_type_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SubscriptionEvent **)&jarg1;
- result = (tsip_subscribe_event_type_t)((SubscriptionEvent const *)arg1)->getType();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SubscriptionEvent_1getSession(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- SubscriptionEvent *arg1 = (SubscriptionEvent *) 0 ;
- SubscriptionSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SubscriptionEvent **)&jarg1;
- result = (SubscriptionSession *)((SubscriptionEvent const *)arg1)->getSession();
- *(SubscriptionSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1SipSession(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- SipSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- result = (SipSession *)new SipSession(arg1);
- *(SipSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1SipSession(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- SipSession *arg1 = (SipSession *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(SipSession **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipSession_1haveOwnership(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- SipSession *arg1 = (SipSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipSession **)&jarg1;
- result = (bool)(arg1)->haveOwnership();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipSession_1addHeader(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
- jboolean jresult = 0 ;
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipSession **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- result = (bool)(arg1)->addHeader((char const *)arg2,(char const *)arg3);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipSession_1removeHeader(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipSession **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->removeHeader((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipSession_1addCaps_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
- jboolean jresult = 0 ;
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipSession **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- result = (bool)(arg1)->addCaps((char const *)arg2,(char const *)arg3);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipSession_1addCaps_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipSession **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->addCaps((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipSession_1removeCaps(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipSession **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->removeCaps((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipSession_1setExpires(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
- jboolean jresult = 0 ;
- SipSession *arg1 = (SipSession *) 0 ;
- unsigned int arg2 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipSession **)&jarg1;
- arg2 = (unsigned int)jarg2;
- result = (bool)(arg1)->setExpires(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipSession_1setFromUri(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipSession **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->setFromUri((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipSession_1setToUri(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipSession **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->setToUri((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipSession_1setSilentHangup(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
- jboolean jresult = 0 ;
- SipSession *arg1 = (SipSession *) 0 ;
- bool arg2 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipSession **)&jarg1;
- arg2 = jarg2 ? true : false;
- result = (bool)(arg1)->setSilentHangup(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipSession_1addSigCompCompartment(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipSession **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->addSigCompCompartment((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipSession_1removeSigCompCompartment(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- SipSession *arg1 = (SipSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipSession **)&jarg1;
- result = (bool)(arg1)->removeSigCompCompartment();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipSession_1getId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- SipSession *arg1 = (SipSession *) 0 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipSession **)&jarg1;
- result = (unsigned int)(arg1)->getId();
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1InviteSession(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- InviteSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- result = (InviteSession *)new InviteSession(arg1);
- *(InviteSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1InviteSession(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- InviteSession *arg1 = (InviteSession *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(InviteSession **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_InviteSession_1accept_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jboolean jresult = 0 ;
- InviteSession *arg1 = (InviteSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(InviteSession **)&jarg1;
- arg2 = *(ActionConfig **)&jarg2;
- result = (bool)(arg1)->accept(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_InviteSession_1accept_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- InviteSession *arg1 = (InviteSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(InviteSession **)&jarg1;
- result = (bool)(arg1)->accept();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_InviteSession_1hangup_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jboolean jresult = 0 ;
- InviteSession *arg1 = (InviteSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(InviteSession **)&jarg1;
- arg2 = *(ActionConfig **)&jarg2;
- result = (bool)(arg1)->hangup(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_InviteSession_1hangup_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- InviteSession *arg1 = (InviteSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(InviteSession **)&jarg1;
- result = (bool)(arg1)->hangup();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_InviteSession_1reject_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jboolean jresult = 0 ;
- InviteSession *arg1 = (InviteSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(InviteSession **)&jarg1;
- arg2 = *(ActionConfig **)&jarg2;
- result = (bool)(arg1)->reject(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_InviteSession_1reject_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- InviteSession *arg1 = (InviteSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(InviteSession **)&jarg1;
- result = (bool)(arg1)->reject();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_InviteSession_1getMediaMgr(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- InviteSession *arg1 = (InviteSession *) 0 ;
- MediaSessionMgr *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(InviteSession **)&jarg1;
- result = (MediaSessionMgr *)(arg1)->getMediaMgr();
- *(MediaSessionMgr **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1CallSession(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- CallSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- result = (CallSession *)new CallSession(arg1);
- *(CallSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1CallSession(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- CallSession *arg1 = (CallSession *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(CallSession **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_CallSession_1callAudio_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jlong jarg3, jobject jarg3_) {
- jboolean jresult = 0 ;
- CallSession *arg1 = (CallSession *) 0 ;
- char *arg2 = (char *) 0 ;
- ActionConfig *arg3 = (ActionConfig *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg3_;
- arg1 = *(CallSession **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = *(ActionConfig **)&jarg3;
- result = (bool)(arg1)->callAudio((char const *)arg2,arg3);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_CallSession_1callAudio_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- CallSession *arg1 = (CallSession *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(CallSession **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->callAudio((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_CallSession_1callAudioVideo_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jlong jarg3, jobject jarg3_) {
- jboolean jresult = 0 ;
- CallSession *arg1 = (CallSession *) 0 ;
- char *arg2 = (char *) 0 ;
- ActionConfig *arg3 = (ActionConfig *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg3_;
- arg1 = *(CallSession **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = *(ActionConfig **)&jarg3;
- result = (bool)(arg1)->callAudioVideo((char const *)arg2,arg3);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_CallSession_1callAudioVideo_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- CallSession *arg1 = (CallSession *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(CallSession **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->callAudioVideo((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_CallSession_1callVideo_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jlong jarg3, jobject jarg3_) {
- jboolean jresult = 0 ;
- CallSession *arg1 = (CallSession *) 0 ;
- char *arg2 = (char *) 0 ;
- ActionConfig *arg3 = (ActionConfig *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg3_;
- arg1 = *(CallSession **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = *(ActionConfig **)&jarg3;
- result = (bool)(arg1)->callVideo((char const *)arg2,arg3);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_CallSession_1callVideo_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- CallSession *arg1 = (CallSession *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(CallSession **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->callVideo((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_CallSession_1setSessionTimer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jstring jarg3) {
- jboolean jresult = 0 ;
- CallSession *arg1 = (CallSession *) 0 ;
- unsigned int arg2 ;
- char *arg3 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(CallSession **)&jarg1;
- arg2 = (unsigned int)jarg2;
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- result = (bool)(arg1)->setSessionTimer(arg2,(char const *)arg3);
- jresult = (jboolean)result;
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_CallSession_1set100rel(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
- jboolean jresult = 0 ;
- CallSession *arg1 = (CallSession *) 0 ;
- bool arg2 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(CallSession **)&jarg1;
- arg2 = jarg2 ? true : false;
- result = (bool)(arg1)->set100rel(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_CallSession_1setQoS(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
- jboolean jresult = 0 ;
- CallSession *arg1 = (CallSession *) 0 ;
- tmedia_qos_stype_t arg2 ;
- tmedia_qos_strength_t arg3 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(CallSession **)&jarg1;
- arg2 = (tmedia_qos_stype_t)jarg2;
- arg3 = (tmedia_qos_strength_t)jarg3;
- result = (bool)(arg1)->setQoS(arg2,arg3);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_CallSession_1hold_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jboolean jresult = 0 ;
- CallSession *arg1 = (CallSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(CallSession **)&jarg1;
- arg2 = *(ActionConfig **)&jarg2;
- result = (bool)(arg1)->hold(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_CallSession_1hold_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- CallSession *arg1 = (CallSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(CallSession **)&jarg1;
- result = (bool)(arg1)->hold();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_CallSession_1resume_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jboolean jresult = 0 ;
- CallSession *arg1 = (CallSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(CallSession **)&jarg1;
- arg2 = *(ActionConfig **)&jarg2;
- result = (bool)(arg1)->resume(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_CallSession_1resume_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- CallSession *arg1 = (CallSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(CallSession **)&jarg1;
- result = (bool)(arg1)->resume();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_CallSession_1sendDTMF(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
- jboolean jresult = 0 ;
- CallSession *arg1 = (CallSession *) 0 ;
- int arg2 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(CallSession **)&jarg1;
- arg2 = (int)jarg2;
- result = (bool)(arg1)->sendDTMF(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1MsrpSession(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jlong jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- MsrpCallback *arg2 = (MsrpCallback *) 0 ;
- MsrpSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = *(MsrpCallback **)&jarg2;
- result = (MsrpSession *)new MsrpSession(arg1,arg2);
- *(MsrpSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1MsrpSession(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- MsrpSession *arg1 = (MsrpSession *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(MsrpSession **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpSession_1setCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jboolean jresult = 0 ;
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- MsrpCallback *arg2 = (MsrpCallback *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(MsrpSession **)&jarg1;
- arg2 = *(MsrpCallback **)&jarg2;
- result = (bool)(arg1)->setCallback(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpSession_1callMsrp_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jlong jarg3, jobject jarg3_) {
- jboolean jresult = 0 ;
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- char *arg2 = (char *) 0 ;
- ActionConfig *arg3 = (ActionConfig *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg3_;
- arg1 = *(MsrpSession **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = *(ActionConfig **)&jarg3;
- result = (bool)(arg1)->callMsrp((char const *)arg2,arg3);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpSession_1callMsrp_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MsrpSession **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->callMsrp((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpSession_1sendMessage_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2, jlong jarg3, jlong jarg4, jobject jarg4_) {
- jboolean jresult = 0 ;
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- ActionConfig *arg4 = (ActionConfig *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg4_;
- arg1 = *(MsrpSession **)&jarg1;
-
- arg2 = jenv->GetDirectBufferAddress(jarg2);
-
- arg3 = (unsigned int)jarg3;
- arg4 = *(ActionConfig **)&jarg4;
- result = (bool)(arg1)->sendMessage((void const *)arg2,arg3,arg4);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpSession_1sendMessage_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2, jlong jarg3) {
- jboolean jresult = 0 ;
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MsrpSession **)&jarg1;
-
- arg2 = jenv->GetDirectBufferAddress(jarg2);
-
- arg3 = (unsigned int)jarg3;
- result = (bool)(arg1)->sendMessage((void const *)arg2,arg3);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpSession_1sendFile_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jboolean jresult = 0 ;
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(MsrpSession **)&jarg1;
- arg2 = *(ActionConfig **)&jarg2;
- result = (bool)(arg1)->sendFile(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpSession_1sendFile_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MsrpSession **)&jarg1;
- result = (bool)(arg1)->sendFile();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1MessagingSession(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- MessagingSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- result = (MessagingSession *)new MessagingSession(arg1);
- *(MessagingSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1MessagingSession(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- MessagingSession *arg1 = (MessagingSession *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(MessagingSession **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MessagingSession_1send(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2, jlong jarg3) {
- jboolean jresult = 0 ;
- MessagingSession *arg1 = (MessagingSession *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MessagingSession **)&jarg1;
-
- arg2 = jenv->GetDirectBufferAddress(jarg2);
-
- arg3 = (unsigned int)jarg3;
- result = (bool)(arg1)->send((void const *)arg2,arg3);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MessagingSession_1accept(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- MessagingSession *arg1 = (MessagingSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MessagingSession **)&jarg1;
- result = (bool)(arg1)->accept();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MessagingSession_1reject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- MessagingSession *arg1 = (MessagingSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MessagingSession **)&jarg1;
- result = (bool)(arg1)->reject();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1OptionsSession(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- OptionsSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- result = (OptionsSession *)new OptionsSession(arg1);
- *(OptionsSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1OptionsSession(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- OptionsSession *arg1 = (OptionsSession *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(OptionsSession **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_OptionsSession_1send(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- OptionsSession *arg1 = (OptionsSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(OptionsSession **)&jarg1;
- result = (bool)(arg1)->send();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1PublicationSession(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- PublicationSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- result = (PublicationSession *)new PublicationSession(arg1);
- *(PublicationSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1PublicationSession(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- PublicationSession *arg1 = (PublicationSession *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(PublicationSession **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_PublicationSession_1publish(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2, jlong jarg3) {
- jboolean jresult = 0 ;
- PublicationSession *arg1 = (PublicationSession *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(PublicationSession **)&jarg1;
-
- arg2 = jenv->GetDirectBufferAddress(jarg2);
-
- arg3 = (unsigned int)jarg3;
- result = (bool)(arg1)->publish((void const *)arg2,arg3);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_PublicationSession_1unPublish(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- PublicationSession *arg1 = (PublicationSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(PublicationSession **)&jarg1;
- result = (bool)(arg1)->unPublish();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1RegistrationSession(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- RegistrationSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- result = (RegistrationSession *)new RegistrationSession(arg1);
- *(RegistrationSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1RegistrationSession(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(RegistrationSession **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_RegistrationSession_1register_1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(RegistrationSession **)&jarg1;
- result = (bool)(arg1)->register_();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_RegistrationSession_1unRegister(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(RegistrationSession **)&jarg1;
- result = (bool)(arg1)->unRegister();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_RegistrationSession_1accept_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jboolean jresult = 0 ;
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(RegistrationSession **)&jarg1;
- arg2 = *(ActionConfig **)&jarg2;
- result = (bool)(arg1)->accept(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_RegistrationSession_1accept_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(RegistrationSession **)&jarg1;
- result = (bool)(arg1)->accept();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_RegistrationSession_1reject_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jboolean jresult = 0 ;
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(RegistrationSession **)&jarg1;
- arg2 = *(ActionConfig **)&jarg2;
- result = (bool)(arg1)->reject(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_RegistrationSession_1reject_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(RegistrationSession **)&jarg1;
- result = (bool)(arg1)->reject();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1SubscriptionSession(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- SubscriptionSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- result = (SubscriptionSession *)new SubscriptionSession(arg1);
- *(SubscriptionSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1SubscriptionSession(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- SubscriptionSession *arg1 = (SubscriptionSession *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(SubscriptionSession **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SubscriptionSession_1subscribe(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- SubscriptionSession *arg1 = (SubscriptionSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SubscriptionSession **)&jarg1;
- result = (bool)(arg1)->subscribe();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SubscriptionSession_1unSubscribe(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- SubscriptionSession *arg1 = (SubscriptionSession *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SubscriptionSession **)&jarg1;
- result = (bool)(arg1)->unSubscribe();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1ProxyPluginMgr(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- ProxyPluginMgr *arg1 = (ProxyPluginMgr *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(ProxyPluginMgr **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyPluginMgr_1createInstance(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- ProxyPluginMgrCallback *arg1 = (ProxyPluginMgrCallback *) 0 ;
- ProxyPluginMgr *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyPluginMgrCallback **)&jarg1;
- result = (ProxyPluginMgr *)ProxyPluginMgr::createInstance(arg1);
- *(ProxyPluginMgr **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyPluginMgr_1getInstance(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- ProxyPluginMgr *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (ProxyPluginMgr *)ProxyPluginMgr::getInstance();
- *(ProxyPluginMgr **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyPluginMgr_1findAudioConsumer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
- jlong jresult = 0 ;
- ProxyPluginMgr *arg1 = (ProxyPluginMgr *) 0 ;
- uint64_t arg2 ;
- ProxyAudioConsumer *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyPluginMgr **)&jarg1;
- {
- jclass clazz;
- jmethodID mid;
- jbyteArray ba;
- jbyte* bae;
- jsize sz;
- int i;
-
- if (!jarg2) {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "BigInteger null");
- return 0;
- }
- clazz = jenv->GetObjectClass(jarg2);
- mid = jenv->GetMethodID(clazz, "toByteArray", "()[B");
- ba = (jbyteArray)jenv->CallObjectMethod(jarg2, mid);
- bae = jenv->GetByteArrayElements(ba, 0);
- sz = jenv->GetArrayLength(ba);
- arg2 = 0;
- for(i=0; i<sz; i++) {
- arg2 = (arg2 << 8) | (uint64_t)(unsigned char)bae[i];
- }
- jenv->ReleaseByteArrayElements(ba, bae, 0);
- }
- result = (ProxyAudioConsumer *)(arg1)->findAudioConsumer(arg2);
- *(ProxyAudioConsumer **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyPluginMgr_1findVideoConsumer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
- jlong jresult = 0 ;
- ProxyPluginMgr *arg1 = (ProxyPluginMgr *) 0 ;
- uint64_t arg2 ;
- ProxyVideoConsumer *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyPluginMgr **)&jarg1;
- {
- jclass clazz;
- jmethodID mid;
- jbyteArray ba;
- jbyte* bae;
- jsize sz;
- int i;
-
- if (!jarg2) {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "BigInteger null");
- return 0;
- }
- clazz = jenv->GetObjectClass(jarg2);
- mid = jenv->GetMethodID(clazz, "toByteArray", "()[B");
- ba = (jbyteArray)jenv->CallObjectMethod(jarg2, mid);
- bae = jenv->GetByteArrayElements(ba, 0);
- sz = jenv->GetArrayLength(ba);
- arg2 = 0;
- for(i=0; i<sz; i++) {
- arg2 = (arg2 << 8) | (uint64_t)(unsigned char)bae[i];
- }
- jenv->ReleaseByteArrayElements(ba, bae, 0);
- }
- result = (ProxyVideoConsumer *)(arg1)->findVideoConsumer(arg2);
- *(ProxyVideoConsumer **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyPluginMgr_1findAudioProducer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
- jlong jresult = 0 ;
- ProxyPluginMgr *arg1 = (ProxyPluginMgr *) 0 ;
- uint64_t arg2 ;
- ProxyAudioProducer *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyPluginMgr **)&jarg1;
- {
- jclass clazz;
- jmethodID mid;
- jbyteArray ba;
- jbyte* bae;
- jsize sz;
- int i;
-
- if (!jarg2) {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "BigInteger null");
- return 0;
- }
- clazz = jenv->GetObjectClass(jarg2);
- mid = jenv->GetMethodID(clazz, "toByteArray", "()[B");
- ba = (jbyteArray)jenv->CallObjectMethod(jarg2, mid);
- bae = jenv->GetByteArrayElements(ba, 0);
- sz = jenv->GetArrayLength(ba);
- arg2 = 0;
- for(i=0; i<sz; i++) {
- arg2 = (arg2 << 8) | (uint64_t)(unsigned char)bae[i];
- }
- jenv->ReleaseByteArrayElements(ba, bae, 0);
- }
- result = (ProxyAudioProducer *)(arg1)->findAudioProducer(arg2);
- *(ProxyAudioProducer **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyPluginMgr_1findVideoProducer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2) {
- jlong jresult = 0 ;
- ProxyPluginMgr *arg1 = (ProxyPluginMgr *) 0 ;
- uint64_t arg2 ;
- ProxyVideoProducer *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyPluginMgr **)&jarg1;
- {
- jclass clazz;
- jmethodID mid;
- jbyteArray ba;
- jbyte* bae;
- jsize sz;
- int i;
-
- if (!jarg2) {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "BigInteger null");
- return 0;
- }
- clazz = jenv->GetObjectClass(jarg2);
- mid = jenv->GetMethodID(clazz, "toByteArray", "()[B");
- ba = (jbyteArray)jenv->CallObjectMethod(jarg2, mid);
- bae = jenv->GetByteArrayElements(ba, 0);
- sz = jenv->GetArrayLength(ba);
- arg2 = 0;
- for(i=0; i<sz; i++) {
- arg2 = (arg2 << 8) | (uint64_t)(unsigned char)bae[i];
- }
- jenv->ReleaseByteArrayElements(ba, bae, 0);
- }
- result = (ProxyVideoProducer *)(arg1)->findVideoProducer(arg2);
- *(ProxyVideoProducer **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1ProxyPluginMgrCallback(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- ProxyPluginMgrCallback *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (ProxyPluginMgrCallback *)new SwigDirector_ProxyPluginMgrCallback(jenv);
- *(ProxyPluginMgrCallback **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1ProxyPluginMgrCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- ProxyPluginMgrCallback *arg1 = (ProxyPluginMgrCallback *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(ProxyPluginMgrCallback **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyPluginMgrCallback_1OnPluginCreated(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jint jarg3) {
- jint jresult = 0 ;
- ProxyPluginMgrCallback *arg1 = (ProxyPluginMgrCallback *) 0 ;
- uint64_t arg2 ;
- enum twrap_proxy_plugin_type_e arg3 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyPluginMgrCallback **)&jarg1;
- {
- jclass clazz;
- jmethodID mid;
- jbyteArray ba;
- jbyte* bae;
- jsize sz;
- int i;
-
- if (!jarg2) {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "BigInteger null");
- return 0;
- }
- clazz = jenv->GetObjectClass(jarg2);
- mid = jenv->GetMethodID(clazz, "toByteArray", "()[B");
- ba = (jbyteArray)jenv->CallObjectMethod(jarg2, mid);
- bae = jenv->GetByteArrayElements(ba, 0);
- sz = jenv->GetArrayLength(ba);
- arg2 = 0;
- for(i=0; i<sz; i++) {
- arg2 = (arg2 << 8) | (uint64_t)(unsigned char)bae[i];
- }
- jenv->ReleaseByteArrayElements(ba, bae, 0);
- }
- arg3 = (enum twrap_proxy_plugin_type_e)jarg3;
- result = (int)(arg1)->OnPluginCreated(arg2,arg3);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyPluginMgrCallback_1OnPluginCreatedSwigExplicitProxyPluginMgrCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jint jarg3) {
- jint jresult = 0 ;
- ProxyPluginMgrCallback *arg1 = (ProxyPluginMgrCallback *) 0 ;
- uint64_t arg2 ;
- enum twrap_proxy_plugin_type_e arg3 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyPluginMgrCallback **)&jarg1;
- {
- jclass clazz;
- jmethodID mid;
- jbyteArray ba;
- jbyte* bae;
- jsize sz;
- int i;
-
- if (!jarg2) {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "BigInteger null");
- return 0;
- }
- clazz = jenv->GetObjectClass(jarg2);
- mid = jenv->GetMethodID(clazz, "toByteArray", "()[B");
- ba = (jbyteArray)jenv->CallObjectMethod(jarg2, mid);
- bae = jenv->GetByteArrayElements(ba, 0);
- sz = jenv->GetArrayLength(ba);
- arg2 = 0;
- for(i=0; i<sz; i++) {
- arg2 = (arg2 << 8) | (uint64_t)(unsigned char)bae[i];
- }
- jenv->ReleaseByteArrayElements(ba, bae, 0);
- }
- arg3 = (enum twrap_proxy_plugin_type_e)jarg3;
- result = (int)(arg1)->ProxyPluginMgrCallback::OnPluginCreated(arg2,arg3);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyPluginMgrCallback_1OnPluginDestroyed(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jint jarg3) {
- jint jresult = 0 ;
- ProxyPluginMgrCallback *arg1 = (ProxyPluginMgrCallback *) 0 ;
- uint64_t arg2 ;
- enum twrap_proxy_plugin_type_e arg3 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyPluginMgrCallback **)&jarg1;
- {
- jclass clazz;
- jmethodID mid;
- jbyteArray ba;
- jbyte* bae;
- jsize sz;
- int i;
-
- if (!jarg2) {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "BigInteger null");
- return 0;
- }
- clazz = jenv->GetObjectClass(jarg2);
- mid = jenv->GetMethodID(clazz, "toByteArray", "()[B");
- ba = (jbyteArray)jenv->CallObjectMethod(jarg2, mid);
- bae = jenv->GetByteArrayElements(ba, 0);
- sz = jenv->GetArrayLength(ba);
- arg2 = 0;
- for(i=0; i<sz; i++) {
- arg2 = (arg2 << 8) | (uint64_t)(unsigned char)bae[i];
- }
- jenv->ReleaseByteArrayElements(ba, bae, 0);
- }
- arg3 = (enum twrap_proxy_plugin_type_e)jarg3;
- result = (int)(arg1)->OnPluginDestroyed(arg2,arg3);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyPluginMgrCallback_1OnPluginDestroyedSwigExplicitProxyPluginMgrCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jobject jarg2, jint jarg3) {
- jint jresult = 0 ;
- ProxyPluginMgrCallback *arg1 = (ProxyPluginMgrCallback *) 0 ;
- uint64_t arg2 ;
- enum twrap_proxy_plugin_type_e arg3 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyPluginMgrCallback **)&jarg1;
- {
- jclass clazz;
- jmethodID mid;
- jbyteArray ba;
- jbyte* bae;
- jsize sz;
- int i;
-
- if (!jarg2) {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "BigInteger null");
- return 0;
- }
- clazz = jenv->GetObjectClass(jarg2);
- mid = jenv->GetMethodID(clazz, "toByteArray", "()[B");
- ba = (jbyteArray)jenv->CallObjectMethod(jarg2, mid);
- bae = jenv->GetByteArrayElements(ba, 0);
- sz = jenv->GetArrayLength(ba);
- arg2 = 0;
- for(i=0; i<sz; i++) {
- arg2 = (arg2 << 8) | (uint64_t)(unsigned char)bae[i];
- }
- jenv->ReleaseByteArrayElements(ba, bae, 0);
- }
- arg3 = (enum twrap_proxy_plugin_type_e)jarg3;
- result = (int)(arg1)->ProxyPluginMgrCallback::OnPluginDestroyed(arg2,arg3);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyPluginMgrCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
- ProxyPluginMgrCallback *obj = *((ProxyPluginMgrCallback **)&objarg);
- (void)jcls;
- SwigDirector_ProxyPluginMgrCallback *director = dynamic_cast<SwigDirector_ProxyPluginMgrCallback *>(obj);
- if (director) {
- director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
- }
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyPluginMgrCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
- ProxyPluginMgrCallback *obj = *((ProxyPluginMgrCallback **)&objarg);
- SwigDirector_ProxyPluginMgrCallback *director = dynamic_cast<SwigDirector_ProxyPluginMgrCallback *>(obj);
- (void)jcls;
- if (director) {
- director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
- }
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1ProxyPlugin(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- ProxyPlugin *arg1 = (ProxyPlugin *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(ProxyPlugin **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyPlugin_1getType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyPlugin *arg1 = (ProxyPlugin *) 0 ;
- twrap_proxy_plugin_type_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyPlugin **)&jarg1;
- result = (twrap_proxy_plugin_type_t)((ProxyPlugin const *)arg1)->getType();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jobject JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyPlugin_1getId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jobject jresult = 0 ;
- ProxyPlugin *arg1 = (ProxyPlugin *) 0 ;
- uint64_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyPlugin **)&jarg1;
- result = (uint64_t)((ProxyPlugin const *)arg1)->getId();
- {
- jbyteArray ba = jenv->NewByteArray(9);
- jbyte* bae = jenv->GetByteArrayElements(ba, 0);
- jclass clazz = jenv->FindClass("java/math/BigInteger");
- jmethodID mid = jenv->GetMethodID(clazz, "<init>", "([B)V");
- jobject bigint;
- int i;
-
- bae[0] = 0;
- for(i=1; i<9; i++ ) {
- bae[i] = (jbyte)(result>>8*(8-i));
- }
-
- jenv->ReleaseByteArrayElements(ba, bae, 0);
- bigint = jenv->NewObject(clazz, mid, ba);
- jresult = bigint;
- }
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1ProxyAudioConsumerCallback(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- ProxyAudioConsumerCallback *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (ProxyAudioConsumerCallback *)new SwigDirector_ProxyAudioConsumerCallback(jenv);
- *(ProxyAudioConsumerCallback **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1ProxyAudioConsumerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(ProxyAudioConsumerCallback **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioConsumerCallback_1prepare(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jint jarg4) {
- jint jresult = 0 ;
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioConsumerCallback **)&jarg1;
- arg2 = (int)jarg2;
- arg3 = (int)jarg3;
- arg4 = (int)jarg4;
- result = (int)(arg1)->prepare(arg2,arg3,arg4);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioConsumerCallback_1prepareSwigExplicitProxyAudioConsumerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jint jarg4) {
- jint jresult = 0 ;
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioConsumerCallback **)&jarg1;
- arg2 = (int)jarg2;
- arg3 = (int)jarg3;
- arg4 = (int)jarg4;
- result = (int)(arg1)->ProxyAudioConsumerCallback::prepare(arg2,arg3,arg4);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioConsumerCallback_1start(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioConsumerCallback **)&jarg1;
- result = (int)(arg1)->start();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioConsumerCallback_1startSwigExplicitProxyAudioConsumerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioConsumerCallback **)&jarg1;
- result = (int)(arg1)->ProxyAudioConsumerCallback::start();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioConsumerCallback_1pause(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioConsumerCallback **)&jarg1;
- result = (int)(arg1)->pause();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioConsumerCallback_1pauseSwigExplicitProxyAudioConsumerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioConsumerCallback **)&jarg1;
- result = (int)(arg1)->ProxyAudioConsumerCallback::pause();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioConsumerCallback_1stop(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioConsumerCallback **)&jarg1;
- result = (int)(arg1)->stop();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioConsumerCallback_1stopSwigExplicitProxyAudioConsumerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioConsumerCallback **)&jarg1;
- result = (int)(arg1)->ProxyAudioConsumerCallback::stop();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioConsumerCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
- ProxyAudioConsumerCallback *obj = *((ProxyAudioConsumerCallback **)&objarg);
- (void)jcls;
- SwigDirector_ProxyAudioConsumerCallback *director = dynamic_cast<SwigDirector_ProxyAudioConsumerCallback *>(obj);
- if (director) {
- director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
- }
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioConsumerCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
- ProxyAudioConsumerCallback *obj = *((ProxyAudioConsumerCallback **)&objarg);
- SwigDirector_ProxyAudioConsumerCallback *director = dynamic_cast<SwigDirector_ProxyAudioConsumerCallback *>(obj);
- (void)jcls;
- if (director) {
- director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
- }
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1ProxyAudioConsumer(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(ProxyAudioConsumer **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioConsumer_1pull(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2, jlong jarg3) {
- jlong jresult = 0 ;
- ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioConsumer **)&jarg1;
-
- arg2 = jenv->GetDirectBufferAddress(jarg2);
-
- arg3 = (unsigned int)jarg3;
- result = (unsigned int)(arg1)->pull(arg2,arg3);
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioConsumer_1reset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioConsumer **)&jarg1;
- result = (bool)(arg1)->reset();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioConsumer_1setCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
- ProxyAudioConsumerCallback *arg2 = (ProxyAudioConsumerCallback *) 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(ProxyAudioConsumer **)&jarg1;
- arg2 = *(ProxyAudioConsumerCallback **)&jarg2;
- (arg1)->setCallback(arg2);
-}
-
-
-SWIGEXPORT jobject JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioConsumer_1getMediaSessionId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jobject jresult = 0 ;
- ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
- uint64_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioConsumer **)&jarg1;
- result = (uint64_t)(arg1)->getMediaSessionId();
- {
- jbyteArray ba = jenv->NewByteArray(9);
- jbyte* bae = jenv->GetByteArrayElements(ba, 0);
- jclass clazz = jenv->FindClass("java/math/BigInteger");
- jmethodID mid = jenv->GetMethodID(clazz, "<init>", "([B)V");
- jobject bigint;
- int i;
-
- bae[0] = 0;
- for(i=1; i<9; i++ ) {
- bae[i] = (jbyte)(result>>8*(8-i));
- }
-
- jenv->ReleaseByteArrayElements(ba, bae, 0);
- bigint = jenv->NewObject(clazz, mid, ba);
- jresult = bigint;
- }
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioConsumer_1registerPlugin(JNIEnv *jenv, jclass jcls) {
- jboolean jresult = 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- result = (bool)ProxyAudioConsumer::registerPlugin();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1ProxyVideoConsumerCallback(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- ProxyVideoConsumerCallback *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (ProxyVideoConsumerCallback *)new SwigDirector_ProxyVideoConsumerCallback(jenv);
- *(ProxyVideoConsumerCallback **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1ProxyVideoConsumerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(ProxyVideoConsumerCallback **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoConsumerCallback_1prepare(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jint jarg4) {
- jint jresult = 0 ;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoConsumerCallback **)&jarg1;
- arg2 = (int)jarg2;
- arg3 = (int)jarg3;
- arg4 = (int)jarg4;
- result = (int)(arg1)->prepare(arg2,arg3,arg4);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoConsumerCallback_1prepareSwigExplicitProxyVideoConsumerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jint jarg4) {
- jint jresult = 0 ;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoConsumerCallback **)&jarg1;
- arg2 = (int)jarg2;
- arg3 = (int)jarg3;
- arg4 = (int)jarg4;
- result = (int)(arg1)->ProxyVideoConsumerCallback::prepare(arg2,arg3,arg4);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoConsumerCallback_1consume(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- ProxyVideoFrame *arg2 = (ProxyVideoFrame *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(ProxyVideoConsumerCallback **)&jarg1;
- arg2 = *(ProxyVideoFrame **)&jarg2;
- result = (int)(arg1)->consume((ProxyVideoFrame const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoConsumerCallback_1consumeSwigExplicitProxyVideoConsumerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- ProxyVideoFrame *arg2 = (ProxyVideoFrame *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(ProxyVideoConsumerCallback **)&jarg1;
- arg2 = *(ProxyVideoFrame **)&jarg2;
- result = (int)(arg1)->ProxyVideoConsumerCallback::consume((ProxyVideoFrame const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoConsumerCallback_1start(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoConsumerCallback **)&jarg1;
- result = (int)(arg1)->start();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoConsumerCallback_1startSwigExplicitProxyVideoConsumerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoConsumerCallback **)&jarg1;
- result = (int)(arg1)->ProxyVideoConsumerCallback::start();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoConsumerCallback_1pause(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoConsumerCallback **)&jarg1;
- result = (int)(arg1)->pause();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoConsumerCallback_1pauseSwigExplicitProxyVideoConsumerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoConsumerCallback **)&jarg1;
- result = (int)(arg1)->ProxyVideoConsumerCallback::pause();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoConsumerCallback_1stop(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoConsumerCallback **)&jarg1;
- result = (int)(arg1)->stop();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoConsumerCallback_1stopSwigExplicitProxyVideoConsumerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoConsumerCallback **)&jarg1;
- result = (int)(arg1)->ProxyVideoConsumerCallback::stop();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoConsumerCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
- ProxyVideoConsumerCallback *obj = *((ProxyVideoConsumerCallback **)&objarg);
- (void)jcls;
- SwigDirector_ProxyVideoConsumerCallback *director = dynamic_cast<SwigDirector_ProxyVideoConsumerCallback *>(obj);
- if (director) {
- director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
- }
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoConsumerCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
- ProxyVideoConsumerCallback *obj = *((ProxyVideoConsumerCallback **)&objarg);
- SwigDirector_ProxyVideoConsumerCallback *director = dynamic_cast<SwigDirector_ProxyVideoConsumerCallback *>(obj);
- (void)jcls;
- if (director) {
- director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
- }
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1ProxyVideoConsumer(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- ProxyVideoConsumer *arg1 = (ProxyVideoConsumer *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(ProxyVideoConsumer **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoConsumer_1setDisplaySize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
- jboolean jresult = 0 ;
- ProxyVideoConsumer *arg1 = (ProxyVideoConsumer *) 0 ;
- int arg2 ;
- int arg3 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoConsumer **)&jarg1;
- arg2 = (int)jarg2;
- arg3 = (int)jarg3;
- result = (bool)(arg1)->setDisplaySize(arg2,arg3);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoConsumer_1setCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- ProxyVideoConsumer *arg1 = (ProxyVideoConsumer *) 0 ;
- ProxyVideoConsumerCallback *arg2 = (ProxyVideoConsumerCallback *) 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(ProxyVideoConsumer **)&jarg1;
- arg2 = *(ProxyVideoConsumerCallback **)&jarg2;
- (arg1)->setCallback(arg2);
-}
-
-
-SWIGEXPORT jobject JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoConsumer_1getMediaSessionId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jobject jresult = 0 ;
- ProxyVideoConsumer *arg1 = (ProxyVideoConsumer *) 0 ;
- uint64_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoConsumer **)&jarg1;
- result = (uint64_t)(arg1)->getMediaSessionId();
- {
- jbyteArray ba = jenv->NewByteArray(9);
- jbyte* bae = jenv->GetByteArrayElements(ba, 0);
- jclass clazz = jenv->FindClass("java/math/BigInteger");
- jmethodID mid = jenv->GetMethodID(clazz, "<init>", "([B)V");
- jobject bigint;
- int i;
-
- bae[0] = 0;
- for(i=1; i<9; i++ ) {
- bae[i] = (jbyte)(result>>8*(8-i));
- }
-
- jenv->ReleaseByteArrayElements(ba, bae, 0);
- bigint = jenv->NewObject(clazz, mid, ba);
- jresult = bigint;
- }
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoConsumer_1registerPlugin(JNIEnv *jenv, jclass jcls) {
- jboolean jresult = 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- result = (bool)ProxyVideoConsumer::registerPlugin();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoConsumer_1setDefaultChroma(JNIEnv *jenv, jclass jcls, jint jarg1) {
- tmedia_chroma_t arg1 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = (tmedia_chroma_t)jarg1;
- ProxyVideoConsumer::setDefaultChroma(arg1);
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1ProxyVideoFrame(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- ProxyVideoFrame *arg1 = (ProxyVideoFrame *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(ProxyVideoFrame **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoFrame_1getSize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- ProxyVideoFrame *arg1 = (ProxyVideoFrame *) 0 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoFrame **)&jarg1;
- result = (unsigned int)(arg1)->getSize();
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoFrame_1getContent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2, jlong jarg3) {
- jlong jresult = 0 ;
- ProxyVideoFrame *arg1 = (ProxyVideoFrame *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoFrame **)&jarg1;
-
- arg2 = jenv->GetDirectBufferAddress(jarg2);
-
- arg3 = (unsigned int)jarg3;
- result = (unsigned int)(arg1)->getContent(arg2,arg3);
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1ProxyAudioProducerCallback(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- ProxyAudioProducerCallback *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (ProxyAudioProducerCallback *)new SwigDirector_ProxyAudioProducerCallback(jenv);
- *(ProxyAudioProducerCallback **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1ProxyAudioProducerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(ProxyAudioProducerCallback **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioProducerCallback_1prepare(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jint jarg4) {
- jint jresult = 0 ;
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioProducerCallback **)&jarg1;
- arg2 = (int)jarg2;
- arg3 = (int)jarg3;
- arg4 = (int)jarg4;
- result = (int)(arg1)->prepare(arg2,arg3,arg4);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioProducerCallback_1prepareSwigExplicitProxyAudioProducerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jint jarg4) {
- jint jresult = 0 ;
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioProducerCallback **)&jarg1;
- arg2 = (int)jarg2;
- arg3 = (int)jarg3;
- arg4 = (int)jarg4;
- result = (int)(arg1)->ProxyAudioProducerCallback::prepare(arg2,arg3,arg4);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioProducerCallback_1start(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioProducerCallback **)&jarg1;
- result = (int)(arg1)->start();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioProducerCallback_1startSwigExplicitProxyAudioProducerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioProducerCallback **)&jarg1;
- result = (int)(arg1)->ProxyAudioProducerCallback::start();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioProducerCallback_1pause(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioProducerCallback **)&jarg1;
- result = (int)(arg1)->pause();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioProducerCallback_1pauseSwigExplicitProxyAudioProducerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioProducerCallback **)&jarg1;
- result = (int)(arg1)->ProxyAudioProducerCallback::pause();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioProducerCallback_1stop(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioProducerCallback **)&jarg1;
- result = (int)(arg1)->stop();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioProducerCallback_1stopSwigExplicitProxyAudioProducerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioProducerCallback **)&jarg1;
- result = (int)(arg1)->ProxyAudioProducerCallback::stop();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioProducerCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
- ProxyAudioProducerCallback *obj = *((ProxyAudioProducerCallback **)&objarg);
- (void)jcls;
- SwigDirector_ProxyAudioProducerCallback *director = dynamic_cast<SwigDirector_ProxyAudioProducerCallback *>(obj);
- if (director) {
- director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
- }
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioProducerCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
- ProxyAudioProducerCallback *obj = *((ProxyAudioProducerCallback **)&objarg);
- SwigDirector_ProxyAudioProducerCallback *director = dynamic_cast<SwigDirector_ProxyAudioProducerCallback *>(obj);
- (void)jcls;
- if (director) {
- director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
- }
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1ProxyAudioProducer(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- ProxyAudioProducer *arg1 = (ProxyAudioProducer *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(ProxyAudioProducer **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioProducer_1push(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2, jlong jarg3) {
- jint jresult = 0 ;
- ProxyAudioProducer *arg1 = (ProxyAudioProducer *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioProducer **)&jarg1;
-
- arg2 = jenv->GetDirectBufferAddress(jarg2);
-
- arg3 = (unsigned int)jarg3;
- result = (int)(arg1)->push((void const *)arg2,arg3);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioProducer_1setCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- ProxyAudioProducer *arg1 = (ProxyAudioProducer *) 0 ;
- ProxyAudioProducerCallback *arg2 = (ProxyAudioProducerCallback *) 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(ProxyAudioProducer **)&jarg1;
- arg2 = *(ProxyAudioProducerCallback **)&jarg2;
- (arg1)->setCallback(arg2);
-}
-
-
-SWIGEXPORT jobject JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioProducer_1getMediaSessionId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jobject jresult = 0 ;
- ProxyAudioProducer *arg1 = (ProxyAudioProducer *) 0 ;
- uint64_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyAudioProducer **)&jarg1;
- result = (uint64_t)(arg1)->getMediaSessionId();
- {
- jbyteArray ba = jenv->NewByteArray(9);
- jbyte* bae = jenv->GetByteArrayElements(ba, 0);
- jclass clazz = jenv->FindClass("java/math/BigInteger");
- jmethodID mid = jenv->GetMethodID(clazz, "<init>", "([B)V");
- jobject bigint;
- int i;
-
- bae[0] = 0;
- for(i=1; i<9; i++ ) {
- bae[i] = (jbyte)(result>>8*(8-i));
- }
-
- jenv->ReleaseByteArrayElements(ba, bae, 0);
- bigint = jenv->NewObject(clazz, mid, ba);
- jresult = bigint;
- }
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyAudioProducer_1registerPlugin(JNIEnv *jenv, jclass jcls) {
- jboolean jresult = 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- result = (bool)ProxyAudioProducer::registerPlugin();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1ProxyVideoProducerCallback(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- ProxyVideoProducerCallback *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (ProxyVideoProducerCallback *)new SwigDirector_ProxyVideoProducerCallback(jenv);
- *(ProxyVideoProducerCallback **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1ProxyVideoProducerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(ProxyVideoProducerCallback **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducerCallback_1prepare(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jint jarg4) {
- jint jresult = 0 ;
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoProducerCallback **)&jarg1;
- arg2 = (int)jarg2;
- arg3 = (int)jarg3;
- arg4 = (int)jarg4;
- result = (int)(arg1)->prepare(arg2,arg3,arg4);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducerCallback_1prepareSwigExplicitProxyVideoProducerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jint jarg4) {
- jint jresult = 0 ;
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoProducerCallback **)&jarg1;
- arg2 = (int)jarg2;
- arg3 = (int)jarg3;
- arg4 = (int)jarg4;
- result = (int)(arg1)->ProxyVideoProducerCallback::prepare(arg2,arg3,arg4);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducerCallback_1start(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoProducerCallback **)&jarg1;
- result = (int)(arg1)->start();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducerCallback_1startSwigExplicitProxyVideoProducerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoProducerCallback **)&jarg1;
- result = (int)(arg1)->ProxyVideoProducerCallback::start();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducerCallback_1pause(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoProducerCallback **)&jarg1;
- result = (int)(arg1)->pause();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducerCallback_1pauseSwigExplicitProxyVideoProducerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoProducerCallback **)&jarg1;
- result = (int)(arg1)->ProxyVideoProducerCallback::pause();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducerCallback_1stop(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoProducerCallback **)&jarg1;
- result = (int)(arg1)->stop();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducerCallback_1stopSwigExplicitProxyVideoProducerCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoProducerCallback **)&jarg1;
- result = (int)(arg1)->ProxyVideoProducerCallback::stop();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducerCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
- ProxyVideoProducerCallback *obj = *((ProxyVideoProducerCallback **)&objarg);
- (void)jcls;
- SwigDirector_ProxyVideoProducerCallback *director = dynamic_cast<SwigDirector_ProxyVideoProducerCallback *>(obj);
- if (director) {
- director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
- }
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducerCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
- ProxyVideoProducerCallback *obj = *((ProxyVideoProducerCallback **)&objarg);
- SwigDirector_ProxyVideoProducerCallback *director = dynamic_cast<SwigDirector_ProxyVideoProducerCallback *>(obj);
- (void)jcls;
- if (director) {
- director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
- }
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1ProxyVideoProducer(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(ProxyVideoProducer **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducer_1getRotation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoProducer **)&jarg1;
- result = (int)(arg1)->getRotation();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducer_1setRotation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
- int arg2 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoProducer **)&jarg1;
- arg2 = (int)jarg2;
- (arg1)->setRotation(arg2);
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducer_1push(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2, jlong jarg3) {
- jint jresult = 0 ;
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoProducer **)&jarg1;
-
- arg2 = jenv->GetDirectBufferAddress(jarg2);
-
- arg3 = (unsigned int)jarg3;
- result = (int)(arg1)->push((void const *)arg2,arg3);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducer_1send(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2, jlong jarg3, jlong jarg4, jboolean jarg5) {
- jint jresult = 0 ;
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int arg4 ;
- bool arg5 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoProducer **)&jarg1;
-
- arg2 = jenv->GetDirectBufferAddress(jarg2);
-
- arg3 = (unsigned int)jarg3;
- arg4 = (unsigned int)jarg4;
- arg5 = jarg5 ? true : false;
- result = (int)(arg1)->send((void const *)arg2,arg3,arg4,arg5);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducer_1setCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
- ProxyVideoProducerCallback *arg2 = (ProxyVideoProducerCallback *) 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(ProxyVideoProducer **)&jarg1;
- arg2 = *(ProxyVideoProducerCallback **)&jarg2;
- (arg1)->setCallback(arg2);
-}
-
-
-SWIGEXPORT jobject JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducer_1getMediaSessionId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jobject jresult = 0 ;
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
- uint64_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(ProxyVideoProducer **)&jarg1;
- result = (uint64_t)(arg1)->getMediaSessionId();
- {
- jbyteArray ba = jenv->NewByteArray(9);
- jbyte* bae = jenv->GetByteArrayElements(ba, 0);
- jclass clazz = jenv->FindClass("java/math/BigInteger");
- jmethodID mid = jenv->GetMethodID(clazz, "<init>", "([B)V");
- jobject bigint;
- int i;
-
- bae[0] = 0;
- for(i=1; i<9; i++ ) {
- bae[i] = (jbyte)(result>>8*(8-i));
- }
-
- jenv->ReleaseByteArrayElements(ba, bae, 0);
- bigint = jenv->NewObject(clazz, mid, ba);
- jresult = bigint;
- }
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducer_1registerPlugin(JNIEnv *jenv, jclass jcls) {
- jboolean jresult = 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- result = (bool)ProxyVideoProducer::registerPlugin();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ProxyVideoProducer_1setDefaultChroma(JNIEnv *jenv, jclass jcls, jint jarg1) {
- tmedia_chroma_t arg1 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = (tmedia_chroma_t)jarg1;
- ProxyVideoProducer::setDefaultChroma(arg1);
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1SipCallback(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- SipCallback *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (SipCallback *)new SwigDirector_SipCallback(jenv);
- *(SipCallback **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1SipCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- SipCallback *arg1 = (SipCallback *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(SipCallback **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1OnDialogEvent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- DialogEvent *arg2 = (DialogEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipCallback **)&jarg1;
- arg2 = *(DialogEvent **)&jarg2;
- result = (int)(arg1)->OnDialogEvent((DialogEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1OnDialogEventSwigExplicitSipCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- DialogEvent *arg2 = (DialogEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipCallback **)&jarg1;
- arg2 = *(DialogEvent **)&jarg2;
- result = (int)(arg1)->SipCallback::OnDialogEvent((DialogEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1OnStackEvent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- StackEvent *arg2 = (StackEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipCallback **)&jarg1;
- arg2 = *(StackEvent **)&jarg2;
- result = (int)(arg1)->OnStackEvent((StackEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1OnStackEventSwigExplicitSipCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- StackEvent *arg2 = (StackEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipCallback **)&jarg1;
- arg2 = *(StackEvent **)&jarg2;
- result = (int)(arg1)->SipCallback::OnStackEvent((StackEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1OnInviteEvent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- InviteEvent *arg2 = (InviteEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipCallback **)&jarg1;
- arg2 = *(InviteEvent **)&jarg2;
- result = (int)(arg1)->OnInviteEvent((InviteEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1OnInviteEventSwigExplicitSipCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- InviteEvent *arg2 = (InviteEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipCallback **)&jarg1;
- arg2 = *(InviteEvent **)&jarg2;
- result = (int)(arg1)->SipCallback::OnInviteEvent((InviteEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1OnMessagingEvent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- MessagingEvent *arg2 = (MessagingEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipCallback **)&jarg1;
- arg2 = *(MessagingEvent **)&jarg2;
- result = (int)(arg1)->OnMessagingEvent((MessagingEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1OnMessagingEventSwigExplicitSipCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- MessagingEvent *arg2 = (MessagingEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipCallback **)&jarg1;
- arg2 = *(MessagingEvent **)&jarg2;
- result = (int)(arg1)->SipCallback::OnMessagingEvent((MessagingEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1OnOptionsEvent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- OptionsEvent *arg2 = (OptionsEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipCallback **)&jarg1;
- arg2 = *(OptionsEvent **)&jarg2;
- result = (int)(arg1)->OnOptionsEvent((OptionsEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1OnOptionsEventSwigExplicitSipCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- OptionsEvent *arg2 = (OptionsEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipCallback **)&jarg1;
- arg2 = *(OptionsEvent **)&jarg2;
- result = (int)(arg1)->SipCallback::OnOptionsEvent((OptionsEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1OnPublicationEvent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- PublicationEvent *arg2 = (PublicationEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipCallback **)&jarg1;
- arg2 = *(PublicationEvent **)&jarg2;
- result = (int)(arg1)->OnPublicationEvent((PublicationEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1OnPublicationEventSwigExplicitSipCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- PublicationEvent *arg2 = (PublicationEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipCallback **)&jarg1;
- arg2 = *(PublicationEvent **)&jarg2;
- result = (int)(arg1)->SipCallback::OnPublicationEvent((PublicationEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1OnRegistrationEvent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- RegistrationEvent *arg2 = (RegistrationEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipCallback **)&jarg1;
- arg2 = *(RegistrationEvent **)&jarg2;
- result = (int)(arg1)->OnRegistrationEvent((RegistrationEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1OnRegistrationEventSwigExplicitSipCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- RegistrationEvent *arg2 = (RegistrationEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipCallback **)&jarg1;
- arg2 = *(RegistrationEvent **)&jarg2;
- result = (int)(arg1)->SipCallback::OnRegistrationEvent((RegistrationEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1OnSubscriptionEvent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- SubscriptionEvent *arg2 = (SubscriptionEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipCallback **)&jarg1;
- arg2 = *(SubscriptionEvent **)&jarg2;
- result = (int)(arg1)->OnSubscriptionEvent((SubscriptionEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1OnSubscriptionEventSwigExplicitSipCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- SubscriptionEvent *arg2 = (SubscriptionEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipCallback **)&jarg1;
- arg2 = *(SubscriptionEvent **)&jarg2;
- result = (int)(arg1)->SipCallback::OnSubscriptionEvent((SubscriptionEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
- SipCallback *obj = *((SipCallback **)&objarg);
- (void)jcls;
- SwigDirector_SipCallback *director = dynamic_cast<SwigDirector_SipCallback *>(obj);
- if (director) {
- director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
- }
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
- SipCallback *obj = *((SipCallback **)&objarg);
- SwigDirector_SipCallback *director = dynamic_cast<SwigDirector_SipCallback *>(obj);
- (void)jcls;
- if (director) {
- director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
- }
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1SafeObject(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- SafeObject *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (SafeObject *)new SafeObject();
- *(SafeObject **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1SafeObject(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- SafeObject *arg1 = (SafeObject *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(SafeObject **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SafeObject_1Lock(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- SafeObject *arg1 = (SafeObject *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SafeObject **)&jarg1;
- result = (int)((SafeObject const *)arg1)->Lock();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SafeObject_1UnLock(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- SafeObject *arg1 = (SafeObject *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SafeObject **)&jarg1;
- result = (int)((SafeObject const *)arg1)->UnLock();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1SipStack(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3, jstring jarg4) {
- jlong jresult = 0 ;
- SipCallback *arg1 = (SipCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- SipStack *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipCallback **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = 0;
- if (jarg4) {
- arg4 = (char *)jenv->GetStringUTFChars(jarg4, 0);
- if (!arg4) return 0;
- }
- result = (SipStack *)new SipStack(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
- *(SipStack **)&jresult = result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- if (arg4) jenv->ReleaseStringUTFChars(jarg4, (const char *)arg4);
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1SipStack(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- SipStack *arg1 = (SipStack *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(SipStack **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1start(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- result = (bool)(arg1)->start();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setDebugCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- DDebugCallback *arg2 = (DDebugCallback *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = *(DDebugCallback **)&jarg2;
- result = (bool)(arg1)->setDebugCallback(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setRealm(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->setRealm((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setIMPI(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->setIMPI((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setIMPU(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->setIMPU((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setPassword(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->setPassword((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setAMF(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->setAMF((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setOperatorId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->setOperatorId((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setProxyCSCF(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jint jarg3, jstring jarg4, jstring jarg5) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned short arg3 ;
- char *arg4 = (char *) 0 ;
- char *arg5 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = (unsigned short)jarg3;
- arg4 = 0;
- if (jarg4) {
- arg4 = (char *)jenv->GetStringUTFChars(jarg4, 0);
- if (!arg4) return 0;
- }
- arg5 = 0;
- if (jarg5) {
- arg5 = (char *)jenv->GetStringUTFChars(jarg5, 0);
- if (!arg5) return 0;
- }
- result = (bool)(arg1)->setProxyCSCF((char const *)arg2,arg3,(char const *)arg4,(char const *)arg5);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg4) jenv->ReleaseStringUTFChars(jarg4, (const char *)arg4);
- if (arg5) jenv->ReleaseStringUTFChars(jarg5, (const char *)arg5);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setLocalIP(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->setLocalIP((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setLocalPort(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- unsigned short arg2 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = (unsigned short)jarg2;
- result = (bool)(arg1)->setLocalPort(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setEarlyIMS(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- bool arg2 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = jarg2 ? true : false;
- result = (bool)(arg1)->setEarlyIMS(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1addHeader(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- result = (bool)(arg1)->addHeader((char const *)arg2,(char const *)arg3);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1removeHeader(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->removeHeader((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1addDnsServer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->addDnsServer((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setDnsDiscovery(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- bool arg2 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = jarg2 ? true : false;
- result = (bool)(arg1)->setDnsDiscovery(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setAoR(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jint jarg3) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- int arg3 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = (int)jarg3;
- result = (bool)(arg1)->setAoR((char const *)arg2,arg3);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setSigCompParams(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jboolean jarg5) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- unsigned int arg2 ;
- unsigned int arg3 ;
- unsigned int arg4 ;
- bool arg5 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = (unsigned int)jarg2;
- arg3 = (unsigned int)jarg3;
- arg4 = (unsigned int)jarg4;
- arg5 = jarg5 ? true : false;
- result = (bool)(arg1)->setSigCompParams(arg2,arg3,arg4,arg5);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1addSigCompCompartment(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->addSigCompCompartment((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1removeSigCompCompartment(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->removeSigCompCompartment((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setSTUNServer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jint jarg3) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned short arg3 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = (unsigned short)jarg3;
- result = (bool)(arg1)->setSTUNServer((char const *)arg2,arg3);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setSTUNCred(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- result = (bool)(arg1)->setSTUNCred((char const *)arg2,(char const *)arg3);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setTLSSecAgree(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- bool arg2 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = jarg2 ? true : false;
- result = (bool)(arg1)->setTLSSecAgree(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setSSLCretificates(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3, jstring jarg4) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = 0;
- if (jarg4) {
- arg4 = (char *)jenv->GetStringUTFChars(jarg4, 0);
- if (!arg4) return 0;
- }
- result = (bool)(arg1)->setSSLCretificates((char const *)arg2,(char const *)arg3,(char const *)arg4);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- if (arg4) jenv->ReleaseStringUTFChars(jarg4, (const char *)arg4);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setIPSecSecAgree(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- bool arg2 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = jarg2 ? true : false;
- result = (bool)(arg1)->setIPSecSecAgree(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setIPSecParameters(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3, jstring jarg4, jstring jarg5) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- char *arg5 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = 0;
- if (jarg4) {
- arg4 = (char *)jenv->GetStringUTFChars(jarg4, 0);
- if (!arg4) return 0;
- }
- arg5 = 0;
- if (jarg5) {
- arg5 = (char *)jenv->GetStringUTFChars(jarg5, 0);
- if (!arg5) return 0;
- }
- result = (bool)(arg1)->setIPSecParameters((char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- if (arg4) jenv->ReleaseStringUTFChars(jarg4, (const char *)arg4);
- if (arg5) jenv->ReleaseStringUTFChars(jarg5, (const char *)arg5);
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1dnsENUM(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3, jstring jarg4) {
- jstring jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = 0;
- if (jarg4) {
- arg4 = (char *)jenv->GetStringUTFChars(jarg4, 0);
- if (!arg4) return 0;
- }
- result = (char *)(arg1)->dnsENUM((char const *)arg2,(char const *)arg3,(char const *)arg4);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- if (arg4) jenv->ReleaseStringUTFChars(jarg4, (const char *)arg4);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1dnsNaptrSrv(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3, jintArray jarg4) {
- jstring jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- unsigned short *arg4 = (unsigned short *) 0 ;
- unsigned short temp4 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- {
- if (!jarg4) {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "array null");
- return 0;
- }
- if (jenv->GetArrayLength(jarg4) == 0) {
- SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "Array must contain at least 1 element");
- return 0;
- }
- arg4 = &temp4;
- }
- result = (char *)(arg1)->dnsNaptrSrv((char const *)arg2,(char const *)arg3,arg4);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- {
- jint jvalue = (jint)temp4;
- jenv->SetIntArrayRegion(jarg4, 0, 1, &jvalue);
- }
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
-
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1dnsSrv(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jintArray jarg3) {
- jstring jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned short *arg3 = (unsigned short *) 0 ;
- unsigned short temp3 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- {
- if (!jarg3) {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "array null");
- return 0;
- }
- if (jenv->GetArrayLength(jarg3) == 0) {
- SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "Array must contain at least 1 element");
- return 0;
- }
- arg3 = &temp3;
- }
- result = (char *)(arg1)->dnsSrv((char const *)arg2,arg3);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- {
- jint jvalue = (jint)temp3;
- jenv->SetIntArrayRegion(jarg3, 0, 1, &jvalue);
- }
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
-
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1getLocalIPnPort(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jintArray jarg3) {
- jstring jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned short *arg3 = (unsigned short *) 0 ;
- unsigned short temp3 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- {
- if (!jarg3) {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "array null");
- return 0;
- }
- if (jenv->GetArrayLength(jarg3) == 0) {
- SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "Array must contain at least 1 element");
- return 0;
- }
- arg3 = &temp3;
- }
- result = (char *)(arg1)->getLocalIPnPort((char const *)arg2,arg3);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- {
- jint jvalue = (jint)temp3;
- jenv->SetIntArrayRegion(jarg3, 0, 1, &jvalue);
- }
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
-
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1getPreferredIdentity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jstring jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- result = (char *)(arg1)->getPreferredIdentity();
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1isValid(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- result = (bool)(arg1)->isValid();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1stop(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- SipStack *arg1 = (SipStack *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SipStack **)&jarg1;
- result = (bool)(arg1)->stop();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setCodecs(JNIEnv *jenv, jclass jcls, jint jarg1) {
- tdav_codec_id_t arg1 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = (tdav_codec_id_t)jarg1;
- SipStack::setCodecs(arg1);
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1setCodecs_12(JNIEnv *jenv, jclass jcls, jint jarg1) {
- int arg1 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = (int)jarg1;
- SipStack::setCodecs_2(arg1);
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SipStack_1isCodecSupported(JNIEnv *jenv, jclass jcls, jint jarg1) {
- jboolean jresult = 0 ;
- tdav_codec_id_t arg1 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- arg1 = (tdav_codec_id_t)jarg1;
- result = (bool)SipStack::isCodecSupported(arg1);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1XcapSelector(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- XcapSelector *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- result = (XcapSelector *)new XcapSelector(arg1);
- *(XcapSelector **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1XcapSelector(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- XcapSelector *arg1 = (XcapSelector *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(XcapSelector **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapSelector_1setAUID(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jlong jresult = 0 ;
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- char *arg2 = (char *) 0 ;
- XcapSelector *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapSelector **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (XcapSelector *)(arg1)->setAUID((char const *)arg2);
- *(XcapSelector **)&jresult = result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapSelector_1setName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jlong jresult = 0 ;
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- char *arg2 = (char *) 0 ;
- XcapSelector *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapSelector **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (XcapSelector *)(arg1)->setName((char const *)arg2);
- *(XcapSelector **)&jresult = result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapSelector_1setAttribute(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3, jstring jarg4) {
- jlong jresult = 0 ;
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- XcapSelector *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapSelector **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = 0;
- if (jarg4) {
- arg4 = (char *)jenv->GetStringUTFChars(jarg4, 0);
- if (!arg4) return 0;
- }
- result = (XcapSelector *)(arg1)->setAttribute((char const *)arg2,(char const *)arg3,(char const *)arg4);
- *(XcapSelector **)&jresult = result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- if (arg4) jenv->ReleaseStringUTFChars(jarg4, (const char *)arg4);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapSelector_1setPos(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jlong jarg3) {
- jlong jresult = 0 ;
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned int arg3 ;
- XcapSelector *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapSelector **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = (unsigned int)jarg3;
- result = (XcapSelector *)(arg1)->setPos((char const *)arg2,arg3);
- *(XcapSelector **)&jresult = result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapSelector_1setPosAttribute(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jlong jarg3, jstring jarg4, jstring jarg5) {
- jlong jresult = 0 ;
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned int arg3 ;
- char *arg4 = (char *) 0 ;
- char *arg5 = (char *) 0 ;
- XcapSelector *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapSelector **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = (unsigned int)jarg3;
- arg4 = 0;
- if (jarg4) {
- arg4 = (char *)jenv->GetStringUTFChars(jarg4, 0);
- if (!arg4) return 0;
- }
- arg5 = 0;
- if (jarg5) {
- arg5 = (char *)jenv->GetStringUTFChars(jarg5, 0);
- if (!arg5) return 0;
- }
- result = (XcapSelector *)(arg1)->setPosAttribute((char const *)arg2,arg3,(char const *)arg4,(char const *)arg5);
- *(XcapSelector **)&jresult = result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg4) jenv->ReleaseStringUTFChars(jarg4, (const char *)arg4);
- if (arg5) jenv->ReleaseStringUTFChars(jarg5, (const char *)arg5);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapSelector_1setNamespace(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
- jlong jresult = 0 ;
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- XcapSelector *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapSelector **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- result = (XcapSelector *)(arg1)->setNamespace((char const *)arg2,(char const *)arg3);
- *(XcapSelector **)&jresult = result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapSelector_1getString(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jstring jresult = 0 ;
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapSelector **)&jarg1;
- result = (char *)(arg1)->getString();
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapSelector_1reset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- XcapSelector *arg1 = (XcapSelector *) 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapSelector **)&jarg1;
- (arg1)->reset();
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1XcapMessage(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- XcapMessage *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (XcapMessage *)new XcapMessage();
- *(XcapMessage **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1XcapMessage(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- XcapMessage *arg1 = (XcapMessage *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(XcapMessage **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jshort JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapMessage_1getCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jshort jresult = 0 ;
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- short result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapMessage **)&jarg1;
- result = (short)((XcapMessage const *)arg1)->getCode();
- jresult = (jshort)result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapMessage_1getPhrase(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jstring jresult = 0 ;
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapMessage **)&jarg1;
- result = (char *)((XcapMessage const *)arg1)->getPhrase();
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapMessage_1getXcapHeaderValue_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jlong jarg3) {
- jstring jresult = 0 ;
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned int arg3 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapMessage **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = (unsigned int)jarg3;
- result = (char *)(arg1)->getXcapHeaderValue((char const *)arg2,arg3);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapMessage_1getXcapHeaderValue_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jstring jresult = 0 ;
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapMessage **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (char *)(arg1)->getXcapHeaderValue((char const *)arg2);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapMessage_1getXcapHeaderParamValue_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3, jlong jarg4) {
- jstring jresult = 0 ;
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- unsigned int arg4 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapMessage **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = (unsigned int)jarg4;
- result = (char *)(arg1)->getXcapHeaderParamValue((char const *)arg2,(char const *)arg3,arg4);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapMessage_1getXcapHeaderParamValue_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
- jstring jresult = 0 ;
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapMessage **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- result = (char *)(arg1)->getXcapHeaderParamValue((char const *)arg2,(char const *)arg3);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapMessage_1getXcapContentLength(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapMessage **)&jarg1;
- result = (unsigned int)(arg1)->getXcapContentLength();
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapMessage_1getXcapContent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2, jlong jarg3) {
- jlong jresult = 0 ;
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapMessage **)&jarg1;
-
- arg2 = jenv->GetDirectBufferAddress(jarg2);
-
- arg3 = (unsigned int)jarg3;
- result = (unsigned int)(arg1)->getXcapContent(arg2,arg3);
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1XcapEvent(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- XcapEvent *arg1 = (XcapEvent *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(XcapEvent **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapEvent_1getType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- XcapEvent *arg1 = (XcapEvent *) 0 ;
- thttp_event_type_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapEvent **)&jarg1;
- result = (thttp_event_type_t)(arg1)->getType();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapEvent_1getXcapMessage(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- XcapEvent *arg1 = (XcapEvent *) 0 ;
- XcapMessage *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapEvent **)&jarg1;
- result = (XcapMessage *)((XcapEvent const *)arg1)->getXcapMessage();
- *(XcapMessage **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1XcapCallback(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- XcapCallback *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (XcapCallback *)new SwigDirector_XcapCallback(jenv);
- *(XcapCallback **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1XcapCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- XcapCallback *arg1 = (XcapCallback *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(XcapCallback **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapCallback_1onEvent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- XcapCallback *arg1 = (XcapCallback *) 0 ;
- XcapEvent *arg2 = (XcapEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(XcapCallback **)&jarg1;
- arg2 = *(XcapEvent **)&jarg2;
- result = (int)((XcapCallback const *)arg1)->onEvent((XcapEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapCallback_1onEventSwigExplicitXcapCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- XcapCallback *arg1 = (XcapCallback *) 0 ;
- XcapEvent *arg2 = (XcapEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(XcapCallback **)&jarg1;
- arg2 = *(XcapEvent **)&jarg2;
- result = (int)((XcapCallback const *)arg1)->XcapCallback::onEvent((XcapEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
- XcapCallback *obj = *((XcapCallback **)&objarg);
- (void)jcls;
- SwigDirector_XcapCallback *director = dynamic_cast<SwigDirector_XcapCallback *>(obj);
- if (director) {
- director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
- }
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
- XcapCallback *obj = *((XcapCallback **)&objarg);
- SwigDirector_XcapCallback *director = dynamic_cast<SwigDirector_XcapCallback *>(obj);
- (void)jcls;
- if (director) {
- director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
- }
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1XcapStack(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3, jstring jarg4) {
- jlong jresult = 0 ;
- XcapCallback *arg1 = (XcapCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- XcapStack *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapCallback **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = 0;
- if (jarg4) {
- arg4 = (char *)jenv->GetStringUTFChars(jarg4, 0);
- if (!arg4) return 0;
- }
- result = (XcapStack *)new XcapStack(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
- *(XcapStack **)&jresult = result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- if (arg4) jenv->ReleaseStringUTFChars(jarg4, (const char *)arg4);
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1XcapStack(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- XcapStack *arg1 = (XcapStack *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(XcapStack **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1registerAUID(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3, jstring jarg4, jstring jarg5, jboolean jarg6) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- char *arg5 = (char *) 0 ;
- bool arg6 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = 0;
- if (jarg4) {
- arg4 = (char *)jenv->GetStringUTFChars(jarg4, 0);
- if (!arg4) return 0;
- }
- arg5 = 0;
- if (jarg5) {
- arg5 = (char *)jenv->GetStringUTFChars(jarg5, 0);
- if (!arg5) return 0;
- }
- arg6 = jarg6 ? true : false;
- result = (bool)(arg1)->registerAUID((char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,arg6);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- if (arg4) jenv->ReleaseStringUTFChars(jarg4, (const char *)arg4);
- if (arg5) jenv->ReleaseStringUTFChars(jarg5, (const char *)arg5);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1start(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- result = (bool)(arg1)->start();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1setCredentials(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- result = (bool)(arg1)->setCredentials((char const *)arg2,(char const *)arg3);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1setXcapRoot(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->setXcapRoot((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1setLocalIP(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->setLocalIP((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1setLocalPort(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- unsigned int arg2 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- arg2 = (unsigned int)jarg2;
- result = (bool)(arg1)->setLocalPort(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1addHeader(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- result = (bool)(arg1)->addHeader((char const *)arg2,(char const *)arg3);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1removeHeader(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->removeHeader((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1setTimeout(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- unsigned int arg2 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- arg2 = (unsigned int)jarg2;
- result = (bool)(arg1)->setTimeout(arg2);
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1getDocument(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->getDocument((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1getElement(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->getElement((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1getAttribute(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->getAttribute((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1deleteDocument(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->deleteDocument((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1deleteElement(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->deleteElement((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1deleteAttribute(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (bool)(arg1)->deleteAttribute((char const *)arg2);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1putDocument(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jbyteArray jarg3, jlong jarg4, jstring jarg5) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *arg3 = (void *) 0 ;
- unsigned int arg4 ;
- char *arg5 = (char *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
-
- arg3 = jenv->GetDirectBufferAddress(jarg3);
-
- arg4 = (unsigned int)jarg4;
- arg5 = 0;
- if (jarg5) {
- arg5 = (char *)jenv->GetStringUTFChars(jarg5, 0);
- if (!arg5) return 0;
- }
- result = (bool)(arg1)->putDocument((char const *)arg2,(void const *)arg3,arg4,(char const *)arg5);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg5) jenv->ReleaseStringUTFChars(jarg5, (const char *)arg5);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1putElement(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jbyteArray jarg3, jlong jarg4) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *arg3 = (void *) 0 ;
- unsigned int arg4 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
-
- arg3 = jenv->GetDirectBufferAddress(jarg3);
-
- arg4 = (unsigned int)jarg4;
- result = (bool)(arg1)->putElement((char const *)arg2,(void const *)arg3,arg4);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1putAttribute(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jbyteArray jarg3, jlong jarg4) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *arg3 = (void *) 0 ;
- unsigned int arg4 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
-
- arg3 = jenv->GetDirectBufferAddress(jarg3);
-
- arg4 = (unsigned int)jarg4;
- result = (bool)(arg1)->putAttribute((char const *)arg2,(void const *)arg3,arg4);
- jresult = (jboolean)result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_XcapStack_1stop(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- XcapStack *arg1 = (XcapStack *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(XcapStack **)&jarg1;
- result = (bool)(arg1)->stop();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1RPMessage(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- RPMessage *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (RPMessage *)new RPMessage();
- *(RPMessage **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1RPMessage(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- RPMessage *arg1 = (RPMessage *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(RPMessage **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_RPMessage_1getType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- RPMessage *arg1 = (RPMessage *) 0 ;
- twrap_rpmessage_type_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(RPMessage **)&jarg1;
- result = (twrap_rpmessage_type_t)(arg1)->getType();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_RPMessage_1getPayloadLength(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- RPMessage *arg1 = (RPMessage *) 0 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(RPMessage **)&jarg1;
- result = (unsigned int)(arg1)->getPayloadLength();
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_RPMessage_1getPayload(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2, jlong jarg3) {
- jlong jresult = 0 ;
- RPMessage *arg1 = (RPMessage *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(RPMessage **)&jarg1;
-
- arg2 = jenv->GetDirectBufferAddress(jarg2);
-
- arg3 = (unsigned int)jarg3;
- result = (unsigned int)(arg1)->getPayload(arg2,arg3);
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1SMSData(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- SMSData *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (SMSData *)new SMSData();
- *(SMSData **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1SMSData(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- SMSData *arg1 = (SMSData *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(SMSData **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SMSData_1getType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- SMSData *arg1 = (SMSData *) 0 ;
- twrap_sms_type_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SMSData **)&jarg1;
- result = (twrap_sms_type_t)(arg1)->getType();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SMSData_1getMR(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- SMSData *arg1 = (SMSData *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SMSData **)&jarg1;
- result = (int)(arg1)->getMR();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SMSData_1getPayloadLength(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- SMSData *arg1 = (SMSData *) 0 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SMSData **)&jarg1;
- result = (unsigned int)(arg1)->getPayloadLength();
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SMSData_1getPayload(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2, jlong jarg3) {
- jlong jresult = 0 ;
- SMSData *arg1 = (SMSData *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SMSData **)&jarg1;
-
- arg2 = jenv->GetDirectBufferAddress(jarg2);
-
- arg3 = (unsigned int)jarg3;
- result = (unsigned int)(arg1)->getPayload(arg2,arg3);
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SMSData_1getOA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jstring jresult = 0 ;
- SMSData *arg1 = (SMSData *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SMSData **)&jarg1;
- result = (char *)(arg1)->getOA();
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SMSData_1getDA(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jstring jresult = 0 ;
- SMSData *arg1 = (SMSData *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(SMSData **)&jarg1;
- result = (char *)(arg1)->getDA();
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SMSEncoder_1encodeSubmit(JNIEnv *jenv, jclass jcls, jint jarg1, jstring jarg2, jstring jarg3, jstring jarg4) {
- jlong jresult = 0 ;
- int arg1 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- RPMessage *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = (int)jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = 0;
- if (jarg4) {
- arg4 = (char *)jenv->GetStringUTFChars(jarg4, 0);
- if (!arg4) return 0;
- }
- result = (RPMessage *)SMSEncoder::encodeSubmit(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
- *(RPMessage **)&jresult = result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- if (arg4) jenv->ReleaseStringUTFChars(jarg4, (const char *)arg4);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SMSEncoder_1encodeDeliver(JNIEnv *jenv, jclass jcls, jint jarg1, jstring jarg2, jstring jarg3, jstring jarg4) {
- jlong jresult = 0 ;
- int arg1 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- RPMessage *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = (int)jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = 0;
- if (jarg4) {
- arg4 = (char *)jenv->GetStringUTFChars(jarg4, 0);
- if (!arg4) return 0;
- }
- result = (RPMessage *)SMSEncoder::encodeDeliver(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
- *(RPMessage **)&jresult = result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- if (arg4) jenv->ReleaseStringUTFChars(jarg4, (const char *)arg4);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SMSEncoder_1encodeACK(JNIEnv *jenv, jclass jcls, jint jarg1, jstring jarg2, jstring jarg3, jboolean jarg4) {
- jlong jresult = 0 ;
- int arg1 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- bool arg4 ;
- RPMessage *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = (int)jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = jarg4 ? true : false;
- result = (RPMessage *)SMSEncoder::encodeACK(arg1,(char const *)arg2,(char const *)arg3,arg4);
- *(RPMessage **)&jresult = result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SMSEncoder_1encodeError(JNIEnv *jenv, jclass jcls, jint jarg1, jstring jarg2, jstring jarg3, jboolean jarg4) {
- jlong jresult = 0 ;
- int arg1 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- bool arg4 ;
- RPMessage *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = (int)jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- arg4 = jarg4 ? true : false;
- result = (RPMessage *)SMSEncoder::encodeError(arg1,(char const *)arg2,(char const *)arg3,arg4);
- *(RPMessage **)&jresult = result;
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SMSEncoder_1decode(JNIEnv *jenv, jclass jcls, jbyteArray jarg1, jlong jarg2, jboolean jarg3) {
- jlong jresult = 0 ;
- void *arg1 = (void *) 0 ;
- unsigned int arg2 ;
- bool arg3 ;
- SMSData *result = 0 ;
-
- (void)jenv;
- (void)jcls;
-
- arg1 = jenv->GetDirectBufferAddress(jarg1);
-
- arg2 = (unsigned int)jarg2;
- arg3 = jarg3 ? true : false;
- result = (SMSData *)SMSEncoder::decode((void const *)arg1,arg2,arg3);
- *(SMSData **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1SMSEncoder(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- SMSEncoder *arg1 = (SMSEncoder *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(SMSEncoder **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1MsrpMessage(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- MsrpMessage *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (MsrpMessage *)new MsrpMessage();
- *(MsrpMessage **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1MsrpMessage(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(MsrpMessage **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpMessage_1isRequest(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MsrpMessage **)&jarg1;
- result = (bool)(arg1)->isRequest();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jshort JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpMessage_1getCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jshort jresult = 0 ;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- short result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MsrpMessage **)&jarg1;
- result = (short)(arg1)->getCode();
- jresult = (jshort)result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpMessage_1getPhrase(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jstring jresult = 0 ;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MsrpMessage **)&jarg1;
- result = (char *)(arg1)->getPhrase();
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpMessage_1getRequestType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- tmsrp_request_type_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MsrpMessage **)&jarg1;
- result = (tmsrp_request_type_t)(arg1)->getRequestType();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpMessage_1getByteRange(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlongArray jarg2, jlongArray jarg3, jlongArray jarg4) {
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- int64_t *arg2 = (int64_t *) 0 ;
- int64_t *arg3 = (int64_t *) 0 ;
- int64_t *arg4 = (int64_t *) 0 ;
- int64_t temp2 ;
- int64_t temp3 ;
- int64_t temp4 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MsrpMessage **)&jarg1;
- {
- if (!jarg2) {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "array null");
- return ;
- }
- if (jenv->GetArrayLength(jarg2) == 0) {
- SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "Array must contain at least 1 element");
- return ;
- }
- arg2 = &temp2;
- }
- {
- if (!jarg3) {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "array null");
- return ;
- }
- if (jenv->GetArrayLength(jarg3) == 0) {
- SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "Array must contain at least 1 element");
- return ;
- }
- arg3 = &temp3;
- }
- {
- if (!jarg4) {
- SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "array null");
- return ;
- }
- if (jenv->GetArrayLength(jarg4) == 0) {
- SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "Array must contain at least 1 element");
- return ;
- }
- arg4 = &temp4;
- }
- (arg1)->getByteRange(arg2,arg3,arg4);
- {
- jlong jvalue = (jlong)temp2;
- jenv->SetLongArrayRegion(jarg2, 0, 1, &jvalue);
- }
- {
- jlong jvalue = (jlong)temp3;
- jenv->SetLongArrayRegion(jarg3, 0, 1, &jvalue);
- }
- {
- jlong jvalue = (jlong)temp4;
- jenv->SetLongArrayRegion(jarg4, 0, 1, &jvalue);
- }
-
-
-
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpMessage_1isLastChunck(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MsrpMessage **)&jarg1;
- result = (bool)(arg1)->isLastChunck();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpMessage_1isFirstChunck(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jboolean jresult = 0 ;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- bool result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MsrpMessage **)&jarg1;
- result = (bool)(arg1)->isFirstChunck();
- jresult = (jboolean)result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpMessage_1getMsrpHeaderValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
- jstring jresult = 0 ;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MsrpMessage **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- result = (char *)(arg1)->getMsrpHeaderValue((char const *)arg2);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jstring JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpMessage_1getMsrpHeaderParamValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
- jstring jresult = 0 ;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MsrpMessage **)&jarg1;
- arg2 = 0;
- if (jarg2) {
- arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
- if (!arg2) return 0;
- }
- arg3 = 0;
- if (jarg3) {
- arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0);
- if (!arg3) return 0;
- }
- result = (char *)(arg1)->getMsrpHeaderParamValue((char const *)arg2,(char const *)arg3);
- if(result) jresult = jenv->NewStringUTF((const char *)result);
- if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
- if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
- delete [] result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpMessage_1getMsrpContentLength(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MsrpMessage **)&jarg1;
- result = (unsigned int)(arg1)->getMsrpContentLength();
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpMessage_1getMsrpContent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2, jlong jarg3) {
- jlong jresult = 0 ;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MsrpMessage **)&jarg1;
-
- arg2 = jenv->GetDirectBufferAddress(jarg2);
-
- arg3 = (unsigned int)jarg3;
- result = (unsigned int)(arg1)->getMsrpContent(arg2,arg3);
- jresult = (jlong)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1MsrpEvent(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- MsrpEvent *arg1 = (MsrpEvent *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(MsrpEvent **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpEvent_1getType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jint jresult = 0 ;
- MsrpEvent *arg1 = (MsrpEvent *) 0 ;
- tmsrp_event_type_t result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MsrpEvent **)&jarg1;
- result = (tmsrp_event_type_t)(arg1)->getType();
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpEvent_1getSipSession(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- MsrpEvent *arg1 = (MsrpEvent *) 0 ;
- MsrpSession *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MsrpEvent **)&jarg1;
- result = (MsrpSession *)(arg1)->getSipSession();
- *(MsrpSession **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpEvent_1getMessage(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
- jlong jresult = 0 ;
- MsrpEvent *arg1 = (MsrpEvent *) 0 ;
- MsrpMessage *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- arg1 = *(MsrpEvent **)&jarg1;
- result = (MsrpMessage *)((MsrpEvent const *)arg1)->getMessage();
- *(MsrpMessage **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_new_1MsrpCallback(JNIEnv *jenv, jclass jcls) {
- jlong jresult = 0 ;
- MsrpCallback *result = 0 ;
-
- (void)jenv;
- (void)jcls;
- result = (MsrpCallback *)new SwigDirector_MsrpCallback(jenv);
- *(MsrpCallback **)&jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1MsrpCallback(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- MsrpCallback *arg1 = (MsrpCallback *) 0 ;
-
- (void)jenv;
- (void)jcls;
- arg1 = *(MsrpCallback **)&jarg1;
- delete arg1;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpCallback_1OnEvent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- MsrpCallback *arg1 = (MsrpCallback *) 0 ;
- MsrpEvent *arg2 = (MsrpEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(MsrpCallback **)&jarg1;
- arg2 = *(MsrpEvent **)&jarg2;
- result = (int)(arg1)->OnEvent((MsrpEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpCallback_1OnEventSwigExplicitMsrpCallback(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
- jint jresult = 0 ;
- MsrpCallback *arg1 = (MsrpCallback *) 0 ;
- MsrpEvent *arg2 = (MsrpEvent *) 0 ;
- int result;
-
- (void)jenv;
- (void)jcls;
- (void)jarg1_;
- (void)jarg2_;
- arg1 = *(MsrpCallback **)&jarg1;
- arg2 = *(MsrpEvent **)&jarg2;
- result = (int)(arg1)->MsrpCallback::OnEvent((MsrpEvent const *)arg2);
- jresult = (jint)result;
- return jresult;
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpCallback_1director_1connect(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jswig_mem_own, jboolean jweak_global) {
- MsrpCallback *obj = *((MsrpCallback **)&objarg);
- (void)jcls;
- SwigDirector_MsrpCallback *director = dynamic_cast<SwigDirector_MsrpCallback *>(obj);
- if (director) {
- director->swig_connect_director(jenv, jself, jenv->GetObjectClass(jself), (jswig_mem_own == JNI_TRUE), (jweak_global == JNI_TRUE));
- }
-}
-
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MsrpCallback_1change_1ownership(JNIEnv *jenv, jclass jcls, jobject jself, jlong objarg, jboolean jtake_or_release) {
- MsrpCallback *obj = *((MsrpCallback **)&objarg);
- SwigDirector_MsrpCallback *director = dynamic_cast<SwigDirector_MsrpCallback *>(obj);
- (void)jcls;
- if (director) {
- director->swig_java_change_ownership(jenv, jself, jtake_or_release ? true : false);
- }
-}
-
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGMediaContentCPIMUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(MediaContent **)&baseptr = *(MediaContentCPIM **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGDialogEventUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(SipEvent **)&baseptr = *(DialogEvent **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGStackEventUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(SipEvent **)&baseptr = *(StackEvent **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGInviteEventUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(SipEvent **)&baseptr = *(InviteEvent **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGMessagingEventUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(SipEvent **)&baseptr = *(MessagingEvent **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGOptionsEventUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(SipEvent **)&baseptr = *(OptionsEvent **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGPublicationEventUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(SipEvent **)&baseptr = *(PublicationEvent **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGRegistrationEventUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(SipEvent **)&baseptr = *(RegistrationEvent **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGSubscriptionEventUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(SipEvent **)&baseptr = *(SubscriptionEvent **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGInviteSessionUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(SipSession **)&baseptr = *(InviteSession **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGCallSessionUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(InviteSession **)&baseptr = *(CallSession **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGMsrpSessionUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(InviteSession **)&baseptr = *(MsrpSession **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGMessagingSessionUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(SipSession **)&baseptr = *(MessagingSession **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGOptionsSessionUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(SipSession **)&baseptr = *(OptionsSession **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGPublicationSessionUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(SipSession **)&baseptr = *(PublicationSession **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGRegistrationSessionUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(SipSession **)&baseptr = *(RegistrationSession **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGSubscriptionSessionUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(SipSession **)&baseptr = *(SubscriptionSession **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGProxyAudioConsumerUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(ProxyPlugin **)&baseptr = *(ProxyAudioConsumer **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGProxyVideoConsumerUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(ProxyPlugin **)&baseptr = *(ProxyVideoConsumer **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGProxyAudioProducerUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(ProxyPlugin **)&baseptr = *(ProxyAudioProducer **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGProxyVideoProducerUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(ProxyPlugin **)&baseptr = *(ProxyVideoProducer **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_SWIGSipStackUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
- jlong baseptr = 0;
- (void)jenv;
- (void)jcls;
- *(SafeObject **)&baseptr = *(SipStack **)&jarg1;
- return baseptr;
-}
-
-SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_swig_1module_1init(JNIEnv *jenv, jclass jcls) {
- int i;
-
- static struct {
- const char *method;
- const char *signature;
- } methods[33] = {
- {
- "SwigDirector_DDebugCallback_OnDebugInfo", "(Lorg/doubango/tinyWRAP/DDebugCallback;Ljava/lang/String;)I"
- },
- {
- "SwigDirector_DDebugCallback_OnDebugWarn", "(Lorg/doubango/tinyWRAP/DDebugCallback;Ljava/lang/String;)I"
- },
- {
- "SwigDirector_DDebugCallback_OnDebugError", "(Lorg/doubango/tinyWRAP/DDebugCallback;Ljava/lang/String;)I"
- },
- {
- "SwigDirector_DDebugCallback_OnDebugFatal", "(Lorg/doubango/tinyWRAP/DDebugCallback;Ljava/lang/String;)I"
- },
- {
- "SwigDirector_ProxyPluginMgrCallback_OnPluginCreated", "(Lorg/doubango/tinyWRAP/ProxyPluginMgrCallback;Ljava/math/BigInteger;I)I"
- },
- {
- "SwigDirector_ProxyPluginMgrCallback_OnPluginDestroyed", "(Lorg/doubango/tinyWRAP/ProxyPluginMgrCallback;Ljava/math/BigInteger;I)I"
- },
- {
- "SwigDirector_ProxyAudioConsumerCallback_prepare", "(Lorg/doubango/tinyWRAP/ProxyAudioConsumerCallback;III)I"
- },
- {
- "SwigDirector_ProxyAudioConsumerCallback_start", "(Lorg/doubango/tinyWRAP/ProxyAudioConsumerCallback;)I"
- },
- {
- "SwigDirector_ProxyAudioConsumerCallback_pause", "(Lorg/doubango/tinyWRAP/ProxyAudioConsumerCallback;)I"
- },
- {
- "SwigDirector_ProxyAudioConsumerCallback_stop", "(Lorg/doubango/tinyWRAP/ProxyAudioConsumerCallback;)I"
- },
- {
- "SwigDirector_ProxyVideoConsumerCallback_prepare", "(Lorg/doubango/tinyWRAP/ProxyVideoConsumerCallback;III)I"
- },
- {
- "SwigDirector_ProxyVideoConsumerCallback_consume", "(Lorg/doubango/tinyWRAP/ProxyVideoConsumerCallback;J)I"
- },
- {
- "SwigDirector_ProxyVideoConsumerCallback_start", "(Lorg/doubango/tinyWRAP/ProxyVideoConsumerCallback;)I"
- },
- {
- "SwigDirector_ProxyVideoConsumerCallback_pause", "(Lorg/doubango/tinyWRAP/ProxyVideoConsumerCallback;)I"
- },
- {
- "SwigDirector_ProxyVideoConsumerCallback_stop", "(Lorg/doubango/tinyWRAP/ProxyVideoConsumerCallback;)I"
- },
- {
- "SwigDirector_ProxyAudioProducerCallback_prepare", "(Lorg/doubango/tinyWRAP/ProxyAudioProducerCallback;III)I"
- },
- {
- "SwigDirector_ProxyAudioProducerCallback_start", "(Lorg/doubango/tinyWRAP/ProxyAudioProducerCallback;)I"
- },
- {
- "SwigDirector_ProxyAudioProducerCallback_pause", "(Lorg/doubango/tinyWRAP/ProxyAudioProducerCallback;)I"
- },
- {
- "SwigDirector_ProxyAudioProducerCallback_stop", "(Lorg/doubango/tinyWRAP/ProxyAudioProducerCallback;)I"
- },
- {
- "SwigDirector_ProxyVideoProducerCallback_prepare", "(Lorg/doubango/tinyWRAP/ProxyVideoProducerCallback;III)I"
- },
- {
- "SwigDirector_ProxyVideoProducerCallback_start", "(Lorg/doubango/tinyWRAP/ProxyVideoProducerCallback;)I"
- },
- {
- "SwigDirector_ProxyVideoProducerCallback_pause", "(Lorg/doubango/tinyWRAP/ProxyVideoProducerCallback;)I"
- },
- {
- "SwigDirector_ProxyVideoProducerCallback_stop", "(Lorg/doubango/tinyWRAP/ProxyVideoProducerCallback;)I"
- },
- {
- "SwigDirector_SipCallback_OnDialogEvent", "(Lorg/doubango/tinyWRAP/SipCallback;J)I"
- },
- {
- "SwigDirector_SipCallback_OnStackEvent", "(Lorg/doubango/tinyWRAP/SipCallback;J)I"
- },
- {
- "SwigDirector_SipCallback_OnInviteEvent", "(Lorg/doubango/tinyWRAP/SipCallback;J)I"
- },
- {
- "SwigDirector_SipCallback_OnMessagingEvent", "(Lorg/doubango/tinyWRAP/SipCallback;J)I"
- },
- {
- "SwigDirector_SipCallback_OnOptionsEvent", "(Lorg/doubango/tinyWRAP/SipCallback;J)I"
- },
- {
- "SwigDirector_SipCallback_OnPublicationEvent", "(Lorg/doubango/tinyWRAP/SipCallback;J)I"
- },
- {
- "SwigDirector_SipCallback_OnRegistrationEvent", "(Lorg/doubango/tinyWRAP/SipCallback;J)I"
- },
- {
- "SwigDirector_SipCallback_OnSubscriptionEvent", "(Lorg/doubango/tinyWRAP/SipCallback;J)I"
- },
- {
- "SwigDirector_XcapCallback_onEvent", "(Lorg/doubango/tinyWRAP/XcapCallback;J)I"
- },
- {
- "SwigDirector_MsrpCallback_OnEvent", "(Lorg/doubango/tinyWRAP/MsrpCallback;J)I"
- }
- };
- Swig::jclass_tinyWRAPJNI = (jclass) jenv->NewGlobalRef(jcls);
- if (!Swig::jclass_tinyWRAPJNI) return;
- for (i = 0; i < (int) (sizeof(methods)/sizeof(methods[0])); ++i) {
- Swig::director_methids[i] = jenv->GetStaticMethodID(jcls, methods[i].method, methods[i].signature);
- if (!Swig::director_methids[i]) return;
- }
-}
-
-
-#ifdef __cplusplus
-}
-#endif
-
diff --git a/branches/1.0/bindings/java/tinyWRAP_wrap.h b/branches/1.0/bindings/java/tinyWRAP_wrap.h
deleted file mode 100644
index dcccf16..0000000
--- a/branches/1.0/bindings/java/tinyWRAP_wrap.h
+++ /dev/null
@@ -1,174 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * This file is not intended to be easily readable and contains a number of
- * coding conventions designed to improve portability and efficiency. Do not make
- * changes to this file unless you know what you are doing--modify the SWIG
- * interface file instead.
- * ----------------------------------------------------------------------------- */
-
-#ifndef SWIG_tinyWRAP_WRAP_H_
-#define SWIG_tinyWRAP_WRAP_H_
-
-class SwigDirector_DDebugCallback : public DDebugCallback, public Swig::Director {
-
-public:
- void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global);
- SwigDirector_DDebugCallback(JNIEnv *jenv);
- virtual ~SwigDirector_DDebugCallback();
- virtual int OnDebugInfo(char const *message);
- virtual int OnDebugWarn(char const *message);
- virtual int OnDebugError(char const *message);
- virtual int OnDebugFatal(char const *message);
-public:
- bool swig_overrides(int n) {
- return (n < 4 ? swig_override[n] : false);
- }
-protected:
- bool swig_override[4];
-};
-
-class SwigDirector_ProxyPluginMgrCallback : public ProxyPluginMgrCallback, public Swig::Director {
-
-public:
- void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global);
- SwigDirector_ProxyPluginMgrCallback(JNIEnv *jenv);
- virtual ~SwigDirector_ProxyPluginMgrCallback();
- virtual int OnPluginCreated(uint64_t id, enum twrap_proxy_plugin_type_e type);
- virtual int OnPluginDestroyed(uint64_t id, enum twrap_proxy_plugin_type_e type);
-public:
- bool swig_overrides(int n) {
- return (n < 2 ? swig_override[n] : false);
- }
-protected:
- bool swig_override[2];
-};
-
-class SwigDirector_ProxyAudioConsumerCallback : public ProxyAudioConsumerCallback, public Swig::Director {
-
-public:
- void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global);
- SwigDirector_ProxyAudioConsumerCallback(JNIEnv *jenv);
- virtual ~SwigDirector_ProxyAudioConsumerCallback();
- virtual int prepare(int ptime, int rate, int channels);
- virtual int start();
- virtual int pause();
- virtual int stop();
-public:
- bool swig_overrides(int n) {
- return (n < 4 ? swig_override[n] : false);
- }
-protected:
- bool swig_override[4];
-};
-
-class SwigDirector_ProxyVideoConsumerCallback : public ProxyVideoConsumerCallback, public Swig::Director {
-
-public:
- void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global);
- SwigDirector_ProxyVideoConsumerCallback(JNIEnv *jenv);
- virtual ~SwigDirector_ProxyVideoConsumerCallback();
- virtual int prepare(int width, int height, int fps);
- virtual int consume(ProxyVideoFrame const *frame);
- virtual int start();
- virtual int pause();
- virtual int stop();
-public:
- bool swig_overrides(int n) {
- return (n < 5 ? swig_override[n] : false);
- }
-protected:
- bool swig_override[5];
-};
-
-class SwigDirector_ProxyAudioProducerCallback : public ProxyAudioProducerCallback, public Swig::Director {
-
-public:
- void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global);
- SwigDirector_ProxyAudioProducerCallback(JNIEnv *jenv);
- virtual ~SwigDirector_ProxyAudioProducerCallback();
- virtual int prepare(int ptime, int rate, int channels);
- virtual int start();
- virtual int pause();
- virtual int stop();
-public:
- bool swig_overrides(int n) {
- return (n < 4 ? swig_override[n] : false);
- }
-protected:
- bool swig_override[4];
-};
-
-class SwigDirector_ProxyVideoProducerCallback : public ProxyVideoProducerCallback, public Swig::Director {
-
-public:
- void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global);
- SwigDirector_ProxyVideoProducerCallback(JNIEnv *jenv);
- virtual ~SwigDirector_ProxyVideoProducerCallback();
- virtual int prepare(int width, int height, int fps);
- virtual int start();
- virtual int pause();
- virtual int stop();
-public:
- bool swig_overrides(int n) {
- return (n < 4 ? swig_override[n] : false);
- }
-protected:
- bool swig_override[4];
-};
-
-class SwigDirector_SipCallback : public SipCallback, public Swig::Director {
-
-public:
- void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global);
- SwigDirector_SipCallback(JNIEnv *jenv);
- virtual ~SwigDirector_SipCallback();
- virtual int OnDialogEvent(DialogEvent const *e);
- virtual int OnStackEvent(StackEvent const *e);
- virtual int OnInviteEvent(InviteEvent const *e);
- virtual int OnMessagingEvent(MessagingEvent const *e);
- virtual int OnOptionsEvent(OptionsEvent const *e);
- virtual int OnPublicationEvent(PublicationEvent const *e);
- virtual int OnRegistrationEvent(RegistrationEvent const *e);
- virtual int OnSubscriptionEvent(SubscriptionEvent const *e);
-public:
- bool swig_overrides(int n) {
- return (n < 8 ? swig_override[n] : false);
- }
-protected:
- bool swig_override[8];
-};
-
-class SwigDirector_XcapCallback : public XcapCallback, public Swig::Director {
-
-public:
- void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global);
- SwigDirector_XcapCallback(JNIEnv *jenv);
- virtual ~SwigDirector_XcapCallback();
- virtual int onEvent(XcapEvent const *e) const;
-public:
- bool swig_overrides(int n) {
- return (n < 1 ? swig_override[n] : false);
- }
-protected:
- bool swig_override[1];
-};
-
-class SwigDirector_MsrpCallback : public MsrpCallback, public Swig::Director {
-
-public:
- void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global);
- SwigDirector_MsrpCallback(JNIEnv *jenv);
- virtual ~SwigDirector_MsrpCallback();
- virtual int OnEvent(MsrpEvent const *e);
-public:
- bool swig_overrides(int n) {
- return (n < 1 ? swig_override[n] : false);
- }
-protected:
- bool swig_override[1];
-};
-
-
-#endif
diff --git a/branches/1.0/bindings/java/tmedia_bandwidth_level_t.java b/branches/1.0/bindings/java/tmedia_bandwidth_level_t.java
deleted file mode 100644
index 3d094f3..0000000
--- a/branches/1.0/bindings/java/tmedia_bandwidth_level_t.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum tmedia_bandwidth_level_t {
- tmedia_bl_low,
- tmedia_bl_medium,
- tmedia_bl_hight;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static tmedia_bandwidth_level_t swigToEnum(int swigValue) {
- tmedia_bandwidth_level_t[] swigValues = tmedia_bandwidth_level_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (tmedia_bandwidth_level_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + tmedia_bandwidth_level_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private tmedia_bandwidth_level_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private tmedia_bandwidth_level_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private tmedia_bandwidth_level_t(tmedia_bandwidth_level_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/tmedia_chroma_t.java b/branches/1.0/bindings/java/tmedia_chroma_t.java
deleted file mode 100644
index 18fbb97..0000000
--- a/branches/1.0/bindings/java/tmedia_chroma_t.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum tmedia_chroma_t {
- tmedia_rgb24,
- tmedia_bgr24,
- tmedia_rgb32,
- tmedia_rgb565le,
- tmedia_rgb565be,
- tmedia_nv12,
- tmedia_nv21,
- tmedia_yuv422p,
- tmedia_uyvy422,
- tmedia_yuv420p;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static tmedia_chroma_t swigToEnum(int swigValue) {
- tmedia_chroma_t[] swigValues = tmedia_chroma_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (tmedia_chroma_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + tmedia_chroma_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private tmedia_chroma_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private tmedia_chroma_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private tmedia_chroma_t(tmedia_chroma_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/tmedia_qos_strength_t.java b/branches/1.0/bindings/java/tmedia_qos_strength_t.java
deleted file mode 100644
index 5bd8017..0000000
--- a/branches/1.0/bindings/java/tmedia_qos_strength_t.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum tmedia_qos_strength_t {
- tmedia_qos_strength_none,
- tmedia_qos_strength_failure,
- tmedia_qos_strength_unknown,
- tmedia_qos_strength_optional,
- tmedia_qos_strength_mandatory;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static tmedia_qos_strength_t swigToEnum(int swigValue) {
- tmedia_qos_strength_t[] swigValues = tmedia_qos_strength_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (tmedia_qos_strength_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + tmedia_qos_strength_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private tmedia_qos_strength_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private tmedia_qos_strength_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private tmedia_qos_strength_t(tmedia_qos_strength_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/tmedia_qos_stype_t.java b/branches/1.0/bindings/java/tmedia_qos_stype_t.java
deleted file mode 100644
index e81416e..0000000
--- a/branches/1.0/bindings/java/tmedia_qos_stype_t.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum tmedia_qos_stype_t {
- tmedia_qos_stype_none,
- tmedia_qos_stype_segmented,
- tmedia_qos_stype_e2e;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static tmedia_qos_stype_t swigToEnum(int swigValue) {
- tmedia_qos_stype_t[] swigValues = tmedia_qos_stype_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (tmedia_qos_stype_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + tmedia_qos_stype_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private tmedia_qos_stype_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private tmedia_qos_stype_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private tmedia_qos_stype_t(tmedia_qos_stype_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/tmsrp_event_type_t.java b/branches/1.0/bindings/java/tmsrp_event_type_t.java
deleted file mode 100644
index c849e75..0000000
--- a/branches/1.0/bindings/java/tmsrp_event_type_t.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum tmsrp_event_type_t {
- tmsrp_event_type_none,
- tmsrp_event_type_connected,
- tmsrp_event_type_disconnected,
- tmsrp_event_type_message;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static tmsrp_event_type_t swigToEnum(int swigValue) {
- tmsrp_event_type_t[] swigValues = tmsrp_event_type_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (tmsrp_event_type_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + tmsrp_event_type_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private tmsrp_event_type_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private tmsrp_event_type_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private tmsrp_event_type_t(tmsrp_event_type_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/tmsrp_request_type_t.java b/branches/1.0/bindings/java/tmsrp_request_type_t.java
deleted file mode 100644
index 5c0d691..0000000
--- a/branches/1.0/bindings/java/tmsrp_request_type_t.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum tmsrp_request_type_t {
- tmsrp_NONE(0),
- tmsrp_SEND,
- tmsrp_REPORT,
- tmsrp_AUTH;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static tmsrp_request_type_t swigToEnum(int swigValue) {
- tmsrp_request_type_t[] swigValues = tmsrp_request_type_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (tmsrp_request_type_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + tmsrp_request_type_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private tmsrp_request_type_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private tmsrp_request_type_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private tmsrp_request_type_t(tmsrp_request_type_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/tsip_event_type_t.java b/branches/1.0/bindings/java/tsip_event_type_t.java
deleted file mode 100644
index 6527ee1..0000000
--- a/branches/1.0/bindings/java/tsip_event_type_t.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum tsip_event_type_t {
- tsip_event_invite,
- tsip_event_message,
- tsip_event_options,
- tsip_event_publish,
- tsip_event_register,
- tsip_event_subscribe,
- tsip_event_dialog;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static tsip_event_type_t swigToEnum(int swigValue) {
- tsip_event_type_t[] swigValues = tsip_event_type_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (tsip_event_type_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + tsip_event_type_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private tsip_event_type_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private tsip_event_type_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private tsip_event_type_t(tsip_event_type_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/tsip_invite_event_type_t.java b/branches/1.0/bindings/java/tsip_invite_event_type_t.java
deleted file mode 100644
index 64f036d..0000000
--- a/branches/1.0/bindings/java/tsip_invite_event_type_t.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum tsip_invite_event_type_t {
- tsip_i_newcall,
- tsip_i_request,
- tsip_ao_request,
- tsip_o_ect_ok,
- tsip_o_ect_nok,
- tsip_i_ect,
- tsip_m_early_media,
- tsip_m_local_hold_ok,
- tsip_m_local_hold_nok,
- tsip_m_local_resume_ok,
- tsip_m_local_resume_nok,
- tsip_m_remote_hold,
- tsip_m_remote_resume;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static tsip_invite_event_type_t swigToEnum(int swigValue) {
- tsip_invite_event_type_t[] swigValues = tsip_invite_event_type_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (tsip_invite_event_type_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + tsip_invite_event_type_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private tsip_invite_event_type_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private tsip_invite_event_type_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private tsip_invite_event_type_t(tsip_invite_event_type_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/tsip_message_event_type_t.java b/branches/1.0/bindings/java/tsip_message_event_type_t.java
deleted file mode 100644
index 280845a..0000000
--- a/branches/1.0/bindings/java/tsip_message_event_type_t.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum tsip_message_event_type_t {
- tsip_i_message,
- tsip_ao_message;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static tsip_message_event_type_t swigToEnum(int swigValue) {
- tsip_message_event_type_t[] swigValues = tsip_message_event_type_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (tsip_message_event_type_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + tsip_message_event_type_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private tsip_message_event_type_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private tsip_message_event_type_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private tsip_message_event_type_t(tsip_message_event_type_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/tsip_options_event_type_t.java b/branches/1.0/bindings/java/tsip_options_event_type_t.java
deleted file mode 100644
index 7016676..0000000
--- a/branches/1.0/bindings/java/tsip_options_event_type_t.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum tsip_options_event_type_t {
- tsip_i_options,
- tsip_ao_options;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static tsip_options_event_type_t swigToEnum(int swigValue) {
- tsip_options_event_type_t[] swigValues = tsip_options_event_type_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (tsip_options_event_type_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + tsip_options_event_type_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private tsip_options_event_type_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private tsip_options_event_type_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private tsip_options_event_type_t(tsip_options_event_type_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/tsip_publish_event_type_t.java b/branches/1.0/bindings/java/tsip_publish_event_type_t.java
deleted file mode 100644
index a9ec14a..0000000
--- a/branches/1.0/bindings/java/tsip_publish_event_type_t.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum tsip_publish_event_type_t {
- tsip_i_publish,
- tsip_ao_publish,
- tsip_i_unpublish,
- tsip_ao_unpublish;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static tsip_publish_event_type_t swigToEnum(int swigValue) {
- tsip_publish_event_type_t[] swigValues = tsip_publish_event_type_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (tsip_publish_event_type_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + tsip_publish_event_type_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private tsip_publish_event_type_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private tsip_publish_event_type_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private tsip_publish_event_type_t(tsip_publish_event_type_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/tsip_register_event_type_t.java b/branches/1.0/bindings/java/tsip_register_event_type_t.java
deleted file mode 100644
index 298204e..0000000
--- a/branches/1.0/bindings/java/tsip_register_event_type_t.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum tsip_register_event_type_t {
- tsip_i_newreg,
- tsip_i_register,
- tsip_ao_register,
- tsip_i_unregister,
- tsip_ao_unregister;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static tsip_register_event_type_t swigToEnum(int swigValue) {
- tsip_register_event_type_t[] swigValues = tsip_register_event_type_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (tsip_register_event_type_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + tsip_register_event_type_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private tsip_register_event_type_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private tsip_register_event_type_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private tsip_register_event_type_t(tsip_register_event_type_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/tsip_subscribe_event_type_t.java b/branches/1.0/bindings/java/tsip_subscribe_event_type_t.java
deleted file mode 100644
index 5091b65..0000000
--- a/branches/1.0/bindings/java/tsip_subscribe_event_type_t.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum tsip_subscribe_event_type_t {
- tsip_i_subscribe,
- tsip_ao_subscribe,
- tsip_i_unsubscribe,
- tsip_ao_unsubscribe,
- tsip_i_notify,
- tsip_ao_notify;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static tsip_subscribe_event_type_t swigToEnum(int swigValue) {
- tsip_subscribe_event_type_t[] swigValues = tsip_subscribe_event_type_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (tsip_subscribe_event_type_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + tsip_subscribe_event_type_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private tsip_subscribe_event_type_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private tsip_subscribe_event_type_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private tsip_subscribe_event_type_t(tsip_subscribe_event_type_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/twrap_media_type_t.java b/branches/1.0/bindings/java/twrap_media_type_t.java
deleted file mode 100644
index c70e6c9..0000000
--- a/branches/1.0/bindings/java/twrap_media_type_t.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum twrap_media_type_t {
- twrap_media_none,
- twrap_media_audio,
- twrap_media_video,
- twrap_media_audiovideo,
- twrap_media_msrp;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static twrap_media_type_t swigToEnum(int swigValue) {
- twrap_media_type_t[] swigValues = twrap_media_type_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (twrap_media_type_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + twrap_media_type_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private twrap_media_type_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private twrap_media_type_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private twrap_media_type_t(twrap_media_type_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/twrap_proxy_plugin_type_t.java b/branches/1.0/bindings/java/twrap_proxy_plugin_type_t.java
deleted file mode 100644
index bc0421b..0000000
--- a/branches/1.0/bindings/java/twrap_proxy_plugin_type_t.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum twrap_proxy_plugin_type_t {
- twrap_proxy_plugin_audio_producer,
- twrap_proxy_plugin_video_producer,
- twrap_proxy_plugin_audio_consumer,
- twrap_proxy_plugin_video_consumer;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static twrap_proxy_plugin_type_t swigToEnum(int swigValue) {
- twrap_proxy_plugin_type_t[] swigValues = twrap_proxy_plugin_type_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (twrap_proxy_plugin_type_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + twrap_proxy_plugin_type_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private twrap_proxy_plugin_type_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private twrap_proxy_plugin_type_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private twrap_proxy_plugin_type_t(twrap_proxy_plugin_type_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/twrap_rpmessage_type_t.java b/branches/1.0/bindings/java/twrap_rpmessage_type_t.java
deleted file mode 100644
index f8ed86a..0000000
--- a/branches/1.0/bindings/java/twrap_rpmessage_type_t.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum twrap_rpmessage_type_t {
- twrap_rpmessage_type_sms_none,
- twrap_rpmessage_type_sms_submit,
- twrap_rpmessage_type_sms_deliver,
- twrap_rpmessage_type_sms_ack,
- twrap_rpmessage_type_sms_error;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static twrap_rpmessage_type_t swigToEnum(int swigValue) {
- twrap_rpmessage_type_t[] swigValues = twrap_rpmessage_type_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (twrap_rpmessage_type_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + twrap_rpmessage_type_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private twrap_rpmessage_type_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private twrap_rpmessage_type_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private twrap_rpmessage_type_t(twrap_rpmessage_type_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/java/twrap_sms_type_t.java b/branches/1.0/bindings/java/twrap_sms_type_t.java
deleted file mode 100644
index dde6e1b..0000000
--- a/branches/1.0/bindings/java/twrap_sms_type_t.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package org.doubango.tinyWRAP;
-
-public enum twrap_sms_type_t {
- twrap_sms_type_none,
- twrap_sms_type_rpdata,
- twrap_sms_type_smma,
- twrap_sms_type_ack,
- twrap_sms_type_error;
-
- public final int swigValue() {
- return swigValue;
- }
-
- public static twrap_sms_type_t swigToEnum(int swigValue) {
- twrap_sms_type_t[] swigValues = twrap_sms_type_t.class.getEnumConstants();
- if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
- return swigValues[swigValue];
- for (twrap_sms_type_t swigEnum : swigValues)
- if (swigEnum.swigValue == swigValue)
- return swigEnum;
- throw new IllegalArgumentException("No enum " + twrap_sms_type_t.class + " with value " + swigValue);
- }
-
- @SuppressWarnings("unused")
- private twrap_sms_type_t() {
- this.swigValue = SwigNext.next++;
- }
-
- @SuppressWarnings("unused")
- private twrap_sms_type_t(int swigValue) {
- this.swigValue = swigValue;
- SwigNext.next = swigValue+1;
- }
-
- @SuppressWarnings("unused")
- private twrap_sms_type_t(twrap_sms_type_t swigEnum) {
- this.swigValue = swigEnum.swigValue;
- SwigNext.next = this.swigValue+1;
- }
-
- private final int swigValue;
-
- private static class SwigNext {
- private static int next = 0;
- }
-}
-
diff --git a/branches/1.0/bindings/objc/objc.i b/branches/1.0/bindings/objc/objc.i
deleted file mode 100644
index a205307..0000000
--- a/branches/1.0/bindings/objc/objc.i
+++ /dev/null
@@ -1,7 +0,0 @@
-/* File : objc.i */
-
-/* http://www.swig.org/Doc1.3/Library.html#Library_carrays
-* 8.3.2 Passing binary data */
-%apply (char *STRING, int LENGTH) { (const void* buffer, int len) };
-
-%include ../_common/tinyWRAP.i
diff --git a/branches/1.0/bindings/perl/perl.i b/branches/1.0/bindings/perl/perl.i
deleted file mode 100644
index fdecdd8..0000000
--- a/branches/1.0/bindings/perl/perl.i
+++ /dev/null
@@ -1,7 +0,0 @@
-/* File : perl.i */
-
-/* http://www.swig.org/Doc1.3/Library.html#Library_carrays
-* 8.3.2 Passing binary data */
-%apply (char *STRING, int LENGTH) { (const void* buffer, int len) };
-
-%include ../_common/tinyWRAP.i
diff --git a/branches/1.0/bindings/perl/tinyWRAP.pm b/branches/1.0/bindings/perl/tinyWRAP.pm
deleted file mode 100644
index a4516eb..0000000
--- a/branches/1.0/bindings/perl/tinyWRAP.pm
+++ /dev/null
@@ -1,2244 +0,0 @@
-# This file was automatically generated by SWIG (http://www.swig.org).
-# Version 1.3.39
-#
-# Do not make changes to this file unless you know what you are doing--modify
-# the SWIG interface file instead.
-
-package tinyWRAP;
-use base qw(Exporter);
-use base qw(DynaLoader);
-package tinyWRAPc;
-bootstrap tinyWRAP;
-package tinyWRAP;
-@EXPORT = qw();
-
-# ---------- BASE METHODS -------------
-
-package tinyWRAP;
-
-sub TIEHASH {
- my ($classname,$obj) = @_;
- return bless $obj, $classname;
-}
-
-sub CLEAR { }
-
-sub FIRSTKEY { }
-
-sub NEXTKEY { }
-
-sub FETCH {
- my ($self,$field) = @_;
- my $member_func = "swig_${field}_get";
- $self->$member_func();
-}
-
-sub STORE {
- my ($self,$field,$newval) = @_;
- my $member_func = "swig_${field}_set";
- $self->$member_func($newval);
-}
-
-sub this {
- my $ptr = shift;
- return tied(%$ptr);
-}
-
-
-# ------- FUNCTION WRAPPERS --------
-
-package tinyWRAP;
-
-
-############# Class : tinyWRAP::DDebugCallback ##############
-
-package tinyWRAP::DDebugCallback;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub new {
- my $pkg = shift;
- my $self = tinyWRAPc::new_DDebugCallback(@_);
- bless $self, $pkg if defined($self);
-}
-
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_DDebugCallback($self);
- delete $OWNER{$self};
- }
-}
-
-*OnDebugInfo = *tinyWRAPc::DDebugCallback_OnDebugInfo;
-*OnDebugWarn = *tinyWRAPc::DDebugCallback_OnDebugWarn;
-*OnDebugError = *tinyWRAPc::DDebugCallback_OnDebugError;
-*OnDebugFatal = *tinyWRAPc::DDebugCallback_OnDebugFatal;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::ActionConfig ##############
-
-package tinyWRAP::ActionConfig;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub new {
- my $pkg = shift;
- my $self = tinyWRAPc::new_ActionConfig(@_);
- bless $self, $pkg if defined($self);
-}
-
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_ActionConfig($self);
- delete $OWNER{$self};
- }
-}
-
-*addHeader = *tinyWRAPc::ActionConfig_addHeader;
-*setResponseLine = *tinyWRAPc::ActionConfig_setResponseLine;
-*setMediaString = *tinyWRAPc::ActionConfig_setMediaString;
-*setMediaInt = *tinyWRAPc::ActionConfig_setMediaInt;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::MediaSessionMgr ##############
-
-package tinyWRAP::MediaSessionMgr;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_MediaSessionMgr($self);
- delete $OWNER{$self};
- }
-}
-
-*sessionSetInt32 = *tinyWRAPc::MediaSessionMgr_sessionSetInt32;
-*consumerSetInt32 = *tinyWRAPc::MediaSessionMgr_consumerSetInt32;
-*consumerSetInt64 = *tinyWRAPc::MediaSessionMgr_consumerSetInt64;
-*producerSetInt32 = *tinyWRAPc::MediaSessionMgr_producerSetInt32;
-*producerSetInt64 = *tinyWRAPc::MediaSessionMgr_producerSetInt64;
-*findProxyPluginConsumer = *tinyWRAPc::MediaSessionMgr_findProxyPluginConsumer;
-*findProxyPluginProducer = *tinyWRAPc::MediaSessionMgr_findProxyPluginProducer;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::MediaContent ##############
-
-package tinyWRAP::MediaContent;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_MediaContent($self);
- delete $OWNER{$self};
- }
-}
-
-*getType = *tinyWRAPc::MediaContent_getType;
-*getDataLength = *tinyWRAPc::MediaContent_getDataLength;
-*getData = *tinyWRAPc::MediaContent_getData;
-*parse = *tinyWRAPc::MediaContent_parse;
-*getPayloadLength = *tinyWRAPc::MediaContent_getPayloadLength;
-*getPayload = *tinyWRAPc::MediaContent_getPayload;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::MediaContentCPIM ##############
-
-package tinyWRAP::MediaContentCPIM;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP::MediaContent tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_MediaContentCPIM($self);
- delete $OWNER{$self};
- }
-}
-
-*getPayloadLength = *tinyWRAPc::MediaContentCPIM_getPayloadLength;
-*getPayload = *tinyWRAPc::MediaContentCPIM_getPayload;
-*getHeaderValue = *tinyWRAPc::MediaContentCPIM_getHeaderValue;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::SipUri ##############
-
-package tinyWRAP::SipUri;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub new {
- my $pkg = shift;
- my $self = tinyWRAPc::new_SipUri(@_);
- bless $self, $pkg if defined($self);
-}
-
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_SipUri($self);
- delete $OWNER{$self};
- }
-}
-
-*isValid = *tinyWRAPc::SipUri_isValid;
-*getScheme = *tinyWRAPc::SipUri_getScheme;
-*getHost = *tinyWRAPc::SipUri_getHost;
-*getPort = *tinyWRAPc::SipUri_getPort;
-*getUserName = *tinyWRAPc::SipUri_getUserName;
-*getPassword = *tinyWRAPc::SipUri_getPassword;
-*getDisplayName = *tinyWRAPc::SipUri_getDisplayName;
-*getParamValue = *tinyWRAPc::SipUri_getParamValue;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::SdpMessage ##############
-
-package tinyWRAP::SdpMessage;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub new {
- my $pkg = shift;
- my $self = tinyWRAPc::new_SdpMessage(@_);
- bless $self, $pkg if defined($self);
-}
-
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_SdpMessage($self);
- delete $OWNER{$self};
- }
-}
-
-*getSdpHeaderValue = *tinyWRAPc::SdpMessage_getSdpHeaderValue;
-*getSdpHeaderAValue = *tinyWRAPc::SdpMessage_getSdpHeaderAValue;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::SipMessage ##############
-
-package tinyWRAP::SipMessage;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub new {
- my $pkg = shift;
- my $self = tinyWRAPc::new_SipMessage(@_);
- bless $self, $pkg if defined($self);
-}
-
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_SipMessage($self);
- delete $OWNER{$self};
- }
-}
-
-*getSipHeaderValue = *tinyWRAPc::SipMessage_getSipHeaderValue;
-*getSipHeaderParamValue = *tinyWRAPc::SipMessage_getSipHeaderParamValue;
-*getSipContentLength = *tinyWRAPc::SipMessage_getSipContentLength;
-*getSipContent = *tinyWRAPc::SipMessage_getSipContent;
-*getSdpMessage = *tinyWRAPc::SipMessage_getSdpMessage;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::SipEvent ##############
-
-package tinyWRAP::SipEvent;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_SipEvent($self);
- delete $OWNER{$self};
- }
-}
-
-*getCode = *tinyWRAPc::SipEvent_getCode;
-*getPhrase = *tinyWRAPc::SipEvent_getPhrase;
-*getBaseSession = *tinyWRAPc::SipEvent_getBaseSession;
-*getSipMessage = *tinyWRAPc::SipEvent_getSipMessage;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::DialogEvent ##############
-
-package tinyWRAP::DialogEvent;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP::SipEvent tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_DialogEvent($self);
- delete $OWNER{$self};
- }
-}
-
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::StackEvent ##############
-
-package tinyWRAP::StackEvent;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP::SipEvent tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_StackEvent($self);
- delete $OWNER{$self};
- }
-}
-
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::InviteEvent ##############
-
-package tinyWRAP::InviteEvent;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP::SipEvent tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_InviteEvent($self);
- delete $OWNER{$self};
- }
-}
-
-*getType = *tinyWRAPc::InviteEvent_getType;
-*getMediaType = *tinyWRAPc::InviteEvent_getMediaType;
-*getSession = *tinyWRAPc::InviteEvent_getSession;
-*takeCallSessionOwnership = *tinyWRAPc::InviteEvent_takeCallSessionOwnership;
-*takeMsrpSessionOwnership = *tinyWRAPc::InviteEvent_takeMsrpSessionOwnership;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::MessagingEvent ##############
-
-package tinyWRAP::MessagingEvent;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP::SipEvent tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_MessagingEvent($self);
- delete $OWNER{$self};
- }
-}
-
-*getType = *tinyWRAPc::MessagingEvent_getType;
-*getSession = *tinyWRAPc::MessagingEvent_getSession;
-*takeSessionOwnership = *tinyWRAPc::MessagingEvent_takeSessionOwnership;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::OptionsEvent ##############
-
-package tinyWRAP::OptionsEvent;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP::SipEvent tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_OptionsEvent($self);
- delete $OWNER{$self};
- }
-}
-
-*getType = *tinyWRAPc::OptionsEvent_getType;
-*getSession = *tinyWRAPc::OptionsEvent_getSession;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::PublicationEvent ##############
-
-package tinyWRAP::PublicationEvent;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP::SipEvent tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_PublicationEvent($self);
- delete $OWNER{$self};
- }
-}
-
-*getType = *tinyWRAPc::PublicationEvent_getType;
-*getSession = *tinyWRAPc::PublicationEvent_getSession;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::RegistrationEvent ##############
-
-package tinyWRAP::RegistrationEvent;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP::SipEvent tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_RegistrationEvent($self);
- delete $OWNER{$self};
- }
-}
-
-*getType = *tinyWRAPc::RegistrationEvent_getType;
-*getSession = *tinyWRAPc::RegistrationEvent_getSession;
-*takeSessionOwnership = *tinyWRAPc::RegistrationEvent_takeSessionOwnership;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::SubscriptionEvent ##############
-
-package tinyWRAP::SubscriptionEvent;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP::SipEvent tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_SubscriptionEvent($self);
- delete $OWNER{$self};
- }
-}
-
-*getType = *tinyWRAPc::SubscriptionEvent_getType;
-*getSession = *tinyWRAPc::SubscriptionEvent_getSession;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::SipSession ##############
-
-package tinyWRAP::SipSession;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub new {
- my $pkg = shift;
- my $self = tinyWRAPc::new_SipSession(@_);
- bless $self, $pkg if defined($self);
-}
-
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_SipSession($self);
- delete $OWNER{$self};
- }
-}
-
-*haveOwnership = *tinyWRAPc::SipSession_haveOwnership;
-*addHeader = *tinyWRAPc::SipSession_addHeader;
-*removeHeader = *tinyWRAPc::SipSession_removeHeader;
-*addCaps = *tinyWRAPc::SipSession_addCaps;
-*removeCaps = *tinyWRAPc::SipSession_removeCaps;
-*setExpires = *tinyWRAPc::SipSession_setExpires;
-*setFromUri = *tinyWRAPc::SipSession_setFromUri;
-*setToUri = *tinyWRAPc::SipSession_setToUri;
-*setSilentHangup = *tinyWRAPc::SipSession_setSilentHangup;
-*addSigCompCompartment = *tinyWRAPc::SipSession_addSigCompCompartment;
-*removeSigCompCompartment = *tinyWRAPc::SipSession_removeSigCompCompartment;
-*getId = *tinyWRAPc::SipSession_getId;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::InviteSession ##############
-
-package tinyWRAP::InviteSession;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP::SipSession tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub new {
- my $pkg = shift;
- my $self = tinyWRAPc::new_InviteSession(@_);
- bless $self, $pkg if defined($self);
-}
-
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_InviteSession($self);
- delete $OWNER{$self};
- }
-}
-
-*accept = *tinyWRAPc::InviteSession_accept;
-*hangup = *tinyWRAPc::InviteSession_hangup;
-*reject = *tinyWRAPc::InviteSession_reject;
-*getMediaMgr = *tinyWRAPc::InviteSession_getMediaMgr;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::CallSession ##############
-
-package tinyWRAP::CallSession;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP::InviteSession tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub new {
- my $pkg = shift;
- my $self = tinyWRAPc::new_CallSession(@_);
- bless $self, $pkg if defined($self);
-}
-
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_CallSession($self);
- delete $OWNER{$self};
- }
-}
-
-*callAudio = *tinyWRAPc::CallSession_callAudio;
-*callAudioVideo = *tinyWRAPc::CallSession_callAudioVideo;
-*callVideo = *tinyWRAPc::CallSession_callVideo;
-*setSessionTimer = *tinyWRAPc::CallSession_setSessionTimer;
-*set100rel = *tinyWRAPc::CallSession_set100rel;
-*setQoS = *tinyWRAPc::CallSession_setQoS;
-*hold = *tinyWRAPc::CallSession_hold;
-*resume = *tinyWRAPc::CallSession_resume;
-*sendDTMF = *tinyWRAPc::CallSession_sendDTMF;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::MsrpSession ##############
-
-package tinyWRAP::MsrpSession;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP::InviteSession tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub new {
- my $pkg = shift;
- my $self = tinyWRAPc::new_MsrpSession(@_);
- bless $self, $pkg if defined($self);
-}
-
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_MsrpSession($self);
- delete $OWNER{$self};
- }
-}
-
-*setCallback = *tinyWRAPc::MsrpSession_setCallback;
-*callMsrp = *tinyWRAPc::MsrpSession_callMsrp;
-*sendMessage = *tinyWRAPc::MsrpSession_sendMessage;
-*sendFile = *tinyWRAPc::MsrpSession_sendFile;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::MessagingSession ##############
-
-package tinyWRAP::MessagingSession;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP::SipSession tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub new {
- my $pkg = shift;
- my $self = tinyWRAPc::new_MessagingSession(@_);
- bless $self, $pkg if defined($self);
-}
-
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_MessagingSession($self);
- delete $OWNER{$self};
- }
-}
-
-*send = *tinyWRAPc::MessagingSession_send;
-*accept = *tinyWRAPc::MessagingSession_accept;
-*reject = *tinyWRAPc::MessagingSession_reject;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::OptionsSession ##############
-
-package tinyWRAP::OptionsSession;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP::SipSession tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub new {
- my $pkg = shift;
- my $self = tinyWRAPc::new_OptionsSession(@_);
- bless $self, $pkg if defined($self);
-}
-
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_OptionsSession($self);
- delete $OWNER{$self};
- }
-}
-
-*send = *tinyWRAPc::OptionsSession_send;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::PublicationSession ##############
-
-package tinyWRAP::PublicationSession;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP::SipSession tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub new {
- my $pkg = shift;
- my $self = tinyWRAPc::new_PublicationSession(@_);
- bless $self, $pkg if defined($self);
-}
-
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_PublicationSession($self);
- delete $OWNER{$self};
- }
-}
-
-*publish = *tinyWRAPc::PublicationSession_publish;
-*unPublish = *tinyWRAPc::PublicationSession_unPublish;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::RegistrationSession ##############
-
-package tinyWRAP::RegistrationSession;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP::SipSession tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub new {
- my $pkg = shift;
- my $self = tinyWRAPc::new_RegistrationSession(@_);
- bless $self, $pkg if defined($self);
-}
-
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_RegistrationSession($self);
- delete $OWNER{$self};
- }
-}
-
-*register_ = *tinyWRAPc::RegistrationSession_register_;
-*unRegister = *tinyWRAPc::RegistrationSession_unRegister;
-*accept = *tinyWRAPc::RegistrationSession_accept;
-*reject = *tinyWRAPc::RegistrationSession_reject;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::SubscriptionSession ##############
-
-package tinyWRAP::SubscriptionSession;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP::SipSession tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub new {
- my $pkg = shift;
- my $self = tinyWRAPc::new_SubscriptionSession(@_);
- bless $self, $pkg if defined($self);
-}
-
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_SubscriptionSession($self);
- delete $OWNER{$self};
- }
-}
-
-*subscribe = *tinyWRAPc::SubscriptionSession_subscribe;
-*unSubscribe = *tinyWRAPc::SubscriptionSession_unSubscribe;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::ProxyPluginMgr ##############
-
-package tinyWRAP::ProxyPluginMgr;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_ProxyPluginMgr($self);
- delete $OWNER{$self};
- }
-}
-
-*createInstance = *tinyWRAPc::ProxyPluginMgr_createInstance;
-*getInstance = *tinyWRAPc::ProxyPluginMgr_getInstance;
-*findAudioConsumer = *tinyWRAPc::ProxyPluginMgr_findAudioConsumer;
-*findVideoConsumer = *tinyWRAPc::ProxyPluginMgr_findVideoConsumer;
-*findAudioProducer = *tinyWRAPc::ProxyPluginMgr_findAudioProducer;
-*findVideoProducer = *tinyWRAPc::ProxyPluginMgr_findVideoProducer;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::ProxyPluginMgrCallback ##############
-
-package tinyWRAP::ProxyPluginMgrCallback;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub new {
- my $pkg = shift;
- my $self = tinyWRAPc::new_ProxyPluginMgrCallback(@_);
- bless $self, $pkg if defined($self);
-}
-
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_ProxyPluginMgrCallback($self);
- delete $OWNER{$self};
- }
-}
-
-*OnPluginCreated = *tinyWRAPc::ProxyPluginMgrCallback_OnPluginCreated;
-*OnPluginDestroyed = *tinyWRAPc::ProxyPluginMgrCallback_OnPluginDestroyed;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::ProxyPlugin ##############
-
-package tinyWRAP::ProxyPlugin;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_ProxyPlugin($self);
- delete $OWNER{$self};
- }
-}
-
-*getType = *tinyWRAPc::ProxyPlugin_getType;
-*getId = *tinyWRAPc::ProxyPlugin_getId;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::ProxyAudioConsumerCallback ##############
-
-package tinyWRAP::ProxyAudioConsumerCallback;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub new {
- my $pkg = shift;
- my $self = tinyWRAPc::new_ProxyAudioConsumerCallback(@_);
- bless $self, $pkg if defined($self);
-}
-
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_ProxyAudioConsumerCallback($self);
- delete $OWNER{$self};
- }
-}
-
-*prepare = *tinyWRAPc::ProxyAudioConsumerCallback_prepare;
-*start = *tinyWRAPc::ProxyAudioConsumerCallback_start;
-*pause = *tinyWRAPc::ProxyAudioConsumerCallback_pause;
-*stop = *tinyWRAPc::ProxyAudioConsumerCallback_stop;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::ProxyAudioConsumer ##############
-
-package tinyWRAP::ProxyAudioConsumer;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP::ProxyPlugin tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_ProxyAudioConsumer($self);
- delete $OWNER{$self};
- }
-}
-
-*pull = *tinyWRAPc::ProxyAudioConsumer_pull;
-*reset = *tinyWRAPc::ProxyAudioConsumer_reset;
-*setCallback = *tinyWRAPc::ProxyAudioConsumer_setCallback;
-*getMediaSessionId = *tinyWRAPc::ProxyAudioConsumer_getMediaSessionId;
-*registerPlugin = *tinyWRAPc::ProxyAudioConsumer_registerPlugin;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::ProxyVideoConsumerCallback ##############
-
-package tinyWRAP::ProxyVideoConsumerCallback;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub new {
- my $pkg = shift;
- my $self = tinyWRAPc::new_ProxyVideoConsumerCallback(@_);
- bless $self, $pkg if defined($self);
-}
-
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_ProxyVideoConsumerCallback($self);
- delete $OWNER{$self};
- }
-}
-
-*prepare = *tinyWRAPc::ProxyVideoConsumerCallback_prepare;
-*consume = *tinyWRAPc::ProxyVideoConsumerCallback_consume;
-*start = *tinyWRAPc::ProxyVideoConsumerCallback_start;
-*pause = *tinyWRAPc::ProxyVideoConsumerCallback_pause;
-*stop = *tinyWRAPc::ProxyVideoConsumerCallback_stop;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::ProxyVideoConsumer ##############
-
-package tinyWRAP::ProxyVideoConsumer;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP::ProxyPlugin tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_ProxyVideoConsumer($self);
- delete $OWNER{$self};
- }
-}
-
-*setDisplaySize = *tinyWRAPc::ProxyVideoConsumer_setDisplaySize;
-*setCallback = *tinyWRAPc::ProxyVideoConsumer_setCallback;
-*getMediaSessionId = *tinyWRAPc::ProxyVideoConsumer_getMediaSessionId;
-*registerPlugin = *tinyWRAPc::ProxyVideoConsumer_registerPlugin;
-*setDefaultChroma = *tinyWRAPc::ProxyVideoConsumer_setDefaultChroma;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::ProxyVideoFrame ##############
-
-package tinyWRAP::ProxyVideoFrame;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_ProxyVideoFrame($self);
- delete $OWNER{$self};
- }
-}
-
-*getSize = *tinyWRAPc::ProxyVideoFrame_getSize;
-*getContent = *tinyWRAPc::ProxyVideoFrame_getContent;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::ProxyAudioProducerCallback ##############
-
-package tinyWRAP::ProxyAudioProducerCallback;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub new {
- my $pkg = shift;
- my $self = tinyWRAPc::new_ProxyAudioProducerCallback(@_);
- bless $self, $pkg if defined($self);
-}
-
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_ProxyAudioProducerCallback($self);
- delete $OWNER{$self};
- }
-}
-
-*prepare = *tinyWRAPc::ProxyAudioProducerCallback_prepare;
-*start = *tinyWRAPc::ProxyAudioProducerCallback_start;
-*pause = *tinyWRAPc::ProxyAudioProducerCallback_pause;
-*stop = *tinyWRAPc::ProxyAudioProducerCallback_stop;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::ProxyAudioProducer ##############
-
-package tinyWRAP::ProxyAudioProducer;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP::ProxyPlugin tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_ProxyAudioProducer($self);
- delete $OWNER{$self};
- }
-}
-
-*push = *tinyWRAPc::ProxyAudioProducer_push;
-*setCallback = *tinyWRAPc::ProxyAudioProducer_setCallback;
-*getMediaSessionId = *tinyWRAPc::ProxyAudioProducer_getMediaSessionId;
-*registerPlugin = *tinyWRAPc::ProxyAudioProducer_registerPlugin;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::ProxyVideoProducerCallback ##############
-
-package tinyWRAP::ProxyVideoProducerCallback;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub new {
- my $pkg = shift;
- my $self = tinyWRAPc::new_ProxyVideoProducerCallback(@_);
- bless $self, $pkg if defined($self);
-}
-
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_ProxyVideoProducerCallback($self);
- delete $OWNER{$self};
- }
-}
-
-*prepare = *tinyWRAPc::ProxyVideoProducerCallback_prepare;
-*start = *tinyWRAPc::ProxyVideoProducerCallback_start;
-*pause = *tinyWRAPc::ProxyVideoProducerCallback_pause;
-*stop = *tinyWRAPc::ProxyVideoProducerCallback_stop;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::ProxyVideoProducer ##############
-
-package tinyWRAP::ProxyVideoProducer;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP::ProxyPlugin tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_ProxyVideoProducer($self);
- delete $OWNER{$self};
- }
-}
-
-*getRotation = *tinyWRAPc::ProxyVideoProducer_getRotation;
-*setRotation = *tinyWRAPc::ProxyVideoProducer_setRotation;
-*push = *tinyWRAPc::ProxyVideoProducer_push;
-*send = *tinyWRAPc::ProxyVideoProducer_send;
-*setCallback = *tinyWRAPc::ProxyVideoProducer_setCallback;
-*getMediaSessionId = *tinyWRAPc::ProxyVideoProducer_getMediaSessionId;
-*registerPlugin = *tinyWRAPc::ProxyVideoProducer_registerPlugin;
-*setDefaultChroma = *tinyWRAPc::ProxyVideoProducer_setDefaultChroma;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::SipCallback ##############
-
-package tinyWRAP::SipCallback;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub new {
- my $pkg = shift;
- my $self = tinyWRAPc::new_SipCallback(@_);
- bless $self, $pkg if defined($self);
-}
-
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_SipCallback($self);
- delete $OWNER{$self};
- }
-}
-
-*OnDialogEvent = *tinyWRAPc::SipCallback_OnDialogEvent;
-*OnStackEvent = *tinyWRAPc::SipCallback_OnStackEvent;
-*OnInviteEvent = *tinyWRAPc::SipCallback_OnInviteEvent;
-*OnMessagingEvent = *tinyWRAPc::SipCallback_OnMessagingEvent;
-*OnOptionsEvent = *tinyWRAPc::SipCallback_OnOptionsEvent;
-*OnPublicationEvent = *tinyWRAPc::SipCallback_OnPublicationEvent;
-*OnRegistrationEvent = *tinyWRAPc::SipCallback_OnRegistrationEvent;
-*OnSubscriptionEvent = *tinyWRAPc::SipCallback_OnSubscriptionEvent;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::SafeObject ##############
-
-package tinyWRAP::SafeObject;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub new {
- my $pkg = shift;
- my $self = tinyWRAPc::new_SafeObject(@_);
- bless $self, $pkg if defined($self);
-}
-
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_SafeObject($self);
- delete $OWNER{$self};
- }
-}
-
-*Lock = *tinyWRAPc::SafeObject_Lock;
-*UnLock = *tinyWRAPc::SafeObject_UnLock;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::SipStack ##############
-
-package tinyWRAP::SipStack;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP::SafeObject tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub new {
- my $pkg = shift;
- my $self = tinyWRAPc::new_SipStack(@_);
- bless $self, $pkg if defined($self);
-}
-
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_SipStack($self);
- delete $OWNER{$self};
- }
-}
-
-*start = *tinyWRAPc::SipStack_start;
-*setDebugCallback = *tinyWRAPc::SipStack_setDebugCallback;
-*setRealm = *tinyWRAPc::SipStack_setRealm;
-*setIMPI = *tinyWRAPc::SipStack_setIMPI;
-*setIMPU = *tinyWRAPc::SipStack_setIMPU;
-*setPassword = *tinyWRAPc::SipStack_setPassword;
-*setAMF = *tinyWRAPc::SipStack_setAMF;
-*setOperatorId = *tinyWRAPc::SipStack_setOperatorId;
-*setProxyCSCF = *tinyWRAPc::SipStack_setProxyCSCF;
-*setLocalIP = *tinyWRAPc::SipStack_setLocalIP;
-*setLocalPort = *tinyWRAPc::SipStack_setLocalPort;
-*setEarlyIMS = *tinyWRAPc::SipStack_setEarlyIMS;
-*addHeader = *tinyWRAPc::SipStack_addHeader;
-*removeHeader = *tinyWRAPc::SipStack_removeHeader;
-*addDnsServer = *tinyWRAPc::SipStack_addDnsServer;
-*setDnsDiscovery = *tinyWRAPc::SipStack_setDnsDiscovery;
-*setAoR = *tinyWRAPc::SipStack_setAoR;
-*setSigCompParams = *tinyWRAPc::SipStack_setSigCompParams;
-*addSigCompCompartment = *tinyWRAPc::SipStack_addSigCompCompartment;
-*removeSigCompCompartment = *tinyWRAPc::SipStack_removeSigCompCompartment;
-*setSTUNServer = *tinyWRAPc::SipStack_setSTUNServer;
-*setSTUNCred = *tinyWRAPc::SipStack_setSTUNCred;
-*setTLSSecAgree = *tinyWRAPc::SipStack_setTLSSecAgree;
-*setSSLCretificates = *tinyWRAPc::SipStack_setSSLCretificates;
-*setIPSecSecAgree = *tinyWRAPc::SipStack_setIPSecSecAgree;
-*setIPSecParameters = *tinyWRAPc::SipStack_setIPSecParameters;
-*dnsENUM = *tinyWRAPc::SipStack_dnsENUM;
-*dnsNaptrSrv = *tinyWRAPc::SipStack_dnsNaptrSrv;
-*dnsSrv = *tinyWRAPc::SipStack_dnsSrv;
-*getLocalIPnPort = *tinyWRAPc::SipStack_getLocalIPnPort;
-*getPreferredIdentity = *tinyWRAPc::SipStack_getPreferredIdentity;
-*isValid = *tinyWRAPc::SipStack_isValid;
-*stop = *tinyWRAPc::SipStack_stop;
-*setCodecs = *tinyWRAPc::SipStack_setCodecs;
-*setCodecs_2 = *tinyWRAPc::SipStack_setCodecs_2;
-*isCodecSupported = *tinyWRAPc::SipStack_isCodecSupported;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::XcapSelector ##############
-
-package tinyWRAP::XcapSelector;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub new {
- my $pkg = shift;
- my $self = tinyWRAPc::new_XcapSelector(@_);
- bless $self, $pkg if defined($self);
-}
-
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_XcapSelector($self);
- delete $OWNER{$self};
- }
-}
-
-*setAUID = *tinyWRAPc::XcapSelector_setAUID;
-*setName = *tinyWRAPc::XcapSelector_setName;
-*setAttribute = *tinyWRAPc::XcapSelector_setAttribute;
-*setPos = *tinyWRAPc::XcapSelector_setPos;
-*setPosAttribute = *tinyWRAPc::XcapSelector_setPosAttribute;
-*setNamespace = *tinyWRAPc::XcapSelector_setNamespace;
-*getString = *tinyWRAPc::XcapSelector_getString;
-*reset = *tinyWRAPc::XcapSelector_reset;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::XcapMessage ##############
-
-package tinyWRAP::XcapMessage;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub new {
- my $pkg = shift;
- my $self = tinyWRAPc::new_XcapMessage(@_);
- bless $self, $pkg if defined($self);
-}
-
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_XcapMessage($self);
- delete $OWNER{$self};
- }
-}
-
-*getCode = *tinyWRAPc::XcapMessage_getCode;
-*getPhrase = *tinyWRAPc::XcapMessage_getPhrase;
-*getXcapHeaderValue = *tinyWRAPc::XcapMessage_getXcapHeaderValue;
-*getXcapHeaderParamValue = *tinyWRAPc::XcapMessage_getXcapHeaderParamValue;
-*getXcapContentLength = *tinyWRAPc::XcapMessage_getXcapContentLength;
-*getXcapContent = *tinyWRAPc::XcapMessage_getXcapContent;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::XcapEvent ##############
-
-package tinyWRAP::XcapEvent;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_XcapEvent($self);
- delete $OWNER{$self};
- }
-}
-
-*getType = *tinyWRAPc::XcapEvent_getType;
-*getXcapMessage = *tinyWRAPc::XcapEvent_getXcapMessage;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::XcapCallback ##############
-
-package tinyWRAP::XcapCallback;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub new {
- my $pkg = shift;
- my $self = tinyWRAPc::new_XcapCallback(@_);
- bless $self, $pkg if defined($self);
-}
-
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_XcapCallback($self);
- delete $OWNER{$self};
- }
-}
-
-*onEvent = *tinyWRAPc::XcapCallback_onEvent;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::XcapStack ##############
-
-package tinyWRAP::XcapStack;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub new {
- my $pkg = shift;
- my $self = tinyWRAPc::new_XcapStack(@_);
- bless $self, $pkg if defined($self);
-}
-
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_XcapStack($self);
- delete $OWNER{$self};
- }
-}
-
-*registerAUID = *tinyWRAPc::XcapStack_registerAUID;
-*start = *tinyWRAPc::XcapStack_start;
-*setCredentials = *tinyWRAPc::XcapStack_setCredentials;
-*setXcapRoot = *tinyWRAPc::XcapStack_setXcapRoot;
-*setLocalIP = *tinyWRAPc::XcapStack_setLocalIP;
-*setLocalPort = *tinyWRAPc::XcapStack_setLocalPort;
-*addHeader = *tinyWRAPc::XcapStack_addHeader;
-*removeHeader = *tinyWRAPc::XcapStack_removeHeader;
-*setTimeout = *tinyWRAPc::XcapStack_setTimeout;
-*getDocument = *tinyWRAPc::XcapStack_getDocument;
-*getElement = *tinyWRAPc::XcapStack_getElement;
-*getAttribute = *tinyWRAPc::XcapStack_getAttribute;
-*deleteDocument = *tinyWRAPc::XcapStack_deleteDocument;
-*deleteElement = *tinyWRAPc::XcapStack_deleteElement;
-*deleteAttribute = *tinyWRAPc::XcapStack_deleteAttribute;
-*putDocument = *tinyWRAPc::XcapStack_putDocument;
-*putElement = *tinyWRAPc::XcapStack_putElement;
-*putAttribute = *tinyWRAPc::XcapStack_putAttribute;
-*stop = *tinyWRAPc::XcapStack_stop;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::RPMessage ##############
-
-package tinyWRAP::RPMessage;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub new {
- my $pkg = shift;
- my $self = tinyWRAPc::new_RPMessage(@_);
- bless $self, $pkg if defined($self);
-}
-
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_RPMessage($self);
- delete $OWNER{$self};
- }
-}
-
-*getType = *tinyWRAPc::RPMessage_getType;
-*getPayloadLength = *tinyWRAPc::RPMessage_getPayloadLength;
-*getPayload = *tinyWRAPc::RPMessage_getPayload;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::SMSData ##############
-
-package tinyWRAP::SMSData;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub new {
- my $pkg = shift;
- my $self = tinyWRAPc::new_SMSData(@_);
- bless $self, $pkg if defined($self);
-}
-
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_SMSData($self);
- delete $OWNER{$self};
- }
-}
-
-*getType = *tinyWRAPc::SMSData_getType;
-*getMR = *tinyWRAPc::SMSData_getMR;
-*getPayloadLength = *tinyWRAPc::SMSData_getPayloadLength;
-*getPayload = *tinyWRAPc::SMSData_getPayload;
-*getOA = *tinyWRAPc::SMSData_getOA;
-*getDA = *tinyWRAPc::SMSData_getDA;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::SMSEncoder ##############
-
-package tinyWRAP::SMSEncoder;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-*encodeSubmit = *tinyWRAPc::SMSEncoder_encodeSubmit;
-*encodeDeliver = *tinyWRAPc::SMSEncoder_encodeDeliver;
-*encodeACK = *tinyWRAPc::SMSEncoder_encodeACK;
-*encodeError = *tinyWRAPc::SMSEncoder_encodeError;
-*decode = *tinyWRAPc::SMSEncoder_decode;
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_SMSEncoder($self);
- delete $OWNER{$self};
- }
-}
-
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::MsrpMessage ##############
-
-package tinyWRAP::MsrpMessage;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub new {
- my $pkg = shift;
- my $self = tinyWRAPc::new_MsrpMessage(@_);
- bless $self, $pkg if defined($self);
-}
-
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_MsrpMessage($self);
- delete $OWNER{$self};
- }
-}
-
-*isRequest = *tinyWRAPc::MsrpMessage_isRequest;
-*getCode = *tinyWRAPc::MsrpMessage_getCode;
-*getPhrase = *tinyWRAPc::MsrpMessage_getPhrase;
-*getRequestType = *tinyWRAPc::MsrpMessage_getRequestType;
-*getByteRange = *tinyWRAPc::MsrpMessage_getByteRange;
-*isLastChunck = *tinyWRAPc::MsrpMessage_isLastChunck;
-*isFirstChunck = *tinyWRAPc::MsrpMessage_isFirstChunck;
-*getMsrpHeaderValue = *tinyWRAPc::MsrpMessage_getMsrpHeaderValue;
-*getMsrpHeaderParamValue = *tinyWRAPc::MsrpMessage_getMsrpHeaderParamValue;
-*getMsrpContentLength = *tinyWRAPc::MsrpMessage_getMsrpContentLength;
-*getMsrpContent = *tinyWRAPc::MsrpMessage_getMsrpContent;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::MsrpEvent ##############
-
-package tinyWRAP::MsrpEvent;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_MsrpEvent($self);
- delete $OWNER{$self};
- }
-}
-
-*getType = *tinyWRAPc::MsrpEvent_getType;
-*getSipSession = *tinyWRAPc::MsrpEvent_getSipSession;
-*getMessage = *tinyWRAPc::MsrpEvent_getMessage;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-############# Class : tinyWRAP::MsrpCallback ##############
-
-package tinyWRAP::MsrpCallback;
-use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
-@ISA = qw( tinyWRAP );
-%OWNER = ();
-%ITERATORS = ();
-sub new {
- my $pkg = shift;
- my $self = tinyWRAPc::new_MsrpCallback(@_);
- bless $self, $pkg if defined($self);
-}
-
-sub DESTROY {
- return unless $_[0]->isa('HASH');
- my $self = tied(%{$_[0]});
- return unless defined $self;
- delete $ITERATORS{$self};
- if (exists $OWNER{$self}) {
- tinyWRAPc::delete_MsrpCallback($self);
- delete $OWNER{$self};
- }
-}
-
-*OnEvent = *tinyWRAPc::MsrpCallback_OnEvent;
-sub DISOWN {
- my $self = shift;
- my $ptr = tied(%$self);
- delete $OWNER{$ptr};
-}
-
-sub ACQUIRE {
- my $self = shift;
- my $ptr = tied(%$self);
- $OWNER{$ptr} = 1;
-}
-
-
-# ------- VARIABLE STUBS --------
-
-package tinyWRAP;
-
-*twrap_media_none = *tinyWRAPc::twrap_media_none;
-*twrap_media_audio = *tinyWRAPc::twrap_media_audio;
-*twrap_media_video = *tinyWRAPc::twrap_media_video;
-*twrap_media_audiovideo = *tinyWRAPc::twrap_media_audiovideo;
-*twrap_media_msrp = *tinyWRAPc::twrap_media_msrp;
-*twrap_proxy_plugin_audio_producer = *tinyWRAPc::twrap_proxy_plugin_audio_producer;
-*twrap_proxy_plugin_video_producer = *tinyWRAPc::twrap_proxy_plugin_video_producer;
-*twrap_proxy_plugin_audio_consumer = *tinyWRAPc::twrap_proxy_plugin_audio_consumer;
-*twrap_proxy_plugin_video_consumer = *tinyWRAPc::twrap_proxy_plugin_video_consumer;
-*tsip_event_invite = *tinyWRAPc::tsip_event_invite;
-*tsip_event_message = *tinyWRAPc::tsip_event_message;
-*tsip_event_options = *tinyWRAPc::tsip_event_options;
-*tsip_event_publish = *tinyWRAPc::tsip_event_publish;
-*tsip_event_register = *tinyWRAPc::tsip_event_register;
-*tsip_event_subscribe = *tinyWRAPc::tsip_event_subscribe;
-*tsip_event_dialog = *tinyWRAPc::tsip_event_dialog;
-*tsip_event_code_dialog_transport_error = *tinyWRAPc::tsip_event_code_dialog_transport_error;
-*tsip_event_code_dialog_global_error = *tinyWRAPc::tsip_event_code_dialog_global_error;
-*tsip_event_code_dialog_message_error = *tinyWRAPc::tsip_event_code_dialog_message_error;
-*tsip_event_code_dialog_request_incoming = *tinyWRAPc::tsip_event_code_dialog_request_incoming;
-*tsip_event_code_dialog_request_cancelled = *tinyWRAPc::tsip_event_code_dialog_request_cancelled;
-*tsip_event_code_dialog_request_sent = *tinyWRAPc::tsip_event_code_dialog_request_sent;
-*tsip_event_code_dialog_connecting = *tinyWRAPc::tsip_event_code_dialog_connecting;
-*tsip_event_code_dialog_connected = *tinyWRAPc::tsip_event_code_dialog_connected;
-*tsip_event_code_dialog_terminating = *tinyWRAPc::tsip_event_code_dialog_terminating;
-*tsip_event_code_dialog_terminated = *tinyWRAPc::tsip_event_code_dialog_terminated;
-*tsip_event_code_stack_started = *tinyWRAPc::tsip_event_code_stack_started;
-*tsip_event_code_stack_stopped = *tinyWRAPc::tsip_event_code_stack_stopped;
-*tsip_event_code_stack_failed_to_start = *tinyWRAPc::tsip_event_code_stack_failed_to_start;
-*tsip_event_code_stack_failed_to_stop = *tinyWRAPc::tsip_event_code_stack_failed_to_stop;
-*tsip_i_newreg = *tinyWRAPc::tsip_i_newreg;
-*tsip_i_register = *tinyWRAPc::tsip_i_register;
-*tsip_ao_register = *tinyWRAPc::tsip_ao_register;
-*tsip_i_unregister = *tinyWRAPc::tsip_i_unregister;
-*tsip_ao_unregister = *tinyWRAPc::tsip_ao_unregister;
-*tsip_i_subscribe = *tinyWRAPc::tsip_i_subscribe;
-*tsip_ao_subscribe = *tinyWRAPc::tsip_ao_subscribe;
-*tsip_i_unsubscribe = *tinyWRAPc::tsip_i_unsubscribe;
-*tsip_ao_unsubscribe = *tinyWRAPc::tsip_ao_unsubscribe;
-*tsip_i_notify = *tinyWRAPc::tsip_i_notify;
-*tsip_ao_notify = *tinyWRAPc::tsip_ao_notify;
-*tsip_i_publish = *tinyWRAPc::tsip_i_publish;
-*tsip_ao_publish = *tinyWRAPc::tsip_ao_publish;
-*tsip_i_unpublish = *tinyWRAPc::tsip_i_unpublish;
-*tsip_ao_unpublish = *tinyWRAPc::tsip_ao_unpublish;
-*tsip_i_message = *tinyWRAPc::tsip_i_message;
-*tsip_ao_message = *tinyWRAPc::tsip_ao_message;
-*tsip_i_options = *tinyWRAPc::tsip_i_options;
-*tsip_ao_options = *tinyWRAPc::tsip_ao_options;
-*tsip_i_newcall = *tinyWRAPc::tsip_i_newcall;
-*tsip_i_request = *tinyWRAPc::tsip_i_request;
-*tsip_ao_request = *tinyWRAPc::tsip_ao_request;
-*tsip_o_ect_ok = *tinyWRAPc::tsip_o_ect_ok;
-*tsip_o_ect_nok = *tinyWRAPc::tsip_o_ect_nok;
-*tsip_i_ect = *tinyWRAPc::tsip_i_ect;
-*tsip_m_early_media = *tinyWRAPc::tsip_m_early_media;
-*tsip_m_local_hold_ok = *tinyWRAPc::tsip_m_local_hold_ok;
-*tsip_m_local_hold_nok = *tinyWRAPc::tsip_m_local_hold_nok;
-*tsip_m_local_resume_ok = *tinyWRAPc::tsip_m_local_resume_ok;
-*tsip_m_local_resume_nok = *tinyWRAPc::tsip_m_local_resume_nok;
-*tsip_m_remote_hold = *tinyWRAPc::tsip_m_remote_hold;
-*tsip_m_remote_resume = *tinyWRAPc::tsip_m_remote_resume;
-*tmedia_rgb24 = *tinyWRAPc::tmedia_rgb24;
-*tmedia_bgr24 = *tinyWRAPc::tmedia_bgr24;
-*tmedia_rgb32 = *tinyWRAPc::tmedia_rgb32;
-*tmedia_rgb565le = *tinyWRAPc::tmedia_rgb565le;
-*tmedia_rgb565be = *tinyWRAPc::tmedia_rgb565be;
-*tmedia_nv12 = *tinyWRAPc::tmedia_nv12;
-*tmedia_nv21 = *tinyWRAPc::tmedia_nv21;
-*tmedia_yuv422p = *tinyWRAPc::tmedia_yuv422p;
-*tmedia_uyvy422 = *tinyWRAPc::tmedia_uyvy422;
-*tmedia_yuv420p = *tinyWRAPc::tmedia_yuv420p;
-*tmedia_qos_stype_none = *tinyWRAPc::tmedia_qos_stype_none;
-*tmedia_qos_stype_segmented = *tinyWRAPc::tmedia_qos_stype_segmented;
-*tmedia_qos_stype_e2e = *tinyWRAPc::tmedia_qos_stype_e2e;
-*tmedia_qos_strength_none = *tinyWRAPc::tmedia_qos_strength_none;
-*tmedia_qos_strength_failure = *tinyWRAPc::tmedia_qos_strength_failure;
-*tmedia_qos_strength_unknown = *tinyWRAPc::tmedia_qos_strength_unknown;
-*tmedia_qos_strength_optional = *tinyWRAPc::tmedia_qos_strength_optional;
-*tmedia_qos_strength_mandatory = *tinyWRAPc::tmedia_qos_strength_mandatory;
-*tmedia_bl_low = *tinyWRAPc::tmedia_bl_low;
-*tmedia_bl_medium = *tinyWRAPc::tmedia_bl_medium;
-*tmedia_bl_hight = *tinyWRAPc::tmedia_bl_hight;
-*tdav_codec_id_none = *tinyWRAPc::tdav_codec_id_none;
-*tdav_codec_id_amr_nb_oa = *tinyWRAPc::tdav_codec_id_amr_nb_oa;
-*tdav_codec_id_amr_nb_be = *tinyWRAPc::tdav_codec_id_amr_nb_be;
-*tdav_codec_id_amr_wb_oa = *tinyWRAPc::tdav_codec_id_amr_wb_oa;
-*tdav_codec_id_amr_wb_be = *tinyWRAPc::tdav_codec_id_amr_wb_be;
-*tdav_codec_id_gsm = *tinyWRAPc::tdav_codec_id_gsm;
-*tdav_codec_id_pcma = *tinyWRAPc::tdav_codec_id_pcma;
-*tdav_codec_id_pcmu = *tinyWRAPc::tdav_codec_id_pcmu;
-*tdav_codec_id_ilbc = *tinyWRAPc::tdav_codec_id_ilbc;
-*tdav_codec_id_speex_nb = *tinyWRAPc::tdav_codec_id_speex_nb;
-*tdav_codec_id_speex_wb = *tinyWRAPc::tdav_codec_id_speex_wb;
-*tdav_codec_id_speex_uwb = *tinyWRAPc::tdav_codec_id_speex_uwb;
-*tdav_codec_id_bv16 = *tinyWRAPc::tdav_codec_id_bv16;
-*tdav_codec_id_bv32 = *tinyWRAPc::tdav_codec_id_bv32;
-*tdav_codec_id_evrc = *tinyWRAPc::tdav_codec_id_evrc;
-*tdav_codec_id_g729ab = *tinyWRAPc::tdav_codec_id_g729ab;
-*tdav_codec_id_h261 = *tinyWRAPc::tdav_codec_id_h261;
-*tdav_codec_id_h263 = *tinyWRAPc::tdav_codec_id_h263;
-*tdav_codec_id_h263p = *tinyWRAPc::tdav_codec_id_h263p;
-*tdav_codec_id_h263pp = *tinyWRAPc::tdav_codec_id_h263pp;
-*tdav_codec_id_h264_bp10 = *tinyWRAPc::tdav_codec_id_h264_bp10;
-*tdav_codec_id_h264_bp20 = *tinyWRAPc::tdav_codec_id_h264_bp20;
-*tdav_codec_id_h264_bp30 = *tinyWRAPc::tdav_codec_id_h264_bp30;
-*tdav_codec_id_theora = *tinyWRAPc::tdav_codec_id_theora;
-*tdav_codec_id_mp4ves_es = *tinyWRAPc::tdav_codec_id_mp4ves_es;
-*thttp_event_dialog_started = *tinyWRAPc::thttp_event_dialog_started;
-*thttp_event_message = *tinyWRAPc::thttp_event_message;
-*thttp_event_auth_failed = *tinyWRAPc::thttp_event_auth_failed;
-*thttp_event_closed = *tinyWRAPc::thttp_event_closed;
-*thttp_event_transport_error = *tinyWRAPc::thttp_event_transport_error;
-*thttp_event_dialog_terminated = *tinyWRAPc::thttp_event_dialog_terminated;
-*twrap_rpmessage_type_sms_none = *tinyWRAPc::twrap_rpmessage_type_sms_none;
-*twrap_rpmessage_type_sms_submit = *tinyWRAPc::twrap_rpmessage_type_sms_submit;
-*twrap_rpmessage_type_sms_deliver = *tinyWRAPc::twrap_rpmessage_type_sms_deliver;
-*twrap_rpmessage_type_sms_ack = *tinyWRAPc::twrap_rpmessage_type_sms_ack;
-*twrap_rpmessage_type_sms_error = *tinyWRAPc::twrap_rpmessage_type_sms_error;
-*twrap_sms_type_none = *tinyWRAPc::twrap_sms_type_none;
-*twrap_sms_type_rpdata = *tinyWRAPc::twrap_sms_type_rpdata;
-*twrap_sms_type_smma = *tinyWRAPc::twrap_sms_type_smma;
-*twrap_sms_type_ack = *tinyWRAPc::twrap_sms_type_ack;
-*twrap_sms_type_error = *tinyWRAPc::twrap_sms_type_error;
-*tmsrp_NONE = *tinyWRAPc::tmsrp_NONE;
-*tmsrp_SEND = *tinyWRAPc::tmsrp_SEND;
-*tmsrp_REPORT = *tinyWRAPc::tmsrp_REPORT;
-*tmsrp_AUTH = *tinyWRAPc::tmsrp_AUTH;
-*tmsrp_event_type_none = *tinyWRAPc::tmsrp_event_type_none;
-*tmsrp_event_type_connected = *tinyWRAPc::tmsrp_event_type_connected;
-*tmsrp_event_type_disconnected = *tinyWRAPc::tmsrp_event_type_disconnected;
-*tmsrp_event_type_message = *tinyWRAPc::tmsrp_event_type_message;
-1;
diff --git a/branches/1.0/bindings/perl/tinyWRAP_wrap.cxx b/branches/1.0/bindings/perl/tinyWRAP_wrap.cxx
deleted file mode 100644
index e3100e0..0000000
--- a/branches/1.0/bindings/perl/tinyWRAP_wrap.cxx
+++ /dev/null
@@ -1,18775 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * This file is not intended to be easily readable and contains a number of
- * coding conventions designed to improve portability and efficiency. Do not make
- * changes to this file unless you know what you are doing--modify the SWIG
- * interface file instead.
- * ----------------------------------------------------------------------------- */
-
-#define SWIGPERL
-#define SWIG_CASTRANK_MODE
-
-
-#ifdef __cplusplus
-/* SwigValueWrapper is described in swig.swg */
-template<typename T> class SwigValueWrapper {
- struct SwigMovePointer {
- T *ptr;
- SwigMovePointer(T *p) : ptr(p) { }
- ~SwigMovePointer() { delete ptr; }
- SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
- } pointer;
- SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
- SwigValueWrapper(const SwigValueWrapper<T>& rhs);
-public:
- SwigValueWrapper() : pointer(0) { }
- SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
- operator T&() const { return *pointer.ptr; }
- T *operator&() { return pointer.ptr; }
-};
-
-template <typename T> T SwigValueInit() {
- return T();
-}
-#endif
-
-/* -----------------------------------------------------------------------------
- * This section contains generic SWIG labels for method/variable
- * declarations/attributes, and other compiler dependent labels.
- * ----------------------------------------------------------------------------- */
-
-/* template workaround for compilers that cannot correctly implement the C++ standard */
-#ifndef SWIGTEMPLATEDISAMBIGUATOR
-# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
-# define SWIGTEMPLATEDISAMBIGUATOR template
-# elif defined(__HP_aCC)
-/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
-/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
-# define SWIGTEMPLATEDISAMBIGUATOR template
-# else
-# define SWIGTEMPLATEDISAMBIGUATOR
-# endif
-#endif
-
-/* inline attribute */
-#ifndef SWIGINLINE
-# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
-# define SWIGINLINE inline
-# else
-# define SWIGINLINE
-# endif
-#endif
-
-/* attribute recognised by some compilers to avoid 'unused' warnings */
-#ifndef SWIGUNUSED
-# if defined(__GNUC__)
-# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
-# define SWIGUNUSED __attribute__ ((__unused__))
-# else
-# define SWIGUNUSED
-# endif
-# elif defined(__ICC)
-# define SWIGUNUSED __attribute__ ((__unused__))
-# else
-# define SWIGUNUSED
-# endif
-#endif
-
-#ifndef SWIG_MSC_UNSUPPRESS_4505
-# if defined(_MSC_VER)
-# pragma warning(disable : 4505) /* unreferenced local function has been removed */
-# endif
-#endif
-
-#ifndef SWIGUNUSEDPARM
-# ifdef __cplusplus
-# define SWIGUNUSEDPARM(p)
-# else
-# define SWIGUNUSEDPARM(p) p SWIGUNUSED
-# endif
-#endif
-
-/* internal SWIG method */
-#ifndef SWIGINTERN
-# define SWIGINTERN static SWIGUNUSED
-#endif
-
-/* internal inline SWIG method */
-#ifndef SWIGINTERNINLINE
-# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
-#endif
-
-/* exporting methods */
-#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
-# ifndef GCC_HASCLASSVISIBILITY
-# define GCC_HASCLASSVISIBILITY
-# endif
-#endif
-
-#ifndef SWIGEXPORT
-# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
-# if defined(STATIC_LINKED)
-# define SWIGEXPORT
-# else
-# define SWIGEXPORT __declspec(dllexport)
-# endif
-# else
-# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
-# define SWIGEXPORT __attribute__ ((visibility("default")))
-# else
-# define SWIGEXPORT
-# endif
-# endif
-#endif
-
-/* calling conventions for Windows */
-#ifndef SWIGSTDCALL
-# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
-# define SWIGSTDCALL __stdcall
-# else
-# define SWIGSTDCALL
-# endif
-#endif
-
-/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
-#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
-# define _CRT_SECURE_NO_DEPRECATE
-#endif
-
-/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
-#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
-# define _SCL_SECURE_NO_DEPRECATE
-#endif
-
-
-/* -----------------------------------------------------------------------------
- * swigrun.swg
- *
- * This file contains generic C API SWIG runtime support for pointer
- * type checking.
- * ----------------------------------------------------------------------------- */
-
-/* This should only be incremented when either the layout of swig_type_info changes,
- or for whatever reason, the runtime changes incompatibly */
-#define SWIG_RUNTIME_VERSION "4"
-
-/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
-#ifdef SWIG_TYPE_TABLE
-# define SWIG_QUOTE_STRING(x) #x
-# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
-# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
-#else
-# define SWIG_TYPE_TABLE_NAME
-#endif
-
-/*
- You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
- creating a static or dynamic library from the SWIG runtime code.
- In 99.9% of the cases, SWIG just needs to declare them as 'static'.
-
- But only do this if strictly necessary, ie, if you have problems
- with your compiler or suchlike.
-*/
-
-#ifndef SWIGRUNTIME
-# define SWIGRUNTIME SWIGINTERN
-#endif
-
-#ifndef SWIGRUNTIMEINLINE
-# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
-#endif
-
-/* Generic buffer size */
-#ifndef SWIG_BUFFER_SIZE
-# define SWIG_BUFFER_SIZE 1024
-#endif
-
-/* Flags for pointer conversions */
-#define SWIG_POINTER_DISOWN 0x1
-#define SWIG_CAST_NEW_MEMORY 0x2
-
-/* Flags for new pointer objects */
-#define SWIG_POINTER_OWN 0x1
-
-
-/*
- Flags/methods for returning states.
-
- The SWIG conversion methods, as ConvertPtr, return and integer
- that tells if the conversion was successful or not. And if not,
- an error code can be returned (see swigerrors.swg for the codes).
-
- Use the following macros/flags to set or process the returning
- states.
-
- In old versions of SWIG, code such as the following was usually written:
-
- if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
- // success code
- } else {
- //fail code
- }
-
- Now you can be more explicit:
-
- int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
- if (SWIG_IsOK(res)) {
- // success code
- } else {
- // fail code
- }
-
- which is the same really, but now you can also do
-
- Type *ptr;
- int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
- if (SWIG_IsOK(res)) {
- // success code
- if (SWIG_IsNewObj(res) {
- ...
- delete *ptr;
- } else {
- ...
- }
- } else {
- // fail code
- }
-
- I.e., now SWIG_ConvertPtr can return new objects and you can
- identify the case and take care of the deallocation. Of course that
- also requires SWIG_ConvertPtr to return new result values, such as
-
- int SWIG_ConvertPtr(obj, ptr,...) {
- if (<obj is ok>) {
- if (<need new object>) {
- *ptr = <ptr to new allocated object>;
- return SWIG_NEWOBJ;
- } else {
- *ptr = <ptr to old object>;
- return SWIG_OLDOBJ;
- }
- } else {
- return SWIG_BADOBJ;
- }
- }
-
- Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
- more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
- SWIG errors code.
-
- Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
- allows to return the 'cast rank', for example, if you have this
-
- int food(double)
- int fooi(int);
-
- and you call
-
- food(1) // cast rank '1' (1 -> 1.0)
- fooi(1) // cast rank '0'
-
- just use the SWIG_AddCast()/SWIG_CheckState()
-*/
-
-#define SWIG_OK (0)
-#define SWIG_ERROR (-1)
-#define SWIG_IsOK(r) (r >= 0)
-#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
-
-/* The CastRankLimit says how many bits are used for the cast rank */
-#define SWIG_CASTRANKLIMIT (1 << 8)
-/* The NewMask denotes the object was created (using new/malloc) */
-#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
-/* The TmpMask is for in/out typemaps that use temporal objects */
-#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
-/* Simple returning values */
-#define SWIG_BADOBJ (SWIG_ERROR)
-#define SWIG_OLDOBJ (SWIG_OK)
-#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
-#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
-/* Check, add and del mask methods */
-#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
-#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
-#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
-#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
-#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
-#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
-
-/* Cast-Rank Mode */
-#if defined(SWIG_CASTRANK_MODE)
-# ifndef SWIG_TypeRank
-# define SWIG_TypeRank unsigned long
-# endif
-# ifndef SWIG_MAXCASTRANK /* Default cast allowed */
-# define SWIG_MAXCASTRANK (2)
-# endif
-# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
-# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
-SWIGINTERNINLINE int SWIG_AddCast(int r) {
- return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
-}
-SWIGINTERNINLINE int SWIG_CheckState(int r) {
- return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
-}
-#else /* no cast-rank mode */
-# define SWIG_AddCast
-# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
-#endif
-
-
-#include <string.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-typedef void *(*swig_converter_func)(void *, int *);
-typedef struct swig_type_info *(*swig_dycast_func)(void **);
-
-/* Structure to store information on one type */
-typedef struct swig_type_info {
- const char *name; /* mangled name of this type */
- const char *str; /* human readable name of this type */
- swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
- struct swig_cast_info *cast; /* linked list of types that can cast into this type */
- void *clientdata; /* language specific type data */
- int owndata; /* flag if the structure owns the clientdata */
-} swig_type_info;
-
-/* Structure to store a type and conversion function used for casting */
-typedef struct swig_cast_info {
- swig_type_info *type; /* pointer to type that is equivalent to this type */
- swig_converter_func converter; /* function to cast the void pointers */
- struct swig_cast_info *next; /* pointer to next cast in linked list */
- struct swig_cast_info *prev; /* pointer to the previous cast */
-} swig_cast_info;
-
-/* Structure used to store module information
- * Each module generates one structure like this, and the runtime collects
- * all of these structures and stores them in a circularly linked list.*/
-typedef struct swig_module_info {
- swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
- size_t size; /* Number of types in this module */
- struct swig_module_info *next; /* Pointer to next element in circularly linked list */
- swig_type_info **type_initial; /* Array of initially generated type structures */
- swig_cast_info **cast_initial; /* Array of initially generated casting structures */
- void *clientdata; /* Language specific module data */
-} swig_module_info;
-
-/*
- Compare two type names skipping the space characters, therefore
- "char*" == "char *" and "Class<int>" == "Class<int >", etc.
-
- Return 0 when the two name types are equivalent, as in
- strncmp, but skipping ' '.
-*/
-SWIGRUNTIME int
-SWIG_TypeNameComp(const char *f1, const char *l1,
- const char *f2, const char *l2) {
- for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
- while ((*f1 == ' ') && (f1 != l1)) ++f1;
- while ((*f2 == ' ') && (f2 != l2)) ++f2;
- if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
- }
- return (int)((l1 - f1) - (l2 - f2));
-}
-
-/*
- Check type equivalence in a name list like <name1>|<name2>|...
- Return 0 if not equal, 1 if equal
-*/
-SWIGRUNTIME int
-SWIG_TypeEquiv(const char *nb, const char *tb) {
- int equiv = 0;
- const char* te = tb + strlen(tb);
- const char* ne = nb;
- while (!equiv && *ne) {
- for (nb = ne; *ne; ++ne) {
- if (*ne == '|') break;
- }
- equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
- if (*ne) ++ne;
- }
- return equiv;
-}
-
-/*
- Check type equivalence in a name list like <name1>|<name2>|...
- Return 0 if equal, -1 if nb < tb, 1 if nb > tb
-*/
-SWIGRUNTIME int
-SWIG_TypeCompare(const char *nb, const char *tb) {
- int equiv = 0;
- const char* te = tb + strlen(tb);
- const char* ne = nb;
- while (!equiv && *ne) {
- for (nb = ne; *ne; ++ne) {
- if (*ne == '|') break;
- }
- equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
- if (*ne) ++ne;
- }
- return equiv;
-}
-
-
-/*
- Check the typename
-*/
-SWIGRUNTIME swig_cast_info *
-SWIG_TypeCheck(const char *c, swig_type_info *ty) {
- if (ty) {
- swig_cast_info *iter = ty->cast;
- while (iter) {
- if (strcmp(iter->type->name, c) == 0) {
- if (iter == ty->cast)
- return iter;
- /* Move iter to the top of the linked list */
- iter->prev->next = iter->next;
- if (iter->next)
- iter->next->prev = iter->prev;
- iter->next = ty->cast;
- iter->prev = 0;
- if (ty->cast) ty->cast->prev = iter;
- ty->cast = iter;
- return iter;
- }
- iter = iter->next;
- }
- }
- return 0;
-}
-
-/*
- Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
-*/
-SWIGRUNTIME swig_cast_info *
-SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty) {
- if (ty) {
- swig_cast_info *iter = ty->cast;
- while (iter) {
- if (iter->type == from) {
- if (iter == ty->cast)
- return iter;
- /* Move iter to the top of the linked list */
- iter->prev->next = iter->next;
- if (iter->next)
- iter->next->prev = iter->prev;
- iter->next = ty->cast;
- iter->prev = 0;
- if (ty->cast) ty->cast->prev = iter;
- ty->cast = iter;
- return iter;
- }
- iter = iter->next;
- }
- }
- return 0;
-}
-
-/*
- Cast a pointer up an inheritance hierarchy
-*/
-SWIGRUNTIMEINLINE void *
-SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
- return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
-}
-
-/*
- Dynamic pointer casting. Down an inheritance hierarchy
-*/
-SWIGRUNTIME swig_type_info *
-SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
- swig_type_info *lastty = ty;
- if (!ty || !ty->dcast) return ty;
- while (ty && (ty->dcast)) {
- ty = (*ty->dcast)(ptr);
- if (ty) lastty = ty;
- }
- return lastty;
-}
-
-/*
- Return the name associated with this type
-*/
-SWIGRUNTIMEINLINE const char *
-SWIG_TypeName(const swig_type_info *ty) {
- return ty->name;
-}
-
-/*
- Return the pretty name associated with this type,
- that is an unmangled type name in a form presentable to the user.
-*/
-SWIGRUNTIME const char *
-SWIG_TypePrettyName(const swig_type_info *type) {
- /* The "str" field contains the equivalent pretty names of the
- type, separated by vertical-bar characters. We choose
- to print the last name, as it is often (?) the most
- specific. */
- if (!type) return NULL;
- if (type->str != NULL) {
- const char *last_name = type->str;
- const char *s;
- for (s = type->str; *s; s++)
- if (*s == '|') last_name = s+1;
- return last_name;
- }
- else
- return type->name;
-}
-
-/*
- Set the clientdata field for a type
-*/
-SWIGRUNTIME void
-SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
- swig_cast_info *cast = ti->cast;
- /* if (ti->clientdata == clientdata) return; */
- ti->clientdata = clientdata;
-
- while (cast) {
- if (!cast->converter) {
- swig_type_info *tc = cast->type;
- if (!tc->clientdata) {
- SWIG_TypeClientData(tc, clientdata);
- }
- }
- cast = cast->next;
- }
-}
-SWIGRUNTIME void
-SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
- SWIG_TypeClientData(ti, clientdata);
- ti->owndata = 1;
-}
-
-/*
- Search for a swig_type_info structure only by mangled name
- Search is a O(log #types)
-
- We start searching at module start, and finish searching when start == end.
- Note: if start == end at the beginning of the function, we go all the way around
- the circular list.
-*/
-SWIGRUNTIME swig_type_info *
-SWIG_MangledTypeQueryModule(swig_module_info *start,
- swig_module_info *end,
- const char *name) {
- swig_module_info *iter = start;
- do {
- if (iter->size) {
- register size_t l = 0;
- register size_t r = iter->size - 1;
- do {
- /* since l+r >= 0, we can (>> 1) instead (/ 2) */
- register size_t i = (l + r) >> 1;
- const char *iname = iter->types[i]->name;
- if (iname) {
- register int compare = strcmp(name, iname);
- if (compare == 0) {
- return iter->types[i];
- } else if (compare < 0) {
- if (i) {
- r = i - 1;
- } else {
- break;
- }
- } else if (compare > 0) {
- l = i + 1;
- }
- } else {
- break; /* should never happen */
- }
- } while (l <= r);
- }
- iter = iter->next;
- } while (iter != end);
- return 0;
-}
-
-/*
- Search for a swig_type_info structure for either a mangled name or a human readable name.
- It first searches the mangled names of the types, which is a O(log #types)
- If a type is not found it then searches the human readable names, which is O(#types).
-
- We start searching at module start, and finish searching when start == end.
- Note: if start == end at the beginning of the function, we go all the way around
- the circular list.
-*/
-SWIGRUNTIME swig_type_info *
-SWIG_TypeQueryModule(swig_module_info *start,
- swig_module_info *end,
- const char *name) {
- /* STEP 1: Search the name field using binary search */
- swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
- if (ret) {
- return ret;
- } else {
- /* STEP 2: If the type hasn't been found, do a complete search
- of the str field (the human readable name) */
- swig_module_info *iter = start;
- do {
- register size_t i = 0;
- for (; i < iter->size; ++i) {
- if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
- return iter->types[i];
- }
- iter = iter->next;
- } while (iter != end);
- }
-
- /* neither found a match */
- return 0;
-}
-
-/*
- Pack binary data into a string
-*/
-SWIGRUNTIME char *
-SWIG_PackData(char *c, void *ptr, size_t sz) {
- static const char hex[17] = "0123456789abcdef";
- register const unsigned char *u = (unsigned char *) ptr;
- register const unsigned char *eu = u + sz;
- for (; u != eu; ++u) {
- register unsigned char uu = *u;
- *(c++) = hex[(uu & 0xf0) >> 4];
- *(c++) = hex[uu & 0xf];
- }
- return c;
-}
-
-/*
- Unpack binary data from a string
-*/
-SWIGRUNTIME const char *
-SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
- register unsigned char *u = (unsigned char *) ptr;
- register const unsigned char *eu = u + sz;
- for (; u != eu; ++u) {
- register char d = *(c++);
- register unsigned char uu;
- if ((d >= '0') && (d <= '9'))
- uu = ((d - '0') << 4);
- else if ((d >= 'a') && (d <= 'f'))
- uu = ((d - ('a'-10)) << 4);
- else
- return (char *) 0;
- d = *(c++);
- if ((d >= '0') && (d <= '9'))
- uu |= (d - '0');
- else if ((d >= 'a') && (d <= 'f'))
- uu |= (d - ('a'-10));
- else
- return (char *) 0;
- *u = uu;
- }
- return c;
-}
-
-/*
- Pack 'void *' into a string buffer.
-*/
-SWIGRUNTIME char *
-SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
- char *r = buff;
- if ((2*sizeof(void *) + 2) > bsz) return 0;
- *(r++) = '_';
- r = SWIG_PackData(r,&ptr,sizeof(void *));
- if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
- strcpy(r,name);
- return buff;
-}
-
-SWIGRUNTIME const char *
-SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
- if (*c != '_') {
- if (strcmp(c,"NULL") == 0) {
- *ptr = (void *) 0;
- return name;
- } else {
- return 0;
- }
- }
- return SWIG_UnpackData(++c,ptr,sizeof(void *));
-}
-
-SWIGRUNTIME char *
-SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
- char *r = buff;
- size_t lname = (name ? strlen(name) : 0);
- if ((2*sz + 2 + lname) > bsz) return 0;
- *(r++) = '_';
- r = SWIG_PackData(r,ptr,sz);
- if (lname) {
- strncpy(r,name,lname+1);
- } else {
- *r = 0;
- }
- return buff;
-}
-
-SWIGRUNTIME const char *
-SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
- if (*c != '_') {
- if (strcmp(c,"NULL") == 0) {
- memset(ptr,0,sz);
- return name;
- } else {
- return 0;
- }
- }
- return SWIG_UnpackData(++c,ptr,sz);
-}
-
-#ifdef __cplusplus
-}
-#endif
-
-/* Errors in SWIG */
-#define SWIG_UnknownError -1
-#define SWIG_IOError -2
-#define SWIG_RuntimeError -3
-#define SWIG_IndexError -4
-#define SWIG_TypeError -5
-#define SWIG_DivisionByZero -6
-#define SWIG_OverflowError -7
-#define SWIG_SyntaxError -8
-#define SWIG_ValueError -9
-#define SWIG_SystemError -10
-#define SWIG_AttributeError -11
-#define SWIG_MemoryError -12
-#define SWIG_NullReferenceError -13
-
-
-
-#ifdef __cplusplus
-/* Needed on some windows machines---since MS plays funny games with the header files under C++ */
-#include <math.h>
-#include <stdlib.h>
-extern "C" {
-#endif
-#include "EXTERN.h"
-#include "perl.h"
-#include "XSUB.h"
-
-/* Add in functionality missing in older versions of Perl. Much of this is based on Devel-PPPort on cpan. */
-
-/* Add PERL_REVISION, PERL_VERSION, PERL_SUBVERSION if missing */
-#ifndef PERL_REVISION
-# if !defined(__PATCHLEVEL_H_INCLUDED__) && !(defined(PATCHLEVEL) && defined(SUBVERSION))
-# define PERL_PATCHLEVEL_H_IMPLICIT
-# include <patchlevel.h>
-# endif
-# if !(defined(PERL_VERSION) || (defined(SUBVERSION) && defined(PATCHLEVEL)))
-# include <could_not_find_Perl_patchlevel.h>
-# endif
-# ifndef PERL_REVISION
-# define PERL_REVISION (5)
-# define PERL_VERSION PATCHLEVEL
-# define PERL_SUBVERSION SUBVERSION
-# endif
-#endif
-
-#if defined(WIN32) && defined(PERL_OBJECT) && !defined(PerlIO_exportFILE)
-#define PerlIO_exportFILE(fh,fl) (FILE*)(fh)
-#endif
-
-#ifndef SvIOK_UV
-# define SvIOK_UV(sv) (SvIOK(sv) && (SvUVX(sv) == SvIVX(sv)))
-#endif
-
-#ifndef SvUOK
-# define SvUOK(sv) SvIOK_UV(sv)
-#endif
-
-#if ((PERL_VERSION < 4) || ((PERL_VERSION == 4) && (PERL_SUBVERSION <= 5)))
-# define PL_sv_undef sv_undef
-# define PL_na na
-# define PL_errgv errgv
-# define PL_sv_no sv_no
-# define PL_sv_yes sv_yes
-# define PL_markstack_ptr markstack_ptr
-#endif
-
-#ifndef IVSIZE
-# ifdef LONGSIZE
-# define IVSIZE LONGSIZE
-# else
-# define IVSIZE 4 /* A bold guess, but the best we can make. */
-# endif
-#endif
-
-#ifndef INT2PTR
-# if (IVSIZE == PTRSIZE) && (UVSIZE == PTRSIZE)
-# define PTRV UV
-# define INT2PTR(any,d) (any)(d)
-# else
-# if PTRSIZE == LONGSIZE
-# define PTRV unsigned long
-# else
-# define PTRV unsigned
-# endif
-# define INT2PTR(any,d) (any)(PTRV)(d)
-# endif
-
-# define NUM2PTR(any,d) (any)(PTRV)(d)
-# define PTR2IV(p) INT2PTR(IV,p)
-# define PTR2UV(p) INT2PTR(UV,p)
-# define PTR2NV(p) NUM2PTR(NV,p)
-
-# if PTRSIZE == LONGSIZE
-# define PTR2ul(p) (unsigned long)(p)
-# else
-# define PTR2ul(p) INT2PTR(unsigned long,p)
-# endif
-#endif /* !INT2PTR */
-
-#ifndef SvPV_nolen
-# define SvPV_nolen(x) SvPV(x,PL_na)
-#endif
-
-#ifndef get_sv
-# define get_sv perl_get_sv
-#endif
-
-#ifndef ERRSV
-# define ERRSV get_sv("@",FALSE)
-#endif
-
-#ifndef pTHX_
-#define pTHX_
-#endif
-
-#include <string.h>
-#ifdef __cplusplus
-}
-#endif
-
-/* -----------------------------------------------------------------------------
- * error manipulation
- * ----------------------------------------------------------------------------- */
-
-SWIGINTERN const char*
-SWIG_Perl_ErrorType(int code) {
- const char* type = 0;
- switch(code) {
- case SWIG_MemoryError:
- type = "MemoryError";
- break;
- case SWIG_IOError:
- type = "IOError";
- break;
- case SWIG_RuntimeError:
- type = "RuntimeError";
- break;
- case SWIG_IndexError:
- type = "IndexError";
- break;
- case SWIG_TypeError:
- type = "TypeError";
- break;
- case SWIG_DivisionByZero:
- type = "ZeroDivisionError";
- break;
- case SWIG_OverflowError:
- type = "OverflowError";
- break;
- case SWIG_SyntaxError:
- type = "SyntaxError";
- break;
- case SWIG_ValueError:
- type = "ValueError";
- break;
- case SWIG_SystemError:
- type = "SystemError";
- break;
- case SWIG_AttributeError:
- type = "AttributeError";
- break;
- default:
- type = "RuntimeError";
- }
- return type;
-}
-
-
-
-
-/* -----------------------------------------------------------------------------
- * perlrun.swg
- *
- * This file contains the runtime support for Perl modules
- * and includes code for managing global variables and pointer
- * type checking.
- * ----------------------------------------------------------------------------- */
-
-#ifdef PERL_OBJECT
-#define SWIG_PERL_OBJECT_DECL CPerlObj *SWIGUNUSEDPARM(pPerl),
-#define SWIG_PERL_OBJECT_CALL pPerl,
-#else
-#define SWIG_PERL_OBJECT_DECL
-#define SWIG_PERL_OBJECT_CALL
-#endif
-
-/* Common SWIG API */
-
-/* for raw pointers */
-#define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Perl_ConvertPtr(SWIG_PERL_OBJECT_CALL obj, pp, type, flags)
-#define SWIG_NewPointerObj(p, type, flags) SWIG_Perl_NewPointerObj(SWIG_PERL_OBJECT_CALL p, type, flags)
-
-/* for raw packed data */
-#define SWIG_ConvertPacked(obj, p, s, type) SWIG_Perl_ConvertPacked(SWIG_PERL_OBJECT_CALL obj, p, s, type)
-#define SWIG_NewPackedObj(p, s, type) SWIG_Perl_NewPackedObj(SWIG_PERL_OBJECT_CALL p, s, type)
-
-/* for class or struct pointers */
-#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
-#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
-
-/* for C or C++ function pointers */
-#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_ConvertPtr(obj, pptr, type, 0)
-#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_NewPointerObj(ptr, type, 0)
-
-/* for C++ member pointers, ie, member methods */
-#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_ConvertPacked(obj, ptr, sz, ty)
-#define SWIG_NewMemberObj(ptr, sz, type) SWIG_NewPackedObj(ptr, sz, type)
-
-
-/* Runtime API */
-
-#define SWIG_GetModule(clientdata) SWIG_Perl_GetModule()
-#define SWIG_SetModule(clientdata, pointer) SWIG_Perl_SetModule(pointer)
-
-
-/* Error manipulation */
-
-#define SWIG_ErrorType(code) SWIG_Perl_ErrorType(code)
-#define SWIG_Error(code, msg) sv_setpvf(GvSV(PL_errgv),"%s %s\n", SWIG_ErrorType(code), msg)
-#define SWIG_fail goto fail
-
-/* Perl-specific SWIG API */
-
-#define SWIG_MakePtr(sv, ptr, type, flags) SWIG_Perl_MakePtr(SWIG_PERL_OBJECT_CALL sv, ptr, type, flags)
-#define SWIG_MakePackedObj(sv, p, s, type) SWIG_Perl_MakePackedObj(SWIG_PERL_OBJECT_CALL sv, p, s, type)
-#define SWIG_SetError(str) SWIG_Error(SWIG_RuntimeError, str)
-
-
-#define SWIG_PERL_DECL_ARGS_1(arg1) (SWIG_PERL_OBJECT_DECL arg1)
-#define SWIG_PERL_CALL_ARGS_1(arg1) (SWIG_PERL_OBJECT_CALL arg1)
-#define SWIG_PERL_DECL_ARGS_2(arg1, arg2) (SWIG_PERL_OBJECT_DECL arg1, arg2)
-#define SWIG_PERL_CALL_ARGS_2(arg1, arg2) (SWIG_PERL_OBJECT_CALL arg1, arg2)
-
-/* -----------------------------------------------------------------------------
- * pointers/data manipulation
- * ----------------------------------------------------------------------------- */
-
-/* For backward compatibility only */
-#define SWIG_POINTER_EXCEPTION 0
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#define SWIG_OWNER SWIG_POINTER_OWN
-#define SWIG_SHADOW SWIG_OWNER << 1
-
-#define SWIG_MAYBE_PERL_OBJECT SWIG_PERL_OBJECT_DECL
-
-/* SWIG Perl macros */
-
-/* Macro to declare an XS function */
-#ifndef XSPROTO
-# define XSPROTO(name) void name(pTHX_ CV* cv)
-#endif
-
-/* Macro to call an XS function */
-#ifdef PERL_OBJECT
-# define SWIG_CALLXS(_name) _name(cv,pPerl)
-#else
-# ifndef MULTIPLICITY
-# define SWIG_CALLXS(_name) _name(cv)
-# else
-# define SWIG_CALLXS(_name) _name(PERL_GET_THX, cv)
-# endif
-#endif
-
-#ifdef PERL_OBJECT
-#define MAGIC_PPERL CPerlObj *pPerl = (CPerlObj *) this;
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-typedef int (CPerlObj::*SwigMagicFunc)(SV *, MAGIC *);
-#ifdef __cplusplus
-}
-#endif
-
-#define SWIG_MAGIC(a,b) (SV *a, MAGIC *b)
-#define SWIGCLASS_STATIC
-
-#else /* PERL_OBJECT */
-
-#define MAGIC_PPERL
-#define SWIGCLASS_STATIC static SWIGUNUSED
-
-#ifndef MULTIPLICITY
-#define SWIG_MAGIC(a,b) (SV *a, MAGIC *b)
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-typedef int (*SwigMagicFunc)(SV *, MAGIC *);
-#ifdef __cplusplus
-}
-#endif
-
-#else /* MULTIPLICITY */
-
-#define SWIG_MAGIC(a,b) (struct interpreter *interp, SV *a, MAGIC *b)
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-typedef int (*SwigMagicFunc)(struct interpreter *, SV *, MAGIC *);
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* MULTIPLICITY */
-#endif /* PERL_OBJECT */
-
-/* Workaround for bug in perl 5.6.x croak and earlier */
-#if (PERL_VERSION < 8)
-# ifdef PERL_OBJECT
-# define SWIG_croak_null() SWIG_Perl_croak_null(pPerl)
-static void SWIG_Perl_croak_null(CPerlObj *pPerl)
-# else
-static void SWIG_croak_null()
-# endif
-{
- SV *err=ERRSV;
-# if (PERL_VERSION < 6)
- croak("%_", err);
-# else
- if (SvOK(err) && !SvROK(err)) croak("%_", err);
- croak(Nullch);
-# endif
-}
-#else
-# define SWIG_croak_null() croak(Nullch)
-#endif
-
-
-/*
- Define how strict is the cast between strings and integers/doubles
- when overloading between these types occurs.
-
- The default is making it as strict as possible by using SWIG_AddCast
- when needed.
-
- You can use -DSWIG_PERL_NO_STRICT_STR2NUM at compilation time to
- disable the SWIG_AddCast, making the casting between string and
- numbers less strict.
-
- In the end, we try to solve the overloading between strings and
- numerical types in the more natural way, but if you can avoid it,
- well, avoid it using %rename, for example.
-*/
-#ifndef SWIG_PERL_NO_STRICT_STR2NUM
-# ifndef SWIG_PERL_STRICT_STR2NUM
-# define SWIG_PERL_STRICT_STR2NUM
-# endif
-#endif
-#ifdef SWIG_PERL_STRICT_STR2NUM
-/* string takes precedence */
-#define SWIG_Str2NumCast(x) SWIG_AddCast(x)
-#else
-/* number takes precedence */
-#define SWIG_Str2NumCast(x) x
-#endif
-
-
-
-#include <stdlib.h>
-
-SWIGRUNTIME const char *
-SWIG_Perl_TypeProxyName(const swig_type_info *type) {
- if (!type) return NULL;
- if (type->clientdata != NULL) {
- return (const char*) type->clientdata;
- }
- else {
- return type->name;
- }
-}
-
-/* Identical to SWIG_TypeCheck, except for strcmp comparison */
-SWIGRUNTIME swig_cast_info *
-SWIG_TypeProxyCheck(const char *c, swig_type_info *ty) {
- if (ty) {
- swig_cast_info *iter = ty->cast;
- while (iter) {
- if ( (!iter->type->clientdata && (strcmp(iter->type->name, c) == 0)) ||
- (iter->type->clientdata && (strcmp((char*)iter->type->clientdata, c) == 0)) ) {
- if (iter == ty->cast)
- return iter;
- /* Move iter to the top of the linked list */
- iter->prev->next = iter->next;
- if (iter->next)
- iter->next->prev = iter->prev;
- iter->next = ty->cast;
- iter->prev = 0;
- if (ty->cast) ty->cast->prev = iter;
- ty->cast = iter;
- return iter;
- }
- iter = iter->next;
- }
- }
- return 0;
-}
-
-/* Function for getting a pointer value */
-
-SWIGRUNTIME int
-SWIG_Perl_ConvertPtr(SWIG_MAYBE_PERL_OBJECT SV *sv, void **ptr, swig_type_info *_t, int flags) {
- swig_cast_info *tc;
- void *voidptr = (void *)0;
- SV *tsv = 0;
- /* If magical, apply more magic */
- if (SvGMAGICAL(sv))
- mg_get(sv);
-
- /* Check to see if this is an object */
- if (sv_isobject(sv)) {
- IV tmp = 0;
- tsv = (SV*) SvRV(sv);
- if ((SvTYPE(tsv) == SVt_PVHV)) {
- MAGIC *mg;
- if (SvMAGICAL(tsv)) {
- mg = mg_find(tsv,'P');
- if (mg) {
- sv = mg->mg_obj;
- if (sv_isobject(sv)) {
- tsv = (SV*)SvRV(sv);
- tmp = SvIV(tsv);
- }
- }
- } else {
- return SWIG_ERROR;
- }
- } else {
- tmp = SvIV(tsv);
- }
- voidptr = INT2PTR(void *,tmp);
- } else if (! SvOK(sv)) { /* Check for undef */
- *(ptr) = (void *) 0;
- return SWIG_OK;
- } else if (SvTYPE(sv) == SVt_RV) { /* Check for NULL pointer */
- if (!SvROK(sv)) {
- *(ptr) = (void *) 0;
- return SWIG_OK;
- } else {
- return SWIG_ERROR;
- }
- } else { /* Don't know what it is */
- return SWIG_ERROR;
- }
- if (_t) {
- /* Now see if the types match */
- char *_c = HvNAME(SvSTASH(SvRV(sv)));
- tc = SWIG_TypeProxyCheck(_c,_t);
- if (!tc) {
- return SWIG_ERROR;
- }
- {
- int newmemory = 0;
- *ptr = SWIG_TypeCast(tc,voidptr,&newmemory);
- assert(!newmemory); /* newmemory handling not yet implemented */
- }
- } else {
- *ptr = voidptr;
- }
-
- /*
- * DISOWN implementation: we need a perl guru to check this one.
- */
- if (tsv && (flags & SWIG_POINTER_DISOWN)) {
- /*
- * almost copy paste code from below SWIG_POINTER_OWN setting
- */
- SV *obj = sv;
- HV *stash = SvSTASH(SvRV(obj));
- GV *gv = *(GV**) hv_fetch(stash, "OWNER", 5, TRUE);
- if (isGV(gv)) {
- HV *hv = GvHVn(gv);
- /*
- * To set ownership (see below), a newSViv(1) entry is added.
- * Hence, to remove ownership, we delete the entry.
- */
- if (hv_exists_ent(hv, obj, 0)) {
- hv_delete_ent(hv, obj, 0, 0);
- }
- }
- }
- return SWIG_OK;
-}
-
-SWIGRUNTIME void
-SWIG_Perl_MakePtr(SWIG_MAYBE_PERL_OBJECT SV *sv, void *ptr, swig_type_info *t, int flags) {
- if (ptr && (flags & SWIG_SHADOW)) {
- SV *self;
- SV *obj=newSV(0);
- HV *hash=newHV();
- HV *stash;
- sv_setref_pv(obj, (char *) SWIG_Perl_TypeProxyName(t), ptr);
- stash=SvSTASH(SvRV(obj));
- if (flags & SWIG_POINTER_OWN) {
- HV *hv;
- GV *gv=*(GV**)hv_fetch(stash, "OWNER", 5, TRUE);
- if (!isGV(gv))
- gv_init(gv, stash, "OWNER", 5, FALSE);
- hv=GvHVn(gv);
- hv_store_ent(hv, obj, newSViv(1), 0);
- }
- sv_magic((SV *)hash, (SV *)obj, 'P', Nullch, 0);
- SvREFCNT_dec(obj);
- self=newRV_noinc((SV *)hash);
- sv_setsv(sv, self);
- SvREFCNT_dec((SV *)self);
- sv_bless(sv, stash);
- }
- else {
- sv_setref_pv(sv, (char *) SWIG_Perl_TypeProxyName(t), ptr);
- }
-}
-
-SWIGRUNTIMEINLINE SV *
-SWIG_Perl_NewPointerObj(SWIG_MAYBE_PERL_OBJECT void *ptr, swig_type_info *t, int flags) {
- SV *result = sv_newmortal();
- SWIG_MakePtr(result, ptr, t, flags);
- return result;
-}
-
-SWIGRUNTIME void
-SWIG_Perl_MakePackedObj(SWIG_MAYBE_PERL_OBJECT SV *sv, void *ptr, int sz, swig_type_info *type) {
- char result[1024];
- char *r = result;
- if ((2*sz + 1 + strlen(SWIG_Perl_TypeProxyName(type))) > 1000) return;
- *(r++) = '_';
- r = SWIG_PackData(r,ptr,sz);
- strcpy(r,SWIG_Perl_TypeProxyName(type));
- sv_setpv(sv, result);
-}
-
-SWIGRUNTIME SV *
-SWIG_Perl_NewPackedObj(SWIG_MAYBE_PERL_OBJECT void *ptr, int sz, swig_type_info *type) {
- SV *result = sv_newmortal();
- SWIG_Perl_MakePackedObj(result, ptr, sz, type);
- return result;
-}
-
-/* Convert a packed value value */
-SWIGRUNTIME int
-SWIG_Perl_ConvertPacked(SWIG_MAYBE_PERL_OBJECT SV *obj, void *ptr, int sz, swig_type_info *ty) {
- swig_cast_info *tc;
- const char *c = 0;
-
- if ((!obj) || (!SvOK(obj))) return SWIG_ERROR;
- c = SvPV_nolen(obj);
- /* Pointer values must start with leading underscore */
- if (*c != '_') return SWIG_ERROR;
- c++;
- c = SWIG_UnpackData(c,ptr,sz);
- if (ty) {
- tc = SWIG_TypeCheck(c,ty);
- if (!tc) return SWIG_ERROR;
- }
- return SWIG_OK;
-}
-
-
-/* Macros for low-level exception handling */
-#define SWIG_croak(x) { SWIG_Error(SWIG_RuntimeError, x); SWIG_fail; }
-
-
-typedef XSPROTO(SwigPerlWrapper);
-typedef SwigPerlWrapper *SwigPerlWrapperPtr;
-
-/* Structure for command table */
-typedef struct {
- const char *name;
- SwigPerlWrapperPtr wrapper;
-} swig_command_info;
-
-/* Information for constant table */
-
-#define SWIG_INT 1
-#define SWIG_FLOAT 2
-#define SWIG_STRING 3
-#define SWIG_POINTER 4
-#define SWIG_BINARY 5
-
-/* Constant information structure */
-typedef struct swig_constant_info {
- int type;
- const char *name;
- long lvalue;
- double dvalue;
- void *pvalue;
- swig_type_info **ptype;
-} swig_constant_info;
-
-
-/* Structure for variable table */
-typedef struct {
- const char *name;
- SwigMagicFunc set;
- SwigMagicFunc get;
- swig_type_info **type;
-} swig_variable_info;
-
-/* Magic variable code */
-#ifndef PERL_OBJECT
-#define swig_create_magic(s,a,b,c) _swig_create_magic(s,a,b,c)
- #ifndef MULTIPLICITY
- SWIGRUNTIME void _swig_create_magic(SV *sv, char *name, int (*set)(SV *, MAGIC *), int (*get)(SV *,MAGIC *))
- #else
- SWIGRUNTIME void _swig_create_magic(SV *sv, char *name, int (*set)(struct interpreter*, SV *, MAGIC *), int (*get)(struct interpreter*, SV *,MAGIC *))
- #endif
-#else
-# define swig_create_magic(s,a,b,c) _swig_create_magic(pPerl,s,a,b,c)
-SWIGRUNTIME void _swig_create_magic(CPerlObj *pPerl, SV *sv, const char *name, int (CPerlObj::*set)(SV *, MAGIC *), int (CPerlObj::*get)(SV *, MAGIC *))
-#endif
-{
- MAGIC *mg;
- sv_magic(sv,sv,'U',(char *) name,strlen(name));
- mg = mg_find(sv,'U');
- mg->mg_virtual = (MGVTBL *) malloc(sizeof(MGVTBL));
- mg->mg_virtual->svt_get = (SwigMagicFunc) get;
- mg->mg_virtual->svt_set = (SwigMagicFunc) set;
- mg->mg_virtual->svt_len = 0;
- mg->mg_virtual->svt_clear = 0;
- mg->mg_virtual->svt_free = 0;
-}
-
-
-SWIGRUNTIME swig_module_info *
-SWIG_Perl_GetModule(void) {
- static void *type_pointer = (void *)0;
- SV *pointer;
-
- /* first check if pointer already created */
- if (!type_pointer) {
- pointer = get_sv("swig_runtime_data::type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, FALSE | GV_ADDMULTI);
- if (pointer && SvOK(pointer)) {
- type_pointer = INT2PTR(swig_type_info **, SvIV(pointer));
- }
- }
-
- return (swig_module_info *) type_pointer;
-}
-
-SWIGRUNTIME void
-SWIG_Perl_SetModule(swig_module_info *module) {
- SV *pointer;
-
- /* create a new pointer */
- pointer = get_sv("swig_runtime_data::type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, TRUE | GV_ADDMULTI);
- sv_setiv(pointer, PTR2IV(module));
-}
-
-#ifdef __cplusplus
-}
-#endif
-
-/* Workaround perl5 global namespace pollution. Note that undefining library
- * functions like fopen will not solve the problem on all platforms as fopen
- * might be a macro on Windows but not necessarily on other operating systems. */
-#ifdef do_open
- #undef do_open
-#endif
-#ifdef do_close
- #undef do_close
-#endif
-#ifdef scalar
- #undef scalar
-#endif
-#ifdef list
- #undef list
-#endif
-#ifdef apply
- #undef apply
-#endif
-#ifdef convert
- #undef convert
-#endif
-#ifdef Error
- #undef Error
-#endif
-#ifdef form
- #undef form
-#endif
-#ifdef vform
- #undef vform
-#endif
-#ifdef LABEL
- #undef LABEL
-#endif
-#ifdef METHOD
- #undef METHOD
-#endif
-#ifdef Move
- #undef Move
-#endif
-#ifdef yylex
- #undef yylex
-#endif
-#ifdef yyparse
- #undef yyparse
-#endif
-#ifdef yyerror
- #undef yyerror
-#endif
-#ifdef invert
- #undef invert
-#endif
-#ifdef ref
- #undef ref
-#endif
-#ifdef read
- #undef read
-#endif
-#ifdef write
- #undef write
-#endif
-#ifdef eof
- #undef eof
-#endif
-#ifdef bool
- #undef bool
-#endif
-#ifdef close
- #undef close
-#endif
-#ifdef rewind
- #undef rewind
-#endif
-#ifdef free
- #undef free
-#endif
-#ifdef malloc
- #undef malloc
-#endif
-#ifdef calloc
- #undef calloc
-#endif
-#ifdef Stat
- #undef Stat
-#endif
-#ifdef check
- #undef check
-#endif
-#ifdef seekdir
- #undef seekdir
-#endif
-#ifdef open
- #undef open
-#endif
-#ifdef readdir
- #undef readdir
-#endif
-#ifdef bind
- #undef bind
-#endif
-
-
-
-#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
-
-#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
-
-
-
-/* -------- TYPES TABLE (BEGIN) -------- */
-
-#define SWIGTYPE_p_ActionConfig swig_types[0]
-#define SWIGTYPE_p_CallSession swig_types[1]
-#define SWIGTYPE_p_DDebugCallback swig_types[2]
-#define SWIGTYPE_p_DialogEvent swig_types[3]
-#define SWIGTYPE_p_InviteEvent swig_types[4]
-#define SWIGTYPE_p_InviteSession swig_types[5]
-#define SWIGTYPE_p_MediaContent swig_types[6]
-#define SWIGTYPE_p_MediaContentCPIM swig_types[7]
-#define SWIGTYPE_p_MediaSessionMgr swig_types[8]
-#define SWIGTYPE_p_MessagingEvent swig_types[9]
-#define SWIGTYPE_p_MessagingSession swig_types[10]
-#define SWIGTYPE_p_MsrpCallback swig_types[11]
-#define SWIGTYPE_p_MsrpEvent swig_types[12]
-#define SWIGTYPE_p_MsrpMessage swig_types[13]
-#define SWIGTYPE_p_MsrpSession swig_types[14]
-#define SWIGTYPE_p_OptionsEvent swig_types[15]
-#define SWIGTYPE_p_OptionsSession swig_types[16]
-#define SWIGTYPE_p_ProxyAudioConsumer swig_types[17]
-#define SWIGTYPE_p_ProxyAudioConsumerCallback swig_types[18]
-#define SWIGTYPE_p_ProxyAudioProducer swig_types[19]
-#define SWIGTYPE_p_ProxyAudioProducerCallback swig_types[20]
-#define SWIGTYPE_p_ProxyPlugin swig_types[21]
-#define SWIGTYPE_p_ProxyPluginMgr swig_types[22]
-#define SWIGTYPE_p_ProxyPluginMgrCallback swig_types[23]
-#define SWIGTYPE_p_ProxyVideoConsumer swig_types[24]
-#define SWIGTYPE_p_ProxyVideoConsumerCallback swig_types[25]
-#define SWIGTYPE_p_ProxyVideoFrame swig_types[26]
-#define SWIGTYPE_p_ProxyVideoProducer swig_types[27]
-#define SWIGTYPE_p_ProxyVideoProducerCallback swig_types[28]
-#define SWIGTYPE_p_PublicationEvent swig_types[29]
-#define SWIGTYPE_p_PublicationSession swig_types[30]
-#define SWIGTYPE_p_RPMessage swig_types[31]
-#define SWIGTYPE_p_RegistrationEvent swig_types[32]
-#define SWIGTYPE_p_RegistrationSession swig_types[33]
-#define SWIGTYPE_p_SMSData swig_types[34]
-#define SWIGTYPE_p_SMSEncoder swig_types[35]
-#define SWIGTYPE_p_SafeObject swig_types[36]
-#define SWIGTYPE_p_SdpMessage swig_types[37]
-#define SWIGTYPE_p_SipCallback swig_types[38]
-#define SWIGTYPE_p_SipEvent swig_types[39]
-#define SWIGTYPE_p_SipMessage swig_types[40]
-#define SWIGTYPE_p_SipSession swig_types[41]
-#define SWIGTYPE_p_SipStack swig_types[42]
-#define SWIGTYPE_p_SipUri swig_types[43]
-#define SWIGTYPE_p_StackEvent swig_types[44]
-#define SWIGTYPE_p_SubscriptionEvent swig_types[45]
-#define SWIGTYPE_p_SubscriptionSession swig_types[46]
-#define SWIGTYPE_p_XcapCallback swig_types[47]
-#define SWIGTYPE_p_XcapEvent swig_types[48]
-#define SWIGTYPE_p_XcapMessage swig_types[49]
-#define SWIGTYPE_p_XcapSelector swig_types[50]
-#define SWIGTYPE_p_XcapStack swig_types[51]
-#define SWIGTYPE_p_char swig_types[52]
-#define SWIGTYPE_p_int swig_types[53]
-#define SWIGTYPE_p_long_long swig_types[54]
-#define SWIGTYPE_p_short swig_types[55]
-#define SWIGTYPE_p_signed_char swig_types[56]
-#define SWIGTYPE_p_tdav_codec_id_e swig_types[57]
-#define SWIGTYPE_p_thttp_event_type_e swig_types[58]
-#define SWIGTYPE_p_tmedia_bandwidth_level_e swig_types[59]
-#define SWIGTYPE_p_tmedia_chroma_e swig_types[60]
-#define SWIGTYPE_p_tmedia_qos_strength_e swig_types[61]
-#define SWIGTYPE_p_tmedia_qos_stype_e swig_types[62]
-#define SWIGTYPE_p_tmsrp_event_type_e swig_types[63]
-#define SWIGTYPE_p_tmsrp_request_type_e swig_types[64]
-#define SWIGTYPE_p_tsip_event_type_e swig_types[65]
-#define SWIGTYPE_p_tsip_invite_event_type_e swig_types[66]
-#define SWIGTYPE_p_tsip_message_event_type_e swig_types[67]
-#define SWIGTYPE_p_tsip_options_event_type_e swig_types[68]
-#define SWIGTYPE_p_tsip_publish_event_type_e swig_types[69]
-#define SWIGTYPE_p_tsip_register_event_type_e swig_types[70]
-#define SWIGTYPE_p_tsip_subscribe_event_type_e swig_types[71]
-#define SWIGTYPE_p_tsk_list_t swig_types[72]
-#define SWIGTYPE_p_twrap_media_type_e swig_types[73]
-#define SWIGTYPE_p_twrap_proxy_plugin_type_e swig_types[74]
-#define SWIGTYPE_p_twrap_rpmessage_type_e swig_types[75]
-#define SWIGTYPE_p_twrap_sms_type_e swig_types[76]
-#define SWIGTYPE_p_unsigned_char swig_types[77]
-#define SWIGTYPE_p_unsigned_int swig_types[78]
-#define SWIGTYPE_p_unsigned_long_long swig_types[79]
-#define SWIGTYPE_p_unsigned_short swig_types[80]
-static swig_type_info *swig_types[82];
-static swig_module_info swig_module = {swig_types, 81, 0, 0, 0, 0};
-#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
-#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
-
-/* -------- TYPES TABLE (END) -------- */
-
-#define SWIG_init boot_tinyWRAP
-
-#define SWIG_name "tinyWRAPc::boot_tinyWRAP"
-#define SWIG_prefix "tinyWRAPc::"
-
-#define SWIGVERSION 0x010339
-#define SWIG_VERSION SWIGVERSION
-
-
-#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
-#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
-
-
-#include <stdexcept>
-
-
-#ifdef __cplusplus
-extern "C"
-#endif
-#ifndef PERL_OBJECT
-#ifndef MULTIPLICITY
-SWIGEXPORT void SWIG_init (CV* cv);
-#else
-SWIGEXPORT void SWIG_init (pTHXo_ CV* cv);
-#endif
-#else
-SWIGEXPORT void SWIG_init (CV *cv, CPerlObj *);
-#endif
-
-
-#include <stdint.h> // Use the C99 official header
-
-
-#include "DDebug.h"
-
-
-SWIGINTERN swig_type_info*
-SWIG_pchar_descriptor(void)
-{
- static int init = 0;
- static swig_type_info* info = 0;
- if (!init) {
- info = SWIG_TypeQuery("_p_char");
- init = 1;
- }
- return info;
-}
-
-
-SWIGINTERN int
-SWIG_AsCharPtrAndSize(SV *obj, char** cptr, size_t* psize, int *alloc)
-{
- if (SvMAGICAL(obj)) {
- SV *tmp = sv_newmortal();
- SvSetSV(tmp, obj);
- obj = tmp;
- }
- if (SvPOK(obj)) {
- STRLEN len = 0;
- char *cstr = SvPV(obj, len);
- size_t size = len + 1;
- if (cptr) {
- if (alloc) {
- if (*alloc == SWIG_NEWOBJ) {
- *cptr = reinterpret_cast< char* >(memcpy((new char[size]), cstr, sizeof(char)*(size)));
- } else {
- *cptr = cstr;
- *alloc = SWIG_OLDOBJ;
- }
- }
- }
- if (psize) *psize = size;
- return SWIG_OK;
- } else {
- swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
- if (pchar_descriptor) {
- char* vptr = 0;
- if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_descriptor, 0) == SWIG_OK) {
- if (cptr) *cptr = vptr;
- if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0;
- if (alloc) *alloc = SWIG_OLDOBJ;
- return SWIG_OK;
- }
- }
- }
- return SWIG_TypeError;
-}
-
-
-
-
-
-SWIGINTERNINLINE SV *
-SWIG_From_long SWIG_PERL_DECL_ARGS_1(long value)
-{
- SV *obj = sv_newmortal();
- sv_setiv(obj, (IV) value);
- return obj;
-}
-
-
-SWIGINTERNINLINE SV *
-SWIG_From_int SWIG_PERL_DECL_ARGS_1(int value)
-{
- return SWIG_From_long SWIG_PERL_CALL_ARGS_1(value);
-}
-
-
-#include "ActionConfig.h"
-#include "MediaSessionMgr.h"
-#include "MediaContent.h"
-#include "SipUri.h"
-#include "SipMessage.h"
-#include "SipEvent.h"
-#include "SipSession.h"
-
-#include "ProxyPluginMgr.h"
-#include "ProxyConsumer.h"
-#include "ProxyProducer.h"
-
-#include "SipCallback.h"
-#include "SafeObject.h"
-#include "SipStack.h"
-
-
-SWIGINTERNINLINE SV *
-SWIG_From_bool SWIG_PERL_DECL_ARGS_1(bool value)
-{
- SV *obj = sv_newmortal();
- if (value) {
- sv_setsv(obj, &PL_sv_yes);
- } else {
- sv_setsv(obj, &PL_sv_no);
- }
- return obj;
-}
-
-
-#include <limits.h>
-#if !defined(SWIG_NO_LLONG_MAX)
-# if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
-# define LLONG_MAX __LONG_LONG_MAX__
-# define LLONG_MIN (-LLONG_MAX - 1LL)
-# define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
-# endif
-#endif
-
-
-SWIGINTERN int
-SWIG_AsVal_double SWIG_PERL_DECL_ARGS_2(SV *obj, double *val)
-{
- if (SvNIOK(obj)) {
- if (val) *val = SvNV(obj);
- return SWIG_OK;
- } else if (SvIOK(obj)) {
- if (val) *val = (double) SvIV(obj);
- return SWIG_AddCast(SWIG_OK);
- } else {
- const char *nptr = SvPV_nolen(obj);
- if (nptr) {
- char *endptr;
- double v = strtod(nptr, &endptr);
- if (errno == ERANGE) {
- errno = 0;
- return SWIG_OverflowError;
- } else {
- if (*endptr == '\0') {
- if (val) *val = v;
- return SWIG_Str2NumCast(SWIG_OK);
- }
- }
- }
- }
- return SWIG_TypeError;
-}
-
-
-#include <float.h>
-
-
-#include <math.h>
-
-
-SWIGINTERNINLINE int
-SWIG_CanCastAsInteger(double *d, double min, double max) {
- double x = *d;
- if ((min <= x && x <= max)) {
- double fx = floor(x);
- double cx = ceil(x);
- double rd = ((x - fx) < 0.5) ? fx : cx; /* simple rint */
- if ((errno == EDOM) || (errno == ERANGE)) {
- errno = 0;
- } else {
- double summ, reps, diff;
- if (rd < x) {
- diff = x - rd;
- } else if (rd > x) {
- diff = rd - x;
- } else {
- return 1;
- }
- summ = rd + x;
- reps = diff/summ;
- if (reps < 8*DBL_EPSILON) {
- *d = rd;
- return 1;
- }
- }
- }
- return 0;
-}
-
-
-SWIGINTERN int
-SWIG_AsVal_long SWIG_PERL_DECL_ARGS_2(SV *obj, long* val)
-{
- if (SvIOK(obj)) {
- if (val) *val = SvIV(obj);
- return SWIG_OK;
- } else {
- int dispatch = 0;
- const char *nptr = SvPV_nolen(obj);
- if (nptr) {
- char *endptr;
- long v;
- errno = 0;
- v = strtol(nptr, &endptr,0);
- if (errno == ERANGE) {
- errno = 0;
- return SWIG_OverflowError;
- } else {
- if (*endptr == '\0') {
- if (val) *val = v;
- return SWIG_Str2NumCast(SWIG_OK);
- }
- }
- }
- if (!dispatch) {
- double d;
- int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
- if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, LONG_MAX)) {
- if (val) *val = (long)(d);
- return res;
- }
- }
- }
- return SWIG_TypeError;
-}
-
-
-SWIGINTERN int
-SWIG_AsVal_short SWIG_PERL_DECL_ARGS_2(SV * obj, short *val)
-{
- long v;
- int res = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(obj, &v);
- if (SWIG_IsOK(res)) {
- if ((v < SHRT_MIN || v > SHRT_MAX)) {
- return SWIG_OverflowError;
- } else {
- if (val) *val = static_cast< short >(v);
- }
- }
- return res;
-}
-
-
-SWIGINTERN int
-SWIG_AsVal_int SWIG_PERL_DECL_ARGS_2(SV * obj, int *val)
-{
- long v;
- int res = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(obj, &v);
- if (SWIG_IsOK(res)) {
- if ((v < INT_MIN || v > INT_MAX)) {
- return SWIG_OverflowError;
- } else {
- if (val) *val = static_cast< int >(v);
- }
- }
- return res;
-}
-
-
-#include <stdlib.h>
-#ifdef _MSC_VER
-# ifndef strtoull
-# define strtoull _strtoui64
-# endif
-# ifndef strtoll
-# define strtoll _strtoi64
-# endif
-#endif
-
-
-
-SWIGINTERN int
-SWIG_AsVal_long_SS_long SWIG_PERL_DECL_ARGS_2(SV *obj, long long *val)
-{
- if (SvIOK(obj)) {
- if (val) *val = SvIV(obj);
- return SWIG_OK;
- } else {
- int dispatch = 0;
- const char *nptr = SvPV_nolen(obj);
- if (nptr) {
- char *endptr;
- long long v;
- errno = 0;
- v = strtoll(nptr, &endptr,0);
- if (errno == ERANGE) {
- errno = 0;
- return SWIG_OverflowError;
- } else {
- if (*endptr == '\0') {
- if (val) *val = v;
- return SWIG_Str2NumCast(SWIG_OK);
- }
- }
- }
- if (!dispatch) {
- const double mant_max = 1LL << DBL_MANT_DIG;
- const double mant_min = -mant_max;
- double d;
- int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
- if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, mant_min, mant_max)) {
- if (val) *val = (long long)(d);
- return res;
- }
- }
- }
- return SWIG_TypeError;
-}
-
-
-SWIGINTERNINLINE SV *
-SWIG_FromCharPtrAndSize(const char* carray, size_t size)
-{
- SV *obj = sv_newmortal();
- if (carray) {
- sv_setpvn(obj, carray, size);
- } else {
- sv_setsv(obj, &PL_sv_undef);
- }
- return obj;
-}
-
-
-SWIGINTERNINLINE SV *
-SWIG_FromCharPtr(const char *cptr)
-{
- return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
-}
-
-
-SWIGINTERNINLINE SV *
-SWIG_From_unsigned_SS_long SWIG_PERL_DECL_ARGS_1(unsigned long value)
-{
- SV *obj = sv_newmortal();
- sv_setuv(obj, (UV) value);
- return obj;
-}
-
-
-SWIGINTERNINLINE SV *
-SWIG_From_unsigned_SS_int SWIG_PERL_DECL_ARGS_1(unsigned int value)
-{
- return SWIG_From_unsigned_SS_long SWIG_PERL_CALL_ARGS_1(value);
-}
-
-
-SWIGINTERN int
-SWIG_AsVal_unsigned_SS_long SWIG_PERL_DECL_ARGS_2(SV *obj, unsigned long *val)
-{
- if (SvUOK(obj)) {
- if (val) *val = SvUV(obj);
- return SWIG_OK;
- } else if (SvIOK(obj)) {
- long v = SvIV(obj);
- if (v >= 0) {
- if (val) *val = v;
- return SWIG_OK;
- } else {
- return SWIG_OverflowError;
- }
- } else {
- int dispatch = 0;
- const char *nptr = SvPV_nolen(obj);
- if (nptr) {
- char *endptr;
- unsigned long v;
- errno = 0;
- v = strtoul(nptr, &endptr,0);
- if (errno == ERANGE) {
- errno = 0;
- return SWIG_OverflowError;
- } else {
- if (*endptr == '\0') {
- if (val) *val = v;
- return SWIG_Str2NumCast(SWIG_OK);
- }
- }
- }
- if (!dispatch) {
- double d;
- int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
- if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX)) {
- if (val) *val = (unsigned long)(d);
- return res;
- }
- }
- }
- return SWIG_TypeError;
-}
-
-
-SWIGINTERN int
-SWIG_AsVal_unsigned_SS_int SWIG_PERL_DECL_ARGS_2(SV * obj, unsigned int *val)
-{
- unsigned long v;
- int res = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(obj, &v);
- if (SWIG_IsOK(res)) {
- if ((v > UINT_MAX)) {
- return SWIG_OverflowError;
- } else {
- if (val) *val = static_cast< unsigned int >(v);
- }
- }
- return res;
-}
-
-
-SWIGINTERNINLINE SV *
-SWIG_From_unsigned_SS_short SWIG_PERL_DECL_ARGS_1(unsigned short value)
-{
- return SWIG_From_unsigned_SS_long SWIG_PERL_CALL_ARGS_1(value);
-}
-
-
-SWIGINTERN int
-SWIG_AsCharArray(SV * obj, char *val, size_t size)
-{
- char* cptr = 0; size_t csize = 0; int alloc = SWIG_OLDOBJ;
- int res = SWIG_AsCharPtrAndSize(obj, &cptr, &csize, &alloc);
- if (SWIG_IsOK(res)) {
- if ((csize == size + 1) && cptr && !(cptr[csize-1])) --csize;
- if (csize <= size) {
- if (val) {
- if (csize) memcpy(val, cptr, csize*sizeof(char));
- if (csize < size) memset(val + csize, 0, (size - csize)*sizeof(char));
- }
- if (alloc == SWIG_NEWOBJ) {
- delete[] cptr;
- res = SWIG_DelNewMask(res);
- }
- return res;
- }
- if (alloc == SWIG_NEWOBJ) delete[] cptr;
- }
- return SWIG_TypeError;
-}
-
-
-SWIGINTERN int
-SWIG_AsVal_char SWIG_PERL_DECL_ARGS_2(SV * obj, char *val)
-{
- int res = SWIG_AsCharArray(obj, val, 1);
- if (!SWIG_IsOK(res)) {
- long v;
- res = SWIG_AddCast(SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(obj, &v));
- if (SWIG_IsOK(res)) {
- if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) {
- if (val) *val = static_cast< char >(v);
- } else {
- res = SWIG_OverflowError;
- }
- }
- }
- return res;
-}
-
-
-SWIGINTERNINLINE SV *
-SWIG_From_short SWIG_PERL_DECL_ARGS_1(short value)
-{
- return SWIG_From_long SWIG_PERL_CALL_ARGS_1(value);
-}
-
-
-SWIGINTERN int
-SWIG_AsVal_bool SWIG_PERL_DECL_ARGS_2(SV *obj, bool* val)
-{
- if (obj == &PL_sv_yes) {
- if (val) *val = true;
- return SWIG_OK;
- } else if (obj == &PL_sv_no) {
- if (val) *val = false;
- return SWIG_OK;
- } else {
- if (val) *val = SvTRUE(obj) ? true: false;
- return SWIG_AddCast(SWIG_OK);
- }
- return SWIG_TypeError;
-}
-
-
-SWIGINTERN int
-SWIG_AsVal_unsigned_SS_long_SS_long SWIG_PERL_DECL_ARGS_2(SV *obj, unsigned long long *val)
-{
- if (SvUOK(obj)) {
- if (val) *val = SvUV(obj);
- return SWIG_OK;
- } else if (SvIOK(obj)) {
- long v = SvIV(obj);
- if (v >= 0) {
- if (val) *val = v;
- return SWIG_OK;
- } else {
- return SWIG_OverflowError;
- }
- } else {
- int dispatch = 0;
- const char *nptr = SvPV_nolen(obj);
- if (nptr) {
- char *endptr;
- unsigned long long v;
- errno = 0;
- v = strtoull(nptr, &endptr,0);
- if (errno == ERANGE) {
- errno = 0;
- return SWIG_OverflowError;
- } else {
- if (*endptr == '\0') {
- if (val) *val = v;
- return SWIG_Str2NumCast(SWIG_OK);
- }
- }
- }
- if (!dispatch) {
- const double mant_max = 1LL << DBL_MANT_DIG;
- double d;
- int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
- if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, mant_max)) {
- if (val) *val = (unsigned long long)(d);
- return res;
- }
- }
- }
- return SWIG_TypeError;
-}
-
-
-#include <stdio.h>
-#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
-# ifndef snprintf
-# define snprintf _snprintf
-# endif
-#endif
-
-
-SWIGINTERNINLINE SV *
-SWIG_From_long_SS_long SWIG_PERL_DECL_ARGS_1(long long value)
-{
- if (((long long) LONG_MIN <= value) && (value <= (long long) LONG_MAX)) {
- return SWIG_From_long SWIG_PERL_CALL_ARGS_1(static_cast< long >(value));
- } else {
- char temp[256];
- SV *obj = sv_newmortal();
- sprintf(temp, "%lld", value);
- sv_setpv(obj, temp);
- return obj;
- }
-}
-
-
-SWIGINTERNINLINE SV *
-SWIG_From_unsigned_SS_long_SS_long SWIG_PERL_DECL_ARGS_1(unsigned long long value)
-{
- if (value < (unsigned long long) LONG_MAX) {
- return SWIG_From_long_SS_long SWIG_PERL_CALL_ARGS_1(static_cast< long long >(value));
- } else {
- char temp[256];
- SV *obj = sv_newmortal();
- sprintf(temp, "%llu", value);
- sv_setpv(obj, temp);
- return obj;
- }
-}
-
-
-SWIGINTERN int
-SWIG_AsVal_unsigned_SS_short SWIG_PERL_DECL_ARGS_2(SV * obj, unsigned short *val)
-{
- unsigned long v;
- int res = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(obj, &v);
- if (SWIG_IsOK(res)) {
- if ((v > USHRT_MAX)) {
- return SWIG_OverflowError;
- } else {
- if (val) *val = static_cast< unsigned short >(v);
- }
- }
- return res;
-}
-
-
-#include "Xcap.h"
-
-
-#include "SMSEncoder.h"
-
-
-#include "Msrp.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#ifdef PERL_OBJECT
-#define MAGIC_CLASS _wrap_tinyWRAP_var::
-class _wrap_tinyWRAP_var : public CPerlObj {
-public:
-#else
-#define MAGIC_CLASS
-#endif
-SWIGCLASS_STATIC int swig_magic_readonly(pTHX_ SV *SWIGUNUSEDPARM(sv), MAGIC *SWIGUNUSEDPARM(mg)) {
- MAGIC_PPERL
- croak("Value is read-only.");
- return 0;
-}
-
-
-#ifdef PERL_OBJECT
-};
-#endif
-
-#ifdef __cplusplus
-}
-#endif
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-XS(_wrap_new_DDebugCallback) {
- {
- int argvi = 0;
- DDebugCallback *result = 0 ;
- dXSARGS;
-
- if ((items < 0) || (items > 0)) {
- SWIG_croak("Usage: new_DDebugCallback();");
- }
- result = (DDebugCallback *)new DDebugCallback();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_DDebugCallback, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
- XSRETURN(argvi);
- fail:
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_DDebugCallback) {
- {
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_DDebugCallback(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DDebugCallback, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DDebugCallback" "', argument " "1"" of type '" "DDebugCallback *""'");
- }
- arg1 = reinterpret_cast< DDebugCallback * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_DDebugCallback_OnDebugInfo) {
- {
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: DDebugCallback_OnDebugInfo(self,message);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DDebugCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DDebugCallback_OnDebugInfo" "', argument " "1"" of type '" "DDebugCallback *""'");
- }
- arg1 = reinterpret_cast< DDebugCallback * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DDebugCallback_OnDebugInfo" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (int)(arg1)->OnDebugInfo((char const *)arg2);
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_DDebugCallback_OnDebugWarn) {
- {
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: DDebugCallback_OnDebugWarn(self,message);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DDebugCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DDebugCallback_OnDebugWarn" "', argument " "1"" of type '" "DDebugCallback *""'");
- }
- arg1 = reinterpret_cast< DDebugCallback * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DDebugCallback_OnDebugWarn" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (int)(arg1)->OnDebugWarn((char const *)arg2);
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_DDebugCallback_OnDebugError) {
- {
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: DDebugCallback_OnDebugError(self,message);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DDebugCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DDebugCallback_OnDebugError" "', argument " "1"" of type '" "DDebugCallback *""'");
- }
- arg1 = reinterpret_cast< DDebugCallback * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DDebugCallback_OnDebugError" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (int)(arg1)->OnDebugError((char const *)arg2);
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_DDebugCallback_OnDebugFatal) {
- {
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: DDebugCallback_OnDebugFatal(self,message);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DDebugCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DDebugCallback_OnDebugFatal" "', argument " "1"" of type '" "DDebugCallback *""'");
- }
- arg1 = reinterpret_cast< DDebugCallback * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DDebugCallback_OnDebugFatal" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (int)(arg1)->OnDebugFatal((char const *)arg2);
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_new_ActionConfig) {
- {
- int argvi = 0;
- ActionConfig *result = 0 ;
- dXSARGS;
-
- if ((items < 0) || (items > 0)) {
- SWIG_croak("Usage: new_ActionConfig();");
- }
- result = (ActionConfig *)new ActionConfig();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ActionConfig, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
- XSRETURN(argvi);
- fail:
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_ActionConfig) {
- {
- ActionConfig *arg1 = (ActionConfig *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_ActionConfig(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ActionConfig, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ActionConfig" "', argument " "1"" of type '" "ActionConfig *""'");
- }
- arg1 = reinterpret_cast< ActionConfig * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ActionConfig_addHeader) {
- {
- ActionConfig *arg1 = (ActionConfig *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: ActionConfig_addHeader(self,name,value);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActionConfig_addHeader" "', argument " "1"" of type '" "ActionConfig *""'");
- }
- arg1 = reinterpret_cast< ActionConfig * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ActionConfig_addHeader" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ActionConfig_addHeader" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (bool)(arg1)->addHeader((char const *)arg2,(char const *)arg3);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ActionConfig_setResponseLine) {
- {
- ActionConfig *arg1 = (ActionConfig *) 0 ;
- short arg2 ;
- char *arg3 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- short val2 ;
- int ecode2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int argvi = 0;
- ActionConfig *result = 0 ;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: ActionConfig_setResponseLine(self,code,phrase);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActionConfig_setResponseLine" "', argument " "1"" of type '" "ActionConfig *""'");
- }
- arg1 = reinterpret_cast< ActionConfig * >(argp1);
- ecode2 = SWIG_AsVal_short SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ActionConfig_setResponseLine" "', argument " "2"" of type '" "short""'");
- }
- arg2 = static_cast< short >(val2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ActionConfig_setResponseLine" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (ActionConfig *)(arg1)->setResponseLine(arg2,(char const *)arg3);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ActionConfig, 0 | SWIG_SHADOW); argvi++ ;
-
-
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- XSRETURN(argvi);
- fail:
-
-
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ActionConfig_setMediaString) {
- {
- ActionConfig *arg1 = (ActionConfig *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int res4 ;
- char *buf4 = 0 ;
- int alloc4 = 0 ;
- int argvi = 0;
- ActionConfig *result = 0 ;
- dXSARGS;
-
- if ((items < 4) || (items > 4)) {
- SWIG_croak("Usage: ActionConfig_setMediaString(self,type,key,value);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActionConfig_setMediaString" "', argument " "1"" of type '" "ActionConfig *""'");
- }
- arg1 = reinterpret_cast< ActionConfig * >(argp1);
- ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ActionConfig_setMediaString" "', argument " "2"" of type '" "twrap_media_type_t""'");
- }
- arg2 = static_cast< twrap_media_type_t >(val2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ActionConfig_setMediaString" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4);
- if (!SWIG_IsOK(res4)) {
- SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ActionConfig_setMediaString" "', argument " "4"" of type '" "char const *""'");
- }
- arg4 = reinterpret_cast< char * >(buf4);
- result = (ActionConfig *)(arg1)->setMediaString(arg2,(char const *)arg3,(char const *)arg4);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ActionConfig, 0 | SWIG_SHADOW); argvi++ ;
-
-
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- XSRETURN(argvi);
- fail:
-
-
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ActionConfig_setMediaInt) {
- {
- ActionConfig *arg1 = (ActionConfig *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- int arg4 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int val4 ;
- int ecode4 = 0 ;
- int argvi = 0;
- ActionConfig *result = 0 ;
- dXSARGS;
-
- if ((items < 4) || (items > 4)) {
- SWIG_croak("Usage: ActionConfig_setMediaInt(self,type,key,value);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActionConfig_setMediaInt" "', argument " "1"" of type '" "ActionConfig *""'");
- }
- arg1 = reinterpret_cast< ActionConfig * >(argp1);
- ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ActionConfig_setMediaInt" "', argument " "2"" of type '" "twrap_media_type_t""'");
- }
- arg2 = static_cast< twrap_media_type_t >(val2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ActionConfig_setMediaInt" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ActionConfig_setMediaInt" "', argument " "4"" of type '" "int""'");
- }
- arg4 = static_cast< int >(val4);
- result = (ActionConfig *)(arg1)->setMediaInt(arg2,(char const *)arg3,arg4);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ActionConfig, 0 | SWIG_SHADOW); argvi++ ;
-
-
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
-
- XSRETURN(argvi);
- fail:
-
-
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_MediaSessionMgr) {
- {
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_MediaSessionMgr(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MediaSessionMgr, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MediaSessionMgr" "', argument " "1"" of type '" "MediaSessionMgr *""'");
- }
- arg1 = reinterpret_cast< MediaSessionMgr * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MediaSessionMgr_sessionSetInt32) {
- {
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- int32_t arg4 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int val4 ;
- int ecode4 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 4) || (items > 4)) {
- SWIG_croak("Usage: MediaSessionMgr_sessionSetInt32(self,media,key,value);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MediaSessionMgr, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaSessionMgr_sessionSetInt32" "', argument " "1"" of type '" "MediaSessionMgr *""'");
- }
- arg1 = reinterpret_cast< MediaSessionMgr * >(argp1);
- ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MediaSessionMgr_sessionSetInt32" "', argument " "2"" of type '" "twrap_media_type_t""'");
- }
- arg2 = static_cast< twrap_media_type_t >(val2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "MediaSessionMgr_sessionSetInt32" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MediaSessionMgr_sessionSetInt32" "', argument " "4"" of type '" "int32_t""'");
- }
- arg4 = static_cast< int32_t >(val4);
- result = (bool)(arg1)->sessionSetInt32(arg2,(char const *)arg3,arg4);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
-
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
-
- XSRETURN(argvi);
- fail:
-
-
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MediaSessionMgr_consumerSetInt32) {
- {
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- int32_t arg4 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int val4 ;
- int ecode4 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 4) || (items > 4)) {
- SWIG_croak("Usage: MediaSessionMgr_consumerSetInt32(self,media,key,value);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MediaSessionMgr, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaSessionMgr_consumerSetInt32" "', argument " "1"" of type '" "MediaSessionMgr *""'");
- }
- arg1 = reinterpret_cast< MediaSessionMgr * >(argp1);
- ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MediaSessionMgr_consumerSetInt32" "', argument " "2"" of type '" "twrap_media_type_t""'");
- }
- arg2 = static_cast< twrap_media_type_t >(val2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "MediaSessionMgr_consumerSetInt32" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MediaSessionMgr_consumerSetInt32" "', argument " "4"" of type '" "int32_t""'");
- }
- arg4 = static_cast< int32_t >(val4);
- result = (bool)(arg1)->consumerSetInt32(arg2,(char const *)arg3,arg4);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
-
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
-
- XSRETURN(argvi);
- fail:
-
-
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MediaSessionMgr_consumerSetInt64) {
- {
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- int64_t arg4 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- long long val4 ;
- int ecode4 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 4) || (items > 4)) {
- SWIG_croak("Usage: MediaSessionMgr_consumerSetInt64(self,media,key,value);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MediaSessionMgr, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaSessionMgr_consumerSetInt64" "', argument " "1"" of type '" "MediaSessionMgr *""'");
- }
- arg1 = reinterpret_cast< MediaSessionMgr * >(argp1);
- ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MediaSessionMgr_consumerSetInt64" "', argument " "2"" of type '" "twrap_media_type_t""'");
- }
- arg2 = static_cast< twrap_media_type_t >(val2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "MediaSessionMgr_consumerSetInt64" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- ecode4 = SWIG_AsVal_long_SS_long SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MediaSessionMgr_consumerSetInt64" "', argument " "4"" of type '" "int64_t""'");
- }
- arg4 = static_cast< int64_t >(val4);
- result = (bool)(arg1)->consumerSetInt64(arg2,(char const *)arg3,arg4);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
-
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
-
- XSRETURN(argvi);
- fail:
-
-
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MediaSessionMgr_producerSetInt32) {
- {
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- int32_t arg4 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int val4 ;
- int ecode4 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 4) || (items > 4)) {
- SWIG_croak("Usage: MediaSessionMgr_producerSetInt32(self,media,key,value);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MediaSessionMgr, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaSessionMgr_producerSetInt32" "', argument " "1"" of type '" "MediaSessionMgr *""'");
- }
- arg1 = reinterpret_cast< MediaSessionMgr * >(argp1);
- ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MediaSessionMgr_producerSetInt32" "', argument " "2"" of type '" "twrap_media_type_t""'");
- }
- arg2 = static_cast< twrap_media_type_t >(val2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "MediaSessionMgr_producerSetInt32" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MediaSessionMgr_producerSetInt32" "', argument " "4"" of type '" "int32_t""'");
- }
- arg4 = static_cast< int32_t >(val4);
- result = (bool)(arg1)->producerSetInt32(arg2,(char const *)arg3,arg4);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
-
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
-
- XSRETURN(argvi);
- fail:
-
-
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MediaSessionMgr_producerSetInt64) {
- {
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- int64_t arg4 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- long long val4 ;
- int ecode4 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 4) || (items > 4)) {
- SWIG_croak("Usage: MediaSessionMgr_producerSetInt64(self,media,key,value);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MediaSessionMgr, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaSessionMgr_producerSetInt64" "', argument " "1"" of type '" "MediaSessionMgr *""'");
- }
- arg1 = reinterpret_cast< MediaSessionMgr * >(argp1);
- ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MediaSessionMgr_producerSetInt64" "', argument " "2"" of type '" "twrap_media_type_t""'");
- }
- arg2 = static_cast< twrap_media_type_t >(val2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "MediaSessionMgr_producerSetInt64" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- ecode4 = SWIG_AsVal_long_SS_long SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MediaSessionMgr_producerSetInt64" "', argument " "4"" of type '" "int64_t""'");
- }
- arg4 = static_cast< int64_t >(val4);
- result = (bool)(arg1)->producerSetInt64(arg2,(char const *)arg3,arg4);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
-
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
-
- XSRETURN(argvi);
- fail:
-
-
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MediaSessionMgr_findProxyPluginConsumer) {
- {
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
- int argvi = 0;
- ProxyPlugin *result = 0 ;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: MediaSessionMgr_findProxyPluginConsumer(self,media);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MediaSessionMgr, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaSessionMgr_findProxyPluginConsumer" "', argument " "1"" of type '" "MediaSessionMgr *""'");
- }
- arg1 = reinterpret_cast< MediaSessionMgr * >(argp1);
- ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MediaSessionMgr_findProxyPluginConsumer" "', argument " "2"" of type '" "twrap_media_type_t""'");
- }
- arg2 = static_cast< twrap_media_type_t >(val2);
- result = (ProxyPlugin *)(arg1)->findProxyPluginConsumer(arg2);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ProxyPlugin, 0 | SWIG_SHADOW); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MediaSessionMgr_findProxyPluginProducer) {
- {
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
- int argvi = 0;
- ProxyPlugin *result = 0 ;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: MediaSessionMgr_findProxyPluginProducer(self,media);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MediaSessionMgr, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaSessionMgr_findProxyPluginProducer" "', argument " "1"" of type '" "MediaSessionMgr *""'");
- }
- arg1 = reinterpret_cast< MediaSessionMgr * >(argp1);
- ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MediaSessionMgr_findProxyPluginProducer" "', argument " "2"" of type '" "twrap_media_type_t""'");
- }
- arg2 = static_cast< twrap_media_type_t >(val2);
- result = (ProxyPlugin *)(arg1)->findProxyPluginProducer(arg2);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ProxyPlugin, 0 | SWIG_SHADOW); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_MediaContent) {
- {
- MediaContent *arg1 = (MediaContent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_MediaContent(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MediaContent, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MediaContent" "', argument " "1"" of type '" "MediaContent *""'");
- }
- arg1 = reinterpret_cast< MediaContent * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MediaContent_getType) {
- {
- MediaContent *arg1 = (MediaContent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- char *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: MediaContent_getType(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MediaContent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaContent_getType" "', argument " "1"" of type '" "MediaContent *""'");
- }
- arg1 = reinterpret_cast< MediaContent * >(argp1);
- result = (char *)(arg1)->getType();
- ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MediaContent_getDataLength) {
- {
- MediaContent *arg1 = (MediaContent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- unsigned int result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: MediaContent_getDataLength(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MediaContent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaContent_getDataLength" "', argument " "1"" of type '" "MediaContent *""'");
- }
- arg1 = reinterpret_cast< MediaContent * >(argp1);
- result = (unsigned int)(arg1)->getDataLength();
- ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MediaContent_getData) {
- {
- MediaContent *arg1 = (MediaContent *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- int argvi = 0;
- unsigned int result;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: MediaContent_getData(self,output,maxsize);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MediaContent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaContent_getData" "', argument " "1"" of type '" "MediaContent *""'");
- }
- arg1 = reinterpret_cast< MediaContent * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MediaContent_getData" "', argument " "2"" of type '" "void *""'");
- }
- ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MediaContent_getData" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (unsigned int)(arg1)->getData(arg2,arg3);
- ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
-
-
-
- XSRETURN(argvi);
- fail:
-
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MediaContent_parse__SWIG_0) {
- {
- void *arg1 = (void *) 0 ;
- unsigned int arg2 ;
- char *arg3 = (char *) 0 ;
- int res1 ;
- unsigned int val2 ;
- int ecode2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int argvi = 0;
- MediaContent *result = 0 ;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: MediaContent_parse(data,size,type);");
- }
- res1 = SWIG_ConvertPtr(ST(0),SWIG_as_voidptrptr(&arg1), 0, 0);
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaContent_parse" "', argument " "1"" of type '" "void const *""'");
- }
- ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MediaContent_parse" "', argument " "2"" of type '" "unsigned int""'");
- }
- arg2 = static_cast< unsigned int >(val2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "MediaContent_parse" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (MediaContent *)MediaContent::parse((void const *)arg1,arg2,(char const *)arg3);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_MediaContent, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
-
-
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- XSRETURN(argvi);
- fail:
-
-
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MediaContent_parse__SWIG_1) {
- {
- void *arg1 = (void *) 0 ;
- unsigned int arg2 ;
- int res1 ;
- unsigned int val2 ;
- int ecode2 = 0 ;
- int argvi = 0;
- MediaContentCPIM *result = 0 ;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: MediaContent_parse(data,size);");
- }
- res1 = SWIG_ConvertPtr(ST(0),SWIG_as_voidptrptr(&arg1), 0, 0);
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaContent_parse" "', argument " "1"" of type '" "void const *""'");
- }
- ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MediaContent_parse" "', argument " "2"" of type '" "unsigned int""'");
- }
- arg2 = static_cast< unsigned int >(val2);
- result = (MediaContentCPIM *)MediaContent::parse((void const *)arg1,arg2);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_MediaContentCPIM, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MediaContent_parse) {
- dXSARGS;
-
- {
- unsigned long _index = 0;
- SWIG_TypeRank _rank = 0;
- if (items == 2) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *ptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &ptr, 0, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- {
- int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL);
- _v = SWIG_CheckState(res);
- }
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 1;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_1:
-
- if (items == 3) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *ptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &ptr, 0, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- {
- int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), NULL);
- _v = SWIG_CheckState(res);
- }
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- int res = SWIG_AsCharPtrAndSize(ST(2), 0, NULL, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 2;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_2:
-
- dispatch:
- switch(_index) {
- case 1:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_MediaContent_parse__SWIG_1); return;
- case 2:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_MediaContent_parse__SWIG_0); return;
- }
- }
-
- croak("No matching function for overloaded 'MediaContent_parse'");
- XSRETURN(0);
-}
-
-
-XS(_wrap_MediaContent_getPayloadLength) {
- {
- MediaContent *arg1 = (MediaContent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- unsigned int result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: MediaContent_getPayloadLength(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MediaContent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaContent_getPayloadLength" "', argument " "1"" of type '" "MediaContent *""'");
- }
- arg1 = reinterpret_cast< MediaContent * >(argp1);
- result = (unsigned int)(arg1)->getPayloadLength();
- ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MediaContent_getPayload) {
- {
- MediaContent *arg1 = (MediaContent *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- int argvi = 0;
- unsigned int result;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: MediaContent_getPayload(self,output,maxsize);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MediaContent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaContent_getPayload" "', argument " "1"" of type '" "MediaContent *""'");
- }
- arg1 = reinterpret_cast< MediaContent * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MediaContent_getPayload" "', argument " "2"" of type '" "void *""'");
- }
- ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MediaContent_getPayload" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (unsigned int)(arg1)->getPayload(arg2,arg3);
- ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
-
-
-
- XSRETURN(argvi);
- fail:
-
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_MediaContentCPIM) {
- {
- MediaContentCPIM *arg1 = (MediaContentCPIM *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_MediaContentCPIM(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MediaContentCPIM, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MediaContentCPIM" "', argument " "1"" of type '" "MediaContentCPIM *""'");
- }
- arg1 = reinterpret_cast< MediaContentCPIM * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MediaContentCPIM_getPayloadLength) {
- {
- MediaContentCPIM *arg1 = (MediaContentCPIM *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- unsigned int result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: MediaContentCPIM_getPayloadLength(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MediaContentCPIM, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaContentCPIM_getPayloadLength" "', argument " "1"" of type '" "MediaContentCPIM *""'");
- }
- arg1 = reinterpret_cast< MediaContentCPIM * >(argp1);
- result = (unsigned int)(arg1)->getPayloadLength();
- ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MediaContentCPIM_getPayload) {
- {
- MediaContentCPIM *arg1 = (MediaContentCPIM *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- int argvi = 0;
- unsigned int result;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: MediaContentCPIM_getPayload(self,output,maxsize);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MediaContentCPIM, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaContentCPIM_getPayload" "', argument " "1"" of type '" "MediaContentCPIM *""'");
- }
- arg1 = reinterpret_cast< MediaContentCPIM * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MediaContentCPIM_getPayload" "', argument " "2"" of type '" "void *""'");
- }
- ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MediaContentCPIM_getPayload" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (unsigned int)(arg1)->getPayload(arg2,arg3);
- ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
-
-
-
- XSRETURN(argvi);
- fail:
-
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MediaContentCPIM_getHeaderValue) {
- {
- MediaContentCPIM *arg1 = (MediaContentCPIM *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- char *result = 0 ;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: MediaContentCPIM_getHeaderValue(self,name);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MediaContentCPIM, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaContentCPIM_getHeaderValue" "', argument " "1"" of type '" "MediaContentCPIM *""'");
- }
- arg1 = reinterpret_cast< MediaContentCPIM * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MediaContentCPIM_getHeaderValue" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (char *)(arg1)->getHeaderValue((char const *)arg2);
- ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_new_SipUri) {
- {
- char *arg1 = (char *) 0 ;
- int res1 ;
- char *buf1 = 0 ;
- int alloc1 = 0 ;
- int argvi = 0;
- SipUri *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: new_SipUri(char const *);");
- }
- res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SipUri" "', argument " "1"" of type '" "char const *""'");
- }
- arg1 = reinterpret_cast< char * >(buf1);
- result = (SipUri *)new SipUri((char const *)arg1);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SipUri, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
- if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
- XSRETURN(argvi);
- fail:
- if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_SipUri) {
- {
- SipUri *arg1 = (SipUri *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_SipUri(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipUri, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SipUri" "', argument " "1"" of type '" "SipUri *""'");
- }
- arg1 = reinterpret_cast< SipUri * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipUri_isValid__SWIG_0) {
- {
- char *arg1 = (char *) 0 ;
- int res1 ;
- char *buf1 = 0 ;
- int alloc1 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SipUri_isValid(char const *);");
- }
- res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipUri_isValid" "', argument " "1"" of type '" "char const *""'");
- }
- arg1 = reinterpret_cast< char * >(buf1);
- result = (bool)SipUri::isValid((char const *)arg1);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
- if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
- XSRETURN(argvi);
- fail:
- if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipUri_isValid__SWIG_1) {
- {
- SipUri *arg1 = (SipUri *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SipUri_isValid(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipUri, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipUri_isValid" "', argument " "1"" of type '" "SipUri *""'");
- }
- arg1 = reinterpret_cast< SipUri * >(argp1);
- result = (bool)(arg1)->isValid();
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipUri_isValid) {
- dXSARGS;
-
- {
- unsigned long _index = 0;
- SWIG_TypeRank _rank = 0;
- if (items == 1) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_SipUri, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 1;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_1:
-
- if (items == 1) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- int res = SWIG_AsCharPtrAndSize(ST(0), 0, NULL, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 2;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_2:
-
- dispatch:
- switch(_index) {
- case 1:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_SipUri_isValid__SWIG_1); return;
- case 2:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_SipUri_isValid__SWIG_0); return;
- }
- }
-
- croak("No matching function for overloaded 'SipUri_isValid'");
- XSRETURN(0);
-}
-
-
-XS(_wrap_SipUri_getScheme) {
- {
- SipUri *arg1 = (SipUri *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- char *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SipUri_getScheme(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipUri, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipUri_getScheme" "', argument " "1"" of type '" "SipUri *""'");
- }
- arg1 = reinterpret_cast< SipUri * >(argp1);
- result = (char *)(arg1)->getScheme();
- ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipUri_getHost) {
- {
- SipUri *arg1 = (SipUri *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- char *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SipUri_getHost(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipUri, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipUri_getHost" "', argument " "1"" of type '" "SipUri *""'");
- }
- arg1 = reinterpret_cast< SipUri * >(argp1);
- result = (char *)(arg1)->getHost();
- ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipUri_getPort) {
- {
- SipUri *arg1 = (SipUri *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- unsigned short result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SipUri_getPort(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipUri, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipUri_getPort" "', argument " "1"" of type '" "SipUri *""'");
- }
- arg1 = reinterpret_cast< SipUri * >(argp1);
- result = (unsigned short)(arg1)->getPort();
- ST(argvi) = SWIG_From_unsigned_SS_short SWIG_PERL_CALL_ARGS_1(static_cast< unsigned short >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipUri_getUserName) {
- {
- SipUri *arg1 = (SipUri *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- char *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SipUri_getUserName(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipUri, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipUri_getUserName" "', argument " "1"" of type '" "SipUri *""'");
- }
- arg1 = reinterpret_cast< SipUri * >(argp1);
- result = (char *)(arg1)->getUserName();
- ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipUri_getPassword) {
- {
- SipUri *arg1 = (SipUri *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- char *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SipUri_getPassword(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipUri, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipUri_getPassword" "', argument " "1"" of type '" "SipUri *""'");
- }
- arg1 = reinterpret_cast< SipUri * >(argp1);
- result = (char *)(arg1)->getPassword();
- ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipUri_getDisplayName) {
- {
- SipUri *arg1 = (SipUri *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- char *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SipUri_getDisplayName(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipUri, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipUri_getDisplayName" "', argument " "1"" of type '" "SipUri *""'");
- }
- arg1 = reinterpret_cast< SipUri * >(argp1);
- result = (char *)(arg1)->getDisplayName();
- ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipUri_getParamValue) {
- {
- SipUri *arg1 = (SipUri *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- char *result = 0 ;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipUri_getParamValue(self,pname);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipUri, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipUri_getParamValue" "', argument " "1"" of type '" "SipUri *""'");
- }
- arg1 = reinterpret_cast< SipUri * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipUri_getParamValue" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (char *)(arg1)->getParamValue((char const *)arg2);
- ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_new_SdpMessage) {
- {
- int argvi = 0;
- SdpMessage *result = 0 ;
- dXSARGS;
-
- if ((items < 0) || (items > 0)) {
- SWIG_croak("Usage: new_SdpMessage();");
- }
- result = (SdpMessage *)new SdpMessage();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SdpMessage, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
- XSRETURN(argvi);
- fail:
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_SdpMessage) {
- {
- SdpMessage *arg1 = (SdpMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_SdpMessage(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SdpMessage, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SdpMessage" "', argument " "1"" of type '" "SdpMessage *""'");
- }
- arg1 = reinterpret_cast< SdpMessage * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SdpMessage_getSdpHeaderValue__SWIG_0) {
- {
- SdpMessage *arg1 = (SdpMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char arg3 ;
- unsigned int arg4 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- char val3 ;
- int ecode3 = 0 ;
- unsigned int val4 ;
- int ecode4 = 0 ;
- int argvi = 0;
- char *result = 0 ;
- dXSARGS;
-
- if ((items < 4) || (items > 4)) {
- SWIG_croak("Usage: SdpMessage_getSdpHeaderValue(self,media,name,index);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SdpMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SdpMessage_getSdpHeaderValue" "', argument " "1"" of type '" "SdpMessage *""'");
- }
- arg1 = reinterpret_cast< SdpMessage * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SdpMessage_getSdpHeaderValue" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- ecode3 = SWIG_AsVal_char SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SdpMessage_getSdpHeaderValue" "', argument " "3"" of type '" "char""'");
- }
- arg3 = static_cast< char >(val3);
- ecode4 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SdpMessage_getSdpHeaderValue" "', argument " "4"" of type '" "unsigned int""'");
- }
- arg4 = static_cast< unsigned int >(val4);
- result = (char *)(arg1)->getSdpHeaderValue((char const *)arg2,arg3,arg4);
- ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
-
- delete[] result;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SdpMessage_getSdpHeaderValue__SWIG_1) {
- {
- SdpMessage *arg1 = (SdpMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- char val3 ;
- int ecode3 = 0 ;
- int argvi = 0;
- char *result = 0 ;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: SdpMessage_getSdpHeaderValue(self,media,name);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SdpMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SdpMessage_getSdpHeaderValue" "', argument " "1"" of type '" "SdpMessage *""'");
- }
- arg1 = reinterpret_cast< SdpMessage * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SdpMessage_getSdpHeaderValue" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- ecode3 = SWIG_AsVal_char SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SdpMessage_getSdpHeaderValue" "', argument " "3"" of type '" "char""'");
- }
- arg3 = static_cast< char >(val3);
- result = (char *)(arg1)->getSdpHeaderValue((char const *)arg2,arg3);
- ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
- delete[] result;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SdpMessage_getSdpHeaderValue) {
- dXSARGS;
-
- {
- unsigned long _index = 0;
- SWIG_TypeRank _rank = 0;
- if (items == 3) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_SdpMessage, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- {
- int res = SWIG_AsVal_char SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
- _v = SWIG_CheckState(res);
- }
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 1;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_1:
-
- if (items == 4) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_SdpMessage, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- {
- int res = SWIG_AsVal_char SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
- _v = SWIG_CheckState(res);
- }
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- {
- int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(3), NULL);
- _v = SWIG_CheckState(res);
- }
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 2;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_2:
-
- dispatch:
- switch(_index) {
- case 1:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_SdpMessage_getSdpHeaderValue__SWIG_1); return;
- case 2:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_SdpMessage_getSdpHeaderValue__SWIG_0); return;
- }
- }
-
- croak("No matching function for overloaded 'SdpMessage_getSdpHeaderValue'");
- XSRETURN(0);
-}
-
-
-XS(_wrap_SdpMessage_getSdpHeaderAValue) {
- {
- SdpMessage *arg1 = (SdpMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int argvi = 0;
- char *result = 0 ;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: SdpMessage_getSdpHeaderAValue(self,media,attributeName);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SdpMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SdpMessage_getSdpHeaderAValue" "', argument " "1"" of type '" "SdpMessage *""'");
- }
- arg1 = reinterpret_cast< SdpMessage * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SdpMessage_getSdpHeaderAValue" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SdpMessage_getSdpHeaderAValue" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (char *)(arg1)->getSdpHeaderAValue((char const *)arg2,(char const *)arg3);
- ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- delete[] result;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_new_SipMessage) {
- {
- int argvi = 0;
- SipMessage *result = 0 ;
- dXSARGS;
-
- if ((items < 0) || (items > 0)) {
- SWIG_croak("Usage: new_SipMessage();");
- }
- result = (SipMessage *)new SipMessage();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SipMessage, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
- XSRETURN(argvi);
- fail:
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_SipMessage) {
- {
- SipMessage *arg1 = (SipMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_SipMessage(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipMessage, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SipMessage" "', argument " "1"" of type '" "SipMessage *""'");
- }
- arg1 = reinterpret_cast< SipMessage * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipMessage_getSipHeaderValue__SWIG_0) {
- {
- SipMessage *arg1 = (SipMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- int argvi = 0;
- char *result = 0 ;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: SipMessage_getSipHeaderValue(self,name,index);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipMessage_getSipHeaderValue" "', argument " "1"" of type '" "SipMessage *""'");
- }
- arg1 = reinterpret_cast< SipMessage * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipMessage_getSipHeaderValue" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SipMessage_getSipHeaderValue" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (char *)(arg1)->getSipHeaderValue((char const *)arg2,arg3);
- ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
- delete[] result;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipMessage_getSipHeaderValue__SWIG_1) {
- {
- SipMessage *arg1 = (SipMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- char *result = 0 ;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipMessage_getSipHeaderValue(self,name);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipMessage_getSipHeaderValue" "', argument " "1"" of type '" "SipMessage *""'");
- }
- arg1 = reinterpret_cast< SipMessage * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipMessage_getSipHeaderValue" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (char *)(arg1)->getSipHeaderValue((char const *)arg2);
- ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- delete[] result;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipMessage_getSipHeaderValue) {
- dXSARGS;
-
- {
- unsigned long _index = 0;
- SWIG_TypeRank _rank = 0;
- if (items == 2) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_SipMessage, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 1;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_1:
-
- if (items == 3) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_SipMessage, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- {
- int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
- _v = SWIG_CheckState(res);
- }
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 2;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_2:
-
- dispatch:
- switch(_index) {
- case 1:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_SipMessage_getSipHeaderValue__SWIG_1); return;
- case 2:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_SipMessage_getSipHeaderValue__SWIG_0); return;
- }
- }
-
- croak("No matching function for overloaded 'SipMessage_getSipHeaderValue'");
- XSRETURN(0);
-}
-
-
-XS(_wrap_SipMessage_getSipHeaderParamValue__SWIG_0) {
- {
- SipMessage *arg1 = (SipMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- unsigned int arg4 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- unsigned int val4 ;
- int ecode4 = 0 ;
- int argvi = 0;
- char *result = 0 ;
- dXSARGS;
-
- if ((items < 4) || (items > 4)) {
- SWIG_croak("Usage: SipMessage_getSipHeaderParamValue(self,name,param,index);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipMessage_getSipHeaderParamValue" "', argument " "1"" of type '" "SipMessage *""'");
- }
- arg1 = reinterpret_cast< SipMessage * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipMessage_getSipHeaderParamValue" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SipMessage_getSipHeaderParamValue" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- ecode4 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SipMessage_getSipHeaderParamValue" "', argument " "4"" of type '" "unsigned int""'");
- }
- arg4 = static_cast< unsigned int >(val4);
- result = (char *)(arg1)->getSipHeaderParamValue((char const *)arg2,(char const *)arg3,arg4);
- ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
-
- delete[] result;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipMessage_getSipHeaderParamValue__SWIG_1) {
- {
- SipMessage *arg1 = (SipMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int argvi = 0;
- char *result = 0 ;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: SipMessage_getSipHeaderParamValue(self,name,param);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipMessage_getSipHeaderParamValue" "', argument " "1"" of type '" "SipMessage *""'");
- }
- arg1 = reinterpret_cast< SipMessage * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipMessage_getSipHeaderParamValue" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SipMessage_getSipHeaderParamValue" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (char *)(arg1)->getSipHeaderParamValue((char const *)arg2,(char const *)arg3);
- ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- delete[] result;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipMessage_getSipHeaderParamValue) {
- dXSARGS;
-
- {
- unsigned long _index = 0;
- SWIG_TypeRank _rank = 0;
- if (items == 3) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_SipMessage, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- int res = SWIG_AsCharPtrAndSize(ST(2), 0, NULL, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 1;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_1:
-
- if (items == 4) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_SipMessage, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- int res = SWIG_AsCharPtrAndSize(ST(2), 0, NULL, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- {
- int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(3), NULL);
- _v = SWIG_CheckState(res);
- }
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 2;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_2:
-
- dispatch:
- switch(_index) {
- case 1:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_SipMessage_getSipHeaderParamValue__SWIG_1); return;
- case 2:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_SipMessage_getSipHeaderParamValue__SWIG_0); return;
- }
- }
-
- croak("No matching function for overloaded 'SipMessage_getSipHeaderParamValue'");
- XSRETURN(0);
-}
-
-
-XS(_wrap_SipMessage_getSipContentLength) {
- {
- SipMessage *arg1 = (SipMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- unsigned int result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SipMessage_getSipContentLength(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipMessage_getSipContentLength" "', argument " "1"" of type '" "SipMessage *""'");
- }
- arg1 = reinterpret_cast< SipMessage * >(argp1);
- result = (unsigned int)(arg1)->getSipContentLength();
- ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipMessage_getSipContent) {
- {
- SipMessage *arg1 = (SipMessage *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- int argvi = 0;
- unsigned int result;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: SipMessage_getSipContent(self,output,maxsize);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipMessage_getSipContent" "', argument " "1"" of type '" "SipMessage *""'");
- }
- arg1 = reinterpret_cast< SipMessage * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipMessage_getSipContent" "', argument " "2"" of type '" "void *""'");
- }
- ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SipMessage_getSipContent" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (unsigned int)(arg1)->getSipContent(arg2,arg3);
- ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
-
-
-
- XSRETURN(argvi);
- fail:
-
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipMessage_getSdpMessage) {
- {
- SipMessage *arg1 = (SipMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- SdpMessage *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SipMessage_getSdpMessage(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipMessage_getSdpMessage" "', argument " "1"" of type '" "SipMessage *""'");
- }
- arg1 = reinterpret_cast< SipMessage * >(argp1);
- result = (SdpMessage *)(arg1)->getSdpMessage();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SdpMessage, 0 | SWIG_SHADOW); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_SipEvent) {
- {
- SipEvent *arg1 = (SipEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_SipEvent(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipEvent, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SipEvent" "', argument " "1"" of type '" "SipEvent *""'");
- }
- arg1 = reinterpret_cast< SipEvent * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipEvent_getCode) {
- {
- SipEvent *arg1 = (SipEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- short result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SipEvent_getCode(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipEvent_getCode" "', argument " "1"" of type '" "SipEvent const *""'");
- }
- arg1 = reinterpret_cast< SipEvent * >(argp1);
- result = (short)((SipEvent const *)arg1)->getCode();
- ST(argvi) = SWIG_From_short SWIG_PERL_CALL_ARGS_1(static_cast< short >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipEvent_getPhrase) {
- {
- SipEvent *arg1 = (SipEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- char *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SipEvent_getPhrase(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipEvent_getPhrase" "', argument " "1"" of type '" "SipEvent const *""'");
- }
- arg1 = reinterpret_cast< SipEvent * >(argp1);
- result = (char *)((SipEvent const *)arg1)->getPhrase();
- ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipEvent_getBaseSession) {
- {
- SipEvent *arg1 = (SipEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- SipSession *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SipEvent_getBaseSession(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipEvent_getBaseSession" "', argument " "1"" of type '" "SipEvent const *""'");
- }
- arg1 = reinterpret_cast< SipEvent * >(argp1);
- result = (SipSession *)((SipEvent const *)arg1)->getBaseSession();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SipSession, 0 | SWIG_SHADOW); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipEvent_getSipMessage) {
- {
- SipEvent *arg1 = (SipEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- SipMessage *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SipEvent_getSipMessage(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipEvent_getSipMessage" "', argument " "1"" of type '" "SipEvent const *""'");
- }
- arg1 = reinterpret_cast< SipEvent * >(argp1);
- result = (SipMessage *)((SipEvent const *)arg1)->getSipMessage();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SipMessage, 0 | SWIG_SHADOW); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_DialogEvent) {
- {
- DialogEvent *arg1 = (DialogEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_DialogEvent(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DialogEvent, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DialogEvent" "', argument " "1"" of type '" "DialogEvent *""'");
- }
- arg1 = reinterpret_cast< DialogEvent * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_StackEvent) {
- {
- StackEvent *arg1 = (StackEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_StackEvent(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_StackEvent, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_StackEvent" "', argument " "1"" of type '" "StackEvent *""'");
- }
- arg1 = reinterpret_cast< StackEvent * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_InviteEvent) {
- {
- InviteEvent *arg1 = (InviteEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_InviteEvent(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_InviteEvent, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_InviteEvent" "', argument " "1"" of type '" "InviteEvent *""'");
- }
- arg1 = reinterpret_cast< InviteEvent * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_InviteEvent_getType) {
- {
- InviteEvent *arg1 = (InviteEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- tsip_invite_event_type_t result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: InviteEvent_getType(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_InviteEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InviteEvent_getType" "', argument " "1"" of type '" "InviteEvent const *""'");
- }
- arg1 = reinterpret_cast< InviteEvent * >(argp1);
- result = (tsip_invite_event_type_t)((InviteEvent const *)arg1)->getType();
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_InviteEvent_getMediaType) {
- {
- InviteEvent *arg1 = (InviteEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- twrap_media_type_t result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: InviteEvent_getMediaType(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_InviteEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InviteEvent_getMediaType" "', argument " "1"" of type '" "InviteEvent *""'");
- }
- arg1 = reinterpret_cast< InviteEvent * >(argp1);
- result = (twrap_media_type_t)(arg1)->getMediaType();
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_InviteEvent_getSession) {
- {
- InviteEvent *arg1 = (InviteEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- InviteSession *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: InviteEvent_getSession(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_InviteEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InviteEvent_getSession" "', argument " "1"" of type '" "InviteEvent const *""'");
- }
- arg1 = reinterpret_cast< InviteEvent * >(argp1);
- result = (InviteSession *)((InviteEvent const *)arg1)->getSession();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_InviteSession, 0 | SWIG_SHADOW); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_InviteEvent_takeCallSessionOwnership) {
- {
- InviteEvent *arg1 = (InviteEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- CallSession *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: InviteEvent_takeCallSessionOwnership(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_InviteEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InviteEvent_takeCallSessionOwnership" "', argument " "1"" of type '" "InviteEvent const *""'");
- }
- arg1 = reinterpret_cast< InviteEvent * >(argp1);
- result = (CallSession *)((InviteEvent const *)arg1)->takeCallSessionOwnership();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CallSession, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_InviteEvent_takeMsrpSessionOwnership) {
- {
- InviteEvent *arg1 = (InviteEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- MsrpSession *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: InviteEvent_takeMsrpSessionOwnership(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_InviteEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InviteEvent_takeMsrpSessionOwnership" "', argument " "1"" of type '" "InviteEvent const *""'");
- }
- arg1 = reinterpret_cast< InviteEvent * >(argp1);
- result = (MsrpSession *)((InviteEvent const *)arg1)->takeMsrpSessionOwnership();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_MsrpSession, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_MessagingEvent) {
- {
- MessagingEvent *arg1 = (MessagingEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_MessagingEvent(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MessagingEvent, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MessagingEvent" "', argument " "1"" of type '" "MessagingEvent *""'");
- }
- arg1 = reinterpret_cast< MessagingEvent * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MessagingEvent_getType) {
- {
- MessagingEvent *arg1 = (MessagingEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- tsip_message_event_type_t result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: MessagingEvent_getType(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MessagingEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MessagingEvent_getType" "', argument " "1"" of type '" "MessagingEvent const *""'");
- }
- arg1 = reinterpret_cast< MessagingEvent * >(argp1);
- result = (tsip_message_event_type_t)((MessagingEvent const *)arg1)->getType();
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MessagingEvent_getSession) {
- {
- MessagingEvent *arg1 = (MessagingEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- MessagingSession *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: MessagingEvent_getSession(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MessagingEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MessagingEvent_getSession" "', argument " "1"" of type '" "MessagingEvent const *""'");
- }
- arg1 = reinterpret_cast< MessagingEvent * >(argp1);
- result = (MessagingSession *)((MessagingEvent const *)arg1)->getSession();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_MessagingSession, 0 | SWIG_SHADOW); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MessagingEvent_takeSessionOwnership) {
- {
- MessagingEvent *arg1 = (MessagingEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- MessagingSession *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: MessagingEvent_takeSessionOwnership(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MessagingEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MessagingEvent_takeSessionOwnership" "', argument " "1"" of type '" "MessagingEvent const *""'");
- }
- arg1 = reinterpret_cast< MessagingEvent * >(argp1);
- result = (MessagingSession *)((MessagingEvent const *)arg1)->takeSessionOwnership();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_MessagingSession, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_OptionsEvent) {
- {
- OptionsEvent *arg1 = (OptionsEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_OptionsEvent(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OptionsEvent, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OptionsEvent" "', argument " "1"" of type '" "OptionsEvent *""'");
- }
- arg1 = reinterpret_cast< OptionsEvent * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_OptionsEvent_getType) {
- {
- OptionsEvent *arg1 = (OptionsEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- tsip_options_event_type_t result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: OptionsEvent_getType(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OptionsEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OptionsEvent_getType" "', argument " "1"" of type '" "OptionsEvent const *""'");
- }
- arg1 = reinterpret_cast< OptionsEvent * >(argp1);
- result = (tsip_options_event_type_t)((OptionsEvent const *)arg1)->getType();
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_OptionsEvent_getSession) {
- {
- OptionsEvent *arg1 = (OptionsEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- OptionsSession *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: OptionsEvent_getSession(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OptionsEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OptionsEvent_getSession" "', argument " "1"" of type '" "OptionsEvent const *""'");
- }
- arg1 = reinterpret_cast< OptionsEvent * >(argp1);
- result = (OptionsSession *)((OptionsEvent const *)arg1)->getSession();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OptionsSession, 0 | SWIG_SHADOW); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_PublicationEvent) {
- {
- PublicationEvent *arg1 = (PublicationEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_PublicationEvent(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_PublicationEvent, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PublicationEvent" "', argument " "1"" of type '" "PublicationEvent *""'");
- }
- arg1 = reinterpret_cast< PublicationEvent * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_PublicationEvent_getType) {
- {
- PublicationEvent *arg1 = (PublicationEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- tsip_publish_event_type_t result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: PublicationEvent_getType(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_PublicationEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PublicationEvent_getType" "', argument " "1"" of type '" "PublicationEvent const *""'");
- }
- arg1 = reinterpret_cast< PublicationEvent * >(argp1);
- result = (tsip_publish_event_type_t)((PublicationEvent const *)arg1)->getType();
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_PublicationEvent_getSession) {
- {
- PublicationEvent *arg1 = (PublicationEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- PublicationSession *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: PublicationEvent_getSession(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_PublicationEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PublicationEvent_getSession" "', argument " "1"" of type '" "PublicationEvent const *""'");
- }
- arg1 = reinterpret_cast< PublicationEvent * >(argp1);
- result = (PublicationSession *)((PublicationEvent const *)arg1)->getSession();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_PublicationSession, 0 | SWIG_SHADOW); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_RegistrationEvent) {
- {
- RegistrationEvent *arg1 = (RegistrationEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_RegistrationEvent(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_RegistrationEvent, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RegistrationEvent" "', argument " "1"" of type '" "RegistrationEvent *""'");
- }
- arg1 = reinterpret_cast< RegistrationEvent * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_RegistrationEvent_getType) {
- {
- RegistrationEvent *arg1 = (RegistrationEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- tsip_register_event_type_t result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: RegistrationEvent_getType(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_RegistrationEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RegistrationEvent_getType" "', argument " "1"" of type '" "RegistrationEvent const *""'");
- }
- arg1 = reinterpret_cast< RegistrationEvent * >(argp1);
- result = (tsip_register_event_type_t)((RegistrationEvent const *)arg1)->getType();
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_RegistrationEvent_getSession) {
- {
- RegistrationEvent *arg1 = (RegistrationEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- RegistrationSession *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: RegistrationEvent_getSession(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_RegistrationEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RegistrationEvent_getSession" "', argument " "1"" of type '" "RegistrationEvent const *""'");
- }
- arg1 = reinterpret_cast< RegistrationEvent * >(argp1);
- result = (RegistrationSession *)((RegistrationEvent const *)arg1)->getSession();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RegistrationSession, 0 | SWIG_SHADOW); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_RegistrationEvent_takeSessionOwnership) {
- {
- RegistrationEvent *arg1 = (RegistrationEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- RegistrationSession *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: RegistrationEvent_takeSessionOwnership(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_RegistrationEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RegistrationEvent_takeSessionOwnership" "', argument " "1"" of type '" "RegistrationEvent const *""'");
- }
- arg1 = reinterpret_cast< RegistrationEvent * >(argp1);
- result = (RegistrationSession *)((RegistrationEvent const *)arg1)->takeSessionOwnership();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RegistrationSession, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_SubscriptionEvent) {
- {
- SubscriptionEvent *arg1 = (SubscriptionEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_SubscriptionEvent(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SubscriptionEvent, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SubscriptionEvent" "', argument " "1"" of type '" "SubscriptionEvent *""'");
- }
- arg1 = reinterpret_cast< SubscriptionEvent * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SubscriptionEvent_getType) {
- {
- SubscriptionEvent *arg1 = (SubscriptionEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- tsip_subscribe_event_type_t result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SubscriptionEvent_getType(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SubscriptionEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SubscriptionEvent_getType" "', argument " "1"" of type '" "SubscriptionEvent const *""'");
- }
- arg1 = reinterpret_cast< SubscriptionEvent * >(argp1);
- result = (tsip_subscribe_event_type_t)((SubscriptionEvent const *)arg1)->getType();
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SubscriptionEvent_getSession) {
- {
- SubscriptionEvent *arg1 = (SubscriptionEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- SubscriptionSession *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SubscriptionEvent_getSession(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SubscriptionEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SubscriptionEvent_getSession" "', argument " "1"" of type '" "SubscriptionEvent const *""'");
- }
- arg1 = reinterpret_cast< SubscriptionEvent * >(argp1);
- result = (SubscriptionSession *)((SubscriptionEvent const *)arg1)->getSession();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SubscriptionSession, 0 | SWIG_SHADOW); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_new_SipSession) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- SipSession *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: new_SipSession(stack);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SipSession" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- result = (SipSession *)new SipSession(arg1);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SipSession, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_SipSession) {
- {
- SipSession *arg1 = (SipSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_SipSession(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipSession, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SipSession" "', argument " "1"" of type '" "SipSession *""'");
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipSession_haveOwnership) {
- {
- SipSession *arg1 = (SipSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SipSession_haveOwnership(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipSession_haveOwnership" "', argument " "1"" of type '" "SipSession *""'");
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- result = (bool)(arg1)->haveOwnership();
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipSession_addHeader) {
- {
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: SipSession_addHeader(self,name,value);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipSession_addHeader" "', argument " "1"" of type '" "SipSession *""'");
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipSession_addHeader" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SipSession_addHeader" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (bool)(arg1)->addHeader((char const *)arg2,(char const *)arg3);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipSession_removeHeader) {
- {
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipSession_removeHeader(self,name);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipSession_removeHeader" "', argument " "1"" of type '" "SipSession *""'");
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipSession_removeHeader" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->removeHeader((char const *)arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipSession_addCaps__SWIG_0) {
- {
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: SipSession_addCaps(self,name,value);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipSession_addCaps" "', argument " "1"" of type '" "SipSession *""'");
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipSession_addCaps" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SipSession_addCaps" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (bool)(arg1)->addCaps((char const *)arg2,(char const *)arg3);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipSession_addCaps__SWIG_1) {
- {
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipSession_addCaps(self,name);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipSession_addCaps" "', argument " "1"" of type '" "SipSession *""'");
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipSession_addCaps" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->addCaps((char const *)arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipSession_addCaps) {
- dXSARGS;
-
- {
- unsigned long _index = 0;
- SWIG_TypeRank _rank = 0;
- if (items == 2) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_SipSession, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 1;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_1:
-
- if (items == 3) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_SipSession, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- int res = SWIG_AsCharPtrAndSize(ST(2), 0, NULL, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 2;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_2:
-
- dispatch:
- switch(_index) {
- case 1:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_SipSession_addCaps__SWIG_1); return;
- case 2:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_SipSession_addCaps__SWIG_0); return;
- }
- }
-
- croak("No matching function for overloaded 'SipSession_addCaps'");
- XSRETURN(0);
-}
-
-
-XS(_wrap_SipSession_removeCaps) {
- {
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipSession_removeCaps(self,name);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipSession_removeCaps" "', argument " "1"" of type '" "SipSession *""'");
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipSession_removeCaps" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->removeCaps((char const *)arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipSession_setExpires) {
- {
- SipSession *arg1 = (SipSession *) 0 ;
- unsigned int arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- unsigned int val2 ;
- int ecode2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipSession_setExpires(self,expires);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipSession_setExpires" "', argument " "1"" of type '" "SipSession *""'");
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SipSession_setExpires" "', argument " "2"" of type '" "unsigned int""'");
- }
- arg2 = static_cast< unsigned int >(val2);
- result = (bool)(arg1)->setExpires(arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipSession_setFromUri) {
- {
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipSession_setFromUri(self,fromUri);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipSession_setFromUri" "', argument " "1"" of type '" "SipSession *""'");
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipSession_setFromUri" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->setFromUri((char const *)arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipSession_setToUri) {
- {
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipSession_setToUri(self,toUri);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipSession_setToUri" "', argument " "1"" of type '" "SipSession *""'");
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipSession_setToUri" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->setToUri((char const *)arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipSession_setSilentHangup) {
- {
- SipSession *arg1 = (SipSession *) 0 ;
- bool arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- bool val2 ;
- int ecode2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipSession_setSilentHangup(self,silent);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipSession_setSilentHangup" "', argument " "1"" of type '" "SipSession *""'");
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SipSession_setSilentHangup" "', argument " "2"" of type '" "bool""'");
- }
- arg2 = static_cast< bool >(val2);
- result = (bool)(arg1)->setSilentHangup(arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipSession_addSigCompCompartment) {
- {
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipSession_addSigCompCompartment(self,compId);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipSession_addSigCompCompartment" "', argument " "1"" of type '" "SipSession *""'");
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipSession_addSigCompCompartment" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->addSigCompCompartment((char const *)arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipSession_removeSigCompCompartment) {
- {
- SipSession *arg1 = (SipSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SipSession_removeSigCompCompartment(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipSession_removeSigCompCompartment" "', argument " "1"" of type '" "SipSession *""'");
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- result = (bool)(arg1)->removeSigCompCompartment();
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipSession_getId) {
- {
- SipSession *arg1 = (SipSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- unsigned int result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SipSession_getId(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipSession_getId" "', argument " "1"" of type '" "SipSession *""'");
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- result = (unsigned int)(arg1)->getId();
- ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_new_InviteSession) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- InviteSession *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: new_InviteSession(Stack);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_InviteSession" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- result = (InviteSession *)new InviteSession(arg1);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_InviteSession, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_InviteSession) {
- {
- InviteSession *arg1 = (InviteSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_InviteSession(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_InviteSession, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_InviteSession" "', argument " "1"" of type '" "InviteSession *""'");
- }
- arg1 = reinterpret_cast< InviteSession * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_InviteSession_accept__SWIG_0) {
- {
- InviteSession *arg1 = (InviteSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: InviteSession_accept(self,config);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_InviteSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InviteSession_accept" "', argument " "1"" of type '" "InviteSession *""'");
- }
- arg1 = reinterpret_cast< InviteSession * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "InviteSession_accept" "', argument " "2"" of type '" "ActionConfig *""'");
- }
- arg2 = reinterpret_cast< ActionConfig * >(argp2);
- result = (bool)(arg1)->accept(arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_InviteSession_accept__SWIG_1) {
- {
- InviteSession *arg1 = (InviteSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: InviteSession_accept(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_InviteSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InviteSession_accept" "', argument " "1"" of type '" "InviteSession *""'");
- }
- arg1 = reinterpret_cast< InviteSession * >(argp1);
- result = (bool)(arg1)->accept();
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_InviteSession_accept) {
- dXSARGS;
-
- {
- unsigned long _index = 0;
- SWIG_TypeRank _rank = 0;
- if (items == 1) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_InviteSession, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 1;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_1:
-
- if (items == 2) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_InviteSession, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_ActionConfig, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 2;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_2:
-
- dispatch:
- switch(_index) {
- case 1:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_InviteSession_accept__SWIG_1); return;
- case 2:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_InviteSession_accept__SWIG_0); return;
- }
- }
-
- croak("No matching function for overloaded 'InviteSession_accept'");
- XSRETURN(0);
-}
-
-
-XS(_wrap_InviteSession_hangup__SWIG_0) {
- {
- InviteSession *arg1 = (InviteSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: InviteSession_hangup(self,config);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_InviteSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InviteSession_hangup" "', argument " "1"" of type '" "InviteSession *""'");
- }
- arg1 = reinterpret_cast< InviteSession * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "InviteSession_hangup" "', argument " "2"" of type '" "ActionConfig *""'");
- }
- arg2 = reinterpret_cast< ActionConfig * >(argp2);
- result = (bool)(arg1)->hangup(arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_InviteSession_hangup__SWIG_1) {
- {
- InviteSession *arg1 = (InviteSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: InviteSession_hangup(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_InviteSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InviteSession_hangup" "', argument " "1"" of type '" "InviteSession *""'");
- }
- arg1 = reinterpret_cast< InviteSession * >(argp1);
- result = (bool)(arg1)->hangup();
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_InviteSession_hangup) {
- dXSARGS;
-
- {
- unsigned long _index = 0;
- SWIG_TypeRank _rank = 0;
- if (items == 1) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_InviteSession, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 1;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_1:
-
- if (items == 2) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_InviteSession, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_ActionConfig, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 2;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_2:
-
- dispatch:
- switch(_index) {
- case 1:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_InviteSession_hangup__SWIG_1); return;
- case 2:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_InviteSession_hangup__SWIG_0); return;
- }
- }
-
- croak("No matching function for overloaded 'InviteSession_hangup'");
- XSRETURN(0);
-}
-
-
-XS(_wrap_InviteSession_reject__SWIG_0) {
- {
- InviteSession *arg1 = (InviteSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: InviteSession_reject(self,config);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_InviteSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InviteSession_reject" "', argument " "1"" of type '" "InviteSession *""'");
- }
- arg1 = reinterpret_cast< InviteSession * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "InviteSession_reject" "', argument " "2"" of type '" "ActionConfig *""'");
- }
- arg2 = reinterpret_cast< ActionConfig * >(argp2);
- result = (bool)(arg1)->reject(arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_InviteSession_reject__SWIG_1) {
- {
- InviteSession *arg1 = (InviteSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: InviteSession_reject(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_InviteSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InviteSession_reject" "', argument " "1"" of type '" "InviteSession *""'");
- }
- arg1 = reinterpret_cast< InviteSession * >(argp1);
- result = (bool)(arg1)->reject();
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_InviteSession_reject) {
- dXSARGS;
-
- {
- unsigned long _index = 0;
- SWIG_TypeRank _rank = 0;
- if (items == 1) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_InviteSession, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 1;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_1:
-
- if (items == 2) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_InviteSession, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_ActionConfig, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 2;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_2:
-
- dispatch:
- switch(_index) {
- case 1:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_InviteSession_reject__SWIG_1); return;
- case 2:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_InviteSession_reject__SWIG_0); return;
- }
- }
-
- croak("No matching function for overloaded 'InviteSession_reject'");
- XSRETURN(0);
-}
-
-
-XS(_wrap_InviteSession_getMediaMgr) {
- {
- InviteSession *arg1 = (InviteSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- MediaSessionMgr *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: InviteSession_getMediaMgr(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_InviteSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InviteSession_getMediaMgr" "', argument " "1"" of type '" "InviteSession *""'");
- }
- arg1 = reinterpret_cast< InviteSession * >(argp1);
- result = (MediaSessionMgr *)(arg1)->getMediaMgr();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_MediaSessionMgr, 0 | SWIG_SHADOW); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_new_CallSession) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- CallSession *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: new_CallSession(Stack);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CallSession" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- result = (CallSession *)new CallSession(arg1);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CallSession, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_CallSession) {
- {
- CallSession *arg1 = (CallSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_CallSession(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_CallSession, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CallSession" "', argument " "1"" of type '" "CallSession *""'");
- }
- arg1 = reinterpret_cast< CallSession * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_CallSession_callAudio__SWIG_0) {
- {
- CallSession *arg1 = (CallSession *) 0 ;
- char *arg2 = (char *) 0 ;
- ActionConfig *arg3 = (ActionConfig *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- void *argp3 = 0 ;
- int res3 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: CallSession_callAudio(self,remoteUri,config);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_CallSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CallSession_callAudio" "', argument " "1"" of type '" "CallSession *""'");
- }
- arg1 = reinterpret_cast< CallSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CallSession_callAudio" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CallSession_callAudio" "', argument " "3"" of type '" "ActionConfig *""'");
- }
- arg3 = reinterpret_cast< ActionConfig * >(argp3);
- result = (bool)(arg1)->callAudio((char const *)arg2,arg3);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_CallSession_callAudio__SWIG_1) {
- {
- CallSession *arg1 = (CallSession *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: CallSession_callAudio(self,remoteUri);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_CallSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CallSession_callAudio" "', argument " "1"" of type '" "CallSession *""'");
- }
- arg1 = reinterpret_cast< CallSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CallSession_callAudio" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->callAudio((char const *)arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_CallSession_callAudio) {
- dXSARGS;
-
- {
- unsigned long _index = 0;
- SWIG_TypeRank _rank = 0;
- if (items == 2) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_CallSession, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 1;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_1:
-
- if (items == 3) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_CallSession, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_ActionConfig, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 2;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_2:
-
- dispatch:
- switch(_index) {
- case 1:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_CallSession_callAudio__SWIG_1); return;
- case 2:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_CallSession_callAudio__SWIG_0); return;
- }
- }
-
- croak("No matching function for overloaded 'CallSession_callAudio'");
- XSRETURN(0);
-}
-
-
-XS(_wrap_CallSession_callAudioVideo__SWIG_0) {
- {
- CallSession *arg1 = (CallSession *) 0 ;
- char *arg2 = (char *) 0 ;
- ActionConfig *arg3 = (ActionConfig *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- void *argp3 = 0 ;
- int res3 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: CallSession_callAudioVideo(self,remoteUri,config);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_CallSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CallSession_callAudioVideo" "', argument " "1"" of type '" "CallSession *""'");
- }
- arg1 = reinterpret_cast< CallSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CallSession_callAudioVideo" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CallSession_callAudioVideo" "', argument " "3"" of type '" "ActionConfig *""'");
- }
- arg3 = reinterpret_cast< ActionConfig * >(argp3);
- result = (bool)(arg1)->callAudioVideo((char const *)arg2,arg3);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_CallSession_callAudioVideo__SWIG_1) {
- {
- CallSession *arg1 = (CallSession *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: CallSession_callAudioVideo(self,remoteUri);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_CallSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CallSession_callAudioVideo" "', argument " "1"" of type '" "CallSession *""'");
- }
- arg1 = reinterpret_cast< CallSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CallSession_callAudioVideo" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->callAudioVideo((char const *)arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_CallSession_callAudioVideo) {
- dXSARGS;
-
- {
- unsigned long _index = 0;
- SWIG_TypeRank _rank = 0;
- if (items == 2) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_CallSession, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 1;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_1:
-
- if (items == 3) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_CallSession, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_ActionConfig, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 2;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_2:
-
- dispatch:
- switch(_index) {
- case 1:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_CallSession_callAudioVideo__SWIG_1); return;
- case 2:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_CallSession_callAudioVideo__SWIG_0); return;
- }
- }
-
- croak("No matching function for overloaded 'CallSession_callAudioVideo'");
- XSRETURN(0);
-}
-
-
-XS(_wrap_CallSession_callVideo__SWIG_0) {
- {
- CallSession *arg1 = (CallSession *) 0 ;
- char *arg2 = (char *) 0 ;
- ActionConfig *arg3 = (ActionConfig *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- void *argp3 = 0 ;
- int res3 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: CallSession_callVideo(self,remoteUri,config);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_CallSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CallSession_callVideo" "', argument " "1"" of type '" "CallSession *""'");
- }
- arg1 = reinterpret_cast< CallSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CallSession_callVideo" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CallSession_callVideo" "', argument " "3"" of type '" "ActionConfig *""'");
- }
- arg3 = reinterpret_cast< ActionConfig * >(argp3);
- result = (bool)(arg1)->callVideo((char const *)arg2,arg3);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_CallSession_callVideo__SWIG_1) {
- {
- CallSession *arg1 = (CallSession *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: CallSession_callVideo(self,remoteUri);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_CallSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CallSession_callVideo" "', argument " "1"" of type '" "CallSession *""'");
- }
- arg1 = reinterpret_cast< CallSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CallSession_callVideo" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->callVideo((char const *)arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_CallSession_callVideo) {
- dXSARGS;
-
- {
- unsigned long _index = 0;
- SWIG_TypeRank _rank = 0;
- if (items == 2) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_CallSession, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 1;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_1:
-
- if (items == 3) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_CallSession, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_ActionConfig, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 2;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_2:
-
- dispatch:
- switch(_index) {
- case 1:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_CallSession_callVideo__SWIG_1); return;
- case 2:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_CallSession_callVideo__SWIG_0); return;
- }
- }
-
- croak("No matching function for overloaded 'CallSession_callVideo'");
- XSRETURN(0);
-}
-
-
-XS(_wrap_CallSession_setSessionTimer) {
- {
- CallSession *arg1 = (CallSession *) 0 ;
- unsigned int arg2 ;
- char *arg3 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- unsigned int val2 ;
- int ecode2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: CallSession_setSessionTimer(self,timeout,refresher);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_CallSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CallSession_setSessionTimer" "', argument " "1"" of type '" "CallSession *""'");
- }
- arg1 = reinterpret_cast< CallSession * >(argp1);
- ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CallSession_setSessionTimer" "', argument " "2"" of type '" "unsigned int""'");
- }
- arg2 = static_cast< unsigned int >(val2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CallSession_setSessionTimer" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (bool)(arg1)->setSessionTimer(arg2,(char const *)arg3);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
-
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- XSRETURN(argvi);
- fail:
-
-
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_CallSession_set100rel) {
- {
- CallSession *arg1 = (CallSession *) 0 ;
- bool arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- bool val2 ;
- int ecode2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: CallSession_set100rel(self,enabled);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_CallSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CallSession_set100rel" "', argument " "1"" of type '" "CallSession *""'");
- }
- arg1 = reinterpret_cast< CallSession * >(argp1);
- ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CallSession_set100rel" "', argument " "2"" of type '" "bool""'");
- }
- arg2 = static_cast< bool >(val2);
- result = (bool)(arg1)->set100rel(arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_CallSession_setQoS) {
- {
- CallSession *arg1 = (CallSession *) 0 ;
- tmedia_qos_stype_t arg2 ;
- tmedia_qos_strength_t arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
- int val3 ;
- int ecode3 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: CallSession_setQoS(self,type,strength);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_CallSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CallSession_setQoS" "', argument " "1"" of type '" "CallSession *""'");
- }
- arg1 = reinterpret_cast< CallSession * >(argp1);
- ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CallSession_setQoS" "', argument " "2"" of type '" "tmedia_qos_stype_t""'");
- }
- arg2 = static_cast< tmedia_qos_stype_t >(val2);
- ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CallSession_setQoS" "', argument " "3"" of type '" "tmedia_qos_strength_t""'");
- }
- arg3 = static_cast< tmedia_qos_strength_t >(val3);
- result = (bool)(arg1)->setQoS(arg2,arg3);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
-
-
- XSRETURN(argvi);
- fail:
-
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_CallSession_hold__SWIG_0) {
- {
- CallSession *arg1 = (CallSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: CallSession_hold(self,config);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_CallSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CallSession_hold" "', argument " "1"" of type '" "CallSession *""'");
- }
- arg1 = reinterpret_cast< CallSession * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CallSession_hold" "', argument " "2"" of type '" "ActionConfig *""'");
- }
- arg2 = reinterpret_cast< ActionConfig * >(argp2);
- result = (bool)(arg1)->hold(arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_CallSession_hold__SWIG_1) {
- {
- CallSession *arg1 = (CallSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: CallSession_hold(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_CallSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CallSession_hold" "', argument " "1"" of type '" "CallSession *""'");
- }
- arg1 = reinterpret_cast< CallSession * >(argp1);
- result = (bool)(arg1)->hold();
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_CallSession_hold) {
- dXSARGS;
-
- {
- unsigned long _index = 0;
- SWIG_TypeRank _rank = 0;
- if (items == 1) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_CallSession, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 1;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_1:
-
- if (items == 2) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_CallSession, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_ActionConfig, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 2;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_2:
-
- dispatch:
- switch(_index) {
- case 1:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_CallSession_hold__SWIG_1); return;
- case 2:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_CallSession_hold__SWIG_0); return;
- }
- }
-
- croak("No matching function for overloaded 'CallSession_hold'");
- XSRETURN(0);
-}
-
-
-XS(_wrap_CallSession_resume__SWIG_0) {
- {
- CallSession *arg1 = (CallSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: CallSession_resume(self,config);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_CallSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CallSession_resume" "', argument " "1"" of type '" "CallSession *""'");
- }
- arg1 = reinterpret_cast< CallSession * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CallSession_resume" "', argument " "2"" of type '" "ActionConfig *""'");
- }
- arg2 = reinterpret_cast< ActionConfig * >(argp2);
- result = (bool)(arg1)->resume(arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_CallSession_resume__SWIG_1) {
- {
- CallSession *arg1 = (CallSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: CallSession_resume(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_CallSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CallSession_resume" "', argument " "1"" of type '" "CallSession *""'");
- }
- arg1 = reinterpret_cast< CallSession * >(argp1);
- result = (bool)(arg1)->resume();
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_CallSession_resume) {
- dXSARGS;
-
- {
- unsigned long _index = 0;
- SWIG_TypeRank _rank = 0;
- if (items == 1) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_CallSession, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 1;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_1:
-
- if (items == 2) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_CallSession, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_ActionConfig, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 2;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_2:
-
- dispatch:
- switch(_index) {
- case 1:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_CallSession_resume__SWIG_1); return;
- case 2:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_CallSession_resume__SWIG_0); return;
- }
- }
-
- croak("No matching function for overloaded 'CallSession_resume'");
- XSRETURN(0);
-}
-
-
-XS(_wrap_CallSession_sendDTMF) {
- {
- CallSession *arg1 = (CallSession *) 0 ;
- int arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: CallSession_sendDTMF(self,number);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_CallSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CallSession_sendDTMF" "', argument " "1"" of type '" "CallSession *""'");
- }
- arg1 = reinterpret_cast< CallSession * >(argp1);
- ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CallSession_sendDTMF" "', argument " "2"" of type '" "int""'");
- }
- arg2 = static_cast< int >(val2);
- result = (bool)(arg1)->sendDTMF(arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_new_MsrpSession) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- MsrpCallback *arg2 = (MsrpCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- int argvi = 0;
- MsrpSession *result = 0 ;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: new_MsrpSession(Stack,callback);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MsrpSession" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_MsrpCallback, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_MsrpSession" "', argument " "2"" of type '" "MsrpCallback *""'");
- }
- arg2 = reinterpret_cast< MsrpCallback * >(argp2);
- result = (MsrpSession *)new MsrpSession(arg1,arg2);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_MsrpSession, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_MsrpSession) {
- {
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_MsrpSession(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MsrpSession, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MsrpSession" "', argument " "1"" of type '" "MsrpSession *""'");
- }
- arg1 = reinterpret_cast< MsrpSession * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MsrpSession_setCallback) {
- {
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- MsrpCallback *arg2 = (MsrpCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: MsrpSession_setCallback(self,callback);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MsrpSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpSession_setCallback" "', argument " "1"" of type '" "MsrpSession *""'");
- }
- arg1 = reinterpret_cast< MsrpSession * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_MsrpCallback, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MsrpSession_setCallback" "', argument " "2"" of type '" "MsrpCallback *""'");
- }
- arg2 = reinterpret_cast< MsrpCallback * >(argp2);
- result = (bool)(arg1)->setCallback(arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MsrpSession_callMsrp__SWIG_0) {
- {
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- char *arg2 = (char *) 0 ;
- ActionConfig *arg3 = (ActionConfig *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- void *argp3 = 0 ;
- int res3 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: MsrpSession_callMsrp(self,remoteUri,config);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MsrpSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpSession_callMsrp" "', argument " "1"" of type '" "MsrpSession *""'");
- }
- arg1 = reinterpret_cast< MsrpSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MsrpSession_callMsrp" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "MsrpSession_callMsrp" "', argument " "3"" of type '" "ActionConfig *""'");
- }
- arg3 = reinterpret_cast< ActionConfig * >(argp3);
- result = (bool)(arg1)->callMsrp((char const *)arg2,arg3);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MsrpSession_callMsrp__SWIG_1) {
- {
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: MsrpSession_callMsrp(self,remoteUri);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MsrpSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpSession_callMsrp" "', argument " "1"" of type '" "MsrpSession *""'");
- }
- arg1 = reinterpret_cast< MsrpSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MsrpSession_callMsrp" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->callMsrp((char const *)arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MsrpSession_callMsrp) {
- dXSARGS;
-
- {
- unsigned long _index = 0;
- SWIG_TypeRank _rank = 0;
- if (items == 2) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_MsrpSession, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 1;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_1:
-
- if (items == 3) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_MsrpSession, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(2), &vptr, SWIGTYPE_p_ActionConfig, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 2;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_2:
-
- dispatch:
- switch(_index) {
- case 1:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_MsrpSession_callMsrp__SWIG_1); return;
- case 2:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_MsrpSession_callMsrp__SWIG_0); return;
- }
- }
-
- croak("No matching function for overloaded 'MsrpSession_callMsrp'");
- XSRETURN(0);
-}
-
-
-XS(_wrap_MsrpSession_sendMessage__SWIG_0) {
- {
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- ActionConfig *arg4 = (ActionConfig *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- void *argp4 = 0 ;
- int res4 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 4) || (items > 4)) {
- SWIG_croak("Usage: MsrpSession_sendMessage(self,payload,len,config);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MsrpSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpSession_sendMessage" "', argument " "1"" of type '" "MsrpSession *""'");
- }
- arg1 = reinterpret_cast< MsrpSession * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MsrpSession_sendMessage" "', argument " "2"" of type '" "void const *""'");
- }
- ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MsrpSession_sendMessage" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (!SWIG_IsOK(res4)) {
- SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "MsrpSession_sendMessage" "', argument " "4"" of type '" "ActionConfig *""'");
- }
- arg4 = reinterpret_cast< ActionConfig * >(argp4);
- result = (bool)(arg1)->sendMessage((void const *)arg2,arg3,arg4);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
-
-
-
- XSRETURN(argvi);
- fail:
-
-
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MsrpSession_sendMessage__SWIG_1) {
- {
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: MsrpSession_sendMessage(self,payload,len);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MsrpSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpSession_sendMessage" "', argument " "1"" of type '" "MsrpSession *""'");
- }
- arg1 = reinterpret_cast< MsrpSession * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MsrpSession_sendMessage" "', argument " "2"" of type '" "void const *""'");
- }
- ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MsrpSession_sendMessage" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (bool)(arg1)->sendMessage((void const *)arg2,arg3);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
-
-
- XSRETURN(argvi);
- fail:
-
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MsrpSession_sendMessage) {
- dXSARGS;
-
- {
- unsigned long _index = 0;
- SWIG_TypeRank _rank = 0;
- if (items == 3) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_MsrpSession, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- void *ptr = 0;
- int res = SWIG_ConvertPtr(ST(1), &ptr, 0, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- {
- int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
- _v = SWIG_CheckState(res);
- }
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 1;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_1:
-
- if (items == 4) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_MsrpSession, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- void *ptr = 0;
- int res = SWIG_ConvertPtr(ST(1), &ptr, 0, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- {
- int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
- _v = SWIG_CheckState(res);
- }
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(3), &vptr, SWIGTYPE_p_ActionConfig, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 2;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_2:
-
- dispatch:
- switch(_index) {
- case 1:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_MsrpSession_sendMessage__SWIG_1); return;
- case 2:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_MsrpSession_sendMessage__SWIG_0); return;
- }
- }
-
- croak("No matching function for overloaded 'MsrpSession_sendMessage'");
- XSRETURN(0);
-}
-
-
-XS(_wrap_MsrpSession_sendFile__SWIG_0) {
- {
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: MsrpSession_sendFile(self,config);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MsrpSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpSession_sendFile" "', argument " "1"" of type '" "MsrpSession *""'");
- }
- arg1 = reinterpret_cast< MsrpSession * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MsrpSession_sendFile" "', argument " "2"" of type '" "ActionConfig *""'");
- }
- arg2 = reinterpret_cast< ActionConfig * >(argp2);
- result = (bool)(arg1)->sendFile(arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MsrpSession_sendFile__SWIG_1) {
- {
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: MsrpSession_sendFile(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MsrpSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpSession_sendFile" "', argument " "1"" of type '" "MsrpSession *""'");
- }
- arg1 = reinterpret_cast< MsrpSession * >(argp1);
- result = (bool)(arg1)->sendFile();
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MsrpSession_sendFile) {
- dXSARGS;
-
- {
- unsigned long _index = 0;
- SWIG_TypeRank _rank = 0;
- if (items == 1) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_MsrpSession, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 1;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_1:
-
- if (items == 2) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_MsrpSession, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_ActionConfig, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 2;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_2:
-
- dispatch:
- switch(_index) {
- case 1:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_MsrpSession_sendFile__SWIG_1); return;
- case 2:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_MsrpSession_sendFile__SWIG_0); return;
- }
- }
-
- croak("No matching function for overloaded 'MsrpSession_sendFile'");
- XSRETURN(0);
-}
-
-
-XS(_wrap_new_MessagingSession) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- MessagingSession *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: new_MessagingSession(Stack);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessagingSession" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- result = (MessagingSession *)new MessagingSession(arg1);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_MessagingSession, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_MessagingSession) {
- {
- MessagingSession *arg1 = (MessagingSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_MessagingSession(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MessagingSession, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MessagingSession" "', argument " "1"" of type '" "MessagingSession *""'");
- }
- arg1 = reinterpret_cast< MessagingSession * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MessagingSession_send) {
- {
- MessagingSession *arg1 = (MessagingSession *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: MessagingSession_send(self,payload,len);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MessagingSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MessagingSession_send" "', argument " "1"" of type '" "MessagingSession *""'");
- }
- arg1 = reinterpret_cast< MessagingSession * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MessagingSession_send" "', argument " "2"" of type '" "void const *""'");
- }
- ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MessagingSession_send" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (bool)(arg1)->send((void const *)arg2,arg3);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
-
-
- XSRETURN(argvi);
- fail:
-
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MessagingSession_accept) {
- {
- MessagingSession *arg1 = (MessagingSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: MessagingSession_accept(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MessagingSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MessagingSession_accept" "', argument " "1"" of type '" "MessagingSession *""'");
- }
- arg1 = reinterpret_cast< MessagingSession * >(argp1);
- result = (bool)(arg1)->accept();
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MessagingSession_reject) {
- {
- MessagingSession *arg1 = (MessagingSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: MessagingSession_reject(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MessagingSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MessagingSession_reject" "', argument " "1"" of type '" "MessagingSession *""'");
- }
- arg1 = reinterpret_cast< MessagingSession * >(argp1);
- result = (bool)(arg1)->reject();
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_new_OptionsSession) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- OptionsSession *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: new_OptionsSession(Stack);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OptionsSession" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- result = (OptionsSession *)new OptionsSession(arg1);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OptionsSession, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_OptionsSession) {
- {
- OptionsSession *arg1 = (OptionsSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_OptionsSession(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OptionsSession, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OptionsSession" "', argument " "1"" of type '" "OptionsSession *""'");
- }
- arg1 = reinterpret_cast< OptionsSession * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_OptionsSession_send) {
- {
- OptionsSession *arg1 = (OptionsSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: OptionsSession_send(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_OptionsSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OptionsSession_send" "', argument " "1"" of type '" "OptionsSession *""'");
- }
- arg1 = reinterpret_cast< OptionsSession * >(argp1);
- result = (bool)(arg1)->send();
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_new_PublicationSession) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- PublicationSession *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: new_PublicationSession(Stack);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PublicationSession" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- result = (PublicationSession *)new PublicationSession(arg1);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_PublicationSession, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_PublicationSession) {
- {
- PublicationSession *arg1 = (PublicationSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_PublicationSession(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_PublicationSession, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PublicationSession" "', argument " "1"" of type '" "PublicationSession *""'");
- }
- arg1 = reinterpret_cast< PublicationSession * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_PublicationSession_publish) {
- {
- PublicationSession *arg1 = (PublicationSession *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: PublicationSession_publish(self,payload,len);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_PublicationSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PublicationSession_publish" "', argument " "1"" of type '" "PublicationSession *""'");
- }
- arg1 = reinterpret_cast< PublicationSession * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PublicationSession_publish" "', argument " "2"" of type '" "void const *""'");
- }
- ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PublicationSession_publish" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (bool)(arg1)->publish((void const *)arg2,arg3);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
-
-
- XSRETURN(argvi);
- fail:
-
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_PublicationSession_unPublish) {
- {
- PublicationSession *arg1 = (PublicationSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: PublicationSession_unPublish(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_PublicationSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PublicationSession_unPublish" "', argument " "1"" of type '" "PublicationSession *""'");
- }
- arg1 = reinterpret_cast< PublicationSession * >(argp1);
- result = (bool)(arg1)->unPublish();
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_new_RegistrationSession) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- RegistrationSession *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: new_RegistrationSession(Stack);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RegistrationSession" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- result = (RegistrationSession *)new RegistrationSession(arg1);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RegistrationSession, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_RegistrationSession) {
- {
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_RegistrationSession(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_RegistrationSession, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RegistrationSession" "', argument " "1"" of type '" "RegistrationSession *""'");
- }
- arg1 = reinterpret_cast< RegistrationSession * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_RegistrationSession_register_) {
- {
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: RegistrationSession_register_(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_RegistrationSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RegistrationSession_register_" "', argument " "1"" of type '" "RegistrationSession *""'");
- }
- arg1 = reinterpret_cast< RegistrationSession * >(argp1);
- result = (bool)(arg1)->register_();
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_RegistrationSession_unRegister) {
- {
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: RegistrationSession_unRegister(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_RegistrationSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RegistrationSession_unRegister" "', argument " "1"" of type '" "RegistrationSession *""'");
- }
- arg1 = reinterpret_cast< RegistrationSession * >(argp1);
- result = (bool)(arg1)->unRegister();
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_RegistrationSession_accept__SWIG_0) {
- {
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: RegistrationSession_accept(self,config);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_RegistrationSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RegistrationSession_accept" "', argument " "1"" of type '" "RegistrationSession *""'");
- }
- arg1 = reinterpret_cast< RegistrationSession * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RegistrationSession_accept" "', argument " "2"" of type '" "ActionConfig *""'");
- }
- arg2 = reinterpret_cast< ActionConfig * >(argp2);
- result = (bool)(arg1)->accept(arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_RegistrationSession_accept__SWIG_1) {
- {
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: RegistrationSession_accept(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_RegistrationSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RegistrationSession_accept" "', argument " "1"" of type '" "RegistrationSession *""'");
- }
- arg1 = reinterpret_cast< RegistrationSession * >(argp1);
- result = (bool)(arg1)->accept();
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_RegistrationSession_accept) {
- dXSARGS;
-
- {
- unsigned long _index = 0;
- SWIG_TypeRank _rank = 0;
- if (items == 1) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_RegistrationSession, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 1;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_1:
-
- if (items == 2) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_RegistrationSession, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_ActionConfig, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 2;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_2:
-
- dispatch:
- switch(_index) {
- case 1:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_RegistrationSession_accept__SWIG_1); return;
- case 2:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_RegistrationSession_accept__SWIG_0); return;
- }
- }
-
- croak("No matching function for overloaded 'RegistrationSession_accept'");
- XSRETURN(0);
-}
-
-
-XS(_wrap_RegistrationSession_reject__SWIG_0) {
- {
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: RegistrationSession_reject(self,config);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_RegistrationSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RegistrationSession_reject" "', argument " "1"" of type '" "RegistrationSession *""'");
- }
- arg1 = reinterpret_cast< RegistrationSession * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RegistrationSession_reject" "', argument " "2"" of type '" "ActionConfig *""'");
- }
- arg2 = reinterpret_cast< ActionConfig * >(argp2);
- result = (bool)(arg1)->reject(arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_RegistrationSession_reject__SWIG_1) {
- {
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: RegistrationSession_reject(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_RegistrationSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RegistrationSession_reject" "', argument " "1"" of type '" "RegistrationSession *""'");
- }
- arg1 = reinterpret_cast< RegistrationSession * >(argp1);
- result = (bool)(arg1)->reject();
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_RegistrationSession_reject) {
- dXSARGS;
-
- {
- unsigned long _index = 0;
- SWIG_TypeRank _rank = 0;
- if (items == 1) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_RegistrationSession, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 1;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_1:
-
- if (items == 2) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_RegistrationSession, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_ActionConfig, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 2;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_2:
-
- dispatch:
- switch(_index) {
- case 1:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_RegistrationSession_reject__SWIG_1); return;
- case 2:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_RegistrationSession_reject__SWIG_0); return;
- }
- }
-
- croak("No matching function for overloaded 'RegistrationSession_reject'");
- XSRETURN(0);
-}
-
-
-XS(_wrap_new_SubscriptionSession) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- SubscriptionSession *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: new_SubscriptionSession(Stack);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SubscriptionSession" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- result = (SubscriptionSession *)new SubscriptionSession(arg1);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SubscriptionSession, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_SubscriptionSession) {
- {
- SubscriptionSession *arg1 = (SubscriptionSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_SubscriptionSession(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SubscriptionSession, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SubscriptionSession" "', argument " "1"" of type '" "SubscriptionSession *""'");
- }
- arg1 = reinterpret_cast< SubscriptionSession * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SubscriptionSession_subscribe) {
- {
- SubscriptionSession *arg1 = (SubscriptionSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SubscriptionSession_subscribe(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SubscriptionSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SubscriptionSession_subscribe" "', argument " "1"" of type '" "SubscriptionSession *""'");
- }
- arg1 = reinterpret_cast< SubscriptionSession * >(argp1);
- result = (bool)(arg1)->subscribe();
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SubscriptionSession_unSubscribe) {
- {
- SubscriptionSession *arg1 = (SubscriptionSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SubscriptionSession_unSubscribe(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SubscriptionSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SubscriptionSession_unSubscribe" "', argument " "1"" of type '" "SubscriptionSession *""'");
- }
- arg1 = reinterpret_cast< SubscriptionSession * >(argp1);
- result = (bool)(arg1)->unSubscribe();
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_ProxyPluginMgr) {
- {
- ProxyPluginMgr *arg1 = (ProxyPluginMgr *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_ProxyPluginMgr(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyPluginMgr, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ProxyPluginMgr" "', argument " "1"" of type '" "ProxyPluginMgr *""'");
- }
- arg1 = reinterpret_cast< ProxyPluginMgr * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyPluginMgr_createInstance) {
- {
- ProxyPluginMgrCallback *arg1 = (ProxyPluginMgrCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- ProxyPluginMgr *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: ProxyPluginMgr_createInstance(callback);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyPluginMgrCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyPluginMgr_createInstance" "', argument " "1"" of type '" "ProxyPluginMgrCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyPluginMgrCallback * >(argp1);
- result = (ProxyPluginMgr *)ProxyPluginMgr::createInstance(arg1);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ProxyPluginMgr, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyPluginMgr_getInstance) {
- {
- int argvi = 0;
- ProxyPluginMgr *result = 0 ;
- dXSARGS;
-
- if ((items < 0) || (items > 0)) {
- SWIG_croak("Usage: ProxyPluginMgr_getInstance();");
- }
- result = (ProxyPluginMgr *)ProxyPluginMgr::getInstance();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ProxyPluginMgr, 0 | SWIG_SHADOW); argvi++ ;
- XSRETURN(argvi);
- fail:
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyPluginMgr_findAudioConsumer) {
- {
- ProxyPluginMgr *arg1 = (ProxyPluginMgr *) 0 ;
- uint64_t arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- unsigned long long val2 ;
- int ecode2 = 0 ;
- int argvi = 0;
- ProxyAudioConsumer *result = 0 ;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: ProxyPluginMgr_findAudioConsumer(self,id);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyPluginMgr, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyPluginMgr_findAudioConsumer" "', argument " "1"" of type '" "ProxyPluginMgr *""'");
- }
- arg1 = reinterpret_cast< ProxyPluginMgr * >(argp1);
- ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProxyPluginMgr_findAudioConsumer" "', argument " "2"" of type '" "uint64_t""'");
- }
- arg2 = static_cast< uint64_t >(val2);
- result = (ProxyAudioConsumer *)(arg1)->findAudioConsumer(arg2);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ProxyAudioConsumer, 0 | SWIG_SHADOW); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyPluginMgr_findVideoConsumer) {
- {
- ProxyPluginMgr *arg1 = (ProxyPluginMgr *) 0 ;
- uint64_t arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- unsigned long long val2 ;
- int ecode2 = 0 ;
- int argvi = 0;
- ProxyVideoConsumer *result = 0 ;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: ProxyPluginMgr_findVideoConsumer(self,id);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyPluginMgr, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyPluginMgr_findVideoConsumer" "', argument " "1"" of type '" "ProxyPluginMgr *""'");
- }
- arg1 = reinterpret_cast< ProxyPluginMgr * >(argp1);
- ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProxyPluginMgr_findVideoConsumer" "', argument " "2"" of type '" "uint64_t""'");
- }
- arg2 = static_cast< uint64_t >(val2);
- result = (ProxyVideoConsumer *)(arg1)->findVideoConsumer(arg2);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ProxyVideoConsumer, 0 | SWIG_SHADOW); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyPluginMgr_findAudioProducer) {
- {
- ProxyPluginMgr *arg1 = (ProxyPluginMgr *) 0 ;
- uint64_t arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- unsigned long long val2 ;
- int ecode2 = 0 ;
- int argvi = 0;
- ProxyAudioProducer *result = 0 ;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: ProxyPluginMgr_findAudioProducer(self,id);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyPluginMgr, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyPluginMgr_findAudioProducer" "', argument " "1"" of type '" "ProxyPluginMgr *""'");
- }
- arg1 = reinterpret_cast< ProxyPluginMgr * >(argp1);
- ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProxyPluginMgr_findAudioProducer" "', argument " "2"" of type '" "uint64_t""'");
- }
- arg2 = static_cast< uint64_t >(val2);
- result = (ProxyAudioProducer *)(arg1)->findAudioProducer(arg2);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ProxyAudioProducer, 0 | SWIG_SHADOW); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyPluginMgr_findVideoProducer) {
- {
- ProxyPluginMgr *arg1 = (ProxyPluginMgr *) 0 ;
- uint64_t arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- unsigned long long val2 ;
- int ecode2 = 0 ;
- int argvi = 0;
- ProxyVideoProducer *result = 0 ;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: ProxyPluginMgr_findVideoProducer(self,id);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyPluginMgr, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyPluginMgr_findVideoProducer" "', argument " "1"" of type '" "ProxyPluginMgr *""'");
- }
- arg1 = reinterpret_cast< ProxyPluginMgr * >(argp1);
- ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProxyPluginMgr_findVideoProducer" "', argument " "2"" of type '" "uint64_t""'");
- }
- arg2 = static_cast< uint64_t >(val2);
- result = (ProxyVideoProducer *)(arg1)->findVideoProducer(arg2);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ProxyVideoProducer, 0 | SWIG_SHADOW); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_new_ProxyPluginMgrCallback) {
- {
- int argvi = 0;
- ProxyPluginMgrCallback *result = 0 ;
- dXSARGS;
-
- if ((items < 0) || (items > 0)) {
- SWIG_croak("Usage: new_ProxyPluginMgrCallback();");
- }
- result = (ProxyPluginMgrCallback *)new ProxyPluginMgrCallback();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ProxyPluginMgrCallback, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
- XSRETURN(argvi);
- fail:
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_ProxyPluginMgrCallback) {
- {
- ProxyPluginMgrCallback *arg1 = (ProxyPluginMgrCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_ProxyPluginMgrCallback(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyPluginMgrCallback, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ProxyPluginMgrCallback" "', argument " "1"" of type '" "ProxyPluginMgrCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyPluginMgrCallback * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyPluginMgrCallback_OnPluginCreated) {
- {
- ProxyPluginMgrCallback *arg1 = (ProxyPluginMgrCallback *) 0 ;
- uint64_t arg2 ;
- enum twrap_proxy_plugin_type_e arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- unsigned long long val2 ;
- int ecode2 = 0 ;
- int val3 ;
- int ecode3 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: ProxyPluginMgrCallback_OnPluginCreated(self,id,type);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyPluginMgrCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyPluginMgrCallback_OnPluginCreated" "', argument " "1"" of type '" "ProxyPluginMgrCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyPluginMgrCallback * >(argp1);
- ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProxyPluginMgrCallback_OnPluginCreated" "', argument " "2"" of type '" "uint64_t""'");
- }
- arg2 = static_cast< uint64_t >(val2);
- ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ProxyPluginMgrCallback_OnPluginCreated" "', argument " "3"" of type '" "enum twrap_proxy_plugin_type_e""'");
- }
- arg3 = static_cast< enum twrap_proxy_plugin_type_e >(val3);
- result = (int)(arg1)->OnPluginCreated(arg2,arg3);
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
-
-
- XSRETURN(argvi);
- fail:
-
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyPluginMgrCallback_OnPluginDestroyed) {
- {
- ProxyPluginMgrCallback *arg1 = (ProxyPluginMgrCallback *) 0 ;
- uint64_t arg2 ;
- enum twrap_proxy_plugin_type_e arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- unsigned long long val2 ;
- int ecode2 = 0 ;
- int val3 ;
- int ecode3 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: ProxyPluginMgrCallback_OnPluginDestroyed(self,id,type);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyPluginMgrCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyPluginMgrCallback_OnPluginDestroyed" "', argument " "1"" of type '" "ProxyPluginMgrCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyPluginMgrCallback * >(argp1);
- ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProxyPluginMgrCallback_OnPluginDestroyed" "', argument " "2"" of type '" "uint64_t""'");
- }
- arg2 = static_cast< uint64_t >(val2);
- ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ProxyPluginMgrCallback_OnPluginDestroyed" "', argument " "3"" of type '" "enum twrap_proxy_plugin_type_e""'");
- }
- arg3 = static_cast< enum twrap_proxy_plugin_type_e >(val3);
- result = (int)(arg1)->OnPluginDestroyed(arg2,arg3);
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
-
-
- XSRETURN(argvi);
- fail:
-
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_ProxyPlugin) {
- {
- ProxyPlugin *arg1 = (ProxyPlugin *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_ProxyPlugin(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyPlugin, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ProxyPlugin" "', argument " "1"" of type '" "ProxyPlugin *""'");
- }
- arg1 = reinterpret_cast< ProxyPlugin * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyPlugin_getType) {
- {
- ProxyPlugin *arg1 = (ProxyPlugin *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- twrap_proxy_plugin_type_t result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: ProxyPlugin_getType(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyPlugin, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyPlugin_getType" "', argument " "1"" of type '" "ProxyPlugin const *""'");
- }
- arg1 = reinterpret_cast< ProxyPlugin * >(argp1);
- result = (twrap_proxy_plugin_type_t)((ProxyPlugin const *)arg1)->getType();
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyPlugin_getId) {
- {
- ProxyPlugin *arg1 = (ProxyPlugin *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- uint64_t result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: ProxyPlugin_getId(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyPlugin, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyPlugin_getId" "', argument " "1"" of type '" "ProxyPlugin const *""'");
- }
- arg1 = reinterpret_cast< ProxyPlugin * >(argp1);
- result = (uint64_t)((ProxyPlugin const *)arg1)->getId();
- ST(argvi) = SWIG_From_unsigned_SS_long_SS_long SWIG_PERL_CALL_ARGS_1(static_cast< unsigned long long >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_new_ProxyAudioConsumerCallback) {
- {
- int argvi = 0;
- ProxyAudioConsumerCallback *result = 0 ;
- dXSARGS;
-
- if ((items < 0) || (items > 0)) {
- SWIG_croak("Usage: new_ProxyAudioConsumerCallback();");
- }
- result = (ProxyAudioConsumerCallback *)new ProxyAudioConsumerCallback();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ProxyAudioConsumerCallback, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
- XSRETURN(argvi);
- fail:
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_ProxyAudioConsumerCallback) {
- {
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_ProxyAudioConsumerCallback(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyAudioConsumerCallback, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ProxyAudioConsumerCallback" "', argument " "1"" of type '" "ProxyAudioConsumerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioConsumerCallback * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyAudioConsumerCallback_prepare) {
- {
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
- int val3 ;
- int ecode3 = 0 ;
- int val4 ;
- int ecode4 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 4) || (items > 4)) {
- SWIG_croak("Usage: ProxyAudioConsumerCallback_prepare(self,ptime,rate,channels);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyAudioConsumerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyAudioConsumerCallback_prepare" "', argument " "1"" of type '" "ProxyAudioConsumerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioConsumerCallback * >(argp1);
- ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProxyAudioConsumerCallback_prepare" "', argument " "2"" of type '" "int""'");
- }
- arg2 = static_cast< int >(val2);
- ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ProxyAudioConsumerCallback_prepare" "', argument " "3"" of type '" "int""'");
- }
- arg3 = static_cast< int >(val3);
- ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ProxyAudioConsumerCallback_prepare" "', argument " "4"" of type '" "int""'");
- }
- arg4 = static_cast< int >(val4);
- result = (int)(arg1)->prepare(arg2,arg3,arg4);
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
-
-
-
- XSRETURN(argvi);
- fail:
-
-
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyAudioConsumerCallback_start) {
- {
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: ProxyAudioConsumerCallback_start(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyAudioConsumerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyAudioConsumerCallback_start" "', argument " "1"" of type '" "ProxyAudioConsumerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioConsumerCallback * >(argp1);
- result = (int)(arg1)->start();
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyAudioConsumerCallback_pause) {
- {
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: ProxyAudioConsumerCallback_pause(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyAudioConsumerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyAudioConsumerCallback_pause" "', argument " "1"" of type '" "ProxyAudioConsumerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioConsumerCallback * >(argp1);
- result = (int)(arg1)->pause();
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyAudioConsumerCallback_stop) {
- {
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: ProxyAudioConsumerCallback_stop(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyAudioConsumerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyAudioConsumerCallback_stop" "', argument " "1"" of type '" "ProxyAudioConsumerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioConsumerCallback * >(argp1);
- result = (int)(arg1)->stop();
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_ProxyAudioConsumer) {
- {
- ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_ProxyAudioConsumer(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyAudioConsumer, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ProxyAudioConsumer" "', argument " "1"" of type '" "ProxyAudioConsumer *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioConsumer * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyAudioConsumer_pull) {
- {
- ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- int argvi = 0;
- unsigned int result;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: ProxyAudioConsumer_pull(self,output,size);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyAudioConsumer, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyAudioConsumer_pull" "', argument " "1"" of type '" "ProxyAudioConsumer *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioConsumer * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ProxyAudioConsumer_pull" "', argument " "2"" of type '" "void *""'");
- }
- ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ProxyAudioConsumer_pull" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (unsigned int)(arg1)->pull(arg2,arg3);
- ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
-
-
-
- XSRETURN(argvi);
- fail:
-
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyAudioConsumer_reset) {
- {
- ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: ProxyAudioConsumer_reset(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyAudioConsumer, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyAudioConsumer_reset" "', argument " "1"" of type '" "ProxyAudioConsumer *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioConsumer * >(argp1);
- result = (bool)(arg1)->reset();
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyAudioConsumer_setCallback) {
- {
- ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
- ProxyAudioConsumerCallback *arg2 = (ProxyAudioConsumerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: ProxyAudioConsumer_setCallback(self,_callback);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyAudioConsumer, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyAudioConsumer_setCallback" "', argument " "1"" of type '" "ProxyAudioConsumer *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioConsumer * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_ProxyAudioConsumerCallback, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ProxyAudioConsumer_setCallback" "', argument " "2"" of type '" "ProxyAudioConsumerCallback *""'");
- }
- arg2 = reinterpret_cast< ProxyAudioConsumerCallback * >(argp2);
- (arg1)->setCallback(arg2);
- ST(argvi) = sv_newmortal();
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyAudioConsumer_getMediaSessionId) {
- {
- ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- uint64_t result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: ProxyAudioConsumer_getMediaSessionId(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyAudioConsumer, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyAudioConsumer_getMediaSessionId" "', argument " "1"" of type '" "ProxyAudioConsumer *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioConsumer * >(argp1);
- result = (uint64_t)(arg1)->getMediaSessionId();
- ST(argvi) = SWIG_From_unsigned_SS_long_SS_long SWIG_PERL_CALL_ARGS_1(static_cast< unsigned long long >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyAudioConsumer_registerPlugin) {
- {
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 0) || (items > 0)) {
- SWIG_croak("Usage: ProxyAudioConsumer_registerPlugin();");
- }
- result = (bool)ProxyAudioConsumer::registerPlugin();
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
- XSRETURN(argvi);
- fail:
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_new_ProxyVideoConsumerCallback) {
- {
- int argvi = 0;
- ProxyVideoConsumerCallback *result = 0 ;
- dXSARGS;
-
- if ((items < 0) || (items > 0)) {
- SWIG_croak("Usage: new_ProxyVideoConsumerCallback();");
- }
- result = (ProxyVideoConsumerCallback *)new ProxyVideoConsumerCallback();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ProxyVideoConsumerCallback, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
- XSRETURN(argvi);
- fail:
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_ProxyVideoConsumerCallback) {
- {
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_ProxyVideoConsumerCallback(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyVideoConsumerCallback, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ProxyVideoConsumerCallback" "', argument " "1"" of type '" "ProxyVideoConsumerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoConsumerCallback * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyVideoConsumerCallback_prepare) {
- {
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
- int val3 ;
- int ecode3 = 0 ;
- int val4 ;
- int ecode4 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 4) || (items > 4)) {
- SWIG_croak("Usage: ProxyVideoConsumerCallback_prepare(self,width,height,fps);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyVideoConsumerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoConsumerCallback_prepare" "', argument " "1"" of type '" "ProxyVideoConsumerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoConsumerCallback * >(argp1);
- ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProxyVideoConsumerCallback_prepare" "', argument " "2"" of type '" "int""'");
- }
- arg2 = static_cast< int >(val2);
- ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ProxyVideoConsumerCallback_prepare" "', argument " "3"" of type '" "int""'");
- }
- arg3 = static_cast< int >(val3);
- ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ProxyVideoConsumerCallback_prepare" "', argument " "4"" of type '" "int""'");
- }
- arg4 = static_cast< int >(val4);
- result = (int)(arg1)->prepare(arg2,arg3,arg4);
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
-
-
-
- XSRETURN(argvi);
- fail:
-
-
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyVideoConsumerCallback_consume) {
- {
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- ProxyVideoFrame *arg2 = (ProxyVideoFrame *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: ProxyVideoConsumerCallback_consume(self,frame);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyVideoConsumerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoConsumerCallback_consume" "', argument " "1"" of type '" "ProxyVideoConsumerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoConsumerCallback * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_ProxyVideoFrame, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ProxyVideoConsumerCallback_consume" "', argument " "2"" of type '" "ProxyVideoFrame const *""'");
- }
- arg2 = reinterpret_cast< ProxyVideoFrame * >(argp2);
- result = (int)(arg1)->consume((ProxyVideoFrame const *)arg2);
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyVideoConsumerCallback_start) {
- {
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: ProxyVideoConsumerCallback_start(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyVideoConsumerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoConsumerCallback_start" "', argument " "1"" of type '" "ProxyVideoConsumerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoConsumerCallback * >(argp1);
- result = (int)(arg1)->start();
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyVideoConsumerCallback_pause) {
- {
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: ProxyVideoConsumerCallback_pause(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyVideoConsumerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoConsumerCallback_pause" "', argument " "1"" of type '" "ProxyVideoConsumerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoConsumerCallback * >(argp1);
- result = (int)(arg1)->pause();
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyVideoConsumerCallback_stop) {
- {
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: ProxyVideoConsumerCallback_stop(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyVideoConsumerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoConsumerCallback_stop" "', argument " "1"" of type '" "ProxyVideoConsumerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoConsumerCallback * >(argp1);
- result = (int)(arg1)->stop();
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_ProxyVideoConsumer) {
- {
- ProxyVideoConsumer *arg1 = (ProxyVideoConsumer *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_ProxyVideoConsumer(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyVideoConsumer, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ProxyVideoConsumer" "', argument " "1"" of type '" "ProxyVideoConsumer *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoConsumer * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyVideoConsumer_setDisplaySize) {
- {
- ProxyVideoConsumer *arg1 = (ProxyVideoConsumer *) 0 ;
- int arg2 ;
- int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
- int val3 ;
- int ecode3 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: ProxyVideoConsumer_setDisplaySize(self,width,height);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyVideoConsumer, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoConsumer_setDisplaySize" "', argument " "1"" of type '" "ProxyVideoConsumer *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoConsumer * >(argp1);
- ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProxyVideoConsumer_setDisplaySize" "', argument " "2"" of type '" "int""'");
- }
- arg2 = static_cast< int >(val2);
- ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ProxyVideoConsumer_setDisplaySize" "', argument " "3"" of type '" "int""'");
- }
- arg3 = static_cast< int >(val3);
- result = (bool)(arg1)->setDisplaySize(arg2,arg3);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
-
-
- XSRETURN(argvi);
- fail:
-
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyVideoConsumer_setCallback) {
- {
- ProxyVideoConsumer *arg1 = (ProxyVideoConsumer *) 0 ;
- ProxyVideoConsumerCallback *arg2 = (ProxyVideoConsumerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: ProxyVideoConsumer_setCallback(self,_callback);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyVideoConsumer, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoConsumer_setCallback" "', argument " "1"" of type '" "ProxyVideoConsumer *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoConsumer * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_ProxyVideoConsumerCallback, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ProxyVideoConsumer_setCallback" "', argument " "2"" of type '" "ProxyVideoConsumerCallback *""'");
- }
- arg2 = reinterpret_cast< ProxyVideoConsumerCallback * >(argp2);
- (arg1)->setCallback(arg2);
- ST(argvi) = sv_newmortal();
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyVideoConsumer_getMediaSessionId) {
- {
- ProxyVideoConsumer *arg1 = (ProxyVideoConsumer *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- uint64_t result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: ProxyVideoConsumer_getMediaSessionId(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyVideoConsumer, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoConsumer_getMediaSessionId" "', argument " "1"" of type '" "ProxyVideoConsumer *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoConsumer * >(argp1);
- result = (uint64_t)(arg1)->getMediaSessionId();
- ST(argvi) = SWIG_From_unsigned_SS_long_SS_long SWIG_PERL_CALL_ARGS_1(static_cast< unsigned long long >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyVideoConsumer_registerPlugin) {
- {
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 0) || (items > 0)) {
- SWIG_croak("Usage: ProxyVideoConsumer_registerPlugin();");
- }
- result = (bool)ProxyVideoConsumer::registerPlugin();
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
- XSRETURN(argvi);
- fail:
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyVideoConsumer_setDefaultChroma) {
- {
- tmedia_chroma_t arg1 ;
- int val1 ;
- int ecode1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: ProxyVideoConsumer_setDefaultChroma(chroma);");
- }
- ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
- if (!SWIG_IsOK(ecode1)) {
- SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ProxyVideoConsumer_setDefaultChroma" "', argument " "1"" of type '" "tmedia_chroma_t""'");
- }
- arg1 = static_cast< tmedia_chroma_t >(val1);
- ProxyVideoConsumer::setDefaultChroma(arg1);
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_ProxyVideoFrame) {
- {
- ProxyVideoFrame *arg1 = (ProxyVideoFrame *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_ProxyVideoFrame(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyVideoFrame, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ProxyVideoFrame" "', argument " "1"" of type '" "ProxyVideoFrame *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoFrame * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyVideoFrame_getSize) {
- {
- ProxyVideoFrame *arg1 = (ProxyVideoFrame *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- unsigned int result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: ProxyVideoFrame_getSize(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyVideoFrame, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoFrame_getSize" "', argument " "1"" of type '" "ProxyVideoFrame *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoFrame * >(argp1);
- result = (unsigned int)(arg1)->getSize();
- ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyVideoFrame_getContent) {
- {
- ProxyVideoFrame *arg1 = (ProxyVideoFrame *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- int argvi = 0;
- unsigned int result;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: ProxyVideoFrame_getContent(self,output,maxsize);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyVideoFrame, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoFrame_getContent" "', argument " "1"" of type '" "ProxyVideoFrame *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoFrame * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ProxyVideoFrame_getContent" "', argument " "2"" of type '" "void *""'");
- }
- ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ProxyVideoFrame_getContent" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (unsigned int)(arg1)->getContent(arg2,arg3);
- ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
-
-
-
- XSRETURN(argvi);
- fail:
-
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_new_ProxyAudioProducerCallback) {
- {
- int argvi = 0;
- ProxyAudioProducerCallback *result = 0 ;
- dXSARGS;
-
- if ((items < 0) || (items > 0)) {
- SWIG_croak("Usage: new_ProxyAudioProducerCallback();");
- }
- result = (ProxyAudioProducerCallback *)new ProxyAudioProducerCallback();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ProxyAudioProducerCallback, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
- XSRETURN(argvi);
- fail:
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_ProxyAudioProducerCallback) {
- {
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_ProxyAudioProducerCallback(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyAudioProducerCallback, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ProxyAudioProducerCallback" "', argument " "1"" of type '" "ProxyAudioProducerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioProducerCallback * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyAudioProducerCallback_prepare) {
- {
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
- int val3 ;
- int ecode3 = 0 ;
- int val4 ;
- int ecode4 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 4) || (items > 4)) {
- SWIG_croak("Usage: ProxyAudioProducerCallback_prepare(self,ptime,rate,channels);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyAudioProducerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyAudioProducerCallback_prepare" "', argument " "1"" of type '" "ProxyAudioProducerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioProducerCallback * >(argp1);
- ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProxyAudioProducerCallback_prepare" "', argument " "2"" of type '" "int""'");
- }
- arg2 = static_cast< int >(val2);
- ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ProxyAudioProducerCallback_prepare" "', argument " "3"" of type '" "int""'");
- }
- arg3 = static_cast< int >(val3);
- ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ProxyAudioProducerCallback_prepare" "', argument " "4"" of type '" "int""'");
- }
- arg4 = static_cast< int >(val4);
- result = (int)(arg1)->prepare(arg2,arg3,arg4);
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
-
-
-
- XSRETURN(argvi);
- fail:
-
-
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyAudioProducerCallback_start) {
- {
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: ProxyAudioProducerCallback_start(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyAudioProducerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyAudioProducerCallback_start" "', argument " "1"" of type '" "ProxyAudioProducerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioProducerCallback * >(argp1);
- result = (int)(arg1)->start();
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyAudioProducerCallback_pause) {
- {
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: ProxyAudioProducerCallback_pause(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyAudioProducerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyAudioProducerCallback_pause" "', argument " "1"" of type '" "ProxyAudioProducerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioProducerCallback * >(argp1);
- result = (int)(arg1)->pause();
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyAudioProducerCallback_stop) {
- {
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: ProxyAudioProducerCallback_stop(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyAudioProducerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyAudioProducerCallback_stop" "', argument " "1"" of type '" "ProxyAudioProducerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioProducerCallback * >(argp1);
- result = (int)(arg1)->stop();
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_ProxyAudioProducer) {
- {
- ProxyAudioProducer *arg1 = (ProxyAudioProducer *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_ProxyAudioProducer(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyAudioProducer, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ProxyAudioProducer" "', argument " "1"" of type '" "ProxyAudioProducer *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioProducer * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyAudioProducer_push) {
- {
- ProxyAudioProducer *arg1 = (ProxyAudioProducer *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: ProxyAudioProducer_push(self,buffer,size);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyAudioProducer, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyAudioProducer_push" "', argument " "1"" of type '" "ProxyAudioProducer *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioProducer * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ProxyAudioProducer_push" "', argument " "2"" of type '" "void const *""'");
- }
- ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ProxyAudioProducer_push" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (int)(arg1)->push((void const *)arg2,arg3);
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
-
-
- XSRETURN(argvi);
- fail:
-
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyAudioProducer_setCallback) {
- {
- ProxyAudioProducer *arg1 = (ProxyAudioProducer *) 0 ;
- ProxyAudioProducerCallback *arg2 = (ProxyAudioProducerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: ProxyAudioProducer_setCallback(self,_callback);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyAudioProducer, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyAudioProducer_setCallback" "', argument " "1"" of type '" "ProxyAudioProducer *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioProducer * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_ProxyAudioProducerCallback, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ProxyAudioProducer_setCallback" "', argument " "2"" of type '" "ProxyAudioProducerCallback *""'");
- }
- arg2 = reinterpret_cast< ProxyAudioProducerCallback * >(argp2);
- (arg1)->setCallback(arg2);
- ST(argvi) = sv_newmortal();
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyAudioProducer_getMediaSessionId) {
- {
- ProxyAudioProducer *arg1 = (ProxyAudioProducer *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- uint64_t result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: ProxyAudioProducer_getMediaSessionId(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyAudioProducer, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyAudioProducer_getMediaSessionId" "', argument " "1"" of type '" "ProxyAudioProducer *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioProducer * >(argp1);
- result = (uint64_t)(arg1)->getMediaSessionId();
- ST(argvi) = SWIG_From_unsigned_SS_long_SS_long SWIG_PERL_CALL_ARGS_1(static_cast< unsigned long long >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyAudioProducer_registerPlugin) {
- {
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 0) || (items > 0)) {
- SWIG_croak("Usage: ProxyAudioProducer_registerPlugin();");
- }
- result = (bool)ProxyAudioProducer::registerPlugin();
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
- XSRETURN(argvi);
- fail:
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_new_ProxyVideoProducerCallback) {
- {
- int argvi = 0;
- ProxyVideoProducerCallback *result = 0 ;
- dXSARGS;
-
- if ((items < 0) || (items > 0)) {
- SWIG_croak("Usage: new_ProxyVideoProducerCallback();");
- }
- result = (ProxyVideoProducerCallback *)new ProxyVideoProducerCallback();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ProxyVideoProducerCallback, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
- XSRETURN(argvi);
- fail:
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_ProxyVideoProducerCallback) {
- {
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_ProxyVideoProducerCallback(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyVideoProducerCallback, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ProxyVideoProducerCallback" "', argument " "1"" of type '" "ProxyVideoProducerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoProducerCallback * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyVideoProducerCallback_prepare) {
- {
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
- int val3 ;
- int ecode3 = 0 ;
- int val4 ;
- int ecode4 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 4) || (items > 4)) {
- SWIG_croak("Usage: ProxyVideoProducerCallback_prepare(self,width,height,fps);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyVideoProducerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoProducerCallback_prepare" "', argument " "1"" of type '" "ProxyVideoProducerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoProducerCallback * >(argp1);
- ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProxyVideoProducerCallback_prepare" "', argument " "2"" of type '" "int""'");
- }
- arg2 = static_cast< int >(val2);
- ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ProxyVideoProducerCallback_prepare" "', argument " "3"" of type '" "int""'");
- }
- arg3 = static_cast< int >(val3);
- ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ProxyVideoProducerCallback_prepare" "', argument " "4"" of type '" "int""'");
- }
- arg4 = static_cast< int >(val4);
- result = (int)(arg1)->prepare(arg2,arg3,arg4);
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
-
-
-
- XSRETURN(argvi);
- fail:
-
-
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyVideoProducerCallback_start) {
- {
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: ProxyVideoProducerCallback_start(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyVideoProducerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoProducerCallback_start" "', argument " "1"" of type '" "ProxyVideoProducerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoProducerCallback * >(argp1);
- result = (int)(arg1)->start();
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyVideoProducerCallback_pause) {
- {
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: ProxyVideoProducerCallback_pause(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyVideoProducerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoProducerCallback_pause" "', argument " "1"" of type '" "ProxyVideoProducerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoProducerCallback * >(argp1);
- result = (int)(arg1)->pause();
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyVideoProducerCallback_stop) {
- {
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: ProxyVideoProducerCallback_stop(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyVideoProducerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoProducerCallback_stop" "', argument " "1"" of type '" "ProxyVideoProducerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoProducerCallback * >(argp1);
- result = (int)(arg1)->stop();
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_ProxyVideoProducer) {
- {
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_ProxyVideoProducer(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyVideoProducer, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ProxyVideoProducer" "', argument " "1"" of type '" "ProxyVideoProducer *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoProducer * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyVideoProducer_getRotation) {
- {
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: ProxyVideoProducer_getRotation(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyVideoProducer, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoProducer_getRotation" "', argument " "1"" of type '" "ProxyVideoProducer *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoProducer * >(argp1);
- result = (int)(arg1)->getRotation();
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyVideoProducer_setRotation) {
- {
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
- int arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: ProxyVideoProducer_setRotation(self,rot);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyVideoProducer, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoProducer_setRotation" "', argument " "1"" of type '" "ProxyVideoProducer *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoProducer * >(argp1);
- ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProxyVideoProducer_setRotation" "', argument " "2"" of type '" "int""'");
- }
- arg2 = static_cast< int >(val2);
- (arg1)->setRotation(arg2);
- ST(argvi) = sv_newmortal();
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyVideoProducer_push) {
- {
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: ProxyVideoProducer_push(self,buffer,size);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyVideoProducer, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoProducer_push" "', argument " "1"" of type '" "ProxyVideoProducer *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoProducer * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ProxyVideoProducer_push" "', argument " "2"" of type '" "void const *""'");
- }
- ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ProxyVideoProducer_push" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (int)(arg1)->push((void const *)arg2,arg3);
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
-
-
- XSRETURN(argvi);
- fail:
-
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyVideoProducer_send) {
- {
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int arg4 ;
- bool arg5 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- unsigned int val4 ;
- int ecode4 = 0 ;
- bool val5 ;
- int ecode5 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 5) || (items > 5)) {
- SWIG_croak("Usage: ProxyVideoProducer_send(self,buffer,size,duration,marker);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyVideoProducer, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoProducer_send" "', argument " "1"" of type '" "ProxyVideoProducer *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoProducer * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ProxyVideoProducer_send" "', argument " "2"" of type '" "void const *""'");
- }
- ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ProxyVideoProducer_send" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- ecode4 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ProxyVideoProducer_send" "', argument " "4"" of type '" "unsigned int""'");
- }
- arg4 = static_cast< unsigned int >(val4);
- ecode5 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
- if (!SWIG_IsOK(ecode5)) {
- SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ProxyVideoProducer_send" "', argument " "5"" of type '" "bool""'");
- }
- arg5 = static_cast< bool >(val5);
- result = (int)(arg1)->send((void const *)arg2,arg3,arg4,arg5);
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
-
-
-
-
- XSRETURN(argvi);
- fail:
-
-
-
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyVideoProducer_setCallback) {
- {
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
- ProxyVideoProducerCallback *arg2 = (ProxyVideoProducerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: ProxyVideoProducer_setCallback(self,_callback);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyVideoProducer, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoProducer_setCallback" "', argument " "1"" of type '" "ProxyVideoProducer *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoProducer * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_ProxyVideoProducerCallback, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ProxyVideoProducer_setCallback" "', argument " "2"" of type '" "ProxyVideoProducerCallback *""'");
- }
- arg2 = reinterpret_cast< ProxyVideoProducerCallback * >(argp2);
- (arg1)->setCallback(arg2);
- ST(argvi) = sv_newmortal();
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyVideoProducer_getMediaSessionId) {
- {
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- uint64_t result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: ProxyVideoProducer_getMediaSessionId(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_ProxyVideoProducer, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoProducer_getMediaSessionId" "', argument " "1"" of type '" "ProxyVideoProducer *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoProducer * >(argp1);
- result = (uint64_t)(arg1)->getMediaSessionId();
- ST(argvi) = SWIG_From_unsigned_SS_long_SS_long SWIG_PERL_CALL_ARGS_1(static_cast< unsigned long long >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyVideoProducer_registerPlugin) {
- {
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 0) || (items > 0)) {
- SWIG_croak("Usage: ProxyVideoProducer_registerPlugin();");
- }
- result = (bool)ProxyVideoProducer::registerPlugin();
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
- XSRETURN(argvi);
- fail:
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_ProxyVideoProducer_setDefaultChroma) {
- {
- tmedia_chroma_t arg1 ;
- int val1 ;
- int ecode1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: ProxyVideoProducer_setDefaultChroma(chroma);");
- }
- ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
- if (!SWIG_IsOK(ecode1)) {
- SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ProxyVideoProducer_setDefaultChroma" "', argument " "1"" of type '" "tmedia_chroma_t""'");
- }
- arg1 = static_cast< tmedia_chroma_t >(val1);
- ProxyVideoProducer::setDefaultChroma(arg1);
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_new_SipCallback) {
- {
- int argvi = 0;
- SipCallback *result = 0 ;
- dXSARGS;
-
- if ((items < 0) || (items > 0)) {
- SWIG_croak("Usage: new_SipCallback();");
- }
- result = (SipCallback *)new SipCallback();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SipCallback, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
- XSRETURN(argvi);
- fail:
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_SipCallback) {
- {
- SipCallback *arg1 = (SipCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_SipCallback(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipCallback, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SipCallback" "', argument " "1"" of type '" "SipCallback *""'");
- }
- arg1 = reinterpret_cast< SipCallback * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipCallback_OnDialogEvent) {
- {
- SipCallback *arg1 = (SipCallback *) 0 ;
- DialogEvent *arg2 = (DialogEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipCallback_OnDialogEvent(self,e);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipCallback_OnDialogEvent" "', argument " "1"" of type '" "SipCallback *""'");
- }
- arg1 = reinterpret_cast< SipCallback * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_DialogEvent, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipCallback_OnDialogEvent" "', argument " "2"" of type '" "DialogEvent const *""'");
- }
- arg2 = reinterpret_cast< DialogEvent * >(argp2);
- result = (int)(arg1)->OnDialogEvent((DialogEvent const *)arg2);
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipCallback_OnStackEvent) {
- {
- SipCallback *arg1 = (SipCallback *) 0 ;
- StackEvent *arg2 = (StackEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipCallback_OnStackEvent(self,e);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipCallback_OnStackEvent" "', argument " "1"" of type '" "SipCallback *""'");
- }
- arg1 = reinterpret_cast< SipCallback * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_StackEvent, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipCallback_OnStackEvent" "', argument " "2"" of type '" "StackEvent const *""'");
- }
- arg2 = reinterpret_cast< StackEvent * >(argp2);
- result = (int)(arg1)->OnStackEvent((StackEvent const *)arg2);
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipCallback_OnInviteEvent) {
- {
- SipCallback *arg1 = (SipCallback *) 0 ;
- InviteEvent *arg2 = (InviteEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipCallback_OnInviteEvent(self,e);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipCallback_OnInviteEvent" "', argument " "1"" of type '" "SipCallback *""'");
- }
- arg1 = reinterpret_cast< SipCallback * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_InviteEvent, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipCallback_OnInviteEvent" "', argument " "2"" of type '" "InviteEvent const *""'");
- }
- arg2 = reinterpret_cast< InviteEvent * >(argp2);
- result = (int)(arg1)->OnInviteEvent((InviteEvent const *)arg2);
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipCallback_OnMessagingEvent) {
- {
- SipCallback *arg1 = (SipCallback *) 0 ;
- MessagingEvent *arg2 = (MessagingEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipCallback_OnMessagingEvent(self,e);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipCallback_OnMessagingEvent" "', argument " "1"" of type '" "SipCallback *""'");
- }
- arg1 = reinterpret_cast< SipCallback * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_MessagingEvent, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipCallback_OnMessagingEvent" "', argument " "2"" of type '" "MessagingEvent const *""'");
- }
- arg2 = reinterpret_cast< MessagingEvent * >(argp2);
- result = (int)(arg1)->OnMessagingEvent((MessagingEvent const *)arg2);
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipCallback_OnOptionsEvent) {
- {
- SipCallback *arg1 = (SipCallback *) 0 ;
- OptionsEvent *arg2 = (OptionsEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipCallback_OnOptionsEvent(self,e);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipCallback_OnOptionsEvent" "', argument " "1"" of type '" "SipCallback *""'");
- }
- arg1 = reinterpret_cast< SipCallback * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_OptionsEvent, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipCallback_OnOptionsEvent" "', argument " "2"" of type '" "OptionsEvent const *""'");
- }
- arg2 = reinterpret_cast< OptionsEvent * >(argp2);
- result = (int)(arg1)->OnOptionsEvent((OptionsEvent const *)arg2);
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipCallback_OnPublicationEvent) {
- {
- SipCallback *arg1 = (SipCallback *) 0 ;
- PublicationEvent *arg2 = (PublicationEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipCallback_OnPublicationEvent(self,e);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipCallback_OnPublicationEvent" "', argument " "1"" of type '" "SipCallback *""'");
- }
- arg1 = reinterpret_cast< SipCallback * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_PublicationEvent, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipCallback_OnPublicationEvent" "', argument " "2"" of type '" "PublicationEvent const *""'");
- }
- arg2 = reinterpret_cast< PublicationEvent * >(argp2);
- result = (int)(arg1)->OnPublicationEvent((PublicationEvent const *)arg2);
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipCallback_OnRegistrationEvent) {
- {
- SipCallback *arg1 = (SipCallback *) 0 ;
- RegistrationEvent *arg2 = (RegistrationEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipCallback_OnRegistrationEvent(self,e);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipCallback_OnRegistrationEvent" "', argument " "1"" of type '" "SipCallback *""'");
- }
- arg1 = reinterpret_cast< SipCallback * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_RegistrationEvent, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipCallback_OnRegistrationEvent" "', argument " "2"" of type '" "RegistrationEvent const *""'");
- }
- arg2 = reinterpret_cast< RegistrationEvent * >(argp2);
- result = (int)(arg1)->OnRegistrationEvent((RegistrationEvent const *)arg2);
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipCallback_OnSubscriptionEvent) {
- {
- SipCallback *arg1 = (SipCallback *) 0 ;
- SubscriptionEvent *arg2 = (SubscriptionEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipCallback_OnSubscriptionEvent(self,e);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipCallback_OnSubscriptionEvent" "', argument " "1"" of type '" "SipCallback *""'");
- }
- arg1 = reinterpret_cast< SipCallback * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_SubscriptionEvent, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipCallback_OnSubscriptionEvent" "', argument " "2"" of type '" "SubscriptionEvent const *""'");
- }
- arg2 = reinterpret_cast< SubscriptionEvent * >(argp2);
- result = (int)(arg1)->OnSubscriptionEvent((SubscriptionEvent const *)arg2);
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_new_SafeObject) {
- {
- int argvi = 0;
- SafeObject *result = 0 ;
- dXSARGS;
-
- if ((items < 0) || (items > 0)) {
- SWIG_croak("Usage: new_SafeObject();");
- }
- result = (SafeObject *)new SafeObject();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SafeObject, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
- XSRETURN(argvi);
- fail:
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_SafeObject) {
- {
- SafeObject *arg1 = (SafeObject *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_SafeObject(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SafeObject, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SafeObject" "', argument " "1"" of type '" "SafeObject *""'");
- }
- arg1 = reinterpret_cast< SafeObject * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SafeObject_Lock) {
- {
- SafeObject *arg1 = (SafeObject *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SafeObject_Lock(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SafeObject, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SafeObject_Lock" "', argument " "1"" of type '" "SafeObject const *""'");
- }
- arg1 = reinterpret_cast< SafeObject * >(argp1);
- result = (int)((SafeObject const *)arg1)->Lock();
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SafeObject_UnLock) {
- {
- SafeObject *arg1 = (SafeObject *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SafeObject_UnLock(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SafeObject, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SafeObject_UnLock" "', argument " "1"" of type '" "SafeObject const *""'");
- }
- arg1 = reinterpret_cast< SafeObject * >(argp1);
- result = (int)((SafeObject const *)arg1)->UnLock();
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_new_SipStack) {
- {
- SipCallback *arg1 = (SipCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int res4 ;
- char *buf4 = 0 ;
- int alloc4 = 0 ;
- int argvi = 0;
- SipStack *result = 0 ;
- dXSARGS;
-
- if ((items < 4) || (items > 4)) {
- SWIG_croak("Usage: new_SipStack(callback,realm_uri,impi_uri,impu_uri);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SipStack" "', argument " "1"" of type '" "SipCallback *""'");
- }
- arg1 = reinterpret_cast< SipCallback * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SipStack" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_SipStack" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4);
- if (!SWIG_IsOK(res4)) {
- SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SipStack" "', argument " "4"" of type '" "char const *""'");
- }
- arg4 = reinterpret_cast< char * >(buf4);
- result = (SipStack *)new SipStack(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SipStack, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_SipStack) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_SipStack(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SipStack" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_start) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SipStack_start(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_start" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- result = (bool)(arg1)->start();
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_setDebugCallback) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- DDebugCallback *arg2 = (DDebugCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipStack_setDebugCallback(self,callback);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setDebugCallback" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_DDebugCallback, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_setDebugCallback" "', argument " "2"" of type '" "DDebugCallback *""'");
- }
- arg2 = reinterpret_cast< DDebugCallback * >(argp2);
- result = (bool)(arg1)->setDebugCallback(arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_setRealm) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipStack_setRealm(self,realm_uri);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setRealm" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_setRealm" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->setRealm((char const *)arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_setIMPI) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipStack_setIMPI(self,impi);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setIMPI" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_setIMPI" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->setIMPI((char const *)arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_setIMPU) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipStack_setIMPU(self,impu_uri);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setIMPU" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_setIMPU" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->setIMPU((char const *)arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_setPassword) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipStack_setPassword(self,password);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setPassword" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_setPassword" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->setPassword((char const *)arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_setAMF) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipStack_setAMF(self,amf);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setAMF" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_setAMF" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->setAMF((char const *)arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_setOperatorId) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipStack_setOperatorId(self,opid);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setOperatorId" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_setOperatorId" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->setOperatorId((char const *)arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_setProxyCSCF) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned short arg3 ;
- char *arg4 = (char *) 0 ;
- char *arg5 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- unsigned short val3 ;
- int ecode3 = 0 ;
- int res4 ;
- char *buf4 = 0 ;
- int alloc4 = 0 ;
- int res5 ;
- char *buf5 = 0 ;
- int alloc5 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 5) || (items > 5)) {
- SWIG_croak("Usage: SipStack_setProxyCSCF(self,fqdn,port,transport,ipversion);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setProxyCSCF" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_setProxyCSCF" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- ecode3 = SWIG_AsVal_unsigned_SS_short SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SipStack_setProxyCSCF" "', argument " "3"" of type '" "unsigned short""'");
- }
- arg3 = static_cast< unsigned short >(val3);
- res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4);
- if (!SWIG_IsOK(res4)) {
- SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SipStack_setProxyCSCF" "', argument " "4"" of type '" "char const *""'");
- }
- arg4 = reinterpret_cast< char * >(buf4);
- res5 = SWIG_AsCharPtrAndSize(ST(4), &buf5, NULL, &alloc5);
- if (!SWIG_IsOK(res5)) {
- SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SipStack_setProxyCSCF" "', argument " "5"" of type '" "char const *""'");
- }
- arg5 = reinterpret_cast< char * >(buf5);
- result = (bool)(arg1)->setProxyCSCF((char const *)arg2,arg3,(char const *)arg4,(char const *)arg5);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_setLocalIP) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipStack_setLocalIP(self,ip);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setLocalIP" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_setLocalIP" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->setLocalIP((char const *)arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_setLocalPort) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- unsigned short arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- unsigned short val2 ;
- int ecode2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipStack_setLocalPort(self,port);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setLocalPort" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SipStack_setLocalPort" "', argument " "2"" of type '" "unsigned short""'");
- }
- arg2 = static_cast< unsigned short >(val2);
- result = (bool)(arg1)->setLocalPort(arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_setEarlyIMS) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- bool arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- bool val2 ;
- int ecode2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipStack_setEarlyIMS(self,enabled);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setEarlyIMS" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SipStack_setEarlyIMS" "', argument " "2"" of type '" "bool""'");
- }
- arg2 = static_cast< bool >(val2);
- result = (bool)(arg1)->setEarlyIMS(arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_addHeader) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: SipStack_addHeader(self,name,value);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_addHeader" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_addHeader" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SipStack_addHeader" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (bool)(arg1)->addHeader((char const *)arg2,(char const *)arg3);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_removeHeader) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipStack_removeHeader(self,name);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_removeHeader" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_removeHeader" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->removeHeader((char const *)arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_addDnsServer) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipStack_addDnsServer(self,ip);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_addDnsServer" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_addDnsServer" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->addDnsServer((char const *)arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_setDnsDiscovery) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- bool arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- bool val2 ;
- int ecode2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipStack_setDnsDiscovery(self,enabled);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setDnsDiscovery" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SipStack_setDnsDiscovery" "', argument " "2"" of type '" "bool""'");
- }
- arg2 = static_cast< bool >(val2);
- result = (bool)(arg1)->setDnsDiscovery(arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_setAoR) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int val3 ;
- int ecode3 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: SipStack_setAoR(self,ip,port);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setAoR" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_setAoR" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SipStack_setAoR" "', argument " "3"" of type '" "int""'");
- }
- arg3 = static_cast< int >(val3);
- result = (bool)(arg1)->setAoR((char const *)arg2,arg3);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_setSigCompParams) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- unsigned int arg2 ;
- unsigned int arg3 ;
- unsigned int arg4 ;
- bool arg5 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- unsigned int val2 ;
- int ecode2 = 0 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- unsigned int val4 ;
- int ecode4 = 0 ;
- bool val5 ;
- int ecode5 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 5) || (items > 5)) {
- SWIG_croak("Usage: SipStack_setSigCompParams(self,dms,sms,cpb,enablePresDict);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setSigCompParams" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SipStack_setSigCompParams" "', argument " "2"" of type '" "unsigned int""'");
- }
- arg2 = static_cast< unsigned int >(val2);
- ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SipStack_setSigCompParams" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- ecode4 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SipStack_setSigCompParams" "', argument " "4"" of type '" "unsigned int""'");
- }
- arg4 = static_cast< unsigned int >(val4);
- ecode5 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
- if (!SWIG_IsOK(ecode5)) {
- SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SipStack_setSigCompParams" "', argument " "5"" of type '" "bool""'");
- }
- arg5 = static_cast< bool >(val5);
- result = (bool)(arg1)->setSigCompParams(arg2,arg3,arg4,arg5);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
-
-
-
-
- XSRETURN(argvi);
- fail:
-
-
-
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_addSigCompCompartment) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipStack_addSigCompCompartment(self,compId);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_addSigCompCompartment" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_addSigCompCompartment" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->addSigCompCompartment((char const *)arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_removeSigCompCompartment) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipStack_removeSigCompCompartment(self,compId);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_removeSigCompCompartment" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_removeSigCompCompartment" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->removeSigCompCompartment((char const *)arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_setSTUNServer) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned short arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- unsigned short val3 ;
- int ecode3 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: SipStack_setSTUNServer(self,ip,port);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setSTUNServer" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_setSTUNServer" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- ecode3 = SWIG_AsVal_unsigned_SS_short SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SipStack_setSTUNServer" "', argument " "3"" of type '" "unsigned short""'");
- }
- arg3 = static_cast< unsigned short >(val3);
- result = (bool)(arg1)->setSTUNServer((char const *)arg2,arg3);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_setSTUNCred) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: SipStack_setSTUNCred(self,login,password);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setSTUNCred" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_setSTUNCred" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SipStack_setSTUNCred" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (bool)(arg1)->setSTUNCred((char const *)arg2,(char const *)arg3);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_setTLSSecAgree) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- bool arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- bool val2 ;
- int ecode2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipStack_setTLSSecAgree(self,enabled);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setTLSSecAgree" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SipStack_setTLSSecAgree" "', argument " "2"" of type '" "bool""'");
- }
- arg2 = static_cast< bool >(val2);
- result = (bool)(arg1)->setTLSSecAgree(arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_setSSLCretificates) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int res4 ;
- char *buf4 = 0 ;
- int alloc4 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 4) || (items > 4)) {
- SWIG_croak("Usage: SipStack_setSSLCretificates(self,privKey,pubKey,caKey);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setSSLCretificates" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_setSSLCretificates" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SipStack_setSSLCretificates" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4);
- if (!SWIG_IsOK(res4)) {
- SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SipStack_setSSLCretificates" "', argument " "4"" of type '" "char const *""'");
- }
- arg4 = reinterpret_cast< char * >(buf4);
- result = (bool)(arg1)->setSSLCretificates((char const *)arg2,(char const *)arg3,(char const *)arg4);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_setIPSecSecAgree) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- bool arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- bool val2 ;
- int ecode2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipStack_setIPSecSecAgree(self,enabled);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setIPSecSecAgree" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SipStack_setIPSecSecAgree" "', argument " "2"" of type '" "bool""'");
- }
- arg2 = static_cast< bool >(val2);
- result = (bool)(arg1)->setIPSecSecAgree(arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_setIPSecParameters) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- char *arg5 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int res4 ;
- char *buf4 = 0 ;
- int alloc4 = 0 ;
- int res5 ;
- char *buf5 = 0 ;
- int alloc5 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 5) || (items > 5)) {
- SWIG_croak("Usage: SipStack_setIPSecParameters(self,algo,ealgo,mode,proto);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setIPSecParameters" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_setIPSecParameters" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SipStack_setIPSecParameters" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4);
- if (!SWIG_IsOK(res4)) {
- SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SipStack_setIPSecParameters" "', argument " "4"" of type '" "char const *""'");
- }
- arg4 = reinterpret_cast< char * >(buf4);
- res5 = SWIG_AsCharPtrAndSize(ST(4), &buf5, NULL, &alloc5);
- if (!SWIG_IsOK(res5)) {
- SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SipStack_setIPSecParameters" "', argument " "5"" of type '" "char const *""'");
- }
- arg5 = reinterpret_cast< char * >(buf5);
- result = (bool)(arg1)->setIPSecParameters((char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_dnsENUM) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int res4 ;
- char *buf4 = 0 ;
- int alloc4 = 0 ;
- int argvi = 0;
- char *result = 0 ;
- dXSARGS;
-
- if ((items < 4) || (items > 4)) {
- SWIG_croak("Usage: SipStack_dnsENUM(self,service,e164num,domain);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_dnsENUM" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_dnsENUM" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SipStack_dnsENUM" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4);
- if (!SWIG_IsOK(res4)) {
- SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SipStack_dnsENUM" "', argument " "4"" of type '" "char const *""'");
- }
- arg4 = reinterpret_cast< char * >(buf4);
- result = (char *)(arg1)->dnsENUM((char const *)arg2,(char const *)arg3,(char const *)arg4);
- ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- delete[] result;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_dnsNaptrSrv) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- unsigned short *arg4 = (unsigned short *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- unsigned short temp4 ;
- int res4 = SWIG_TMPOBJ ;
- int argvi = 0;
- char *result = 0 ;
- dXSARGS;
-
- arg4 = &temp4;
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: SipStack_dnsNaptrSrv(self,domain,service);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_dnsNaptrSrv" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_dnsNaptrSrv" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SipStack_dnsNaptrSrv" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (char *)(arg1)->dnsNaptrSrv((char const *)arg2,(char const *)arg3,arg4);
- ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
- if (SWIG_IsTmpObj(res4)) {
- if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_unsigned_SS_short SWIG_PERL_CALL_ARGS_1((*arg4)); argvi++ ;
- } else {
- int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0) : 0;
- if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_unsigned_short, new_flags); argvi++ ;
- }
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
-
- delete[] result;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_dnsSrv) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned short *arg3 = (unsigned short *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- unsigned short temp3 ;
- int res3 = SWIG_TMPOBJ ;
- int argvi = 0;
- char *result = 0 ;
- dXSARGS;
-
- arg3 = &temp3;
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipStack_dnsSrv(self,service);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_dnsSrv" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_dnsSrv" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (char *)(arg1)->dnsSrv((char const *)arg2,arg3);
- ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
- if (SWIG_IsTmpObj(res3)) {
- if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_unsigned_SS_short SWIG_PERL_CALL_ARGS_1((*arg3)); argvi++ ;
- } else {
- int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0) : 0;
- if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_unsigned_short, new_flags); argvi++ ;
- }
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
- delete[] result;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_getLocalIPnPort) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned short *arg3 = (unsigned short *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- unsigned short temp3 ;
- int res3 = SWIG_TMPOBJ ;
- int argvi = 0;
- char *result = 0 ;
- dXSARGS;
-
- arg3 = &temp3;
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: SipStack_getLocalIPnPort(self,protocol);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_getLocalIPnPort" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_getLocalIPnPort" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (char *)(arg1)->getLocalIPnPort((char const *)arg2,arg3);
- ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
- if (SWIG_IsTmpObj(res3)) {
- if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_unsigned_SS_short SWIG_PERL_CALL_ARGS_1((*arg3)); argvi++ ;
- } else {
- int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0) : 0;
- if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_unsigned_short, new_flags); argvi++ ;
- }
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
- delete[] result;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_getPreferredIdentity) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- char *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SipStack_getPreferredIdentity(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_getPreferredIdentity" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- result = (char *)(arg1)->getPreferredIdentity();
- ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
-
- delete[] result;
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_isValid) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SipStack_isValid(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_isValid" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- result = (bool)(arg1)->isValid();
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_stop) {
- {
- SipStack *arg1 = (SipStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SipStack_stop(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_stop" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- result = (bool)(arg1)->stop();
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_setCodecs) {
- {
- tdav_codec_id_t arg1 ;
- int val1 ;
- int ecode1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SipStack_setCodecs(codecs);");
- }
- ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
- if (!SWIG_IsOK(ecode1)) {
- SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SipStack_setCodecs" "', argument " "1"" of type '" "tdav_codec_id_t""'");
- }
- arg1 = static_cast< tdav_codec_id_t >(val1);
- SipStack::setCodecs(arg1);
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_setCodecs_2) {
- {
- int arg1 ;
- int val1 ;
- int ecode1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SipStack_setCodecs_2(codecs);");
- }
- ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
- if (!SWIG_IsOK(ecode1)) {
- SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SipStack_setCodecs_2" "', argument " "1"" of type '" "int""'");
- }
- arg1 = static_cast< int >(val1);
- SipStack::setCodecs_2(arg1);
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SipStack_isCodecSupported) {
- {
- tdav_codec_id_t arg1 ;
- int val1 ;
- int ecode1 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SipStack_isCodecSupported(codec);");
- }
- ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
- if (!SWIG_IsOK(ecode1)) {
- SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SipStack_isCodecSupported" "', argument " "1"" of type '" "tdav_codec_id_t""'");
- }
- arg1 = static_cast< tdav_codec_id_t >(val1);
- result = (bool)SipStack::isCodecSupported(arg1);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_new_XcapSelector) {
- {
- XcapStack *arg1 = (XcapStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- XcapSelector *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: new_XcapSelector(stack);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_XcapSelector" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- result = (XcapSelector *)new XcapSelector(arg1);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XcapSelector, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_XcapSelector) {
- {
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_XcapSelector(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapSelector, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XcapSelector" "', argument " "1"" of type '" "XcapSelector *""'");
- }
- arg1 = reinterpret_cast< XcapSelector * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapSelector_setAUID) {
- {
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- XcapSelector *result = 0 ;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: XcapSelector_setAUID(self,auid);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapSelector, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapSelector_setAUID" "', argument " "1"" of type '" "XcapSelector *""'");
- }
- arg1 = reinterpret_cast< XcapSelector * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapSelector_setAUID" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (XcapSelector *)(arg1)->setAUID((char const *)arg2);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XcapSelector, 0 | SWIG_SHADOW); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapSelector_setName) {
- {
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- XcapSelector *result = 0 ;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: XcapSelector_setName(self,qname);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapSelector, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapSelector_setName" "', argument " "1"" of type '" "XcapSelector *""'");
- }
- arg1 = reinterpret_cast< XcapSelector * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapSelector_setName" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (XcapSelector *)(arg1)->setName((char const *)arg2);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XcapSelector, 0 | SWIG_SHADOW); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapSelector_setAttribute) {
- {
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int res4 ;
- char *buf4 = 0 ;
- int alloc4 = 0 ;
- int argvi = 0;
- XcapSelector *result = 0 ;
- dXSARGS;
-
- if ((items < 4) || (items > 4)) {
- SWIG_croak("Usage: XcapSelector_setAttribute(self,qname,att_qname,att_value);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapSelector, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapSelector_setAttribute" "', argument " "1"" of type '" "XcapSelector *""'");
- }
- arg1 = reinterpret_cast< XcapSelector * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapSelector_setAttribute" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XcapSelector_setAttribute" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4);
- if (!SWIG_IsOK(res4)) {
- SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "XcapSelector_setAttribute" "', argument " "4"" of type '" "char const *""'");
- }
- arg4 = reinterpret_cast< char * >(buf4);
- result = (XcapSelector *)(arg1)->setAttribute((char const *)arg2,(char const *)arg3,(char const *)arg4);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XcapSelector, 0 | SWIG_SHADOW); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapSelector_setPos) {
- {
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- int argvi = 0;
- XcapSelector *result = 0 ;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: XcapSelector_setPos(self,qname,pos);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapSelector, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapSelector_setPos" "', argument " "1"" of type '" "XcapSelector *""'");
- }
- arg1 = reinterpret_cast< XcapSelector * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapSelector_setPos" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XcapSelector_setPos" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (XcapSelector *)(arg1)->setPos((char const *)arg2,arg3);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XcapSelector, 0 | SWIG_SHADOW); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapSelector_setPosAttribute) {
- {
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned int arg3 ;
- char *arg4 = (char *) 0 ;
- char *arg5 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- int res4 ;
- char *buf4 = 0 ;
- int alloc4 = 0 ;
- int res5 ;
- char *buf5 = 0 ;
- int alloc5 = 0 ;
- int argvi = 0;
- XcapSelector *result = 0 ;
- dXSARGS;
-
- if ((items < 5) || (items > 5)) {
- SWIG_croak("Usage: XcapSelector_setPosAttribute(self,qname,pos,att_qname,att_value);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapSelector, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapSelector_setPosAttribute" "', argument " "1"" of type '" "XcapSelector *""'");
- }
- arg1 = reinterpret_cast< XcapSelector * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapSelector_setPosAttribute" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XcapSelector_setPosAttribute" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4);
- if (!SWIG_IsOK(res4)) {
- SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "XcapSelector_setPosAttribute" "', argument " "4"" of type '" "char const *""'");
- }
- arg4 = reinterpret_cast< char * >(buf4);
- res5 = SWIG_AsCharPtrAndSize(ST(4), &buf5, NULL, &alloc5);
- if (!SWIG_IsOK(res5)) {
- SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "XcapSelector_setPosAttribute" "', argument " "5"" of type '" "char const *""'");
- }
- arg5 = reinterpret_cast< char * >(buf5);
- result = (XcapSelector *)(arg1)->setPosAttribute((char const *)arg2,arg3,(char const *)arg4,(char const *)arg5);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XcapSelector, 0 | SWIG_SHADOW); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapSelector_setNamespace) {
- {
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int argvi = 0;
- XcapSelector *result = 0 ;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: XcapSelector_setNamespace(self,prefix,value);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapSelector, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapSelector_setNamespace" "', argument " "1"" of type '" "XcapSelector *""'");
- }
- arg1 = reinterpret_cast< XcapSelector * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapSelector_setNamespace" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XcapSelector_setNamespace" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (XcapSelector *)(arg1)->setNamespace((char const *)arg2,(char const *)arg3);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XcapSelector, 0 | SWIG_SHADOW); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapSelector_getString) {
- {
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- char *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: XcapSelector_getString(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapSelector, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapSelector_getString" "', argument " "1"" of type '" "XcapSelector *""'");
- }
- arg1 = reinterpret_cast< XcapSelector * >(argp1);
- result = (char *)(arg1)->getString();
- ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
-
- delete[] result;
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapSelector_reset) {
- {
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: XcapSelector_reset(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapSelector, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapSelector_reset" "', argument " "1"" of type '" "XcapSelector *""'");
- }
- arg1 = reinterpret_cast< XcapSelector * >(argp1);
- (arg1)->reset();
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_new_XcapMessage) {
- {
- int argvi = 0;
- XcapMessage *result = 0 ;
- dXSARGS;
-
- if ((items < 0) || (items > 0)) {
- SWIG_croak("Usage: new_XcapMessage();");
- }
- result = (XcapMessage *)new XcapMessage();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XcapMessage, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
- XSRETURN(argvi);
- fail:
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_XcapMessage) {
- {
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_XcapMessage(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapMessage, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XcapMessage" "', argument " "1"" of type '" "XcapMessage *""'");
- }
- arg1 = reinterpret_cast< XcapMessage * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapMessage_getCode) {
- {
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- short result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: XcapMessage_getCode(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapMessage_getCode" "', argument " "1"" of type '" "XcapMessage const *""'");
- }
- arg1 = reinterpret_cast< XcapMessage * >(argp1);
- result = (short)((XcapMessage const *)arg1)->getCode();
- ST(argvi) = SWIG_From_short SWIG_PERL_CALL_ARGS_1(static_cast< short >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapMessage_getPhrase) {
- {
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- char *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: XcapMessage_getPhrase(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapMessage_getPhrase" "', argument " "1"" of type '" "XcapMessage const *""'");
- }
- arg1 = reinterpret_cast< XcapMessage * >(argp1);
- result = (char *)((XcapMessage const *)arg1)->getPhrase();
- ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapMessage_getXcapHeaderValue__SWIG_0) {
- {
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- int argvi = 0;
- char *result = 0 ;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: XcapMessage_getXcapHeaderValue(self,name,index);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapMessage_getXcapHeaderValue" "', argument " "1"" of type '" "XcapMessage *""'");
- }
- arg1 = reinterpret_cast< XcapMessage * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapMessage_getXcapHeaderValue" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XcapMessage_getXcapHeaderValue" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (char *)(arg1)->getXcapHeaderValue((char const *)arg2,arg3);
- ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
- delete[] result;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapMessage_getXcapHeaderValue__SWIG_1) {
- {
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- char *result = 0 ;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: XcapMessage_getXcapHeaderValue(self,name);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapMessage_getXcapHeaderValue" "', argument " "1"" of type '" "XcapMessage *""'");
- }
- arg1 = reinterpret_cast< XcapMessage * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapMessage_getXcapHeaderValue" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (char *)(arg1)->getXcapHeaderValue((char const *)arg2);
- ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- delete[] result;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapMessage_getXcapHeaderValue) {
- dXSARGS;
-
- {
- unsigned long _index = 0;
- SWIG_TypeRank _rank = 0;
- if (items == 2) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_XcapMessage, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 1;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_1:
-
- if (items == 3) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_XcapMessage, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- {
- int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), NULL);
- _v = SWIG_CheckState(res);
- }
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 2;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_2:
-
- dispatch:
- switch(_index) {
- case 1:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_XcapMessage_getXcapHeaderValue__SWIG_1); return;
- case 2:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_XcapMessage_getXcapHeaderValue__SWIG_0); return;
- }
- }
-
- croak("No matching function for overloaded 'XcapMessage_getXcapHeaderValue'");
- XSRETURN(0);
-}
-
-
-XS(_wrap_XcapMessage_getXcapHeaderParamValue__SWIG_0) {
- {
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- unsigned int arg4 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- unsigned int val4 ;
- int ecode4 = 0 ;
- int argvi = 0;
- char *result = 0 ;
- dXSARGS;
-
- if ((items < 4) || (items > 4)) {
- SWIG_croak("Usage: XcapMessage_getXcapHeaderParamValue(self,name,param,index);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapMessage_getXcapHeaderParamValue" "', argument " "1"" of type '" "XcapMessage *""'");
- }
- arg1 = reinterpret_cast< XcapMessage * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapMessage_getXcapHeaderParamValue" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XcapMessage_getXcapHeaderParamValue" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- ecode4 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XcapMessage_getXcapHeaderParamValue" "', argument " "4"" of type '" "unsigned int""'");
- }
- arg4 = static_cast< unsigned int >(val4);
- result = (char *)(arg1)->getXcapHeaderParamValue((char const *)arg2,(char const *)arg3,arg4);
- ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
-
- delete[] result;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapMessage_getXcapHeaderParamValue__SWIG_1) {
- {
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int argvi = 0;
- char *result = 0 ;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: XcapMessage_getXcapHeaderParamValue(self,name,param);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapMessage_getXcapHeaderParamValue" "', argument " "1"" of type '" "XcapMessage *""'");
- }
- arg1 = reinterpret_cast< XcapMessage * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapMessage_getXcapHeaderParamValue" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XcapMessage_getXcapHeaderParamValue" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (char *)(arg1)->getXcapHeaderParamValue((char const *)arg2,(char const *)arg3);
- ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- delete[] result;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapMessage_getXcapHeaderParamValue) {
- dXSARGS;
-
- {
- unsigned long _index = 0;
- SWIG_TypeRank _rank = 0;
- if (items == 3) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_XcapMessage, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- int res = SWIG_AsCharPtrAndSize(ST(2), 0, NULL, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_1;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 1;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_1:
-
- if (items == 4) {
- SWIG_TypeRank _ranki = 0;
- SWIG_TypeRank _rankm = 0;
- SWIG_TypeRank _pi = 1;
- int _v = 0;
- {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_XcapMessage, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- int res = SWIG_AsCharPtrAndSize(ST(1), 0, NULL, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- int res = SWIG_AsCharPtrAndSize(ST(2), 0, NULL, 0);
- _v = SWIG_CheckState(res);
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- {
- {
- int res = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(3), NULL);
- _v = SWIG_CheckState(res);
- }
- }
- if (!_v) goto check_2;
- _ranki += _v*_pi;
- _rankm += _pi;
- _pi *= SWIG_MAXCASTRANK;
- if (!_index || (_ranki < _rank)) {
- _rank = _ranki; _index = 2;
- if (_rank == _rankm) goto dispatch;
- }
- }
- check_2:
-
- dispatch:
- switch(_index) {
- case 1:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_XcapMessage_getXcapHeaderParamValue__SWIG_1); return;
- case 2:
- ++PL_markstack_ptr; SWIG_CALLXS(_wrap_XcapMessage_getXcapHeaderParamValue__SWIG_0); return;
- }
- }
-
- croak("No matching function for overloaded 'XcapMessage_getXcapHeaderParamValue'");
- XSRETURN(0);
-}
-
-
-XS(_wrap_XcapMessage_getXcapContentLength) {
- {
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- unsigned int result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: XcapMessage_getXcapContentLength(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapMessage_getXcapContentLength" "', argument " "1"" of type '" "XcapMessage *""'");
- }
- arg1 = reinterpret_cast< XcapMessage * >(argp1);
- result = (unsigned int)(arg1)->getXcapContentLength();
- ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapMessage_getXcapContent) {
- {
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- int argvi = 0;
- unsigned int result;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: XcapMessage_getXcapContent(self,output,maxsize);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapMessage_getXcapContent" "', argument " "1"" of type '" "XcapMessage *""'");
- }
- arg1 = reinterpret_cast< XcapMessage * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapMessage_getXcapContent" "', argument " "2"" of type '" "void *""'");
- }
- ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XcapMessage_getXcapContent" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (unsigned int)(arg1)->getXcapContent(arg2,arg3);
- ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
-
-
-
- XSRETURN(argvi);
- fail:
-
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_XcapEvent) {
- {
- XcapEvent *arg1 = (XcapEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_XcapEvent(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapEvent, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XcapEvent" "', argument " "1"" of type '" "XcapEvent *""'");
- }
- arg1 = reinterpret_cast< XcapEvent * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapEvent_getType) {
- {
- XcapEvent *arg1 = (XcapEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- thttp_event_type_t result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: XcapEvent_getType(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapEvent_getType" "', argument " "1"" of type '" "XcapEvent *""'");
- }
- arg1 = reinterpret_cast< XcapEvent * >(argp1);
- result = (thttp_event_type_t)(arg1)->getType();
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapEvent_getXcapMessage) {
- {
- XcapEvent *arg1 = (XcapEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- XcapMessage *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: XcapEvent_getXcapMessage(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapEvent_getXcapMessage" "', argument " "1"" of type '" "XcapEvent const *""'");
- }
- arg1 = reinterpret_cast< XcapEvent * >(argp1);
- result = (XcapMessage *)((XcapEvent const *)arg1)->getXcapMessage();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XcapMessage, 0 | SWIG_SHADOW); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_new_XcapCallback) {
- {
- int argvi = 0;
- XcapCallback *result = 0 ;
- dXSARGS;
-
- if ((items < 0) || (items > 0)) {
- SWIG_croak("Usage: new_XcapCallback();");
- }
- result = (XcapCallback *)new XcapCallback();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XcapCallback, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
- XSRETURN(argvi);
- fail:
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_XcapCallback) {
- {
- XcapCallback *arg1 = (XcapCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_XcapCallback(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapCallback, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XcapCallback" "', argument " "1"" of type '" "XcapCallback *""'");
- }
- arg1 = reinterpret_cast< XcapCallback * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapCallback_onEvent) {
- {
- XcapCallback *arg1 = (XcapCallback *) 0 ;
- XcapEvent *arg2 = (XcapEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: XcapCallback_onEvent(self,e);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapCallback_onEvent" "', argument " "1"" of type '" "XcapCallback const *""'");
- }
- arg1 = reinterpret_cast< XcapCallback * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_XcapEvent, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapCallback_onEvent" "', argument " "2"" of type '" "XcapEvent const *""'");
- }
- arg2 = reinterpret_cast< XcapEvent * >(argp2);
- result = (int)((XcapCallback const *)arg1)->onEvent((XcapEvent const *)arg2);
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_new_XcapStack) {
- {
- XcapCallback *arg1 = (XcapCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int res4 ;
- char *buf4 = 0 ;
- int alloc4 = 0 ;
- int argvi = 0;
- XcapStack *result = 0 ;
- dXSARGS;
-
- if ((items < 4) || (items > 4)) {
- SWIG_croak("Usage: new_XcapStack(callback,xui,password,xcap_root);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_XcapStack" "', argument " "1"" of type '" "XcapCallback *""'");
- }
- arg1 = reinterpret_cast< XcapCallback * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_XcapStack" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_XcapStack" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4);
- if (!SWIG_IsOK(res4)) {
- SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_XcapStack" "', argument " "4"" of type '" "char const *""'");
- }
- arg4 = reinterpret_cast< char * >(buf4);
- result = (XcapStack *)new XcapStack(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XcapStack, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_XcapStack) {
- {
- XcapStack *arg1 = (XcapStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_XcapStack(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapStack, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XcapStack" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapStack_registerAUID) {
- {
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- char *arg5 = (char *) 0 ;
- bool arg6 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int res4 ;
- char *buf4 = 0 ;
- int alloc4 = 0 ;
- int res5 ;
- char *buf5 = 0 ;
- int alloc5 = 0 ;
- bool val6 ;
- int ecode6 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 6) || (items > 6)) {
- SWIG_croak("Usage: XcapStack_registerAUID(self,id,mime_type,ns,document_name,is_global);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_registerAUID" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapStack_registerAUID" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XcapStack_registerAUID" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4);
- if (!SWIG_IsOK(res4)) {
- SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "XcapStack_registerAUID" "', argument " "4"" of type '" "char const *""'");
- }
- arg4 = reinterpret_cast< char * >(buf4);
- res5 = SWIG_AsCharPtrAndSize(ST(4), &buf5, NULL, &alloc5);
- if (!SWIG_IsOK(res5)) {
- SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "XcapStack_registerAUID" "', argument " "5"" of type '" "char const *""'");
- }
- arg5 = reinterpret_cast< char * >(buf5);
- ecode6 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(5), &val6);
- if (!SWIG_IsOK(ecode6)) {
- SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "XcapStack_registerAUID" "', argument " "6"" of type '" "bool""'");
- }
- arg6 = static_cast< bool >(val6);
- result = (bool)(arg1)->registerAUID((char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,arg6);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
-
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapStack_start) {
- {
- XcapStack *arg1 = (XcapStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: XcapStack_start(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_start" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- result = (bool)(arg1)->start();
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapStack_setCredentials) {
- {
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: XcapStack_setCredentials(self,xui,password);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_setCredentials" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapStack_setCredentials" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XcapStack_setCredentials" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (bool)(arg1)->setCredentials((char const *)arg2,(char const *)arg3);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapStack_setXcapRoot) {
- {
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: XcapStack_setXcapRoot(self,xcap_root);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_setXcapRoot" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapStack_setXcapRoot" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->setXcapRoot((char const *)arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapStack_setLocalIP) {
- {
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: XcapStack_setLocalIP(self,ip);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_setLocalIP" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapStack_setLocalIP" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->setLocalIP((char const *)arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapStack_setLocalPort) {
- {
- XcapStack *arg1 = (XcapStack *) 0 ;
- unsigned int arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- unsigned int val2 ;
- int ecode2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: XcapStack_setLocalPort(self,port);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_setLocalPort" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XcapStack_setLocalPort" "', argument " "2"" of type '" "unsigned int""'");
- }
- arg2 = static_cast< unsigned int >(val2);
- result = (bool)(arg1)->setLocalPort(arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapStack_addHeader) {
- {
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: XcapStack_addHeader(self,name,value);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_addHeader" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapStack_addHeader" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XcapStack_addHeader" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (bool)(arg1)->addHeader((char const *)arg2,(char const *)arg3);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapStack_removeHeader) {
- {
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: XcapStack_removeHeader(self,name);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_removeHeader" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapStack_removeHeader" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->removeHeader((char const *)arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapStack_setTimeout) {
- {
- XcapStack *arg1 = (XcapStack *) 0 ;
- unsigned int arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- unsigned int val2 ;
- int ecode2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: XcapStack_setTimeout(self,timeout);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_setTimeout" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XcapStack_setTimeout" "', argument " "2"" of type '" "unsigned int""'");
- }
- arg2 = static_cast< unsigned int >(val2);
- result = (bool)(arg1)->setTimeout(arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapStack_getDocument) {
- {
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: XcapStack_getDocument(self,url);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_getDocument" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapStack_getDocument" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->getDocument((char const *)arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapStack_getElement) {
- {
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: XcapStack_getElement(self,url);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_getElement" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapStack_getElement" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->getElement((char const *)arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapStack_getAttribute) {
- {
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: XcapStack_getAttribute(self,url);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_getAttribute" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapStack_getAttribute" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->getAttribute((char const *)arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapStack_deleteDocument) {
- {
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: XcapStack_deleteDocument(self,url);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_deleteDocument" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapStack_deleteDocument" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->deleteDocument((char const *)arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapStack_deleteElement) {
- {
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: XcapStack_deleteElement(self,url);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_deleteElement" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapStack_deleteElement" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->deleteElement((char const *)arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapStack_deleteAttribute) {
- {
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: XcapStack_deleteAttribute(self,url);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_deleteAttribute" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapStack_deleteAttribute" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->deleteAttribute((char const *)arg2);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapStack_putDocument) {
- {
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *arg3 = (void *) 0 ;
- unsigned int arg4 ;
- char *arg5 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- unsigned int val4 ;
- int ecode4 = 0 ;
- int res5 ;
- char *buf5 = 0 ;
- int alloc5 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 5) || (items > 5)) {
- SWIG_croak("Usage: XcapStack_putDocument(self,url,payload,len,contentType);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_putDocument" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapStack_putDocument" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_ConvertPtr(ST(2),SWIG_as_voidptrptr(&arg3), 0, 0);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XcapStack_putDocument" "', argument " "3"" of type '" "void const *""'");
- }
- ecode4 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XcapStack_putDocument" "', argument " "4"" of type '" "unsigned int""'");
- }
- arg4 = static_cast< unsigned int >(val4);
- res5 = SWIG_AsCharPtrAndSize(ST(4), &buf5, NULL, &alloc5);
- if (!SWIG_IsOK(res5)) {
- SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "XcapStack_putDocument" "', argument " "5"" of type '" "char const *""'");
- }
- arg5 = reinterpret_cast< char * >(buf5);
- result = (bool)(arg1)->putDocument((char const *)arg2,(void const *)arg3,arg4,(char const *)arg5);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
-
- if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
-
- if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapStack_putElement) {
- {
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *arg3 = (void *) 0 ;
- unsigned int arg4 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- unsigned int val4 ;
- int ecode4 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 4) || (items > 4)) {
- SWIG_croak("Usage: XcapStack_putElement(self,url,payload,len);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_putElement" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapStack_putElement" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_ConvertPtr(ST(2),SWIG_as_voidptrptr(&arg3), 0, 0);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XcapStack_putElement" "', argument " "3"" of type '" "void const *""'");
- }
- ecode4 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XcapStack_putElement" "', argument " "4"" of type '" "unsigned int""'");
- }
- arg4 = static_cast< unsigned int >(val4);
- result = (bool)(arg1)->putElement((char const *)arg2,(void const *)arg3,arg4);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
-
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapStack_putAttribute) {
- {
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *arg3 = (void *) 0 ;
- unsigned int arg4 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- unsigned int val4 ;
- int ecode4 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 4) || (items > 4)) {
- SWIG_croak("Usage: XcapStack_putAttribute(self,url,payload,len);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_putAttribute" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapStack_putAttribute" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_ConvertPtr(ST(2),SWIG_as_voidptrptr(&arg3), 0, 0);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XcapStack_putAttribute" "', argument " "3"" of type '" "void const *""'");
- }
- ecode4 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XcapStack_putAttribute" "', argument " "4"" of type '" "unsigned int""'");
- }
- arg4 = static_cast< unsigned int >(val4);
- result = (bool)(arg1)->putAttribute((char const *)arg2,(void const *)arg3,arg4);
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
-
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_XcapStack_stop) {
- {
- XcapStack *arg1 = (XcapStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: XcapStack_stop(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_stop" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- result = (bool)(arg1)->stop();
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_new_RPMessage) {
- {
- int argvi = 0;
- RPMessage *result = 0 ;
- dXSARGS;
-
- if ((items < 0) || (items > 0)) {
- SWIG_croak("Usage: new_RPMessage();");
- }
- result = (RPMessage *)new RPMessage();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RPMessage, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
- XSRETURN(argvi);
- fail:
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_RPMessage) {
- {
- RPMessage *arg1 = (RPMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_RPMessage(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_RPMessage, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RPMessage" "', argument " "1"" of type '" "RPMessage *""'");
- }
- arg1 = reinterpret_cast< RPMessage * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_RPMessage_getType) {
- {
- RPMessage *arg1 = (RPMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- twrap_rpmessage_type_t result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: RPMessage_getType(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_RPMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RPMessage_getType" "', argument " "1"" of type '" "RPMessage *""'");
- }
- arg1 = reinterpret_cast< RPMessage * >(argp1);
- result = (twrap_rpmessage_type_t)(arg1)->getType();
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_RPMessage_getPayloadLength) {
- {
- RPMessage *arg1 = (RPMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- unsigned int result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: RPMessage_getPayloadLength(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_RPMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RPMessage_getPayloadLength" "', argument " "1"" of type '" "RPMessage *""'");
- }
- arg1 = reinterpret_cast< RPMessage * >(argp1);
- result = (unsigned int)(arg1)->getPayloadLength();
- ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_RPMessage_getPayload) {
- {
- RPMessage *arg1 = (RPMessage *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- int argvi = 0;
- unsigned int result;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: RPMessage_getPayload(self,output,maxsize);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_RPMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RPMessage_getPayload" "', argument " "1"" of type '" "RPMessage *""'");
- }
- arg1 = reinterpret_cast< RPMessage * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RPMessage_getPayload" "', argument " "2"" of type '" "void *""'");
- }
- ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RPMessage_getPayload" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (unsigned int)(arg1)->getPayload(arg2,arg3);
- ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
-
-
-
- XSRETURN(argvi);
- fail:
-
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_new_SMSData) {
- {
- int argvi = 0;
- SMSData *result = 0 ;
- dXSARGS;
-
- if ((items < 0) || (items > 0)) {
- SWIG_croak("Usage: new_SMSData();");
- }
- result = (SMSData *)new SMSData();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SMSData, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
- XSRETURN(argvi);
- fail:
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_SMSData) {
- {
- SMSData *arg1 = (SMSData *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_SMSData(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SMSData, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SMSData" "', argument " "1"" of type '" "SMSData *""'");
- }
- arg1 = reinterpret_cast< SMSData * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SMSData_getType) {
- {
- SMSData *arg1 = (SMSData *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- twrap_sms_type_t result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SMSData_getType(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SMSData, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SMSData_getType" "', argument " "1"" of type '" "SMSData *""'");
- }
- arg1 = reinterpret_cast< SMSData * >(argp1);
- result = (twrap_sms_type_t)(arg1)->getType();
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SMSData_getMR) {
- {
- SMSData *arg1 = (SMSData *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SMSData_getMR(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SMSData, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SMSData_getMR" "', argument " "1"" of type '" "SMSData *""'");
- }
- arg1 = reinterpret_cast< SMSData * >(argp1);
- result = (int)(arg1)->getMR();
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SMSData_getPayloadLength) {
- {
- SMSData *arg1 = (SMSData *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- unsigned int result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SMSData_getPayloadLength(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SMSData, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SMSData_getPayloadLength" "', argument " "1"" of type '" "SMSData *""'");
- }
- arg1 = reinterpret_cast< SMSData * >(argp1);
- result = (unsigned int)(arg1)->getPayloadLength();
- ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SMSData_getPayload) {
- {
- SMSData *arg1 = (SMSData *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- int argvi = 0;
- unsigned int result;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: SMSData_getPayload(self,output,maxsize);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SMSData, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SMSData_getPayload" "', argument " "1"" of type '" "SMSData *""'");
- }
- arg1 = reinterpret_cast< SMSData * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SMSData_getPayload" "', argument " "2"" of type '" "void *""'");
- }
- ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SMSData_getPayload" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (unsigned int)(arg1)->getPayload(arg2,arg3);
- ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
-
-
-
- XSRETURN(argvi);
- fail:
-
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SMSData_getOA) {
- {
- SMSData *arg1 = (SMSData *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- char *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SMSData_getOA(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SMSData, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SMSData_getOA" "', argument " "1"" of type '" "SMSData *""'");
- }
- arg1 = reinterpret_cast< SMSData * >(argp1);
- result = (char *)(arg1)->getOA();
- ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SMSData_getDA) {
- {
- SMSData *arg1 = (SMSData *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- char *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: SMSData_getDA(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SMSData, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SMSData_getDA" "', argument " "1"" of type '" "SMSData *""'");
- }
- arg1 = reinterpret_cast< SMSData * >(argp1);
- result = (char *)(arg1)->getDA();
- ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SMSEncoder_encodeSubmit) {
- {
- int arg1 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- int val1 ;
- int ecode1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int res4 ;
- char *buf4 = 0 ;
- int alloc4 = 0 ;
- int argvi = 0;
- RPMessage *result = 0 ;
- dXSARGS;
-
- if ((items < 4) || (items > 4)) {
- SWIG_croak("Usage: SMSEncoder_encodeSubmit(mr,smsc,destination,ascii);");
- }
- ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
- if (!SWIG_IsOK(ecode1)) {
- SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SMSEncoder_encodeSubmit" "', argument " "1"" of type '" "int""'");
- }
- arg1 = static_cast< int >(val1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SMSEncoder_encodeSubmit" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SMSEncoder_encodeSubmit" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4);
- if (!SWIG_IsOK(res4)) {
- SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SMSEncoder_encodeSubmit" "', argument " "4"" of type '" "char const *""'");
- }
- arg4 = reinterpret_cast< char * >(buf4);
- result = (RPMessage *)SMSEncoder::encodeSubmit(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RPMessage, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SMSEncoder_encodeDeliver) {
- {
- int arg1 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- int val1 ;
- int ecode1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int res4 ;
- char *buf4 = 0 ;
- int alloc4 = 0 ;
- int argvi = 0;
- RPMessage *result = 0 ;
- dXSARGS;
-
- if ((items < 4) || (items > 4)) {
- SWIG_croak("Usage: SMSEncoder_encodeDeliver(mr,smsc,originator,ascii);");
- }
- ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
- if (!SWIG_IsOK(ecode1)) {
- SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SMSEncoder_encodeDeliver" "', argument " "1"" of type '" "int""'");
- }
- arg1 = static_cast< int >(val1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SMSEncoder_encodeDeliver" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SMSEncoder_encodeDeliver" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4);
- if (!SWIG_IsOK(res4)) {
- SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SMSEncoder_encodeDeliver" "', argument " "4"" of type '" "char const *""'");
- }
- arg4 = reinterpret_cast< char * >(buf4);
- result = (RPMessage *)SMSEncoder::encodeDeliver(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RPMessage, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SMSEncoder_encodeACK) {
- {
- int arg1 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- bool arg4 ;
- int val1 ;
- int ecode1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- bool val4 ;
- int ecode4 = 0 ;
- int argvi = 0;
- RPMessage *result = 0 ;
- dXSARGS;
-
- if ((items < 4) || (items > 4)) {
- SWIG_croak("Usage: SMSEncoder_encodeACK(mr,smsc,destination,forSUBMIT);");
- }
- ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
- if (!SWIG_IsOK(ecode1)) {
- SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SMSEncoder_encodeACK" "', argument " "1"" of type '" "int""'");
- }
- arg1 = static_cast< int >(val1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SMSEncoder_encodeACK" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SMSEncoder_encodeACK" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- ecode4 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SMSEncoder_encodeACK" "', argument " "4"" of type '" "bool""'");
- }
- arg4 = static_cast< bool >(val4);
- result = (RPMessage *)SMSEncoder::encodeACK(arg1,(char const *)arg2,(char const *)arg3,arg4);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RPMessage, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
-
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SMSEncoder_encodeError) {
- {
- int arg1 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- bool arg4 ;
- int val1 ;
- int ecode1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- bool val4 ;
- int ecode4 = 0 ;
- int argvi = 0;
- RPMessage *result = 0 ;
- dXSARGS;
-
- if ((items < 4) || (items > 4)) {
- SWIG_croak("Usage: SMSEncoder_encodeError(mr,smsc,destination,forSUBMIT);");
- }
- ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
- if (!SWIG_IsOK(ecode1)) {
- SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SMSEncoder_encodeError" "', argument " "1"" of type '" "int""'");
- }
- arg1 = static_cast< int >(val1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SMSEncoder_encodeError" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SMSEncoder_encodeError" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- ecode4 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SMSEncoder_encodeError" "', argument " "4"" of type '" "bool""'");
- }
- arg4 = static_cast< bool >(val4);
- result = (RPMessage *)SMSEncoder::encodeError(arg1,(char const *)arg2,(char const *)arg3,arg4);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RPMessage, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
-
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_SMSEncoder_decode) {
- {
- void *arg1 = (void *) 0 ;
- unsigned int arg2 ;
- bool arg3 ;
- int res1 ;
- unsigned int val2 ;
- int ecode2 = 0 ;
- bool val3 ;
- int ecode3 = 0 ;
- int argvi = 0;
- SMSData *result = 0 ;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: SMSEncoder_decode(data,size,MobOrig);");
- }
- res1 = SWIG_ConvertPtr(ST(0),SWIG_as_voidptrptr(&arg1), 0, 0);
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SMSEncoder_decode" "', argument " "1"" of type '" "void const *""'");
- }
- ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SMSEncoder_decode" "', argument " "2"" of type '" "unsigned int""'");
- }
- arg2 = static_cast< unsigned int >(val2);
- ecode3 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SMSEncoder_decode" "', argument " "3"" of type '" "bool""'");
- }
- arg3 = static_cast< bool >(val3);
- result = (SMSData *)SMSEncoder::decode((void const *)arg1,arg2,arg3);
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SMSData, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
-
-
-
- XSRETURN(argvi);
- fail:
-
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_SMSEncoder) {
- {
- SMSEncoder *arg1 = (SMSEncoder *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_SMSEncoder(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_SMSEncoder, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SMSEncoder" "', argument " "1"" of type '" "SMSEncoder *""'");
- }
- arg1 = reinterpret_cast< SMSEncoder * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_new_MsrpMessage) {
- {
- int argvi = 0;
- MsrpMessage *result = 0 ;
- dXSARGS;
-
- if ((items < 0) || (items > 0)) {
- SWIG_croak("Usage: new_MsrpMessage();");
- }
- result = (MsrpMessage *)new MsrpMessage();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_MsrpMessage, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
- XSRETURN(argvi);
- fail:
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_MsrpMessage) {
- {
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_MsrpMessage(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MsrpMessage, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MsrpMessage" "', argument " "1"" of type '" "MsrpMessage *""'");
- }
- arg1 = reinterpret_cast< MsrpMessage * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MsrpMessage_isRequest) {
- {
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: MsrpMessage_isRequest(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MsrpMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpMessage_isRequest" "', argument " "1"" of type '" "MsrpMessage *""'");
- }
- arg1 = reinterpret_cast< MsrpMessage * >(argp1);
- result = (bool)(arg1)->isRequest();
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MsrpMessage_getCode) {
- {
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- short result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: MsrpMessage_getCode(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MsrpMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpMessage_getCode" "', argument " "1"" of type '" "MsrpMessage *""'");
- }
- arg1 = reinterpret_cast< MsrpMessage * >(argp1);
- result = (short)(arg1)->getCode();
- ST(argvi) = SWIG_From_short SWIG_PERL_CALL_ARGS_1(static_cast< short >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MsrpMessage_getPhrase) {
- {
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- char *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: MsrpMessage_getPhrase(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MsrpMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpMessage_getPhrase" "', argument " "1"" of type '" "MsrpMessage *""'");
- }
- arg1 = reinterpret_cast< MsrpMessage * >(argp1);
- result = (char *)(arg1)->getPhrase();
- ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MsrpMessage_getRequestType) {
- {
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- tmsrp_request_type_t result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: MsrpMessage_getRequestType(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MsrpMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpMessage_getRequestType" "', argument " "1"" of type '" "MsrpMessage *""'");
- }
- arg1 = reinterpret_cast< MsrpMessage * >(argp1);
- result = (tmsrp_request_type_t)(arg1)->getRequestType();
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MsrpMessage_getByteRange) {
- {
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- int64_t *arg2 = (int64_t *) 0 ;
- int64_t *arg3 = (int64_t *) 0 ;
- int64_t *arg4 = (int64_t *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int64_t temp2 ;
- int res2 = SWIG_TMPOBJ ;
- int64_t temp3 ;
- int res3 = SWIG_TMPOBJ ;
- int64_t temp4 ;
- int res4 = SWIG_TMPOBJ ;
- int argvi = 0;
- dXSARGS;
-
- arg2 = &temp2;
- arg3 = &temp3;
- arg4 = &temp4;
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: MsrpMessage_getByteRange(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MsrpMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpMessage_getByteRange" "', argument " "1"" of type '" "MsrpMessage *""'");
- }
- arg1 = reinterpret_cast< MsrpMessage * >(argp1);
- (arg1)->getByteRange(arg2,arg3,arg4);
- ST(argvi) = sv_newmortal();
- if (SWIG_IsTmpObj(res2)) {
- if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_long_SS_long SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++ ;
- } else {
- int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0) : 0;
- if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long_long, new_flags); argvi++ ;
- }
- if (SWIG_IsTmpObj(res3)) {
- if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_long_SS_long SWIG_PERL_CALL_ARGS_1((*arg3)); argvi++ ;
- } else {
- int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0) : 0;
- if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long_long, new_flags); argvi++ ;
- }
- if (SWIG_IsTmpObj(res4)) {
- if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_long_SS_long SWIG_PERL_CALL_ARGS_1((*arg4)); argvi++ ;
- } else {
- int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0) : 0;
- if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long_long, new_flags); argvi++ ;
- }
-
-
-
-
- XSRETURN(argvi);
- fail:
-
-
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MsrpMessage_isLastChunck) {
- {
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: MsrpMessage_isLastChunck(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MsrpMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpMessage_isLastChunck" "', argument " "1"" of type '" "MsrpMessage *""'");
- }
- arg1 = reinterpret_cast< MsrpMessage * >(argp1);
- result = (bool)(arg1)->isLastChunck();
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MsrpMessage_isFirstChunck) {
- {
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- bool result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: MsrpMessage_isFirstChunck(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MsrpMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpMessage_isFirstChunck" "', argument " "1"" of type '" "MsrpMessage *""'");
- }
- arg1 = reinterpret_cast< MsrpMessage * >(argp1);
- result = (bool)(arg1)->isFirstChunck();
- ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1(static_cast< bool >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MsrpMessage_getMsrpHeaderValue) {
- {
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int argvi = 0;
- char *result = 0 ;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: MsrpMessage_getMsrpHeaderValue(self,name);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MsrpMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpMessage_getMsrpHeaderValue" "', argument " "1"" of type '" "MsrpMessage *""'");
- }
- arg1 = reinterpret_cast< MsrpMessage * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MsrpMessage_getMsrpHeaderValue" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (char *)(arg1)->getMsrpHeaderValue((char const *)arg2);
- ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- delete[] result;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MsrpMessage_getMsrpHeaderParamValue) {
- {
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int argvi = 0;
- char *result = 0 ;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: MsrpMessage_getMsrpHeaderParamValue(self,name,param);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MsrpMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpMessage_getMsrpHeaderParamValue" "', argument " "1"" of type '" "MsrpMessage *""'");
- }
- arg1 = reinterpret_cast< MsrpMessage * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MsrpMessage_getMsrpHeaderParamValue" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "MsrpMessage_getMsrpHeaderParamValue" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (char *)(arg1)->getMsrpHeaderParamValue((char const *)arg2,(char const *)arg3);
- ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- delete[] result;
- XSRETURN(argvi);
- fail:
-
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MsrpMessage_getMsrpContentLength) {
- {
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- unsigned int result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: MsrpMessage_getMsrpContentLength(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MsrpMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpMessage_getMsrpContentLength" "', argument " "1"" of type '" "MsrpMessage *""'");
- }
- arg1 = reinterpret_cast< MsrpMessage * >(argp1);
- result = (unsigned int)(arg1)->getMsrpContentLength();
- ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MsrpMessage_getMsrpContent) {
- {
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- int argvi = 0;
- unsigned int result;
- dXSARGS;
-
- if ((items < 3) || (items > 3)) {
- SWIG_croak("Usage: MsrpMessage_getMsrpContent(self,output,maxsize);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MsrpMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpMessage_getMsrpContent" "', argument " "1"" of type '" "MsrpMessage *""'");
- }
- arg1 = reinterpret_cast< MsrpMessage * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MsrpMessage_getMsrpContent" "', argument " "2"" of type '" "void *""'");
- }
- ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MsrpMessage_getMsrpContent" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (unsigned int)(arg1)->getMsrpContent(arg2,arg3);
- ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1(static_cast< unsigned int >(result)); argvi++ ;
-
-
-
- XSRETURN(argvi);
- fail:
-
-
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_MsrpEvent) {
- {
- MsrpEvent *arg1 = (MsrpEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_MsrpEvent(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MsrpEvent, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MsrpEvent" "', argument " "1"" of type '" "MsrpEvent *""'");
- }
- arg1 = reinterpret_cast< MsrpEvent * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MsrpEvent_getType) {
- {
- MsrpEvent *arg1 = (MsrpEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- tmsrp_event_type_t result;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: MsrpEvent_getType(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MsrpEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpEvent_getType" "', argument " "1"" of type '" "MsrpEvent *""'");
- }
- arg1 = reinterpret_cast< MsrpEvent * >(argp1);
- result = (tmsrp_event_type_t)(arg1)->getType();
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MsrpEvent_getSipSession) {
- {
- MsrpEvent *arg1 = (MsrpEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- MsrpSession *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: MsrpEvent_getSipSession(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MsrpEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpEvent_getSipSession" "', argument " "1"" of type '" "MsrpEvent *""'");
- }
- arg1 = reinterpret_cast< MsrpEvent * >(argp1);
- result = (MsrpSession *)(arg1)->getSipSession();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_MsrpSession, 0 | SWIG_SHADOW); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MsrpEvent_getMessage) {
- {
- MsrpEvent *arg1 = (MsrpEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- MsrpMessage *result = 0 ;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: MsrpEvent_getMessage(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MsrpEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpEvent_getMessage" "', argument " "1"" of type '" "MsrpEvent const *""'");
- }
- arg1 = reinterpret_cast< MsrpEvent * >(argp1);
- result = (MsrpMessage *)((MsrpEvent const *)arg1)->getMessage();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_MsrpMessage, 0 | SWIG_SHADOW); argvi++ ;
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_new_MsrpCallback) {
- {
- int argvi = 0;
- MsrpCallback *result = 0 ;
- dXSARGS;
-
- if ((items < 0) || (items > 0)) {
- SWIG_croak("Usage: new_MsrpCallback();");
- }
- result = (MsrpCallback *)new MsrpCallback();
- ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_MsrpCallback, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
- XSRETURN(argvi);
- fail:
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_delete_MsrpCallback) {
- {
- MsrpCallback *arg1 = (MsrpCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int argvi = 0;
- dXSARGS;
-
- if ((items < 1) || (items > 1)) {
- SWIG_croak("Usage: delete_MsrpCallback(self);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MsrpCallback, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MsrpCallback" "', argument " "1"" of type '" "MsrpCallback *""'");
- }
- arg1 = reinterpret_cast< MsrpCallback * >(argp1);
- delete arg1;
- ST(argvi) = sv_newmortal();
-
- XSRETURN(argvi);
- fail:
-
- SWIG_croak_null();
- }
-}
-
-
-XS(_wrap_MsrpCallback_OnEvent) {
- {
- MsrpCallback *arg1 = (MsrpCallback *) 0 ;
- MsrpEvent *arg2 = (MsrpEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- int argvi = 0;
- int result;
- dXSARGS;
-
- if ((items < 2) || (items > 2)) {
- SWIG_croak("Usage: MsrpCallback_OnEvent(self,e);");
- }
- res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_MsrpCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpCallback_OnEvent" "', argument " "1"" of type '" "MsrpCallback *""'");
- }
- arg1 = reinterpret_cast< MsrpCallback * >(argp1);
- res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_MsrpEvent, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MsrpCallback_OnEvent" "', argument " "2"" of type '" "MsrpEvent const *""'");
- }
- arg2 = reinterpret_cast< MsrpEvent * >(argp2);
- result = (int)(arg1)->OnEvent((MsrpEvent const *)arg2);
- ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ;
-
-
- XSRETURN(argvi);
- fail:
-
-
- SWIG_croak_null();
- }
-}
-
-
-
-/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
-
-static void *_p_ProxyAudioConsumerTo_p_ProxyPlugin(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((ProxyPlugin *) ((ProxyAudioConsumer *) x));
-}
-static void *_p_ProxyVideoConsumerTo_p_ProxyPlugin(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((ProxyPlugin *) ((ProxyVideoConsumer *) x));
-}
-static void *_p_ProxyAudioProducerTo_p_ProxyPlugin(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((ProxyPlugin *) ((ProxyAudioProducer *) x));
-}
-static void *_p_ProxyVideoProducerTo_p_ProxyPlugin(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((ProxyPlugin *) ((ProxyVideoProducer *) x));
-}
-static void *_p_SipStackTo_p_SafeObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SafeObject *) ((SipStack *) x));
-}
-static void *_p_MediaContentCPIMTo_p_MediaContent(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((MediaContent *) ((MediaContentCPIM *) x));
-}
-static void *_p_CallSessionTo_p_InviteSession(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((InviteSession *) ((CallSession *) x));
-}
-static void *_p_MsrpSessionTo_p_InviteSession(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((InviteSession *) ((MsrpSession *) x));
-}
-static void *_p_InviteSessionTo_p_SipSession(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SipSession *) ((InviteSession *) x));
-}
-static void *_p_CallSessionTo_p_SipSession(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SipSession *) (InviteSession *) ((CallSession *) x));
-}
-static void *_p_MsrpSessionTo_p_SipSession(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SipSession *) (InviteSession *) ((MsrpSession *) x));
-}
-static void *_p_MessagingSessionTo_p_SipSession(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SipSession *) ((MessagingSession *) x));
-}
-static void *_p_OptionsSessionTo_p_SipSession(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SipSession *) ((OptionsSession *) x));
-}
-static void *_p_PublicationSessionTo_p_SipSession(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SipSession *) ((PublicationSession *) x));
-}
-static void *_p_RegistrationSessionTo_p_SipSession(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SipSession *) ((RegistrationSession *) x));
-}
-static void *_p_SubscriptionSessionTo_p_SipSession(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SipSession *) ((SubscriptionSession *) x));
-}
-static void *_p_InviteEventTo_p_SipEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SipEvent *) ((InviteEvent *) x));
-}
-static void *_p_OptionsEventTo_p_SipEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SipEvent *) ((OptionsEvent *) x));
-}
-static void *_p_DialogEventTo_p_SipEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SipEvent *) ((DialogEvent *) x));
-}
-static void *_p_PublicationEventTo_p_SipEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SipEvent *) ((PublicationEvent *) x));
-}
-static void *_p_RegistrationEventTo_p_SipEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SipEvent *) ((RegistrationEvent *) x));
-}
-static void *_p_SubscriptionEventTo_p_SipEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SipEvent *) ((SubscriptionEvent *) x));
-}
-static void *_p_StackEventTo_p_SipEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SipEvent *) ((StackEvent *) x));
-}
-static void *_p_MessagingEventTo_p_SipEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SipEvent *) ((MessagingEvent *) x));
-}
-static swig_type_info _swigt__p_ActionConfig = {"_p_ActionConfig", "ActionConfig *", 0, 0, (void*)"tinyWRAP::ActionConfig", 0};
-static swig_type_info _swigt__p_CallSession = {"_p_CallSession", "CallSession *", 0, 0, (void*)"tinyWRAP::CallSession", 0};
-static swig_type_info _swigt__p_DDebugCallback = {"_p_DDebugCallback", "DDebugCallback *", 0, 0, (void*)"tinyWRAP::DDebugCallback", 0};
-static swig_type_info _swigt__p_DialogEvent = {"_p_DialogEvent", "DialogEvent *", 0, 0, (void*)"tinyWRAP::DialogEvent", 0};
-static swig_type_info _swigt__p_InviteEvent = {"_p_InviteEvent", "InviteEvent *", 0, 0, (void*)"tinyWRAP::InviteEvent", 0};
-static swig_type_info _swigt__p_InviteSession = {"_p_InviteSession", "InviteSession *", 0, 0, (void*)"tinyWRAP::InviteSession", 0};
-static swig_type_info _swigt__p_MediaContent = {"_p_MediaContent", "MediaContent *", 0, 0, (void*)"tinyWRAP::MediaContent", 0};
-static swig_type_info _swigt__p_MediaContentCPIM = {"_p_MediaContentCPIM", "MediaContentCPIM *", 0, 0, (void*)"tinyWRAP::MediaContentCPIM", 0};
-static swig_type_info _swigt__p_MediaSessionMgr = {"_p_MediaSessionMgr", "MediaSessionMgr *", 0, 0, (void*)"tinyWRAP::MediaSessionMgr", 0};
-static swig_type_info _swigt__p_MessagingEvent = {"_p_MessagingEvent", "MessagingEvent *", 0, 0, (void*)"tinyWRAP::MessagingEvent", 0};
-static swig_type_info _swigt__p_MessagingSession = {"_p_MessagingSession", "MessagingSession *", 0, 0, (void*)"tinyWRAP::MessagingSession", 0};
-static swig_type_info _swigt__p_MsrpCallback = {"_p_MsrpCallback", "MsrpCallback *", 0, 0, (void*)"tinyWRAP::MsrpCallback", 0};
-static swig_type_info _swigt__p_MsrpEvent = {"_p_MsrpEvent", "MsrpEvent *", 0, 0, (void*)"tinyWRAP::MsrpEvent", 0};
-static swig_type_info _swigt__p_MsrpMessage = {"_p_MsrpMessage", "MsrpMessage *", 0, 0, (void*)"tinyWRAP::MsrpMessage", 0};
-static swig_type_info _swigt__p_MsrpSession = {"_p_MsrpSession", "MsrpSession *", 0, 0, (void*)"tinyWRAP::MsrpSession", 0};
-static swig_type_info _swigt__p_OptionsEvent = {"_p_OptionsEvent", "OptionsEvent *", 0, 0, (void*)"tinyWRAP::OptionsEvent", 0};
-static swig_type_info _swigt__p_OptionsSession = {"_p_OptionsSession", "OptionsSession *", 0, 0, (void*)"tinyWRAP::OptionsSession", 0};
-static swig_type_info _swigt__p_ProxyAudioConsumer = {"_p_ProxyAudioConsumer", "ProxyAudioConsumer *", 0, 0, (void*)"tinyWRAP::ProxyAudioConsumer", 0};
-static swig_type_info _swigt__p_ProxyAudioConsumerCallback = {"_p_ProxyAudioConsumerCallback", "ProxyAudioConsumerCallback *", 0, 0, (void*)"tinyWRAP::ProxyAudioConsumerCallback", 0};
-static swig_type_info _swigt__p_ProxyAudioProducer = {"_p_ProxyAudioProducer", "ProxyAudioProducer *", 0, 0, (void*)"tinyWRAP::ProxyAudioProducer", 0};
-static swig_type_info _swigt__p_ProxyAudioProducerCallback = {"_p_ProxyAudioProducerCallback", "ProxyAudioProducerCallback *", 0, 0, (void*)"tinyWRAP::ProxyAudioProducerCallback", 0};
-static swig_type_info _swigt__p_ProxyPlugin = {"_p_ProxyPlugin", "ProxyPlugin *", 0, 0, (void*)"tinyWRAP::ProxyPlugin", 0};
-static swig_type_info _swigt__p_ProxyPluginMgr = {"_p_ProxyPluginMgr", "ProxyPluginMgr *", 0, 0, (void*)"tinyWRAP::ProxyPluginMgr", 0};
-static swig_type_info _swigt__p_ProxyPluginMgrCallback = {"_p_ProxyPluginMgrCallback", "ProxyPluginMgrCallback *", 0, 0, (void*)"tinyWRAP::ProxyPluginMgrCallback", 0};
-static swig_type_info _swigt__p_ProxyVideoConsumer = {"_p_ProxyVideoConsumer", "ProxyVideoConsumer *", 0, 0, (void*)"tinyWRAP::ProxyVideoConsumer", 0};
-static swig_type_info _swigt__p_ProxyVideoConsumerCallback = {"_p_ProxyVideoConsumerCallback", "ProxyVideoConsumerCallback *", 0, 0, (void*)"tinyWRAP::ProxyVideoConsumerCallback", 0};
-static swig_type_info _swigt__p_ProxyVideoFrame = {"_p_ProxyVideoFrame", "ProxyVideoFrame *", 0, 0, (void*)"tinyWRAP::ProxyVideoFrame", 0};
-static swig_type_info _swigt__p_ProxyVideoProducer = {"_p_ProxyVideoProducer", "ProxyVideoProducer *", 0, 0, (void*)"tinyWRAP::ProxyVideoProducer", 0};
-static swig_type_info _swigt__p_ProxyVideoProducerCallback = {"_p_ProxyVideoProducerCallback", "ProxyVideoProducerCallback *", 0, 0, (void*)"tinyWRAP::ProxyVideoProducerCallback", 0};
-static swig_type_info _swigt__p_PublicationEvent = {"_p_PublicationEvent", "PublicationEvent *", 0, 0, (void*)"tinyWRAP::PublicationEvent", 0};
-static swig_type_info _swigt__p_PublicationSession = {"_p_PublicationSession", "PublicationSession *", 0, 0, (void*)"tinyWRAP::PublicationSession", 0};
-static swig_type_info _swigt__p_RPMessage = {"_p_RPMessage", "RPMessage *", 0, 0, (void*)"tinyWRAP::RPMessage", 0};
-static swig_type_info _swigt__p_RegistrationEvent = {"_p_RegistrationEvent", "RegistrationEvent *", 0, 0, (void*)"tinyWRAP::RegistrationEvent", 0};
-static swig_type_info _swigt__p_RegistrationSession = {"_p_RegistrationSession", "RegistrationSession *", 0, 0, (void*)"tinyWRAP::RegistrationSession", 0};
-static swig_type_info _swigt__p_SMSData = {"_p_SMSData", "SMSData *", 0, 0, (void*)"tinyWRAP::SMSData", 0};
-static swig_type_info _swigt__p_SMSEncoder = {"_p_SMSEncoder", "SMSEncoder *", 0, 0, (void*)"tinyWRAP::SMSEncoder", 0};
-static swig_type_info _swigt__p_SafeObject = {"_p_SafeObject", "SafeObject *", 0, 0, (void*)"tinyWRAP::SafeObject", 0};
-static swig_type_info _swigt__p_SdpMessage = {"_p_SdpMessage", "SdpMessage *", 0, 0, (void*)"tinyWRAP::SdpMessage", 0};
-static swig_type_info _swigt__p_SipCallback = {"_p_SipCallback", "SipCallback *", 0, 0, (void*)"tinyWRAP::SipCallback", 0};
-static swig_type_info _swigt__p_SipEvent = {"_p_SipEvent", "SipEvent *", 0, 0, (void*)"tinyWRAP::SipEvent", 0};
-static swig_type_info _swigt__p_SipMessage = {"_p_SipMessage", "SipMessage *", 0, 0, (void*)"tinyWRAP::SipMessage", 0};
-static swig_type_info _swigt__p_SipSession = {"_p_SipSession", "SipSession *", 0, 0, (void*)"tinyWRAP::SipSession", 0};
-static swig_type_info _swigt__p_SipStack = {"_p_SipStack", "SipStack *", 0, 0, (void*)"tinyWRAP::SipStack", 0};
-static swig_type_info _swigt__p_SipUri = {"_p_SipUri", "SipUri *", 0, 0, (void*)"tinyWRAP::SipUri", 0};
-static swig_type_info _swigt__p_StackEvent = {"_p_StackEvent", "StackEvent *", 0, 0, (void*)"tinyWRAP::StackEvent", 0};
-static swig_type_info _swigt__p_SubscriptionEvent = {"_p_SubscriptionEvent", "SubscriptionEvent *", 0, 0, (void*)"tinyWRAP::SubscriptionEvent", 0};
-static swig_type_info _swigt__p_SubscriptionSession = {"_p_SubscriptionSession", "SubscriptionSession *", 0, 0, (void*)"tinyWRAP::SubscriptionSession", 0};
-static swig_type_info _swigt__p_XcapCallback = {"_p_XcapCallback", "XcapCallback *", 0, 0, (void*)"tinyWRAP::XcapCallback", 0};
-static swig_type_info _swigt__p_XcapEvent = {"_p_XcapEvent", "XcapEvent *", 0, 0, (void*)"tinyWRAP::XcapEvent", 0};
-static swig_type_info _swigt__p_XcapMessage = {"_p_XcapMessage", "XcapMessage *", 0, 0, (void*)"tinyWRAP::XcapMessage", 0};
-static swig_type_info _swigt__p_XcapSelector = {"_p_XcapSelector", "XcapSelector *", 0, 0, (void*)"tinyWRAP::XcapSelector", 0};
-static swig_type_info _swigt__p_XcapStack = {"_p_XcapStack", "XcapStack *", 0, 0, (void*)"tinyWRAP::XcapStack", 0};
-static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_int = {"_p_int", "intptr_t *|int *|int_least32_t *|int_fast32_t *|int32_t *|int_fast16_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_long_long = {"_p_long_long", "int_least64_t *|int_fast64_t *|int64_t *|long long *|intmax_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_short = {"_p_short", "short *|int_least16_t *|int16_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_signed_char = {"_p_signed_char", "signed char *|int_least8_t *|int_fast8_t *|int8_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_tdav_codec_id_e = {"_p_tdav_codec_id_e", "enum tdav_codec_id_e *|tdav_codec_id_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_thttp_event_type_e = {"_p_thttp_event_type_e", "enum thttp_event_type_e *|thttp_event_type_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_tmedia_bandwidth_level_e = {"_p_tmedia_bandwidth_level_e", "enum tmedia_bandwidth_level_e *|tmedia_bandwidth_level_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_tmedia_chroma_e = {"_p_tmedia_chroma_e", "tmedia_chroma_t *|enum tmedia_chroma_e *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_tmedia_qos_strength_e = {"_p_tmedia_qos_strength_e", "tmedia_qos_strength_t *|enum tmedia_qos_strength_e *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_tmedia_qos_stype_e = {"_p_tmedia_qos_stype_e", "enum tmedia_qos_stype_e *|tmedia_qos_stype_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_tmsrp_event_type_e = {"_p_tmsrp_event_type_e", "enum tmsrp_event_type_e *|tmsrp_event_type_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_tmsrp_request_type_e = {"_p_tmsrp_request_type_e", "enum tmsrp_request_type_e *|tmsrp_request_type_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_tsip_event_type_e = {"_p_tsip_event_type_e", "enum tsip_event_type_e *|tsip_event_type_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_tsip_invite_event_type_e = {"_p_tsip_invite_event_type_e", "enum tsip_invite_event_type_e *|tsip_invite_event_type_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_tsip_message_event_type_e = {"_p_tsip_message_event_type_e", "enum tsip_message_event_type_e *|tsip_message_event_type_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_tsip_options_event_type_e = {"_p_tsip_options_event_type_e", "enum tsip_options_event_type_e *|tsip_options_event_type_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_tsip_publish_event_type_e = {"_p_tsip_publish_event_type_e", "enum tsip_publish_event_type_e *|tsip_publish_event_type_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_tsip_register_event_type_e = {"_p_tsip_register_event_type_e", "enum tsip_register_event_type_e *|tsip_register_event_type_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_tsip_subscribe_event_type_e = {"_p_tsip_subscribe_event_type_e", "enum tsip_subscribe_event_type_e *|tsip_subscribe_event_type_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_tsk_list_t = {"_p_tsk_list_t", "twrap_xcap_steps_L_t *|twrap_proxy_plungins_L_t *|tsk_list_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_twrap_media_type_e = {"_p_twrap_media_type_e", "enum twrap_media_type_e *|twrap_media_type_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_twrap_proxy_plugin_type_e = {"_p_twrap_proxy_plugin_type_e", "enum twrap_proxy_plugin_type_e *|twrap_proxy_plugin_type_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_twrap_rpmessage_type_e = {"_p_twrap_rpmessage_type_e", "enum twrap_rpmessage_type_e *|twrap_rpmessage_type_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_twrap_sms_type_e = {"_p_twrap_sms_type_e", "enum twrap_sms_type_e *|twrap_sms_type_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|uint_least8_t *|uint_fast8_t *|uint8_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "uintptr_t *|uint_least32_t *|uint_fast32_t *|uint32_t *|unsigned int *|uint_fast16_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_unsigned_long_long = {"_p_unsigned_long_long", "uint_least64_t *|uint_fast64_t *|uint64_t *|unsigned long long *|uintmax_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "unsigned short *|uint_least16_t *|uint16_t *", 0, 0, (void*)0, 0};
-
-static swig_type_info *swig_type_initial[] = {
- &_swigt__p_ActionConfig,
- &_swigt__p_CallSession,
- &_swigt__p_DDebugCallback,
- &_swigt__p_DialogEvent,
- &_swigt__p_InviteEvent,
- &_swigt__p_InviteSession,
- &_swigt__p_MediaContent,
- &_swigt__p_MediaContentCPIM,
- &_swigt__p_MediaSessionMgr,
- &_swigt__p_MessagingEvent,
- &_swigt__p_MessagingSession,
- &_swigt__p_MsrpCallback,
- &_swigt__p_MsrpEvent,
- &_swigt__p_MsrpMessage,
- &_swigt__p_MsrpSession,
- &_swigt__p_OptionsEvent,
- &_swigt__p_OptionsSession,
- &_swigt__p_ProxyAudioConsumer,
- &_swigt__p_ProxyAudioConsumerCallback,
- &_swigt__p_ProxyAudioProducer,
- &_swigt__p_ProxyAudioProducerCallback,
- &_swigt__p_ProxyPlugin,
- &_swigt__p_ProxyPluginMgr,
- &_swigt__p_ProxyPluginMgrCallback,
- &_swigt__p_ProxyVideoConsumer,
- &_swigt__p_ProxyVideoConsumerCallback,
- &_swigt__p_ProxyVideoFrame,
- &_swigt__p_ProxyVideoProducer,
- &_swigt__p_ProxyVideoProducerCallback,
- &_swigt__p_PublicationEvent,
- &_swigt__p_PublicationSession,
- &_swigt__p_RPMessage,
- &_swigt__p_RegistrationEvent,
- &_swigt__p_RegistrationSession,
- &_swigt__p_SMSData,
- &_swigt__p_SMSEncoder,
- &_swigt__p_SafeObject,
- &_swigt__p_SdpMessage,
- &_swigt__p_SipCallback,
- &_swigt__p_SipEvent,
- &_swigt__p_SipMessage,
- &_swigt__p_SipSession,
- &_swigt__p_SipStack,
- &_swigt__p_SipUri,
- &_swigt__p_StackEvent,
- &_swigt__p_SubscriptionEvent,
- &_swigt__p_SubscriptionSession,
- &_swigt__p_XcapCallback,
- &_swigt__p_XcapEvent,
- &_swigt__p_XcapMessage,
- &_swigt__p_XcapSelector,
- &_swigt__p_XcapStack,
- &_swigt__p_char,
- &_swigt__p_int,
- &_swigt__p_long_long,
- &_swigt__p_short,
- &_swigt__p_signed_char,
- &_swigt__p_tdav_codec_id_e,
- &_swigt__p_thttp_event_type_e,
- &_swigt__p_tmedia_bandwidth_level_e,
- &_swigt__p_tmedia_chroma_e,
- &_swigt__p_tmedia_qos_strength_e,
- &_swigt__p_tmedia_qos_stype_e,
- &_swigt__p_tmsrp_event_type_e,
- &_swigt__p_tmsrp_request_type_e,
- &_swigt__p_tsip_event_type_e,
- &_swigt__p_tsip_invite_event_type_e,
- &_swigt__p_tsip_message_event_type_e,
- &_swigt__p_tsip_options_event_type_e,
- &_swigt__p_tsip_publish_event_type_e,
- &_swigt__p_tsip_register_event_type_e,
- &_swigt__p_tsip_subscribe_event_type_e,
- &_swigt__p_tsk_list_t,
- &_swigt__p_twrap_media_type_e,
- &_swigt__p_twrap_proxy_plugin_type_e,
- &_swigt__p_twrap_rpmessage_type_e,
- &_swigt__p_twrap_sms_type_e,
- &_swigt__p_unsigned_char,
- &_swigt__p_unsigned_int,
- &_swigt__p_unsigned_long_long,
- &_swigt__p_unsigned_short,
-};
-
-static swig_cast_info _swigc__p_ActionConfig[] = { {&_swigt__p_ActionConfig, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_CallSession[] = { {&_swigt__p_CallSession, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_DDebugCallback[] = { {&_swigt__p_DDebugCallback, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_DialogEvent[] = { {&_swigt__p_DialogEvent, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_InviteEvent[] = { {&_swigt__p_InviteEvent, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_InviteSession[] = { {&_swigt__p_InviteSession, 0, 0, 0}, {&_swigt__p_CallSession, _p_CallSessionTo_p_InviteSession, 0, 0}, {&_swigt__p_MsrpSession, _p_MsrpSessionTo_p_InviteSession, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_MediaContent[] = { {&_swigt__p_MediaContent, 0, 0, 0}, {&_swigt__p_MediaContentCPIM, _p_MediaContentCPIMTo_p_MediaContent, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_MediaContentCPIM[] = { {&_swigt__p_MediaContentCPIM, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_MediaSessionMgr[] = { {&_swigt__p_MediaSessionMgr, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_MessagingEvent[] = { {&_swigt__p_MessagingEvent, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_MessagingSession[] = { {&_swigt__p_MessagingSession, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_MsrpCallback[] = { {&_swigt__p_MsrpCallback, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_MsrpEvent[] = { {&_swigt__p_MsrpEvent, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_MsrpMessage[] = { {&_swigt__p_MsrpMessage, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_MsrpSession[] = { {&_swigt__p_MsrpSession, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_OptionsEvent[] = { {&_swigt__p_OptionsEvent, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_OptionsSession[] = { {&_swigt__p_OptionsSession, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_ProxyAudioConsumer[] = { {&_swigt__p_ProxyAudioConsumer, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_ProxyAudioConsumerCallback[] = { {&_swigt__p_ProxyAudioConsumerCallback, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_ProxyAudioProducer[] = { {&_swigt__p_ProxyAudioProducer, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_ProxyAudioProducerCallback[] = { {&_swigt__p_ProxyAudioProducerCallback, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_ProxyPlugin[] = { {&_swigt__p_ProxyPlugin, 0, 0, 0}, {&_swigt__p_ProxyAudioConsumer, _p_ProxyAudioConsumerTo_p_ProxyPlugin, 0, 0}, {&_swigt__p_ProxyVideoConsumer, _p_ProxyVideoConsumerTo_p_ProxyPlugin, 0, 0}, {&_swigt__p_ProxyAudioProducer, _p_ProxyAudioProducerTo_p_ProxyPlugin, 0, 0}, {&_swigt__p_ProxyVideoProducer, _p_ProxyVideoProducerTo_p_ProxyPlugin, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_ProxyPluginMgr[] = { {&_swigt__p_ProxyPluginMgr, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_ProxyPluginMgrCallback[] = { {&_swigt__p_ProxyPluginMgrCallback, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_ProxyVideoConsumer[] = { {&_swigt__p_ProxyVideoConsumer, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_ProxyVideoConsumerCallback[] = { {&_swigt__p_ProxyVideoConsumerCallback, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_ProxyVideoFrame[] = { {&_swigt__p_ProxyVideoFrame, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_ProxyVideoProducer[] = { {&_swigt__p_ProxyVideoProducer, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_ProxyVideoProducerCallback[] = { {&_swigt__p_ProxyVideoProducerCallback, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_PublicationEvent[] = { {&_swigt__p_PublicationEvent, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_PublicationSession[] = { {&_swigt__p_PublicationSession, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_RPMessage[] = { {&_swigt__p_RPMessage, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_RegistrationEvent[] = { {&_swigt__p_RegistrationEvent, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_RegistrationSession[] = { {&_swigt__p_RegistrationSession, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_SMSData[] = { {&_swigt__p_SMSData, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_SMSEncoder[] = { {&_swigt__p_SMSEncoder, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_SafeObject[] = { {&_swigt__p_SipStack, _p_SipStackTo_p_SafeObject, 0, 0}, {&_swigt__p_SafeObject, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_SdpMessage[] = { {&_swigt__p_SdpMessage, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_SipCallback[] = { {&_swigt__p_SipCallback, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_SipEvent[] = { {&_swigt__p_SipEvent, 0, 0, 0}, {&_swigt__p_InviteEvent, _p_InviteEventTo_p_SipEvent, 0, 0}, {&_swigt__p_OptionsEvent, _p_OptionsEventTo_p_SipEvent, 0, 0}, {&_swigt__p_DialogEvent, _p_DialogEventTo_p_SipEvent, 0, 0}, {&_swigt__p_PublicationEvent, _p_PublicationEventTo_p_SipEvent, 0, 0}, {&_swigt__p_RegistrationEvent, _p_RegistrationEventTo_p_SipEvent, 0, 0}, {&_swigt__p_SubscriptionEvent, _p_SubscriptionEventTo_p_SipEvent, 0, 0}, {&_swigt__p_StackEvent, _p_StackEventTo_p_SipEvent, 0, 0}, {&_swigt__p_MessagingEvent, _p_MessagingEventTo_p_SipEvent, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_SipMessage[] = { {&_swigt__p_SipMessage, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_SipSession[] = { {&_swigt__p_SipSession, 0, 0, 0}, {&_swigt__p_InviteSession, _p_InviteSessionTo_p_SipSession, 0, 0}, {&_swigt__p_CallSession, _p_CallSessionTo_p_SipSession, 0, 0}, {&_swigt__p_MsrpSession, _p_MsrpSessionTo_p_SipSession, 0, 0}, {&_swigt__p_MessagingSession, _p_MessagingSessionTo_p_SipSession, 0, 0}, {&_swigt__p_OptionsSession, _p_OptionsSessionTo_p_SipSession, 0, 0}, {&_swigt__p_PublicationSession, _p_PublicationSessionTo_p_SipSession, 0, 0}, {&_swigt__p_RegistrationSession, _p_RegistrationSessionTo_p_SipSession, 0, 0}, {&_swigt__p_SubscriptionSession, _p_SubscriptionSessionTo_p_SipSession, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_SipStack[] = { {&_swigt__p_SipStack, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_SipUri[] = { {&_swigt__p_SipUri, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_StackEvent[] = { {&_swigt__p_StackEvent, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_SubscriptionEvent[] = { {&_swigt__p_SubscriptionEvent, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_SubscriptionSession[] = { {&_swigt__p_SubscriptionSession, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_XcapCallback[] = { {&_swigt__p_XcapCallback, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_XcapEvent[] = { {&_swigt__p_XcapEvent, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_XcapMessage[] = { {&_swigt__p_XcapMessage, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_XcapSelector[] = { {&_swigt__p_XcapSelector, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_XcapStack[] = { {&_swigt__p_XcapStack, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_long_long[] = { {&_swigt__p_long_long, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_short[] = { {&_swigt__p_short, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_signed_char[] = { {&_swigt__p_signed_char, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_tdav_codec_id_e[] = { {&_swigt__p_tdav_codec_id_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_thttp_event_type_e[] = { {&_swigt__p_thttp_event_type_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_tmedia_bandwidth_level_e[] = { {&_swigt__p_tmedia_bandwidth_level_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_tmedia_chroma_e[] = { {&_swigt__p_tmedia_chroma_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_tmedia_qos_strength_e[] = { {&_swigt__p_tmedia_qos_strength_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_tmedia_qos_stype_e[] = { {&_swigt__p_tmedia_qos_stype_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_tmsrp_event_type_e[] = { {&_swigt__p_tmsrp_event_type_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_tmsrp_request_type_e[] = { {&_swigt__p_tmsrp_request_type_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_tsip_event_type_e[] = { {&_swigt__p_tsip_event_type_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_tsip_invite_event_type_e[] = { {&_swigt__p_tsip_invite_event_type_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_tsip_message_event_type_e[] = { {&_swigt__p_tsip_message_event_type_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_tsip_options_event_type_e[] = { {&_swigt__p_tsip_options_event_type_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_tsip_publish_event_type_e[] = { {&_swigt__p_tsip_publish_event_type_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_tsip_register_event_type_e[] = { {&_swigt__p_tsip_register_event_type_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_tsip_subscribe_event_type_e[] = { {&_swigt__p_tsip_subscribe_event_type_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_tsk_list_t[] = { {&_swigt__p_tsk_list_t, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_twrap_media_type_e[] = { {&_swigt__p_twrap_media_type_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_twrap_proxy_plugin_type_e[] = { {&_swigt__p_twrap_proxy_plugin_type_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_twrap_rpmessage_type_e[] = { {&_swigt__p_twrap_rpmessage_type_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_twrap_sms_type_e[] = { {&_swigt__p_twrap_sms_type_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_unsigned_long_long[] = { {&_swigt__p_unsigned_long_long, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_unsigned_short[] = { {&_swigt__p_unsigned_short, 0, 0, 0},{0, 0, 0, 0}};
-
-static swig_cast_info *swig_cast_initial[] = {
- _swigc__p_ActionConfig,
- _swigc__p_CallSession,
- _swigc__p_DDebugCallback,
- _swigc__p_DialogEvent,
- _swigc__p_InviteEvent,
- _swigc__p_InviteSession,
- _swigc__p_MediaContent,
- _swigc__p_MediaContentCPIM,
- _swigc__p_MediaSessionMgr,
- _swigc__p_MessagingEvent,
- _swigc__p_MessagingSession,
- _swigc__p_MsrpCallback,
- _swigc__p_MsrpEvent,
- _swigc__p_MsrpMessage,
- _swigc__p_MsrpSession,
- _swigc__p_OptionsEvent,
- _swigc__p_OptionsSession,
- _swigc__p_ProxyAudioConsumer,
- _swigc__p_ProxyAudioConsumerCallback,
- _swigc__p_ProxyAudioProducer,
- _swigc__p_ProxyAudioProducerCallback,
- _swigc__p_ProxyPlugin,
- _swigc__p_ProxyPluginMgr,
- _swigc__p_ProxyPluginMgrCallback,
- _swigc__p_ProxyVideoConsumer,
- _swigc__p_ProxyVideoConsumerCallback,
- _swigc__p_ProxyVideoFrame,
- _swigc__p_ProxyVideoProducer,
- _swigc__p_ProxyVideoProducerCallback,
- _swigc__p_PublicationEvent,
- _swigc__p_PublicationSession,
- _swigc__p_RPMessage,
- _swigc__p_RegistrationEvent,
- _swigc__p_RegistrationSession,
- _swigc__p_SMSData,
- _swigc__p_SMSEncoder,
- _swigc__p_SafeObject,
- _swigc__p_SdpMessage,
- _swigc__p_SipCallback,
- _swigc__p_SipEvent,
- _swigc__p_SipMessage,
- _swigc__p_SipSession,
- _swigc__p_SipStack,
- _swigc__p_SipUri,
- _swigc__p_StackEvent,
- _swigc__p_SubscriptionEvent,
- _swigc__p_SubscriptionSession,
- _swigc__p_XcapCallback,
- _swigc__p_XcapEvent,
- _swigc__p_XcapMessage,
- _swigc__p_XcapSelector,
- _swigc__p_XcapStack,
- _swigc__p_char,
- _swigc__p_int,
- _swigc__p_long_long,
- _swigc__p_short,
- _swigc__p_signed_char,
- _swigc__p_tdav_codec_id_e,
- _swigc__p_thttp_event_type_e,
- _swigc__p_tmedia_bandwidth_level_e,
- _swigc__p_tmedia_chroma_e,
- _swigc__p_tmedia_qos_strength_e,
- _swigc__p_tmedia_qos_stype_e,
- _swigc__p_tmsrp_event_type_e,
- _swigc__p_tmsrp_request_type_e,
- _swigc__p_tsip_event_type_e,
- _swigc__p_tsip_invite_event_type_e,
- _swigc__p_tsip_message_event_type_e,
- _swigc__p_tsip_options_event_type_e,
- _swigc__p_tsip_publish_event_type_e,
- _swigc__p_tsip_register_event_type_e,
- _swigc__p_tsip_subscribe_event_type_e,
- _swigc__p_tsk_list_t,
- _swigc__p_twrap_media_type_e,
- _swigc__p_twrap_proxy_plugin_type_e,
- _swigc__p_twrap_rpmessage_type_e,
- _swigc__p_twrap_sms_type_e,
- _swigc__p_unsigned_char,
- _swigc__p_unsigned_int,
- _swigc__p_unsigned_long_long,
- _swigc__p_unsigned_short,
-};
-
-
-/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
-
-static swig_constant_info swig_constants[] = {
-{0,0,0,0,0,0}
-};
-#ifdef __cplusplus
-}
-#endif
-static swig_variable_info swig_variables[] = {
-{0,0,0,0}
-};
-static swig_command_info swig_commands[] = {
-{"tinyWRAPc::new_DDebugCallback", _wrap_new_DDebugCallback},
-{"tinyWRAPc::delete_DDebugCallback", _wrap_delete_DDebugCallback},
-{"tinyWRAPc::DDebugCallback_OnDebugInfo", _wrap_DDebugCallback_OnDebugInfo},
-{"tinyWRAPc::DDebugCallback_OnDebugWarn", _wrap_DDebugCallback_OnDebugWarn},
-{"tinyWRAPc::DDebugCallback_OnDebugError", _wrap_DDebugCallback_OnDebugError},
-{"tinyWRAPc::DDebugCallback_OnDebugFatal", _wrap_DDebugCallback_OnDebugFatal},
-{"tinyWRAPc::new_ActionConfig", _wrap_new_ActionConfig},
-{"tinyWRAPc::delete_ActionConfig", _wrap_delete_ActionConfig},
-{"tinyWRAPc::ActionConfig_addHeader", _wrap_ActionConfig_addHeader},
-{"tinyWRAPc::ActionConfig_setResponseLine", _wrap_ActionConfig_setResponseLine},
-{"tinyWRAPc::ActionConfig_setMediaString", _wrap_ActionConfig_setMediaString},
-{"tinyWRAPc::ActionConfig_setMediaInt", _wrap_ActionConfig_setMediaInt},
-{"tinyWRAPc::delete_MediaSessionMgr", _wrap_delete_MediaSessionMgr},
-{"tinyWRAPc::MediaSessionMgr_sessionSetInt32", _wrap_MediaSessionMgr_sessionSetInt32},
-{"tinyWRAPc::MediaSessionMgr_consumerSetInt32", _wrap_MediaSessionMgr_consumerSetInt32},
-{"tinyWRAPc::MediaSessionMgr_consumerSetInt64", _wrap_MediaSessionMgr_consumerSetInt64},
-{"tinyWRAPc::MediaSessionMgr_producerSetInt32", _wrap_MediaSessionMgr_producerSetInt32},
-{"tinyWRAPc::MediaSessionMgr_producerSetInt64", _wrap_MediaSessionMgr_producerSetInt64},
-{"tinyWRAPc::MediaSessionMgr_findProxyPluginConsumer", _wrap_MediaSessionMgr_findProxyPluginConsumer},
-{"tinyWRAPc::MediaSessionMgr_findProxyPluginProducer", _wrap_MediaSessionMgr_findProxyPluginProducer},
-{"tinyWRAPc::delete_MediaContent", _wrap_delete_MediaContent},
-{"tinyWRAPc::MediaContent_getType", _wrap_MediaContent_getType},
-{"tinyWRAPc::MediaContent_getDataLength", _wrap_MediaContent_getDataLength},
-{"tinyWRAPc::MediaContent_getData", _wrap_MediaContent_getData},
-{"tinyWRAPc::MediaContent_parse", _wrap_MediaContent_parse},
-{"tinyWRAPc::MediaContent_getPayloadLength", _wrap_MediaContent_getPayloadLength},
-{"tinyWRAPc::MediaContent_getPayload", _wrap_MediaContent_getPayload},
-{"tinyWRAPc::delete_MediaContentCPIM", _wrap_delete_MediaContentCPIM},
-{"tinyWRAPc::MediaContentCPIM_getPayloadLength", _wrap_MediaContentCPIM_getPayloadLength},
-{"tinyWRAPc::MediaContentCPIM_getPayload", _wrap_MediaContentCPIM_getPayload},
-{"tinyWRAPc::MediaContentCPIM_getHeaderValue", _wrap_MediaContentCPIM_getHeaderValue},
-{"tinyWRAPc::new_SipUri", _wrap_new_SipUri},
-{"tinyWRAPc::delete_SipUri", _wrap_delete_SipUri},
-{"tinyWRAPc::SipUri_isValid", _wrap_SipUri_isValid},
-{"tinyWRAPc::SipUri_getScheme", _wrap_SipUri_getScheme},
-{"tinyWRAPc::SipUri_getHost", _wrap_SipUri_getHost},
-{"tinyWRAPc::SipUri_getPort", _wrap_SipUri_getPort},
-{"tinyWRAPc::SipUri_getUserName", _wrap_SipUri_getUserName},
-{"tinyWRAPc::SipUri_getPassword", _wrap_SipUri_getPassword},
-{"tinyWRAPc::SipUri_getDisplayName", _wrap_SipUri_getDisplayName},
-{"tinyWRAPc::SipUri_getParamValue", _wrap_SipUri_getParamValue},
-{"tinyWRAPc::new_SdpMessage", _wrap_new_SdpMessage},
-{"tinyWRAPc::delete_SdpMessage", _wrap_delete_SdpMessage},
-{"tinyWRAPc::SdpMessage_getSdpHeaderValue", _wrap_SdpMessage_getSdpHeaderValue},
-{"tinyWRAPc::SdpMessage_getSdpHeaderAValue", _wrap_SdpMessage_getSdpHeaderAValue},
-{"tinyWRAPc::new_SipMessage", _wrap_new_SipMessage},
-{"tinyWRAPc::delete_SipMessage", _wrap_delete_SipMessage},
-{"tinyWRAPc::SipMessage_getSipHeaderValue", _wrap_SipMessage_getSipHeaderValue},
-{"tinyWRAPc::SipMessage_getSipHeaderParamValue", _wrap_SipMessage_getSipHeaderParamValue},
-{"tinyWRAPc::SipMessage_getSipContentLength", _wrap_SipMessage_getSipContentLength},
-{"tinyWRAPc::SipMessage_getSipContent", _wrap_SipMessage_getSipContent},
-{"tinyWRAPc::SipMessage_getSdpMessage", _wrap_SipMessage_getSdpMessage},
-{"tinyWRAPc::delete_SipEvent", _wrap_delete_SipEvent},
-{"tinyWRAPc::SipEvent_getCode", _wrap_SipEvent_getCode},
-{"tinyWRAPc::SipEvent_getPhrase", _wrap_SipEvent_getPhrase},
-{"tinyWRAPc::SipEvent_getBaseSession", _wrap_SipEvent_getBaseSession},
-{"tinyWRAPc::SipEvent_getSipMessage", _wrap_SipEvent_getSipMessage},
-{"tinyWRAPc::delete_DialogEvent", _wrap_delete_DialogEvent},
-{"tinyWRAPc::delete_StackEvent", _wrap_delete_StackEvent},
-{"tinyWRAPc::delete_InviteEvent", _wrap_delete_InviteEvent},
-{"tinyWRAPc::InviteEvent_getType", _wrap_InviteEvent_getType},
-{"tinyWRAPc::InviteEvent_getMediaType", _wrap_InviteEvent_getMediaType},
-{"tinyWRAPc::InviteEvent_getSession", _wrap_InviteEvent_getSession},
-{"tinyWRAPc::InviteEvent_takeCallSessionOwnership", _wrap_InviteEvent_takeCallSessionOwnership},
-{"tinyWRAPc::InviteEvent_takeMsrpSessionOwnership", _wrap_InviteEvent_takeMsrpSessionOwnership},
-{"tinyWRAPc::delete_MessagingEvent", _wrap_delete_MessagingEvent},
-{"tinyWRAPc::MessagingEvent_getType", _wrap_MessagingEvent_getType},
-{"tinyWRAPc::MessagingEvent_getSession", _wrap_MessagingEvent_getSession},
-{"tinyWRAPc::MessagingEvent_takeSessionOwnership", _wrap_MessagingEvent_takeSessionOwnership},
-{"tinyWRAPc::delete_OptionsEvent", _wrap_delete_OptionsEvent},
-{"tinyWRAPc::OptionsEvent_getType", _wrap_OptionsEvent_getType},
-{"tinyWRAPc::OptionsEvent_getSession", _wrap_OptionsEvent_getSession},
-{"tinyWRAPc::delete_PublicationEvent", _wrap_delete_PublicationEvent},
-{"tinyWRAPc::PublicationEvent_getType", _wrap_PublicationEvent_getType},
-{"tinyWRAPc::PublicationEvent_getSession", _wrap_PublicationEvent_getSession},
-{"tinyWRAPc::delete_RegistrationEvent", _wrap_delete_RegistrationEvent},
-{"tinyWRAPc::RegistrationEvent_getType", _wrap_RegistrationEvent_getType},
-{"tinyWRAPc::RegistrationEvent_getSession", _wrap_RegistrationEvent_getSession},
-{"tinyWRAPc::RegistrationEvent_takeSessionOwnership", _wrap_RegistrationEvent_takeSessionOwnership},
-{"tinyWRAPc::delete_SubscriptionEvent", _wrap_delete_SubscriptionEvent},
-{"tinyWRAPc::SubscriptionEvent_getType", _wrap_SubscriptionEvent_getType},
-{"tinyWRAPc::SubscriptionEvent_getSession", _wrap_SubscriptionEvent_getSession},
-{"tinyWRAPc::new_SipSession", _wrap_new_SipSession},
-{"tinyWRAPc::delete_SipSession", _wrap_delete_SipSession},
-{"tinyWRAPc::SipSession_haveOwnership", _wrap_SipSession_haveOwnership},
-{"tinyWRAPc::SipSession_addHeader", _wrap_SipSession_addHeader},
-{"tinyWRAPc::SipSession_removeHeader", _wrap_SipSession_removeHeader},
-{"tinyWRAPc::SipSession_addCaps", _wrap_SipSession_addCaps},
-{"tinyWRAPc::SipSession_removeCaps", _wrap_SipSession_removeCaps},
-{"tinyWRAPc::SipSession_setExpires", _wrap_SipSession_setExpires},
-{"tinyWRAPc::SipSession_setFromUri", _wrap_SipSession_setFromUri},
-{"tinyWRAPc::SipSession_setToUri", _wrap_SipSession_setToUri},
-{"tinyWRAPc::SipSession_setSilentHangup", _wrap_SipSession_setSilentHangup},
-{"tinyWRAPc::SipSession_addSigCompCompartment", _wrap_SipSession_addSigCompCompartment},
-{"tinyWRAPc::SipSession_removeSigCompCompartment", _wrap_SipSession_removeSigCompCompartment},
-{"tinyWRAPc::SipSession_getId", _wrap_SipSession_getId},
-{"tinyWRAPc::new_InviteSession", _wrap_new_InviteSession},
-{"tinyWRAPc::delete_InviteSession", _wrap_delete_InviteSession},
-{"tinyWRAPc::InviteSession_accept", _wrap_InviteSession_accept},
-{"tinyWRAPc::InviteSession_hangup", _wrap_InviteSession_hangup},
-{"tinyWRAPc::InviteSession_reject", _wrap_InviteSession_reject},
-{"tinyWRAPc::InviteSession_getMediaMgr", _wrap_InviteSession_getMediaMgr},
-{"tinyWRAPc::new_CallSession", _wrap_new_CallSession},
-{"tinyWRAPc::delete_CallSession", _wrap_delete_CallSession},
-{"tinyWRAPc::CallSession_callAudio", _wrap_CallSession_callAudio},
-{"tinyWRAPc::CallSession_callAudioVideo", _wrap_CallSession_callAudioVideo},
-{"tinyWRAPc::CallSession_callVideo", _wrap_CallSession_callVideo},
-{"tinyWRAPc::CallSession_setSessionTimer", _wrap_CallSession_setSessionTimer},
-{"tinyWRAPc::CallSession_set100rel", _wrap_CallSession_set100rel},
-{"tinyWRAPc::CallSession_setQoS", _wrap_CallSession_setQoS},
-{"tinyWRAPc::CallSession_hold", _wrap_CallSession_hold},
-{"tinyWRAPc::CallSession_resume", _wrap_CallSession_resume},
-{"tinyWRAPc::CallSession_sendDTMF", _wrap_CallSession_sendDTMF},
-{"tinyWRAPc::new_MsrpSession", _wrap_new_MsrpSession},
-{"tinyWRAPc::delete_MsrpSession", _wrap_delete_MsrpSession},
-{"tinyWRAPc::MsrpSession_setCallback", _wrap_MsrpSession_setCallback},
-{"tinyWRAPc::MsrpSession_callMsrp", _wrap_MsrpSession_callMsrp},
-{"tinyWRAPc::MsrpSession_sendMessage", _wrap_MsrpSession_sendMessage},
-{"tinyWRAPc::MsrpSession_sendFile", _wrap_MsrpSession_sendFile},
-{"tinyWRAPc::new_MessagingSession", _wrap_new_MessagingSession},
-{"tinyWRAPc::delete_MessagingSession", _wrap_delete_MessagingSession},
-{"tinyWRAPc::MessagingSession_send", _wrap_MessagingSession_send},
-{"tinyWRAPc::MessagingSession_accept", _wrap_MessagingSession_accept},
-{"tinyWRAPc::MessagingSession_reject", _wrap_MessagingSession_reject},
-{"tinyWRAPc::new_OptionsSession", _wrap_new_OptionsSession},
-{"tinyWRAPc::delete_OptionsSession", _wrap_delete_OptionsSession},
-{"tinyWRAPc::OptionsSession_send", _wrap_OptionsSession_send},
-{"tinyWRAPc::new_PublicationSession", _wrap_new_PublicationSession},
-{"tinyWRAPc::delete_PublicationSession", _wrap_delete_PublicationSession},
-{"tinyWRAPc::PublicationSession_publish", _wrap_PublicationSession_publish},
-{"tinyWRAPc::PublicationSession_unPublish", _wrap_PublicationSession_unPublish},
-{"tinyWRAPc::new_RegistrationSession", _wrap_new_RegistrationSession},
-{"tinyWRAPc::delete_RegistrationSession", _wrap_delete_RegistrationSession},
-{"tinyWRAPc::RegistrationSession_register_", _wrap_RegistrationSession_register_},
-{"tinyWRAPc::RegistrationSession_unRegister", _wrap_RegistrationSession_unRegister},
-{"tinyWRAPc::RegistrationSession_accept", _wrap_RegistrationSession_accept},
-{"tinyWRAPc::RegistrationSession_reject", _wrap_RegistrationSession_reject},
-{"tinyWRAPc::new_SubscriptionSession", _wrap_new_SubscriptionSession},
-{"tinyWRAPc::delete_SubscriptionSession", _wrap_delete_SubscriptionSession},
-{"tinyWRAPc::SubscriptionSession_subscribe", _wrap_SubscriptionSession_subscribe},
-{"tinyWRAPc::SubscriptionSession_unSubscribe", _wrap_SubscriptionSession_unSubscribe},
-{"tinyWRAPc::delete_ProxyPluginMgr", _wrap_delete_ProxyPluginMgr},
-{"tinyWRAPc::ProxyPluginMgr_createInstance", _wrap_ProxyPluginMgr_createInstance},
-{"tinyWRAPc::ProxyPluginMgr_getInstance", _wrap_ProxyPluginMgr_getInstance},
-{"tinyWRAPc::ProxyPluginMgr_findAudioConsumer", _wrap_ProxyPluginMgr_findAudioConsumer},
-{"tinyWRAPc::ProxyPluginMgr_findVideoConsumer", _wrap_ProxyPluginMgr_findVideoConsumer},
-{"tinyWRAPc::ProxyPluginMgr_findAudioProducer", _wrap_ProxyPluginMgr_findAudioProducer},
-{"tinyWRAPc::ProxyPluginMgr_findVideoProducer", _wrap_ProxyPluginMgr_findVideoProducer},
-{"tinyWRAPc::new_ProxyPluginMgrCallback", _wrap_new_ProxyPluginMgrCallback},
-{"tinyWRAPc::delete_ProxyPluginMgrCallback", _wrap_delete_ProxyPluginMgrCallback},
-{"tinyWRAPc::ProxyPluginMgrCallback_OnPluginCreated", _wrap_ProxyPluginMgrCallback_OnPluginCreated},
-{"tinyWRAPc::ProxyPluginMgrCallback_OnPluginDestroyed", _wrap_ProxyPluginMgrCallback_OnPluginDestroyed},
-{"tinyWRAPc::delete_ProxyPlugin", _wrap_delete_ProxyPlugin},
-{"tinyWRAPc::ProxyPlugin_getType", _wrap_ProxyPlugin_getType},
-{"tinyWRAPc::ProxyPlugin_getId", _wrap_ProxyPlugin_getId},
-{"tinyWRAPc::new_ProxyAudioConsumerCallback", _wrap_new_ProxyAudioConsumerCallback},
-{"tinyWRAPc::delete_ProxyAudioConsumerCallback", _wrap_delete_ProxyAudioConsumerCallback},
-{"tinyWRAPc::ProxyAudioConsumerCallback_prepare", _wrap_ProxyAudioConsumerCallback_prepare},
-{"tinyWRAPc::ProxyAudioConsumerCallback_start", _wrap_ProxyAudioConsumerCallback_start},
-{"tinyWRAPc::ProxyAudioConsumerCallback_pause", _wrap_ProxyAudioConsumerCallback_pause},
-{"tinyWRAPc::ProxyAudioConsumerCallback_stop", _wrap_ProxyAudioConsumerCallback_stop},
-{"tinyWRAPc::delete_ProxyAudioConsumer", _wrap_delete_ProxyAudioConsumer},
-{"tinyWRAPc::ProxyAudioConsumer_pull", _wrap_ProxyAudioConsumer_pull},
-{"tinyWRAPc::ProxyAudioConsumer_reset", _wrap_ProxyAudioConsumer_reset},
-{"tinyWRAPc::ProxyAudioConsumer_setCallback", _wrap_ProxyAudioConsumer_setCallback},
-{"tinyWRAPc::ProxyAudioConsumer_getMediaSessionId", _wrap_ProxyAudioConsumer_getMediaSessionId},
-{"tinyWRAPc::ProxyAudioConsumer_registerPlugin", _wrap_ProxyAudioConsumer_registerPlugin},
-{"tinyWRAPc::new_ProxyVideoConsumerCallback", _wrap_new_ProxyVideoConsumerCallback},
-{"tinyWRAPc::delete_ProxyVideoConsumerCallback", _wrap_delete_ProxyVideoConsumerCallback},
-{"tinyWRAPc::ProxyVideoConsumerCallback_prepare", _wrap_ProxyVideoConsumerCallback_prepare},
-{"tinyWRAPc::ProxyVideoConsumerCallback_consume", _wrap_ProxyVideoConsumerCallback_consume},
-{"tinyWRAPc::ProxyVideoConsumerCallback_start", _wrap_ProxyVideoConsumerCallback_start},
-{"tinyWRAPc::ProxyVideoConsumerCallback_pause", _wrap_ProxyVideoConsumerCallback_pause},
-{"tinyWRAPc::ProxyVideoConsumerCallback_stop", _wrap_ProxyVideoConsumerCallback_stop},
-{"tinyWRAPc::delete_ProxyVideoConsumer", _wrap_delete_ProxyVideoConsumer},
-{"tinyWRAPc::ProxyVideoConsumer_setDisplaySize", _wrap_ProxyVideoConsumer_setDisplaySize},
-{"tinyWRAPc::ProxyVideoConsumer_setCallback", _wrap_ProxyVideoConsumer_setCallback},
-{"tinyWRAPc::ProxyVideoConsumer_getMediaSessionId", _wrap_ProxyVideoConsumer_getMediaSessionId},
-{"tinyWRAPc::ProxyVideoConsumer_registerPlugin", _wrap_ProxyVideoConsumer_registerPlugin},
-{"tinyWRAPc::ProxyVideoConsumer_setDefaultChroma", _wrap_ProxyVideoConsumer_setDefaultChroma},
-{"tinyWRAPc::delete_ProxyVideoFrame", _wrap_delete_ProxyVideoFrame},
-{"tinyWRAPc::ProxyVideoFrame_getSize", _wrap_ProxyVideoFrame_getSize},
-{"tinyWRAPc::ProxyVideoFrame_getContent", _wrap_ProxyVideoFrame_getContent},
-{"tinyWRAPc::new_ProxyAudioProducerCallback", _wrap_new_ProxyAudioProducerCallback},
-{"tinyWRAPc::delete_ProxyAudioProducerCallback", _wrap_delete_ProxyAudioProducerCallback},
-{"tinyWRAPc::ProxyAudioProducerCallback_prepare", _wrap_ProxyAudioProducerCallback_prepare},
-{"tinyWRAPc::ProxyAudioProducerCallback_start", _wrap_ProxyAudioProducerCallback_start},
-{"tinyWRAPc::ProxyAudioProducerCallback_pause", _wrap_ProxyAudioProducerCallback_pause},
-{"tinyWRAPc::ProxyAudioProducerCallback_stop", _wrap_ProxyAudioProducerCallback_stop},
-{"tinyWRAPc::delete_ProxyAudioProducer", _wrap_delete_ProxyAudioProducer},
-{"tinyWRAPc::ProxyAudioProducer_push", _wrap_ProxyAudioProducer_push},
-{"tinyWRAPc::ProxyAudioProducer_setCallback", _wrap_ProxyAudioProducer_setCallback},
-{"tinyWRAPc::ProxyAudioProducer_getMediaSessionId", _wrap_ProxyAudioProducer_getMediaSessionId},
-{"tinyWRAPc::ProxyAudioProducer_registerPlugin", _wrap_ProxyAudioProducer_registerPlugin},
-{"tinyWRAPc::new_ProxyVideoProducerCallback", _wrap_new_ProxyVideoProducerCallback},
-{"tinyWRAPc::delete_ProxyVideoProducerCallback", _wrap_delete_ProxyVideoProducerCallback},
-{"tinyWRAPc::ProxyVideoProducerCallback_prepare", _wrap_ProxyVideoProducerCallback_prepare},
-{"tinyWRAPc::ProxyVideoProducerCallback_start", _wrap_ProxyVideoProducerCallback_start},
-{"tinyWRAPc::ProxyVideoProducerCallback_pause", _wrap_ProxyVideoProducerCallback_pause},
-{"tinyWRAPc::ProxyVideoProducerCallback_stop", _wrap_ProxyVideoProducerCallback_stop},
-{"tinyWRAPc::delete_ProxyVideoProducer", _wrap_delete_ProxyVideoProducer},
-{"tinyWRAPc::ProxyVideoProducer_getRotation", _wrap_ProxyVideoProducer_getRotation},
-{"tinyWRAPc::ProxyVideoProducer_setRotation", _wrap_ProxyVideoProducer_setRotation},
-{"tinyWRAPc::ProxyVideoProducer_push", _wrap_ProxyVideoProducer_push},
-{"tinyWRAPc::ProxyVideoProducer_send", _wrap_ProxyVideoProducer_send},
-{"tinyWRAPc::ProxyVideoProducer_setCallback", _wrap_ProxyVideoProducer_setCallback},
-{"tinyWRAPc::ProxyVideoProducer_getMediaSessionId", _wrap_ProxyVideoProducer_getMediaSessionId},
-{"tinyWRAPc::ProxyVideoProducer_registerPlugin", _wrap_ProxyVideoProducer_registerPlugin},
-{"tinyWRAPc::ProxyVideoProducer_setDefaultChroma", _wrap_ProxyVideoProducer_setDefaultChroma},
-{"tinyWRAPc::new_SipCallback", _wrap_new_SipCallback},
-{"tinyWRAPc::delete_SipCallback", _wrap_delete_SipCallback},
-{"tinyWRAPc::SipCallback_OnDialogEvent", _wrap_SipCallback_OnDialogEvent},
-{"tinyWRAPc::SipCallback_OnStackEvent", _wrap_SipCallback_OnStackEvent},
-{"tinyWRAPc::SipCallback_OnInviteEvent", _wrap_SipCallback_OnInviteEvent},
-{"tinyWRAPc::SipCallback_OnMessagingEvent", _wrap_SipCallback_OnMessagingEvent},
-{"tinyWRAPc::SipCallback_OnOptionsEvent", _wrap_SipCallback_OnOptionsEvent},
-{"tinyWRAPc::SipCallback_OnPublicationEvent", _wrap_SipCallback_OnPublicationEvent},
-{"tinyWRAPc::SipCallback_OnRegistrationEvent", _wrap_SipCallback_OnRegistrationEvent},
-{"tinyWRAPc::SipCallback_OnSubscriptionEvent", _wrap_SipCallback_OnSubscriptionEvent},
-{"tinyWRAPc::new_SafeObject", _wrap_new_SafeObject},
-{"tinyWRAPc::delete_SafeObject", _wrap_delete_SafeObject},
-{"tinyWRAPc::SafeObject_Lock", _wrap_SafeObject_Lock},
-{"tinyWRAPc::SafeObject_UnLock", _wrap_SafeObject_UnLock},
-{"tinyWRAPc::new_SipStack", _wrap_new_SipStack},
-{"tinyWRAPc::delete_SipStack", _wrap_delete_SipStack},
-{"tinyWRAPc::SipStack_start", _wrap_SipStack_start},
-{"tinyWRAPc::SipStack_setDebugCallback", _wrap_SipStack_setDebugCallback},
-{"tinyWRAPc::SipStack_setRealm", _wrap_SipStack_setRealm},
-{"tinyWRAPc::SipStack_setIMPI", _wrap_SipStack_setIMPI},
-{"tinyWRAPc::SipStack_setIMPU", _wrap_SipStack_setIMPU},
-{"tinyWRAPc::SipStack_setPassword", _wrap_SipStack_setPassword},
-{"tinyWRAPc::SipStack_setAMF", _wrap_SipStack_setAMF},
-{"tinyWRAPc::SipStack_setOperatorId", _wrap_SipStack_setOperatorId},
-{"tinyWRAPc::SipStack_setProxyCSCF", _wrap_SipStack_setProxyCSCF},
-{"tinyWRAPc::SipStack_setLocalIP", _wrap_SipStack_setLocalIP},
-{"tinyWRAPc::SipStack_setLocalPort", _wrap_SipStack_setLocalPort},
-{"tinyWRAPc::SipStack_setEarlyIMS", _wrap_SipStack_setEarlyIMS},
-{"tinyWRAPc::SipStack_addHeader", _wrap_SipStack_addHeader},
-{"tinyWRAPc::SipStack_removeHeader", _wrap_SipStack_removeHeader},
-{"tinyWRAPc::SipStack_addDnsServer", _wrap_SipStack_addDnsServer},
-{"tinyWRAPc::SipStack_setDnsDiscovery", _wrap_SipStack_setDnsDiscovery},
-{"tinyWRAPc::SipStack_setAoR", _wrap_SipStack_setAoR},
-{"tinyWRAPc::SipStack_setSigCompParams", _wrap_SipStack_setSigCompParams},
-{"tinyWRAPc::SipStack_addSigCompCompartment", _wrap_SipStack_addSigCompCompartment},
-{"tinyWRAPc::SipStack_removeSigCompCompartment", _wrap_SipStack_removeSigCompCompartment},
-{"tinyWRAPc::SipStack_setSTUNServer", _wrap_SipStack_setSTUNServer},
-{"tinyWRAPc::SipStack_setSTUNCred", _wrap_SipStack_setSTUNCred},
-{"tinyWRAPc::SipStack_setTLSSecAgree", _wrap_SipStack_setTLSSecAgree},
-{"tinyWRAPc::SipStack_setSSLCretificates", _wrap_SipStack_setSSLCretificates},
-{"tinyWRAPc::SipStack_setIPSecSecAgree", _wrap_SipStack_setIPSecSecAgree},
-{"tinyWRAPc::SipStack_setIPSecParameters", _wrap_SipStack_setIPSecParameters},
-{"tinyWRAPc::SipStack_dnsENUM", _wrap_SipStack_dnsENUM},
-{"tinyWRAPc::SipStack_dnsNaptrSrv", _wrap_SipStack_dnsNaptrSrv},
-{"tinyWRAPc::SipStack_dnsSrv", _wrap_SipStack_dnsSrv},
-{"tinyWRAPc::SipStack_getLocalIPnPort", _wrap_SipStack_getLocalIPnPort},
-{"tinyWRAPc::SipStack_getPreferredIdentity", _wrap_SipStack_getPreferredIdentity},
-{"tinyWRAPc::SipStack_isValid", _wrap_SipStack_isValid},
-{"tinyWRAPc::SipStack_stop", _wrap_SipStack_stop},
-{"tinyWRAPc::SipStack_setCodecs", _wrap_SipStack_setCodecs},
-{"tinyWRAPc::SipStack_setCodecs_2", _wrap_SipStack_setCodecs_2},
-{"tinyWRAPc::SipStack_isCodecSupported", _wrap_SipStack_isCodecSupported},
-{"tinyWRAPc::new_XcapSelector", _wrap_new_XcapSelector},
-{"tinyWRAPc::delete_XcapSelector", _wrap_delete_XcapSelector},
-{"tinyWRAPc::XcapSelector_setAUID", _wrap_XcapSelector_setAUID},
-{"tinyWRAPc::XcapSelector_setName", _wrap_XcapSelector_setName},
-{"tinyWRAPc::XcapSelector_setAttribute", _wrap_XcapSelector_setAttribute},
-{"tinyWRAPc::XcapSelector_setPos", _wrap_XcapSelector_setPos},
-{"tinyWRAPc::XcapSelector_setPosAttribute", _wrap_XcapSelector_setPosAttribute},
-{"tinyWRAPc::XcapSelector_setNamespace", _wrap_XcapSelector_setNamespace},
-{"tinyWRAPc::XcapSelector_getString", _wrap_XcapSelector_getString},
-{"tinyWRAPc::XcapSelector_reset", _wrap_XcapSelector_reset},
-{"tinyWRAPc::new_XcapMessage", _wrap_new_XcapMessage},
-{"tinyWRAPc::delete_XcapMessage", _wrap_delete_XcapMessage},
-{"tinyWRAPc::XcapMessage_getCode", _wrap_XcapMessage_getCode},
-{"tinyWRAPc::XcapMessage_getPhrase", _wrap_XcapMessage_getPhrase},
-{"tinyWRAPc::XcapMessage_getXcapHeaderValue", _wrap_XcapMessage_getXcapHeaderValue},
-{"tinyWRAPc::XcapMessage_getXcapHeaderParamValue", _wrap_XcapMessage_getXcapHeaderParamValue},
-{"tinyWRAPc::XcapMessage_getXcapContentLength", _wrap_XcapMessage_getXcapContentLength},
-{"tinyWRAPc::XcapMessage_getXcapContent", _wrap_XcapMessage_getXcapContent},
-{"tinyWRAPc::delete_XcapEvent", _wrap_delete_XcapEvent},
-{"tinyWRAPc::XcapEvent_getType", _wrap_XcapEvent_getType},
-{"tinyWRAPc::XcapEvent_getXcapMessage", _wrap_XcapEvent_getXcapMessage},
-{"tinyWRAPc::new_XcapCallback", _wrap_new_XcapCallback},
-{"tinyWRAPc::delete_XcapCallback", _wrap_delete_XcapCallback},
-{"tinyWRAPc::XcapCallback_onEvent", _wrap_XcapCallback_onEvent},
-{"tinyWRAPc::new_XcapStack", _wrap_new_XcapStack},
-{"tinyWRAPc::delete_XcapStack", _wrap_delete_XcapStack},
-{"tinyWRAPc::XcapStack_registerAUID", _wrap_XcapStack_registerAUID},
-{"tinyWRAPc::XcapStack_start", _wrap_XcapStack_start},
-{"tinyWRAPc::XcapStack_setCredentials", _wrap_XcapStack_setCredentials},
-{"tinyWRAPc::XcapStack_setXcapRoot", _wrap_XcapStack_setXcapRoot},
-{"tinyWRAPc::XcapStack_setLocalIP", _wrap_XcapStack_setLocalIP},
-{"tinyWRAPc::XcapStack_setLocalPort", _wrap_XcapStack_setLocalPort},
-{"tinyWRAPc::XcapStack_addHeader", _wrap_XcapStack_addHeader},
-{"tinyWRAPc::XcapStack_removeHeader", _wrap_XcapStack_removeHeader},
-{"tinyWRAPc::XcapStack_setTimeout", _wrap_XcapStack_setTimeout},
-{"tinyWRAPc::XcapStack_getDocument", _wrap_XcapStack_getDocument},
-{"tinyWRAPc::XcapStack_getElement", _wrap_XcapStack_getElement},
-{"tinyWRAPc::XcapStack_getAttribute", _wrap_XcapStack_getAttribute},
-{"tinyWRAPc::XcapStack_deleteDocument", _wrap_XcapStack_deleteDocument},
-{"tinyWRAPc::XcapStack_deleteElement", _wrap_XcapStack_deleteElement},
-{"tinyWRAPc::XcapStack_deleteAttribute", _wrap_XcapStack_deleteAttribute},
-{"tinyWRAPc::XcapStack_putDocument", _wrap_XcapStack_putDocument},
-{"tinyWRAPc::XcapStack_putElement", _wrap_XcapStack_putElement},
-{"tinyWRAPc::XcapStack_putAttribute", _wrap_XcapStack_putAttribute},
-{"tinyWRAPc::XcapStack_stop", _wrap_XcapStack_stop},
-{"tinyWRAPc::new_RPMessage", _wrap_new_RPMessage},
-{"tinyWRAPc::delete_RPMessage", _wrap_delete_RPMessage},
-{"tinyWRAPc::RPMessage_getType", _wrap_RPMessage_getType},
-{"tinyWRAPc::RPMessage_getPayloadLength", _wrap_RPMessage_getPayloadLength},
-{"tinyWRAPc::RPMessage_getPayload", _wrap_RPMessage_getPayload},
-{"tinyWRAPc::new_SMSData", _wrap_new_SMSData},
-{"tinyWRAPc::delete_SMSData", _wrap_delete_SMSData},
-{"tinyWRAPc::SMSData_getType", _wrap_SMSData_getType},
-{"tinyWRAPc::SMSData_getMR", _wrap_SMSData_getMR},
-{"tinyWRAPc::SMSData_getPayloadLength", _wrap_SMSData_getPayloadLength},
-{"tinyWRAPc::SMSData_getPayload", _wrap_SMSData_getPayload},
-{"tinyWRAPc::SMSData_getOA", _wrap_SMSData_getOA},
-{"tinyWRAPc::SMSData_getDA", _wrap_SMSData_getDA},
-{"tinyWRAPc::SMSEncoder_encodeSubmit", _wrap_SMSEncoder_encodeSubmit},
-{"tinyWRAPc::SMSEncoder_encodeDeliver", _wrap_SMSEncoder_encodeDeliver},
-{"tinyWRAPc::SMSEncoder_encodeACK", _wrap_SMSEncoder_encodeACK},
-{"tinyWRAPc::SMSEncoder_encodeError", _wrap_SMSEncoder_encodeError},
-{"tinyWRAPc::SMSEncoder_decode", _wrap_SMSEncoder_decode},
-{"tinyWRAPc::delete_SMSEncoder", _wrap_delete_SMSEncoder},
-{"tinyWRAPc::new_MsrpMessage", _wrap_new_MsrpMessage},
-{"tinyWRAPc::delete_MsrpMessage", _wrap_delete_MsrpMessage},
-{"tinyWRAPc::MsrpMessage_isRequest", _wrap_MsrpMessage_isRequest},
-{"tinyWRAPc::MsrpMessage_getCode", _wrap_MsrpMessage_getCode},
-{"tinyWRAPc::MsrpMessage_getPhrase", _wrap_MsrpMessage_getPhrase},
-{"tinyWRAPc::MsrpMessage_getRequestType", _wrap_MsrpMessage_getRequestType},
-{"tinyWRAPc::MsrpMessage_getByteRange", _wrap_MsrpMessage_getByteRange},
-{"tinyWRAPc::MsrpMessage_isLastChunck", _wrap_MsrpMessage_isLastChunck},
-{"tinyWRAPc::MsrpMessage_isFirstChunck", _wrap_MsrpMessage_isFirstChunck},
-{"tinyWRAPc::MsrpMessage_getMsrpHeaderValue", _wrap_MsrpMessage_getMsrpHeaderValue},
-{"tinyWRAPc::MsrpMessage_getMsrpHeaderParamValue", _wrap_MsrpMessage_getMsrpHeaderParamValue},
-{"tinyWRAPc::MsrpMessage_getMsrpContentLength", _wrap_MsrpMessage_getMsrpContentLength},
-{"tinyWRAPc::MsrpMessage_getMsrpContent", _wrap_MsrpMessage_getMsrpContent},
-{"tinyWRAPc::delete_MsrpEvent", _wrap_delete_MsrpEvent},
-{"tinyWRAPc::MsrpEvent_getType", _wrap_MsrpEvent_getType},
-{"tinyWRAPc::MsrpEvent_getSipSession", _wrap_MsrpEvent_getSipSession},
-{"tinyWRAPc::MsrpEvent_getMessage", _wrap_MsrpEvent_getMessage},
-{"tinyWRAPc::new_MsrpCallback", _wrap_new_MsrpCallback},
-{"tinyWRAPc::delete_MsrpCallback", _wrap_delete_MsrpCallback},
-{"tinyWRAPc::MsrpCallback_OnEvent", _wrap_MsrpCallback_OnEvent},
-{0,0}
-};
-/* -----------------------------------------------------------------------------
- * Type initialization:
- * This problem is tough by the requirement that no dynamic
- * memory is used. Also, since swig_type_info structures store pointers to
- * swig_cast_info structures and swig_cast_info structures store pointers back
- * to swig_type_info structures, we need some lookup code at initialization.
- * The idea is that swig generates all the structures that are needed.
- * The runtime then collects these partially filled structures.
- * The SWIG_InitializeModule function takes these initial arrays out of
- * swig_module, and does all the lookup, filling in the swig_module.types
- * array with the correct data and linking the correct swig_cast_info
- * structures together.
- *
- * The generated swig_type_info structures are assigned staticly to an initial
- * array. We just loop through that array, and handle each type individually.
- * First we lookup if this type has been already loaded, and if so, use the
- * loaded structure instead of the generated one. Then we have to fill in the
- * cast linked list. The cast data is initially stored in something like a
- * two-dimensional array. Each row corresponds to a type (there are the same
- * number of rows as there are in the swig_type_initial array). Each entry in
- * a column is one of the swig_cast_info structures for that type.
- * The cast_initial array is actually an array of arrays, because each row has
- * a variable number of columns. So to actually build the cast linked list,
- * we find the array of casts associated with the type, and loop through it
- * adding the casts to the list. The one last trick we need to do is making
- * sure the type pointer in the swig_cast_info struct is correct.
- *
- * First off, we lookup the cast->type name to see if it is already loaded.
- * There are three cases to handle:
- * 1) If the cast->type has already been loaded AND the type we are adding
- * casting info to has not been loaded (it is in this module), THEN we
- * replace the cast->type pointer with the type pointer that has already
- * been loaded.
- * 2) If BOTH types (the one we are adding casting info to, and the
- * cast->type) are loaded, THEN the cast info has already been loaded by
- * the previous module so we just ignore it.
- * 3) Finally, if cast->type has not already been loaded, then we add that
- * swig_cast_info to the linked list (because the cast->type) pointer will
- * be correct.
- * ----------------------------------------------------------------------------- */
-
-#ifdef __cplusplus
-extern "C" {
-#if 0
-} /* c-mode */
-#endif
-#endif
-
-#if 0
-#define SWIGRUNTIME_DEBUG
-#endif
-
-
-SWIGRUNTIME void
-SWIG_InitializeModule(void *clientdata) {
- size_t i;
- swig_module_info *module_head, *iter;
- int found, init;
-
- clientdata = clientdata;
-
- /* check to see if the circular list has been setup, if not, set it up */
- if (swig_module.next==0) {
- /* Initialize the swig_module */
- swig_module.type_initial = swig_type_initial;
- swig_module.cast_initial = swig_cast_initial;
- swig_module.next = &swig_module;
- init = 1;
- } else {
- init = 0;
- }
-
- /* Try and load any already created modules */
- module_head = SWIG_GetModule(clientdata);
- if (!module_head) {
- /* This is the first module loaded for this interpreter */
- /* so set the swig module into the interpreter */
- SWIG_SetModule(clientdata, &swig_module);
- module_head = &swig_module;
- } else {
- /* the interpreter has loaded a SWIG module, but has it loaded this one? */
- found=0;
- iter=module_head;
- do {
- if (iter==&swig_module) {
- found=1;
- break;
- }
- iter=iter->next;
- } while (iter!= module_head);
-
- /* if the is found in the list, then all is done and we may leave */
- if (found) return;
- /* otherwise we must add out module into the list */
- swig_module.next = module_head->next;
- module_head->next = &swig_module;
- }
-
- /* When multiple interpeters are used, a module could have already been initialized in
- a different interpreter, but not yet have a pointer in this interpreter.
- In this case, we do not want to continue adding types... everything should be
- set up already */
- if (init == 0) return;
-
- /* Now work on filling in swig_module.types */
-#ifdef SWIGRUNTIME_DEBUG
- printf("SWIG_InitializeModule: size %d\n", swig_module.size);
-#endif
- for (i = 0; i < swig_module.size; ++i) {
- swig_type_info *type = 0;
- swig_type_info *ret;
- swig_cast_info *cast;
-
-#ifdef SWIGRUNTIME_DEBUG
- printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
-#endif
-
- /* if there is another module already loaded */
- if (swig_module.next != &swig_module) {
- type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
- }
- if (type) {
- /* Overwrite clientdata field */
-#ifdef SWIGRUNTIME_DEBUG
- printf("SWIG_InitializeModule: found type %s\n", type->name);
-#endif
- if (swig_module.type_initial[i]->clientdata) {
- type->clientdata = swig_module.type_initial[i]->clientdata;
-#ifdef SWIGRUNTIME_DEBUG
- printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
-#endif
- }
- } else {
- type = swig_module.type_initial[i];
- }
-
- /* Insert casting types */
- cast = swig_module.cast_initial[i];
- while (cast->type) {
- /* Don't need to add information already in the list */
- ret = 0;
-#ifdef SWIGRUNTIME_DEBUG
- printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
-#endif
- if (swig_module.next != &swig_module) {
- ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
-#ifdef SWIGRUNTIME_DEBUG
- if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
-#endif
- }
- if (ret) {
- if (type == swig_module.type_initial[i]) {
-#ifdef SWIGRUNTIME_DEBUG
- printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
-#endif
- cast->type = ret;
- ret = 0;
- } else {
- /* Check for casting already in the list */
- swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
-#ifdef SWIGRUNTIME_DEBUG
- if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
-#endif
- if (!ocast) ret = 0;
- }
- }
-
- if (!ret) {
-#ifdef SWIGRUNTIME_DEBUG
- printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
-#endif
- if (type->cast) {
- type->cast->prev = cast;
- cast->next = type->cast;
- }
- type->cast = cast;
- }
- cast++;
- }
- /* Set entry in modules->types array equal to the type */
- swig_module.types[i] = type;
- }
- swig_module.types[i] = 0;
-
-#ifdef SWIGRUNTIME_DEBUG
- printf("**** SWIG_InitializeModule: Cast List ******\n");
- for (i = 0; i < swig_module.size; ++i) {
- int j = 0;
- swig_cast_info *cast = swig_module.cast_initial[i];
- printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
- while (cast->type) {
- printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
- cast++;
- ++j;
- }
- printf("---- Total casts: %d\n",j);
- }
- printf("**** SWIG_InitializeModule: Cast List ******\n");
-#endif
-}
-
-/* This function will propagate the clientdata field of type to
-* any new swig_type_info structures that have been added into the list
-* of equivalent types. It is like calling
-* SWIG_TypeClientData(type, clientdata) a second time.
-*/
-SWIGRUNTIME void
-SWIG_PropagateClientData(void) {
- size_t i;
- swig_cast_info *equiv;
- static int init_run = 0;
-
- if (init_run) return;
- init_run = 1;
-
- for (i = 0; i < swig_module.size; i++) {
- if (swig_module.types[i]->clientdata) {
- equiv = swig_module.types[i]->cast;
- while (equiv) {
- if (!equiv->converter) {
- if (equiv->type && !equiv->type->clientdata)
- SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
- }
- equiv = equiv->next;
- }
- }
- }
-}
-
-#ifdef __cplusplus
-#if 0
-{
- /* c-mode */
-#endif
-}
-#endif
-
-
-
-#ifdef __cplusplus
-extern "C"
-#endif
-
-XS(SWIG_init) {
- dXSARGS;
- int i;
-
- SWIG_InitializeModule(0);
-
- /* Install commands */
- for (i = 0; swig_commands[i].name; i++) {
- newXS((char*) swig_commands[i].name,swig_commands[i].wrapper, (char*)__FILE__);
- }
-
- /* Install variables */
- for (i = 0; swig_variables[i].name; i++) {
- SV *sv;
- sv = get_sv((char*) swig_variables[i].name, TRUE | 0x2 | GV_ADDMULTI);
- if (swig_variables[i].type) {
- SWIG_MakePtr(sv,(void *)1, *swig_variables[i].type,0);
- } else {
- sv_setiv(sv,(IV) 0);
- }
- swig_create_magic(sv, (char *) swig_variables[i].name, swig_variables[i].set, swig_variables[i].get);
- }
-
- /* Install constant */
- for (i = 0; swig_constants[i].type; i++) {
- SV *sv;
- sv = get_sv((char*)swig_constants[i].name, TRUE | 0x2 | GV_ADDMULTI);
- switch(swig_constants[i].type) {
- case SWIG_INT:
- sv_setiv(sv, (IV) swig_constants[i].lvalue);
- break;
- case SWIG_FLOAT:
- sv_setnv(sv, (double) swig_constants[i].dvalue);
- break;
- case SWIG_STRING:
- sv_setpv(sv, (char *) swig_constants[i].pvalue);
- break;
- case SWIG_POINTER:
- SWIG_MakePtr(sv, swig_constants[i].pvalue, *(swig_constants[i].ptype),0);
- break;
- case SWIG_BINARY:
- SWIG_MakePackedObj(sv, swig_constants[i].pvalue, swig_constants[i].lvalue, *(swig_constants[i].ptype));
- break;
- default:
- break;
- }
- SvREADONLY_on(sv);
- }
-
- SWIG_TypeClientData(SWIGTYPE_p_DDebugCallback, (void*) "tinyWRAP::DDebugCallback");
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "twrap_media_none", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(twrap_media_none)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "twrap_media_audio", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(twrap_media_audio)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "twrap_media_video", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(twrap_media_video)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "twrap_media_audiovideo", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(twrap_media_audiovideo)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "twrap_media_msrp", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(twrap_media_msrp)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- SWIG_TypeClientData(SWIGTYPE_p_ActionConfig, (void*) "tinyWRAP::ActionConfig");
- SWIG_TypeClientData(SWIGTYPE_p_MediaSessionMgr, (void*) "tinyWRAP::MediaSessionMgr");
- SWIG_TypeClientData(SWIGTYPE_p_MediaContent, (void*) "tinyWRAP::MediaContent");
- SWIG_TypeClientData(SWIGTYPE_p_MediaContentCPIM, (void*) "tinyWRAP::MediaContentCPIM");
- SWIG_TypeClientData(SWIGTYPE_p_SipUri, (void*) "tinyWRAP::SipUri");
- SWIG_TypeClientData(SWIGTYPE_p_SdpMessage, (void*) "tinyWRAP::SdpMessage");
- SWIG_TypeClientData(SWIGTYPE_p_SipMessage, (void*) "tinyWRAP::SipMessage");
- SWIG_TypeClientData(SWIGTYPE_p_SipEvent, (void*) "tinyWRAP::SipEvent");
- SWIG_TypeClientData(SWIGTYPE_p_DialogEvent, (void*) "tinyWRAP::DialogEvent");
- SWIG_TypeClientData(SWIGTYPE_p_StackEvent, (void*) "tinyWRAP::StackEvent");
- SWIG_TypeClientData(SWIGTYPE_p_InviteEvent, (void*) "tinyWRAP::InviteEvent");
- SWIG_TypeClientData(SWIGTYPE_p_MessagingEvent, (void*) "tinyWRAP::MessagingEvent");
- SWIG_TypeClientData(SWIGTYPE_p_OptionsEvent, (void*) "tinyWRAP::OptionsEvent");
- SWIG_TypeClientData(SWIGTYPE_p_PublicationEvent, (void*) "tinyWRAP::PublicationEvent");
- SWIG_TypeClientData(SWIGTYPE_p_RegistrationEvent, (void*) "tinyWRAP::RegistrationEvent");
- SWIG_TypeClientData(SWIGTYPE_p_SubscriptionEvent, (void*) "tinyWRAP::SubscriptionEvent");
- SWIG_TypeClientData(SWIGTYPE_p_SipSession, (void*) "tinyWRAP::SipSession");
- SWIG_TypeClientData(SWIGTYPE_p_InviteSession, (void*) "tinyWRAP::InviteSession");
- SWIG_TypeClientData(SWIGTYPE_p_CallSession, (void*) "tinyWRAP::CallSession");
- SWIG_TypeClientData(SWIGTYPE_p_MsrpSession, (void*) "tinyWRAP::MsrpSession");
- SWIG_TypeClientData(SWIGTYPE_p_MessagingSession, (void*) "tinyWRAP::MessagingSession");
- SWIG_TypeClientData(SWIGTYPE_p_OptionsSession, (void*) "tinyWRAP::OptionsSession");
- SWIG_TypeClientData(SWIGTYPE_p_PublicationSession, (void*) "tinyWRAP::PublicationSession");
- SWIG_TypeClientData(SWIGTYPE_p_RegistrationSession, (void*) "tinyWRAP::RegistrationSession");
- SWIG_TypeClientData(SWIGTYPE_p_SubscriptionSession, (void*) "tinyWRAP::SubscriptionSession");
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "twrap_proxy_plugin_audio_producer", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(twrap_proxy_plugin_audio_producer)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "twrap_proxy_plugin_video_producer", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(twrap_proxy_plugin_video_producer)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "twrap_proxy_plugin_audio_consumer", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(twrap_proxy_plugin_audio_consumer)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "twrap_proxy_plugin_video_consumer", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(twrap_proxy_plugin_video_consumer)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- SWIG_TypeClientData(SWIGTYPE_p_ProxyPluginMgr, (void*) "tinyWRAP::ProxyPluginMgr");
- SWIG_TypeClientData(SWIGTYPE_p_ProxyPluginMgrCallback, (void*) "tinyWRAP::ProxyPluginMgrCallback");
- SWIG_TypeClientData(SWIGTYPE_p_ProxyPlugin, (void*) "tinyWRAP::ProxyPlugin");
- SWIG_TypeClientData(SWIGTYPE_p_ProxyAudioConsumerCallback, (void*) "tinyWRAP::ProxyAudioConsumerCallback");
- SWIG_TypeClientData(SWIGTYPE_p_ProxyAudioConsumer, (void*) "tinyWRAP::ProxyAudioConsumer");
- SWIG_TypeClientData(SWIGTYPE_p_ProxyVideoConsumerCallback, (void*) "tinyWRAP::ProxyVideoConsumerCallback");
- SWIG_TypeClientData(SWIGTYPE_p_ProxyVideoConsumer, (void*) "tinyWRAP::ProxyVideoConsumer");
- SWIG_TypeClientData(SWIGTYPE_p_ProxyVideoFrame, (void*) "tinyWRAP::ProxyVideoFrame");
- SWIG_TypeClientData(SWIGTYPE_p_ProxyAudioProducerCallback, (void*) "tinyWRAP::ProxyAudioProducerCallback");
- SWIG_TypeClientData(SWIGTYPE_p_ProxyAudioProducer, (void*) "tinyWRAP::ProxyAudioProducer");
- SWIG_TypeClientData(SWIGTYPE_p_ProxyVideoProducerCallback, (void*) "tinyWRAP::ProxyVideoProducerCallback");
- SWIG_TypeClientData(SWIGTYPE_p_ProxyVideoProducer, (void*) "tinyWRAP::ProxyVideoProducer");
- SWIG_TypeClientData(SWIGTYPE_p_SipCallback, (void*) "tinyWRAP::SipCallback");
- SWIG_TypeClientData(SWIGTYPE_p_SafeObject, (void*) "tinyWRAP::SafeObject");
- SWIG_TypeClientData(SWIGTYPE_p_SipStack, (void*) "tinyWRAP::SipStack");
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_event_invite", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_event_invite)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_event_message", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_event_message)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_event_options", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_event_options)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_event_publish", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_event_publish)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_event_register", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_event_register)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_event_subscribe", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_event_subscribe)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_event_dialog", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_event_dialog)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_event_code_dialog_transport_error", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(702)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_event_code_dialog_global_error", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(703)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_event_code_dialog_message_error", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(704)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_event_code_dialog_request_incoming", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(800)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_event_code_dialog_request_cancelled", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(801)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_event_code_dialog_request_sent", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(802)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_event_code_dialog_connecting", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(900)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_event_code_dialog_connected", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(901)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_event_code_dialog_terminating", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(902)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_event_code_dialog_terminated", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(903)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_event_code_stack_started", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(950)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_event_code_stack_stopped", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(951)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_event_code_stack_failed_to_start", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(952)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_event_code_stack_failed_to_stop", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(953)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_i_newreg", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_i_newreg)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_i_register", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_i_register)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_ao_register", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_ao_register)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_i_unregister", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_i_unregister)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_ao_unregister", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_ao_unregister)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_i_subscribe", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_i_subscribe)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_ao_subscribe", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_ao_subscribe)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_i_unsubscribe", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_i_unsubscribe)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_ao_unsubscribe", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_ao_unsubscribe)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_i_notify", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_i_notify)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_ao_notify", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_ao_notify)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_i_publish", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_i_publish)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_ao_publish", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_ao_publish)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_i_unpublish", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_i_unpublish)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_ao_unpublish", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_ao_unpublish)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_i_message", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_i_message)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_ao_message", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_ao_message)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_i_options", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_i_options)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_ao_options", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_ao_options)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_i_newcall", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_i_newcall)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_i_request", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_i_request)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_ao_request", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_ao_request)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_o_ect_ok", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_o_ect_ok)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_o_ect_nok", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_o_ect_nok)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_i_ect", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_i_ect)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_m_early_media", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_m_early_media)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_m_local_hold_ok", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_m_local_hold_ok)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_m_local_hold_nok", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_m_local_hold_nok)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_m_local_resume_ok", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_m_local_resume_ok)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_m_local_resume_nok", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_m_local_resume_nok)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_m_remote_hold", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_m_remote_hold)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tsip_m_remote_resume", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_m_remote_resume)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tmedia_rgb24", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tmedia_rgb24)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tmedia_bgr24", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tmedia_bgr24)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tmedia_rgb32", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tmedia_rgb32)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tmedia_rgb565le", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tmedia_rgb565le)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tmedia_rgb565be", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tmedia_rgb565be)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tmedia_nv12", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tmedia_nv12)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tmedia_nv21", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tmedia_nv21)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tmedia_yuv422p", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tmedia_yuv422p)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tmedia_uyvy422", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tmedia_uyvy422)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tmedia_yuv420p", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tmedia_yuv420p)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tmedia_qos_stype_none", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tmedia_qos_stype_none)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tmedia_qos_stype_segmented", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tmedia_qos_stype_segmented)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tmedia_qos_stype_e2e", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tmedia_qos_stype_e2e)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tmedia_qos_strength_none", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tmedia_qos_strength_none)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tmedia_qos_strength_failure", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tmedia_qos_strength_failure)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tmedia_qos_strength_unknown", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tmedia_qos_strength_unknown)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tmedia_qos_strength_optional", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tmedia_qos_strength_optional)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tmedia_qos_strength_mandatory", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tmedia_qos_strength_mandatory)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tmedia_bl_low", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tmedia_bl_low)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tmedia_bl_medium", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tmedia_bl_medium)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tmedia_bl_hight", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tmedia_bl_hight)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tdav_codec_id_none", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tdav_codec_id_none)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tdav_codec_id_amr_nb_oa", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tdav_codec_id_amr_nb_oa)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tdav_codec_id_amr_nb_be", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tdav_codec_id_amr_nb_be)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tdav_codec_id_amr_wb_oa", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tdav_codec_id_amr_wb_oa)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tdav_codec_id_amr_wb_be", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tdav_codec_id_amr_wb_be)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tdav_codec_id_gsm", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tdav_codec_id_gsm)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tdav_codec_id_pcma", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tdav_codec_id_pcma)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tdav_codec_id_pcmu", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tdav_codec_id_pcmu)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tdav_codec_id_ilbc", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tdav_codec_id_ilbc)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tdav_codec_id_speex_nb", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tdav_codec_id_speex_nb)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tdav_codec_id_speex_wb", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tdav_codec_id_speex_wb)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tdav_codec_id_speex_uwb", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tdav_codec_id_speex_uwb)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tdav_codec_id_bv16", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tdav_codec_id_bv16)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tdav_codec_id_bv32", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tdav_codec_id_bv32)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tdav_codec_id_evrc", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tdav_codec_id_evrc)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tdav_codec_id_g729ab", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tdav_codec_id_g729ab)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tdav_codec_id_h261", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tdav_codec_id_h261)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tdav_codec_id_h263", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tdav_codec_id_h263)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tdav_codec_id_h263p", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tdav_codec_id_h263p)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tdav_codec_id_h263pp", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tdav_codec_id_h263pp)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tdav_codec_id_h264_bp10", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tdav_codec_id_h264_bp10)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tdav_codec_id_h264_bp20", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tdav_codec_id_h264_bp20)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tdav_codec_id_h264_bp30", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tdav_codec_id_h264_bp30)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tdav_codec_id_theora", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tdav_codec_id_theora)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tdav_codec_id_mp4ves_es", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tdav_codec_id_mp4ves_es)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- SWIG_TypeClientData(SWIGTYPE_p_XcapSelector, (void*) "tinyWRAP::XcapSelector");
- SWIG_TypeClientData(SWIGTYPE_p_XcapMessage, (void*) "tinyWRAP::XcapMessage");
- SWIG_TypeClientData(SWIGTYPE_p_XcapEvent, (void*) "tinyWRAP::XcapEvent");
- SWIG_TypeClientData(SWIGTYPE_p_XcapCallback, (void*) "tinyWRAP::XcapCallback");
- SWIG_TypeClientData(SWIGTYPE_p_XcapStack, (void*) "tinyWRAP::XcapStack");
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "thttp_event_dialog_started", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(thttp_event_dialog_started)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "thttp_event_message", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(thttp_event_message)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "thttp_event_auth_failed", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(thttp_event_auth_failed)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "thttp_event_closed", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(thttp_event_closed)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "thttp_event_transport_error", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(thttp_event_transport_error)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "thttp_event_dialog_terminated", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(thttp_event_dialog_terminated)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "twrap_rpmessage_type_sms_none", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(twrap_rpmessage_type_sms_none)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "twrap_rpmessage_type_sms_submit", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(twrap_rpmessage_type_sms_submit)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "twrap_rpmessage_type_sms_deliver", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(twrap_rpmessage_type_sms_deliver)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "twrap_rpmessage_type_sms_ack", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(twrap_rpmessage_type_sms_ack)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "twrap_rpmessage_type_sms_error", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(twrap_rpmessage_type_sms_error)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "twrap_sms_type_none", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(twrap_sms_type_none)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "twrap_sms_type_rpdata", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(twrap_sms_type_rpdata)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "twrap_sms_type_smma", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(twrap_sms_type_smma)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "twrap_sms_type_ack", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(twrap_sms_type_ack)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "twrap_sms_type_error", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(twrap_sms_type_error)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- SWIG_TypeClientData(SWIGTYPE_p_RPMessage, (void*) "tinyWRAP::RPMessage");
- SWIG_TypeClientData(SWIGTYPE_p_SMSData, (void*) "tinyWRAP::SMSData");
- SWIG_TypeClientData(SWIGTYPE_p_SMSEncoder, (void*) "tinyWRAP::SMSEncoder");
- SWIG_TypeClientData(SWIGTYPE_p_MsrpMessage, (void*) "tinyWRAP::MsrpMessage");
- SWIG_TypeClientData(SWIGTYPE_p_MsrpEvent, (void*) "tinyWRAP::MsrpEvent");
- SWIG_TypeClientData(SWIGTYPE_p_MsrpCallback, (void*) "tinyWRAP::MsrpCallback");
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tmsrp_NONE", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tmsrp_NONE)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tmsrp_SEND", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tmsrp_SEND)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tmsrp_REPORT", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tmsrp_REPORT)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tmsrp_AUTH", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tmsrp_AUTH)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tmsrp_event_type_none", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tmsrp_event_type_none)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tmsrp_event_type_connected", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tmsrp_event_type_connected)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tmsrp_event_type_disconnected", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tmsrp_event_type_disconnected)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- /*@SWIG:/usr/local/share/swig/1.3.39/perl5/perltypemaps.swg,65,%set_constant@*/ do {
- SV *sv = get_sv((char*) SWIG_prefix "tmsrp_event_type_message", TRUE | 0x2 | GV_ADDMULTI);
- sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tmsrp_event_type_message)));
- SvREADONLY_on(sv);
- } while(0) /*@SWIG@*/;
- ST(0) = &PL_sv_yes;
- XSRETURN(1);
-}
-
diff --git a/branches/1.0/bindings/python/python.i b/branches/1.0/bindings/python/python.i
deleted file mode 100644
index bfe7b91..0000000
--- a/branches/1.0/bindings/python/python.i
+++ /dev/null
@@ -1,7 +0,0 @@
-/* File : python.i */
-
-/* http://www.swig.org/Doc1.3/Library.html#Library_carrays
-* 8.3.2 Passing binary data */
-%apply (char *STRING, int LENGTH) { (const void* buffer, int len) };
-
-%include ../_common/tinyWRAP.i
diff --git a/branches/1.0/bindings/python/tinyWRAP.py b/branches/1.0/bindings/python/tinyWRAP.py
deleted file mode 100644
index 8b4b9c7..0000000
--- a/branches/1.0/bindings/python/tinyWRAP.py
+++ /dev/null
@@ -1,1381 +0,0 @@
-# This file was automatically generated by SWIG (http://www.swig.org).
-# Version 1.3.39
-#
-# Do not make changes to this file unless you know what you are doing--modify
-# the SWIG interface file instead.
-# This file is compatible with both classic and new-style classes.
-
-from sys import version_info
-if version_info >= (2,6,0):
- def swig_import_helper():
- from os.path import dirname
- import imp
- try:
- fp, pathname, description = imp.find_module('_tinyWRAP', [dirname(__file__)])
- _mod = imp.load_module('_tinyWRAP', fp, pathname, description)
- finally:
- if fp is not None: fp.close()
- return _mod
- _tinyWRAP = swig_import_helper()
- del swig_import_helper
-else:
- import _tinyWRAP
-del version_info
-try:
- _swig_property = property
-except NameError:
- pass # Python < 2.2 doesn't have 'property'.
-def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
- if (name == "thisown"): return self.this.own(value)
- if (name == "this"):
- if type(value).__name__ == 'SwigPyObject':
- self.__dict__[name] = value
- return
- method = class_type.__swig_setmethods__.get(name,None)
- if method: return method(self,value)
- if (not static) or hasattr(self,name):
- self.__dict__[name] = value
- else:
- raise AttributeError("You cannot add attributes to %s" % self)
-
-def _swig_setattr(self,class_type,name,value):
- return _swig_setattr_nondynamic(self,class_type,name,value,0)
-
-def _swig_getattr(self,class_type,name):
- if (name == "thisown"): return self.this.own()
- method = class_type.__swig_getmethods__.get(name,None)
- if method: return method(self)
- raise AttributeError(name)
-
-def _swig_repr(self):
- try: strthis = "proxy of " + self.this.__repr__()
- except: strthis = ""
- return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
-
-try:
- _object = object
- _newclass = 1
-except AttributeError:
- class _object : pass
- _newclass = 0
-
-
-try:
- import weakref
- weakref_proxy = weakref.proxy
-except:
- weakref_proxy = lambda x: x
-
-
-class DDebugCallback(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, DDebugCallback, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, DDebugCallback, name)
- __repr__ = _swig_repr
- def __init__(self):
- if self.__class__ == DDebugCallback:
- _self = None
- else:
- _self = self
- this = _tinyWRAP.new_DDebugCallback(_self, )
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _tinyWRAP.delete_DDebugCallback
- __del__ = lambda self : None;
- def OnDebugInfo(self, *args): return _tinyWRAP.DDebugCallback_OnDebugInfo(self, *args)
- def OnDebugWarn(self, *args): return _tinyWRAP.DDebugCallback_OnDebugWarn(self, *args)
- def OnDebugError(self, *args): return _tinyWRAP.DDebugCallback_OnDebugError(self, *args)
- def OnDebugFatal(self, *args): return _tinyWRAP.DDebugCallback_OnDebugFatal(self, *args)
- def __disown__(self):
- self.this.disown()
- _tinyWRAP.disown_DDebugCallback(self)
- return weakref_proxy(self)
-DDebugCallback_swigregister = _tinyWRAP.DDebugCallback_swigregister
-DDebugCallback_swigregister(DDebugCallback)
-
-twrap_media_none = _tinyWRAP.twrap_media_none
-twrap_media_audio = _tinyWRAP.twrap_media_audio
-twrap_media_video = _tinyWRAP.twrap_media_video
-twrap_media_audiovideo = _tinyWRAP.twrap_media_audiovideo
-twrap_media_msrp = _tinyWRAP.twrap_media_msrp
-class ActionConfig(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, ActionConfig, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, ActionConfig, name)
- __repr__ = _swig_repr
- def __init__(self):
- this = _tinyWRAP.new_ActionConfig()
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _tinyWRAP.delete_ActionConfig
- __del__ = lambda self : None;
- def addHeader(self, *args): return _tinyWRAP.ActionConfig_addHeader(self, *args)
- def setResponseLine(self, *args): return _tinyWRAP.ActionConfig_setResponseLine(self, *args)
- def setMediaString(self, *args): return _tinyWRAP.ActionConfig_setMediaString(self, *args)
- def setMediaInt(self, *args): return _tinyWRAP.ActionConfig_setMediaInt(self, *args)
-ActionConfig_swigregister = _tinyWRAP.ActionConfig_swigregister
-ActionConfig_swigregister(ActionConfig)
-
-class MediaSessionMgr(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, MediaSessionMgr, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, MediaSessionMgr, name)
- def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
- __repr__ = _swig_repr
- __swig_destroy__ = _tinyWRAP.delete_MediaSessionMgr
- __del__ = lambda self : None;
- def sessionSetInt32(self, *args): return _tinyWRAP.MediaSessionMgr_sessionSetInt32(self, *args)
- def consumerSetInt32(self, *args): return _tinyWRAP.MediaSessionMgr_consumerSetInt32(self, *args)
- def consumerSetInt64(self, *args): return _tinyWRAP.MediaSessionMgr_consumerSetInt64(self, *args)
- def producerSetInt32(self, *args): return _tinyWRAP.MediaSessionMgr_producerSetInt32(self, *args)
- def producerSetInt64(self, *args): return _tinyWRAP.MediaSessionMgr_producerSetInt64(self, *args)
- def findProxyPluginConsumer(self, *args): return _tinyWRAP.MediaSessionMgr_findProxyPluginConsumer(self, *args)
- def findProxyPluginProducer(self, *args): return _tinyWRAP.MediaSessionMgr_findProxyPluginProducer(self, *args)
-MediaSessionMgr_swigregister = _tinyWRAP.MediaSessionMgr_swigregister
-MediaSessionMgr_swigregister(MediaSessionMgr)
-
-class MediaContent(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, MediaContent, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, MediaContent, name)
- def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
- __repr__ = _swig_repr
- __swig_destroy__ = _tinyWRAP.delete_MediaContent
- __del__ = lambda self : None;
- def getType(self): return _tinyWRAP.MediaContent_getType(self)
- def getDataLength(self): return _tinyWRAP.MediaContent_getDataLength(self)
- def getData(self, *args): return _tinyWRAP.MediaContent_getData(self, *args)
- __swig_getmethods__["parse"] = lambda x: _tinyWRAP.MediaContent_parse
- if _newclass:parse = staticmethod(_tinyWRAP.MediaContent_parse)
- def getPayloadLength(self): return _tinyWRAP.MediaContent_getPayloadLength(self)
- def getPayload(self, *args): return _tinyWRAP.MediaContent_getPayload(self, *args)
-MediaContent_swigregister = _tinyWRAP.MediaContent_swigregister
-MediaContent_swigregister(MediaContent)
-
-def MediaContent_parse(*args):
- return _tinyWRAP.MediaContent_parse(*args)
-MediaContent_parse = _tinyWRAP.MediaContent_parse
-
-class MediaContentCPIM(MediaContent):
- __swig_setmethods__ = {}
- for _s in [MediaContent]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
- __setattr__ = lambda self, name, value: _swig_setattr(self, MediaContentCPIM, name, value)
- __swig_getmethods__ = {}
- for _s in [MediaContent]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
- __getattr__ = lambda self, name: _swig_getattr(self, MediaContentCPIM, name)
- def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
- __repr__ = _swig_repr
- __swig_destroy__ = _tinyWRAP.delete_MediaContentCPIM
- __del__ = lambda self : None;
- def getPayloadLength(self): return _tinyWRAP.MediaContentCPIM_getPayloadLength(self)
- def getPayload(self, *args): return _tinyWRAP.MediaContentCPIM_getPayload(self, *args)
- def getHeaderValue(self, *args): return _tinyWRAP.MediaContentCPIM_getHeaderValue(self, *args)
-MediaContentCPIM_swigregister = _tinyWRAP.MediaContentCPIM_swigregister
-MediaContentCPIM_swigregister(MediaContentCPIM)
-
-class SipUri(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, SipUri, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, SipUri, name)
- __repr__ = _swig_repr
- def __init__(self, *args):
- this = _tinyWRAP.new_SipUri(*args)
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _tinyWRAP.delete_SipUri
- __del__ = lambda self : None;
- def isValid(self, *args): return _tinyWRAP.SipUri_isValid(self, *args)
- def getScheme(self): return _tinyWRAP.SipUri_getScheme(self)
- def getHost(self): return _tinyWRAP.SipUri_getHost(self)
- def getPort(self): return _tinyWRAP.SipUri_getPort(self)
- def getUserName(self): return _tinyWRAP.SipUri_getUserName(self)
- def getPassword(self): return _tinyWRAP.SipUri_getPassword(self)
- def getDisplayName(self): return _tinyWRAP.SipUri_getDisplayName(self)
- def getParamValue(self, *args): return _tinyWRAP.SipUri_getParamValue(self, *args)
-SipUri_swigregister = _tinyWRAP.SipUri_swigregister
-SipUri_swigregister(SipUri)
-
-class SdpMessage(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, SdpMessage, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, SdpMessage, name)
- __repr__ = _swig_repr
- def __init__(self):
- this = _tinyWRAP.new_SdpMessage()
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _tinyWRAP.delete_SdpMessage
- __del__ = lambda self : None;
- def getSdpHeaderValue(self, *args): return _tinyWRAP.SdpMessage_getSdpHeaderValue(self, *args)
- def getSdpHeaderAValue(self, *args): return _tinyWRAP.SdpMessage_getSdpHeaderAValue(self, *args)
-SdpMessage_swigregister = _tinyWRAP.SdpMessage_swigregister
-SdpMessage_swigregister(SdpMessage)
-
-class SipMessage(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, SipMessage, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, SipMessage, name)
- __repr__ = _swig_repr
- def __init__(self):
- this = _tinyWRAP.new_SipMessage()
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _tinyWRAP.delete_SipMessage
- __del__ = lambda self : None;
- def getSipHeaderValue(self, *args): return _tinyWRAP.SipMessage_getSipHeaderValue(self, *args)
- def getSipHeaderParamValue(self, *args): return _tinyWRAP.SipMessage_getSipHeaderParamValue(self, *args)
- def getSipContentLength(self): return _tinyWRAP.SipMessage_getSipContentLength(self)
- def getSipContent(self, *args): return _tinyWRAP.SipMessage_getSipContent(self, *args)
- def getSdpMessage(self): return _tinyWRAP.SipMessage_getSdpMessage(self)
-SipMessage_swigregister = _tinyWRAP.SipMessage_swigregister
-SipMessage_swigregister(SipMessage)
-
-class SipEvent(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, SipEvent, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, SipEvent, name)
- def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
- __repr__ = _swig_repr
- __swig_destroy__ = _tinyWRAP.delete_SipEvent
- __del__ = lambda self : None;
- def getCode(self): return _tinyWRAP.SipEvent_getCode(self)
- def getPhrase(self): return _tinyWRAP.SipEvent_getPhrase(self)
- def getBaseSession(self): return _tinyWRAP.SipEvent_getBaseSession(self)
- def getSipMessage(self): return _tinyWRAP.SipEvent_getSipMessage(self)
-SipEvent_swigregister = _tinyWRAP.SipEvent_swigregister
-SipEvent_swigregister(SipEvent)
-
-class DialogEvent(SipEvent):
- __swig_setmethods__ = {}
- for _s in [SipEvent]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
- __setattr__ = lambda self, name, value: _swig_setattr(self, DialogEvent, name, value)
- __swig_getmethods__ = {}
- for _s in [SipEvent]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
- __getattr__ = lambda self, name: _swig_getattr(self, DialogEvent, name)
- def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
- __repr__ = _swig_repr
- __swig_destroy__ = _tinyWRAP.delete_DialogEvent
- __del__ = lambda self : None;
-DialogEvent_swigregister = _tinyWRAP.DialogEvent_swigregister
-DialogEvent_swigregister(DialogEvent)
-
-class StackEvent(SipEvent):
- __swig_setmethods__ = {}
- for _s in [SipEvent]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
- __setattr__ = lambda self, name, value: _swig_setattr(self, StackEvent, name, value)
- __swig_getmethods__ = {}
- for _s in [SipEvent]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
- __getattr__ = lambda self, name: _swig_getattr(self, StackEvent, name)
- def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
- __repr__ = _swig_repr
- __swig_destroy__ = _tinyWRAP.delete_StackEvent
- __del__ = lambda self : None;
-StackEvent_swigregister = _tinyWRAP.StackEvent_swigregister
-StackEvent_swigregister(StackEvent)
-
-class InviteEvent(SipEvent):
- __swig_setmethods__ = {}
- for _s in [SipEvent]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
- __setattr__ = lambda self, name, value: _swig_setattr(self, InviteEvent, name, value)
- __swig_getmethods__ = {}
- for _s in [SipEvent]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
- __getattr__ = lambda self, name: _swig_getattr(self, InviteEvent, name)
- def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
- __repr__ = _swig_repr
- __swig_destroy__ = _tinyWRAP.delete_InviteEvent
- __del__ = lambda self : None;
- def getType(self): return _tinyWRAP.InviteEvent_getType(self)
- def getMediaType(self): return _tinyWRAP.InviteEvent_getMediaType(self)
- def getSession(self): return _tinyWRAP.InviteEvent_getSession(self)
- def takeCallSessionOwnership(self): return _tinyWRAP.InviteEvent_takeCallSessionOwnership(self)
- def takeMsrpSessionOwnership(self): return _tinyWRAP.InviteEvent_takeMsrpSessionOwnership(self)
-InviteEvent_swigregister = _tinyWRAP.InviteEvent_swigregister
-InviteEvent_swigregister(InviteEvent)
-
-class MessagingEvent(SipEvent):
- __swig_setmethods__ = {}
- for _s in [SipEvent]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
- __setattr__ = lambda self, name, value: _swig_setattr(self, MessagingEvent, name, value)
- __swig_getmethods__ = {}
- for _s in [SipEvent]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
- __getattr__ = lambda self, name: _swig_getattr(self, MessagingEvent, name)
- def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
- __repr__ = _swig_repr
- __swig_destroy__ = _tinyWRAP.delete_MessagingEvent
- __del__ = lambda self : None;
- def getType(self): return _tinyWRAP.MessagingEvent_getType(self)
- def getSession(self): return _tinyWRAP.MessagingEvent_getSession(self)
- def takeSessionOwnership(self): return _tinyWRAP.MessagingEvent_takeSessionOwnership(self)
-MessagingEvent_swigregister = _tinyWRAP.MessagingEvent_swigregister
-MessagingEvent_swigregister(MessagingEvent)
-
-class OptionsEvent(SipEvent):
- __swig_setmethods__ = {}
- for _s in [SipEvent]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
- __setattr__ = lambda self, name, value: _swig_setattr(self, OptionsEvent, name, value)
- __swig_getmethods__ = {}
- for _s in [SipEvent]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
- __getattr__ = lambda self, name: _swig_getattr(self, OptionsEvent, name)
- def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
- __repr__ = _swig_repr
- __swig_destroy__ = _tinyWRAP.delete_OptionsEvent
- __del__ = lambda self : None;
- def getType(self): return _tinyWRAP.OptionsEvent_getType(self)
- def getSession(self): return _tinyWRAP.OptionsEvent_getSession(self)
-OptionsEvent_swigregister = _tinyWRAP.OptionsEvent_swigregister
-OptionsEvent_swigregister(OptionsEvent)
-
-class PublicationEvent(SipEvent):
- __swig_setmethods__ = {}
- for _s in [SipEvent]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
- __setattr__ = lambda self, name, value: _swig_setattr(self, PublicationEvent, name, value)
- __swig_getmethods__ = {}
- for _s in [SipEvent]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
- __getattr__ = lambda self, name: _swig_getattr(self, PublicationEvent, name)
- def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
- __repr__ = _swig_repr
- __swig_destroy__ = _tinyWRAP.delete_PublicationEvent
- __del__ = lambda self : None;
- def getType(self): return _tinyWRAP.PublicationEvent_getType(self)
- def getSession(self): return _tinyWRAP.PublicationEvent_getSession(self)
-PublicationEvent_swigregister = _tinyWRAP.PublicationEvent_swigregister
-PublicationEvent_swigregister(PublicationEvent)
-
-class RegistrationEvent(SipEvent):
- __swig_setmethods__ = {}
- for _s in [SipEvent]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
- __setattr__ = lambda self, name, value: _swig_setattr(self, RegistrationEvent, name, value)
- __swig_getmethods__ = {}
- for _s in [SipEvent]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
- __getattr__ = lambda self, name: _swig_getattr(self, RegistrationEvent, name)
- def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
- __repr__ = _swig_repr
- __swig_destroy__ = _tinyWRAP.delete_RegistrationEvent
- __del__ = lambda self : None;
- def getType(self): return _tinyWRAP.RegistrationEvent_getType(self)
- def getSession(self): return _tinyWRAP.RegistrationEvent_getSession(self)
- def takeSessionOwnership(self): return _tinyWRAP.RegistrationEvent_takeSessionOwnership(self)
-RegistrationEvent_swigregister = _tinyWRAP.RegistrationEvent_swigregister
-RegistrationEvent_swigregister(RegistrationEvent)
-
-class SubscriptionEvent(SipEvent):
- __swig_setmethods__ = {}
- for _s in [SipEvent]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
- __setattr__ = lambda self, name, value: _swig_setattr(self, SubscriptionEvent, name, value)
- __swig_getmethods__ = {}
- for _s in [SipEvent]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
- __getattr__ = lambda self, name: _swig_getattr(self, SubscriptionEvent, name)
- def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
- __repr__ = _swig_repr
- __swig_destroy__ = _tinyWRAP.delete_SubscriptionEvent
- __del__ = lambda self : None;
- def getType(self): return _tinyWRAP.SubscriptionEvent_getType(self)
- def getSession(self): return _tinyWRAP.SubscriptionEvent_getSession(self)
-SubscriptionEvent_swigregister = _tinyWRAP.SubscriptionEvent_swigregister
-SubscriptionEvent_swigregister(SubscriptionEvent)
-
-class SipSession(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, SipSession, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, SipSession, name)
- __repr__ = _swig_repr
- def __init__(self, *args):
- this = _tinyWRAP.new_SipSession(*args)
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _tinyWRAP.delete_SipSession
- __del__ = lambda self : None;
- def haveOwnership(self): return _tinyWRAP.SipSession_haveOwnership(self)
- def addHeader(self, *args): return _tinyWRAP.SipSession_addHeader(self, *args)
- def removeHeader(self, *args): return _tinyWRAP.SipSession_removeHeader(self, *args)
- def addCaps(self, *args): return _tinyWRAP.SipSession_addCaps(self, *args)
- def removeCaps(self, *args): return _tinyWRAP.SipSession_removeCaps(self, *args)
- def setExpires(self, *args): return _tinyWRAP.SipSession_setExpires(self, *args)
- def setFromUri(self, *args): return _tinyWRAP.SipSession_setFromUri(self, *args)
- def setToUri(self, *args): return _tinyWRAP.SipSession_setToUri(self, *args)
- def setSilentHangup(self, *args): return _tinyWRAP.SipSession_setSilentHangup(self, *args)
- def addSigCompCompartment(self, *args): return _tinyWRAP.SipSession_addSigCompCompartment(self, *args)
- def removeSigCompCompartment(self): return _tinyWRAP.SipSession_removeSigCompCompartment(self)
- def getId(self): return _tinyWRAP.SipSession_getId(self)
-SipSession_swigregister = _tinyWRAP.SipSession_swigregister
-SipSession_swigregister(SipSession)
-
-class InviteSession(SipSession):
- __swig_setmethods__ = {}
- for _s in [SipSession]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
- __setattr__ = lambda self, name, value: _swig_setattr(self, InviteSession, name, value)
- __swig_getmethods__ = {}
- for _s in [SipSession]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
- __getattr__ = lambda self, name: _swig_getattr(self, InviteSession, name)
- __repr__ = _swig_repr
- def __init__(self, *args):
- this = _tinyWRAP.new_InviteSession(*args)
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _tinyWRAP.delete_InviteSession
- __del__ = lambda self : None;
- def accept(self, *args): return _tinyWRAP.InviteSession_accept(self, *args)
- def hangup(self, *args): return _tinyWRAP.InviteSession_hangup(self, *args)
- def reject(self, *args): return _tinyWRAP.InviteSession_reject(self, *args)
- def getMediaMgr(self): return _tinyWRAP.InviteSession_getMediaMgr(self)
-InviteSession_swigregister = _tinyWRAP.InviteSession_swigregister
-InviteSession_swigregister(InviteSession)
-
-class CallSession(InviteSession):
- __swig_setmethods__ = {}
- for _s in [InviteSession]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
- __setattr__ = lambda self, name, value: _swig_setattr(self, CallSession, name, value)
- __swig_getmethods__ = {}
- for _s in [InviteSession]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
- __getattr__ = lambda self, name: _swig_getattr(self, CallSession, name)
- __repr__ = _swig_repr
- def __init__(self, *args):
- this = _tinyWRAP.new_CallSession(*args)
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _tinyWRAP.delete_CallSession
- __del__ = lambda self : None;
- def callAudio(self, *args): return _tinyWRAP.CallSession_callAudio(self, *args)
- def callAudioVideo(self, *args): return _tinyWRAP.CallSession_callAudioVideo(self, *args)
- def callVideo(self, *args): return _tinyWRAP.CallSession_callVideo(self, *args)
- def setSessionTimer(self, *args): return _tinyWRAP.CallSession_setSessionTimer(self, *args)
- def set100rel(self, *args): return _tinyWRAP.CallSession_set100rel(self, *args)
- def setQoS(self, *args): return _tinyWRAP.CallSession_setQoS(self, *args)
- def hold(self, *args): return _tinyWRAP.CallSession_hold(self, *args)
- def resume(self, *args): return _tinyWRAP.CallSession_resume(self, *args)
- def sendDTMF(self, *args): return _tinyWRAP.CallSession_sendDTMF(self, *args)
-CallSession_swigregister = _tinyWRAP.CallSession_swigregister
-CallSession_swigregister(CallSession)
-
-class MsrpSession(InviteSession):
- __swig_setmethods__ = {}
- for _s in [InviteSession]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
- __setattr__ = lambda self, name, value: _swig_setattr(self, MsrpSession, name, value)
- __swig_getmethods__ = {}
- for _s in [InviteSession]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
- __getattr__ = lambda self, name: _swig_getattr(self, MsrpSession, name)
- __repr__ = _swig_repr
- def __init__(self, *args):
- this = _tinyWRAP.new_MsrpSession(*args)
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _tinyWRAP.delete_MsrpSession
- __del__ = lambda self : None;
- def setCallback(self, *args): return _tinyWRAP.MsrpSession_setCallback(self, *args)
- def callMsrp(self, *args): return _tinyWRAP.MsrpSession_callMsrp(self, *args)
- def sendMessage(self, *args): return _tinyWRAP.MsrpSession_sendMessage(self, *args)
- def sendFile(self, *args): return _tinyWRAP.MsrpSession_sendFile(self, *args)
-MsrpSession_swigregister = _tinyWRAP.MsrpSession_swigregister
-MsrpSession_swigregister(MsrpSession)
-
-class MessagingSession(SipSession):
- __swig_setmethods__ = {}
- for _s in [SipSession]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
- __setattr__ = lambda self, name, value: _swig_setattr(self, MessagingSession, name, value)
- __swig_getmethods__ = {}
- for _s in [SipSession]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
- __getattr__ = lambda self, name: _swig_getattr(self, MessagingSession, name)
- __repr__ = _swig_repr
- def __init__(self, *args):
- this = _tinyWRAP.new_MessagingSession(*args)
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _tinyWRAP.delete_MessagingSession
- __del__ = lambda self : None;
- def send(self, *args): return _tinyWRAP.MessagingSession_send(self, *args)
- def accept(self): return _tinyWRAP.MessagingSession_accept(self)
- def reject(self): return _tinyWRAP.MessagingSession_reject(self)
-MessagingSession_swigregister = _tinyWRAP.MessagingSession_swigregister
-MessagingSession_swigregister(MessagingSession)
-
-class OptionsSession(SipSession):
- __swig_setmethods__ = {}
- for _s in [SipSession]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
- __setattr__ = lambda self, name, value: _swig_setattr(self, OptionsSession, name, value)
- __swig_getmethods__ = {}
- for _s in [SipSession]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
- __getattr__ = lambda self, name: _swig_getattr(self, OptionsSession, name)
- __repr__ = _swig_repr
- def __init__(self, *args):
- this = _tinyWRAP.new_OptionsSession(*args)
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _tinyWRAP.delete_OptionsSession
- __del__ = lambda self : None;
- def send(self): return _tinyWRAP.OptionsSession_send(self)
-OptionsSession_swigregister = _tinyWRAP.OptionsSession_swigregister
-OptionsSession_swigregister(OptionsSession)
-
-class PublicationSession(SipSession):
- __swig_setmethods__ = {}
- for _s in [SipSession]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
- __setattr__ = lambda self, name, value: _swig_setattr(self, PublicationSession, name, value)
- __swig_getmethods__ = {}
- for _s in [SipSession]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
- __getattr__ = lambda self, name: _swig_getattr(self, PublicationSession, name)
- __repr__ = _swig_repr
- def __init__(self, *args):
- this = _tinyWRAP.new_PublicationSession(*args)
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _tinyWRAP.delete_PublicationSession
- __del__ = lambda self : None;
- def publish(self, *args): return _tinyWRAP.PublicationSession_publish(self, *args)
- def unPublish(self): return _tinyWRAP.PublicationSession_unPublish(self)
-PublicationSession_swigregister = _tinyWRAP.PublicationSession_swigregister
-PublicationSession_swigregister(PublicationSession)
-
-class RegistrationSession(SipSession):
- __swig_setmethods__ = {}
- for _s in [SipSession]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
- __setattr__ = lambda self, name, value: _swig_setattr(self, RegistrationSession, name, value)
- __swig_getmethods__ = {}
- for _s in [SipSession]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
- __getattr__ = lambda self, name: _swig_getattr(self, RegistrationSession, name)
- __repr__ = _swig_repr
- def __init__(self, *args):
- this = _tinyWRAP.new_RegistrationSession(*args)
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _tinyWRAP.delete_RegistrationSession
- __del__ = lambda self : None;
- def register_(self): return _tinyWRAP.RegistrationSession_register_(self)
- def unRegister(self): return _tinyWRAP.RegistrationSession_unRegister(self)
- def accept(self, *args): return _tinyWRAP.RegistrationSession_accept(self, *args)
- def reject(self, *args): return _tinyWRAP.RegistrationSession_reject(self, *args)
-RegistrationSession_swigregister = _tinyWRAP.RegistrationSession_swigregister
-RegistrationSession_swigregister(RegistrationSession)
-
-class SubscriptionSession(SipSession):
- __swig_setmethods__ = {}
- for _s in [SipSession]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
- __setattr__ = lambda self, name, value: _swig_setattr(self, SubscriptionSession, name, value)
- __swig_getmethods__ = {}
- for _s in [SipSession]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
- __getattr__ = lambda self, name: _swig_getattr(self, SubscriptionSession, name)
- __repr__ = _swig_repr
- def __init__(self, *args):
- this = _tinyWRAP.new_SubscriptionSession(*args)
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _tinyWRAP.delete_SubscriptionSession
- __del__ = lambda self : None;
- def subscribe(self): return _tinyWRAP.SubscriptionSession_subscribe(self)
- def unSubscribe(self): return _tinyWRAP.SubscriptionSession_unSubscribe(self)
-SubscriptionSession_swigregister = _tinyWRAP.SubscriptionSession_swigregister
-SubscriptionSession_swigregister(SubscriptionSession)
-
-twrap_proxy_plugin_audio_producer = _tinyWRAP.twrap_proxy_plugin_audio_producer
-twrap_proxy_plugin_video_producer = _tinyWRAP.twrap_proxy_plugin_video_producer
-twrap_proxy_plugin_audio_consumer = _tinyWRAP.twrap_proxy_plugin_audio_consumer
-twrap_proxy_plugin_video_consumer = _tinyWRAP.twrap_proxy_plugin_video_consumer
-class ProxyPluginMgr(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, ProxyPluginMgr, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, ProxyPluginMgr, name)
- def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
- __repr__ = _swig_repr
- __swig_destroy__ = _tinyWRAP.delete_ProxyPluginMgr
- __del__ = lambda self : None;
- __swig_getmethods__["createInstance"] = lambda x: _tinyWRAP.ProxyPluginMgr_createInstance
- if _newclass:createInstance = staticmethod(_tinyWRAP.ProxyPluginMgr_createInstance)
- __swig_getmethods__["getInstance"] = lambda x: _tinyWRAP.ProxyPluginMgr_getInstance
- if _newclass:getInstance = staticmethod(_tinyWRAP.ProxyPluginMgr_getInstance)
- def findAudioConsumer(self, *args): return _tinyWRAP.ProxyPluginMgr_findAudioConsumer(self, *args)
- def findVideoConsumer(self, *args): return _tinyWRAP.ProxyPluginMgr_findVideoConsumer(self, *args)
- def findAudioProducer(self, *args): return _tinyWRAP.ProxyPluginMgr_findAudioProducer(self, *args)
- def findVideoProducer(self, *args): return _tinyWRAP.ProxyPluginMgr_findVideoProducer(self, *args)
-ProxyPluginMgr_swigregister = _tinyWRAP.ProxyPluginMgr_swigregister
-ProxyPluginMgr_swigregister(ProxyPluginMgr)
-
-def ProxyPluginMgr_createInstance(*args):
- return _tinyWRAP.ProxyPluginMgr_createInstance(*args)
-ProxyPluginMgr_createInstance = _tinyWRAP.ProxyPluginMgr_createInstance
-
-def ProxyPluginMgr_getInstance():
- return _tinyWRAP.ProxyPluginMgr_getInstance()
-ProxyPluginMgr_getInstance = _tinyWRAP.ProxyPluginMgr_getInstance
-
-class ProxyPluginMgrCallback(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, ProxyPluginMgrCallback, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, ProxyPluginMgrCallback, name)
- __repr__ = _swig_repr
- def __init__(self):
- if self.__class__ == ProxyPluginMgrCallback:
- _self = None
- else:
- _self = self
- this = _tinyWRAP.new_ProxyPluginMgrCallback(_self, )
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _tinyWRAP.delete_ProxyPluginMgrCallback
- __del__ = lambda self : None;
- def OnPluginCreated(self, *args): return _tinyWRAP.ProxyPluginMgrCallback_OnPluginCreated(self, *args)
- def OnPluginDestroyed(self, *args): return _tinyWRAP.ProxyPluginMgrCallback_OnPluginDestroyed(self, *args)
- def __disown__(self):
- self.this.disown()
- _tinyWRAP.disown_ProxyPluginMgrCallback(self)
- return weakref_proxy(self)
-ProxyPluginMgrCallback_swigregister = _tinyWRAP.ProxyPluginMgrCallback_swigregister
-ProxyPluginMgrCallback_swigregister(ProxyPluginMgrCallback)
-
-class ProxyPlugin(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, ProxyPlugin, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, ProxyPlugin, name)
- def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
- __repr__ = _swig_repr
- __swig_destroy__ = _tinyWRAP.delete_ProxyPlugin
- __del__ = lambda self : None;
- def getType(self): return _tinyWRAP.ProxyPlugin_getType(self)
- def getId(self): return _tinyWRAP.ProxyPlugin_getId(self)
-ProxyPlugin_swigregister = _tinyWRAP.ProxyPlugin_swigregister
-ProxyPlugin_swigregister(ProxyPlugin)
-
-class ProxyAudioConsumerCallback(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, ProxyAudioConsumerCallback, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, ProxyAudioConsumerCallback, name)
- __repr__ = _swig_repr
- def __init__(self):
- if self.__class__ == ProxyAudioConsumerCallback:
- _self = None
- else:
- _self = self
- this = _tinyWRAP.new_ProxyAudioConsumerCallback(_self, )
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _tinyWRAP.delete_ProxyAudioConsumerCallback
- __del__ = lambda self : None;
- def prepare(self, *args): return _tinyWRAP.ProxyAudioConsumerCallback_prepare(self, *args)
- def start(self): return _tinyWRAP.ProxyAudioConsumerCallback_start(self)
- def pause(self): return _tinyWRAP.ProxyAudioConsumerCallback_pause(self)
- def stop(self): return _tinyWRAP.ProxyAudioConsumerCallback_stop(self)
- def __disown__(self):
- self.this.disown()
- _tinyWRAP.disown_ProxyAudioConsumerCallback(self)
- return weakref_proxy(self)
-ProxyAudioConsumerCallback_swigregister = _tinyWRAP.ProxyAudioConsumerCallback_swigregister
-ProxyAudioConsumerCallback_swigregister(ProxyAudioConsumerCallback)
-
-class ProxyAudioConsumer(ProxyPlugin):
- __swig_setmethods__ = {}
- for _s in [ProxyPlugin]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
- __setattr__ = lambda self, name, value: _swig_setattr(self, ProxyAudioConsumer, name, value)
- __swig_getmethods__ = {}
- for _s in [ProxyPlugin]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
- __getattr__ = lambda self, name: _swig_getattr(self, ProxyAudioConsumer, name)
- def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
- __repr__ = _swig_repr
- __swig_destroy__ = _tinyWRAP.delete_ProxyAudioConsumer
- __del__ = lambda self : None;
- def pull(self, *args): return _tinyWRAP.ProxyAudioConsumer_pull(self, *args)
- def reset(self): return _tinyWRAP.ProxyAudioConsumer_reset(self)
- def setCallback(self, *args): return _tinyWRAP.ProxyAudioConsumer_setCallback(self, *args)
- def getMediaSessionId(self): return _tinyWRAP.ProxyAudioConsumer_getMediaSessionId(self)
- __swig_getmethods__["registerPlugin"] = lambda x: _tinyWRAP.ProxyAudioConsumer_registerPlugin
- if _newclass:registerPlugin = staticmethod(_tinyWRAP.ProxyAudioConsumer_registerPlugin)
-ProxyAudioConsumer_swigregister = _tinyWRAP.ProxyAudioConsumer_swigregister
-ProxyAudioConsumer_swigregister(ProxyAudioConsumer)
-
-def ProxyAudioConsumer_registerPlugin():
- return _tinyWRAP.ProxyAudioConsumer_registerPlugin()
-ProxyAudioConsumer_registerPlugin = _tinyWRAP.ProxyAudioConsumer_registerPlugin
-
-class ProxyVideoConsumerCallback(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, ProxyVideoConsumerCallback, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, ProxyVideoConsumerCallback, name)
- __repr__ = _swig_repr
- def __init__(self):
- if self.__class__ == ProxyVideoConsumerCallback:
- _self = None
- else:
- _self = self
- this = _tinyWRAP.new_ProxyVideoConsumerCallback(_self, )
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _tinyWRAP.delete_ProxyVideoConsumerCallback
- __del__ = lambda self : None;
- def prepare(self, *args): return _tinyWRAP.ProxyVideoConsumerCallback_prepare(self, *args)
- def consume(self, *args): return _tinyWRAP.ProxyVideoConsumerCallback_consume(self, *args)
- def start(self): return _tinyWRAP.ProxyVideoConsumerCallback_start(self)
- def pause(self): return _tinyWRAP.ProxyVideoConsumerCallback_pause(self)
- def stop(self): return _tinyWRAP.ProxyVideoConsumerCallback_stop(self)
- def __disown__(self):
- self.this.disown()
- _tinyWRAP.disown_ProxyVideoConsumerCallback(self)
- return weakref_proxy(self)
-ProxyVideoConsumerCallback_swigregister = _tinyWRAP.ProxyVideoConsumerCallback_swigregister
-ProxyVideoConsumerCallback_swigregister(ProxyVideoConsumerCallback)
-
-class ProxyVideoConsumer(ProxyPlugin):
- __swig_setmethods__ = {}
- for _s in [ProxyPlugin]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
- __setattr__ = lambda self, name, value: _swig_setattr(self, ProxyVideoConsumer, name, value)
- __swig_getmethods__ = {}
- for _s in [ProxyPlugin]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
- __getattr__ = lambda self, name: _swig_getattr(self, ProxyVideoConsumer, name)
- def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
- __repr__ = _swig_repr
- __swig_destroy__ = _tinyWRAP.delete_ProxyVideoConsumer
- __del__ = lambda self : None;
- def setDisplaySize(self, *args): return _tinyWRAP.ProxyVideoConsumer_setDisplaySize(self, *args)
- def setCallback(self, *args): return _tinyWRAP.ProxyVideoConsumer_setCallback(self, *args)
- def getMediaSessionId(self): return _tinyWRAP.ProxyVideoConsumer_getMediaSessionId(self)
- __swig_getmethods__["registerPlugin"] = lambda x: _tinyWRAP.ProxyVideoConsumer_registerPlugin
- if _newclass:registerPlugin = staticmethod(_tinyWRAP.ProxyVideoConsumer_registerPlugin)
- __swig_getmethods__["setDefaultChroma"] = lambda x: _tinyWRAP.ProxyVideoConsumer_setDefaultChroma
- if _newclass:setDefaultChroma = staticmethod(_tinyWRAP.ProxyVideoConsumer_setDefaultChroma)
-ProxyVideoConsumer_swigregister = _tinyWRAP.ProxyVideoConsumer_swigregister
-ProxyVideoConsumer_swigregister(ProxyVideoConsumer)
-
-def ProxyVideoConsumer_registerPlugin():
- return _tinyWRAP.ProxyVideoConsumer_registerPlugin()
-ProxyVideoConsumer_registerPlugin = _tinyWRAP.ProxyVideoConsumer_registerPlugin
-
-def ProxyVideoConsumer_setDefaultChroma(*args):
- return _tinyWRAP.ProxyVideoConsumer_setDefaultChroma(*args)
-ProxyVideoConsumer_setDefaultChroma = _tinyWRAP.ProxyVideoConsumer_setDefaultChroma
-
-class ProxyVideoFrame(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, ProxyVideoFrame, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, ProxyVideoFrame, name)
- def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
- __repr__ = _swig_repr
- __swig_destroy__ = _tinyWRAP.delete_ProxyVideoFrame
- __del__ = lambda self : None;
- def getSize(self): return _tinyWRAP.ProxyVideoFrame_getSize(self)
- def getContent(self, *args): return _tinyWRAP.ProxyVideoFrame_getContent(self, *args)
-ProxyVideoFrame_swigregister = _tinyWRAP.ProxyVideoFrame_swigregister
-ProxyVideoFrame_swigregister(ProxyVideoFrame)
-
-class ProxyAudioProducerCallback(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, ProxyAudioProducerCallback, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, ProxyAudioProducerCallback, name)
- __repr__ = _swig_repr
- def __init__(self):
- if self.__class__ == ProxyAudioProducerCallback:
- _self = None
- else:
- _self = self
- this = _tinyWRAP.new_ProxyAudioProducerCallback(_self, )
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _tinyWRAP.delete_ProxyAudioProducerCallback
- __del__ = lambda self : None;
- def prepare(self, *args): return _tinyWRAP.ProxyAudioProducerCallback_prepare(self, *args)
- def start(self): return _tinyWRAP.ProxyAudioProducerCallback_start(self)
- def pause(self): return _tinyWRAP.ProxyAudioProducerCallback_pause(self)
- def stop(self): return _tinyWRAP.ProxyAudioProducerCallback_stop(self)
- def __disown__(self):
- self.this.disown()
- _tinyWRAP.disown_ProxyAudioProducerCallback(self)
- return weakref_proxy(self)
-ProxyAudioProducerCallback_swigregister = _tinyWRAP.ProxyAudioProducerCallback_swigregister
-ProxyAudioProducerCallback_swigregister(ProxyAudioProducerCallback)
-
-class ProxyAudioProducer(ProxyPlugin):
- __swig_setmethods__ = {}
- for _s in [ProxyPlugin]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
- __setattr__ = lambda self, name, value: _swig_setattr(self, ProxyAudioProducer, name, value)
- __swig_getmethods__ = {}
- for _s in [ProxyPlugin]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
- __getattr__ = lambda self, name: _swig_getattr(self, ProxyAudioProducer, name)
- def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
- __repr__ = _swig_repr
- __swig_destroy__ = _tinyWRAP.delete_ProxyAudioProducer
- __del__ = lambda self : None;
- def push(self, *args): return _tinyWRAP.ProxyAudioProducer_push(self, *args)
- def setCallback(self, *args): return _tinyWRAP.ProxyAudioProducer_setCallback(self, *args)
- def getMediaSessionId(self): return _tinyWRAP.ProxyAudioProducer_getMediaSessionId(self)
- __swig_getmethods__["registerPlugin"] = lambda x: _tinyWRAP.ProxyAudioProducer_registerPlugin
- if _newclass:registerPlugin = staticmethod(_tinyWRAP.ProxyAudioProducer_registerPlugin)
-ProxyAudioProducer_swigregister = _tinyWRAP.ProxyAudioProducer_swigregister
-ProxyAudioProducer_swigregister(ProxyAudioProducer)
-
-def ProxyAudioProducer_registerPlugin():
- return _tinyWRAP.ProxyAudioProducer_registerPlugin()
-ProxyAudioProducer_registerPlugin = _tinyWRAP.ProxyAudioProducer_registerPlugin
-
-class ProxyVideoProducerCallback(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, ProxyVideoProducerCallback, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, ProxyVideoProducerCallback, name)
- __repr__ = _swig_repr
- def __init__(self):
- if self.__class__ == ProxyVideoProducerCallback:
- _self = None
- else:
- _self = self
- this = _tinyWRAP.new_ProxyVideoProducerCallback(_self, )
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _tinyWRAP.delete_ProxyVideoProducerCallback
- __del__ = lambda self : None;
- def prepare(self, *args): return _tinyWRAP.ProxyVideoProducerCallback_prepare(self, *args)
- def start(self): return _tinyWRAP.ProxyVideoProducerCallback_start(self)
- def pause(self): return _tinyWRAP.ProxyVideoProducerCallback_pause(self)
- def stop(self): return _tinyWRAP.ProxyVideoProducerCallback_stop(self)
- def __disown__(self):
- self.this.disown()
- _tinyWRAP.disown_ProxyVideoProducerCallback(self)
- return weakref_proxy(self)
-ProxyVideoProducerCallback_swigregister = _tinyWRAP.ProxyVideoProducerCallback_swigregister
-ProxyVideoProducerCallback_swigregister(ProxyVideoProducerCallback)
-
-class ProxyVideoProducer(ProxyPlugin):
- __swig_setmethods__ = {}
- for _s in [ProxyPlugin]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
- __setattr__ = lambda self, name, value: _swig_setattr(self, ProxyVideoProducer, name, value)
- __swig_getmethods__ = {}
- for _s in [ProxyPlugin]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
- __getattr__ = lambda self, name: _swig_getattr(self, ProxyVideoProducer, name)
- def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
- __repr__ = _swig_repr
- __swig_destroy__ = _tinyWRAP.delete_ProxyVideoProducer
- __del__ = lambda self : None;
- def getRotation(self): return _tinyWRAP.ProxyVideoProducer_getRotation(self)
- def setRotation(self, *args): return _tinyWRAP.ProxyVideoProducer_setRotation(self, *args)
- def push(self, *args): return _tinyWRAP.ProxyVideoProducer_push(self, *args)
- def send(self, *args): return _tinyWRAP.ProxyVideoProducer_send(self, *args)
- def setCallback(self, *args): return _tinyWRAP.ProxyVideoProducer_setCallback(self, *args)
- def getMediaSessionId(self): return _tinyWRAP.ProxyVideoProducer_getMediaSessionId(self)
- __swig_getmethods__["registerPlugin"] = lambda x: _tinyWRAP.ProxyVideoProducer_registerPlugin
- if _newclass:registerPlugin = staticmethod(_tinyWRAP.ProxyVideoProducer_registerPlugin)
- __swig_getmethods__["setDefaultChroma"] = lambda x: _tinyWRAP.ProxyVideoProducer_setDefaultChroma
- if _newclass:setDefaultChroma = staticmethod(_tinyWRAP.ProxyVideoProducer_setDefaultChroma)
-ProxyVideoProducer_swigregister = _tinyWRAP.ProxyVideoProducer_swigregister
-ProxyVideoProducer_swigregister(ProxyVideoProducer)
-
-def ProxyVideoProducer_registerPlugin():
- return _tinyWRAP.ProxyVideoProducer_registerPlugin()
-ProxyVideoProducer_registerPlugin = _tinyWRAP.ProxyVideoProducer_registerPlugin
-
-def ProxyVideoProducer_setDefaultChroma(*args):
- return _tinyWRAP.ProxyVideoProducer_setDefaultChroma(*args)
-ProxyVideoProducer_setDefaultChroma = _tinyWRAP.ProxyVideoProducer_setDefaultChroma
-
-class SipCallback(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, SipCallback, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, SipCallback, name)
- __repr__ = _swig_repr
- def __init__(self):
- if self.__class__ == SipCallback:
- _self = None
- else:
- _self = self
- this = _tinyWRAP.new_SipCallback(_self, )
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _tinyWRAP.delete_SipCallback
- __del__ = lambda self : None;
- def OnDialogEvent(self, *args): return _tinyWRAP.SipCallback_OnDialogEvent(self, *args)
- def OnStackEvent(self, *args): return _tinyWRAP.SipCallback_OnStackEvent(self, *args)
- def OnInviteEvent(self, *args): return _tinyWRAP.SipCallback_OnInviteEvent(self, *args)
- def OnMessagingEvent(self, *args): return _tinyWRAP.SipCallback_OnMessagingEvent(self, *args)
- def OnOptionsEvent(self, *args): return _tinyWRAP.SipCallback_OnOptionsEvent(self, *args)
- def OnPublicationEvent(self, *args): return _tinyWRAP.SipCallback_OnPublicationEvent(self, *args)
- def OnRegistrationEvent(self, *args): return _tinyWRAP.SipCallback_OnRegistrationEvent(self, *args)
- def OnSubscriptionEvent(self, *args): return _tinyWRAP.SipCallback_OnSubscriptionEvent(self, *args)
- def __disown__(self):
- self.this.disown()
- _tinyWRAP.disown_SipCallback(self)
- return weakref_proxy(self)
-SipCallback_swigregister = _tinyWRAP.SipCallback_swigregister
-SipCallback_swigregister(SipCallback)
-
-class SafeObject(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, SafeObject, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, SafeObject, name)
- __repr__ = _swig_repr
- def __init__(self):
- this = _tinyWRAP.new_SafeObject()
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _tinyWRAP.delete_SafeObject
- __del__ = lambda self : None;
- def Lock(self): return _tinyWRAP.SafeObject_Lock(self)
- def UnLock(self): return _tinyWRAP.SafeObject_UnLock(self)
-SafeObject_swigregister = _tinyWRAP.SafeObject_swigregister
-SafeObject_swigregister(SafeObject)
-
-class SipStack(SafeObject):
- __swig_setmethods__ = {}
- for _s in [SafeObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
- __setattr__ = lambda self, name, value: _swig_setattr(self, SipStack, name, value)
- __swig_getmethods__ = {}
- for _s in [SafeObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
- __getattr__ = lambda self, name: _swig_getattr(self, SipStack, name)
- __repr__ = _swig_repr
- def __init__(self, *args):
- this = _tinyWRAP.new_SipStack(*args)
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _tinyWRAP.delete_SipStack
- __del__ = lambda self : None;
- def start(self): return _tinyWRAP.SipStack_start(self)
- def setDebugCallback(self, *args): return _tinyWRAP.SipStack_setDebugCallback(self, *args)
- def setRealm(self, *args): return _tinyWRAP.SipStack_setRealm(self, *args)
- def setIMPI(self, *args): return _tinyWRAP.SipStack_setIMPI(self, *args)
- def setIMPU(self, *args): return _tinyWRAP.SipStack_setIMPU(self, *args)
- def setPassword(self, *args): return _tinyWRAP.SipStack_setPassword(self, *args)
- def setAMF(self, *args): return _tinyWRAP.SipStack_setAMF(self, *args)
- def setOperatorId(self, *args): return _tinyWRAP.SipStack_setOperatorId(self, *args)
- def setProxyCSCF(self, *args): return _tinyWRAP.SipStack_setProxyCSCF(self, *args)
- def setLocalIP(self, *args): return _tinyWRAP.SipStack_setLocalIP(self, *args)
- def setLocalPort(self, *args): return _tinyWRAP.SipStack_setLocalPort(self, *args)
- def setEarlyIMS(self, *args): return _tinyWRAP.SipStack_setEarlyIMS(self, *args)
- def addHeader(self, *args): return _tinyWRAP.SipStack_addHeader(self, *args)
- def removeHeader(self, *args): return _tinyWRAP.SipStack_removeHeader(self, *args)
- def addDnsServer(self, *args): return _tinyWRAP.SipStack_addDnsServer(self, *args)
- def setDnsDiscovery(self, *args): return _tinyWRAP.SipStack_setDnsDiscovery(self, *args)
- def setAoR(self, *args): return _tinyWRAP.SipStack_setAoR(self, *args)
- def setSigCompParams(self, *args): return _tinyWRAP.SipStack_setSigCompParams(self, *args)
- def addSigCompCompartment(self, *args): return _tinyWRAP.SipStack_addSigCompCompartment(self, *args)
- def removeSigCompCompartment(self, *args): return _tinyWRAP.SipStack_removeSigCompCompartment(self, *args)
- def setSTUNServer(self, *args): return _tinyWRAP.SipStack_setSTUNServer(self, *args)
- def setSTUNCred(self, *args): return _tinyWRAP.SipStack_setSTUNCred(self, *args)
- def setTLSSecAgree(self, *args): return _tinyWRAP.SipStack_setTLSSecAgree(self, *args)
- def setSSLCretificates(self, *args): return _tinyWRAP.SipStack_setSSLCretificates(self, *args)
- def setIPSecSecAgree(self, *args): return _tinyWRAP.SipStack_setIPSecSecAgree(self, *args)
- def setIPSecParameters(self, *args): return _tinyWRAP.SipStack_setIPSecParameters(self, *args)
- def dnsENUM(self, *args): return _tinyWRAP.SipStack_dnsENUM(self, *args)
- def dnsNaptrSrv(self, *args): return _tinyWRAP.SipStack_dnsNaptrSrv(self, *args)
- def dnsSrv(self, *args): return _tinyWRAP.SipStack_dnsSrv(self, *args)
- def getLocalIPnPort(self, *args): return _tinyWRAP.SipStack_getLocalIPnPort(self, *args)
- def getPreferredIdentity(self): return _tinyWRAP.SipStack_getPreferredIdentity(self)
- def isValid(self): return _tinyWRAP.SipStack_isValid(self)
- def stop(self): return _tinyWRAP.SipStack_stop(self)
- __swig_getmethods__["setCodecs"] = lambda x: _tinyWRAP.SipStack_setCodecs
- if _newclass:setCodecs = staticmethod(_tinyWRAP.SipStack_setCodecs)
- __swig_getmethods__["setCodecs_2"] = lambda x: _tinyWRAP.SipStack_setCodecs_2
- if _newclass:setCodecs_2 = staticmethod(_tinyWRAP.SipStack_setCodecs_2)
- __swig_getmethods__["isCodecSupported"] = lambda x: _tinyWRAP.SipStack_isCodecSupported
- if _newclass:isCodecSupported = staticmethod(_tinyWRAP.SipStack_isCodecSupported)
-SipStack_swigregister = _tinyWRAP.SipStack_swigregister
-SipStack_swigregister(SipStack)
-
-def SipStack_setCodecs(*args):
- return _tinyWRAP.SipStack_setCodecs(*args)
-SipStack_setCodecs = _tinyWRAP.SipStack_setCodecs
-
-def SipStack_setCodecs_2(*args):
- return _tinyWRAP.SipStack_setCodecs_2(*args)
-SipStack_setCodecs_2 = _tinyWRAP.SipStack_setCodecs_2
-
-def SipStack_isCodecSupported(*args):
- return _tinyWRAP.SipStack_isCodecSupported(*args)
-SipStack_isCodecSupported = _tinyWRAP.SipStack_isCodecSupported
-
-tsip_event_invite = _tinyWRAP.tsip_event_invite
-tsip_event_message = _tinyWRAP.tsip_event_message
-tsip_event_options = _tinyWRAP.tsip_event_options
-tsip_event_publish = _tinyWRAP.tsip_event_publish
-tsip_event_register = _tinyWRAP.tsip_event_register
-tsip_event_subscribe = _tinyWRAP.tsip_event_subscribe
-tsip_event_dialog = _tinyWRAP.tsip_event_dialog
-tsip_event_code_dialog_transport_error = _tinyWRAP.tsip_event_code_dialog_transport_error
-tsip_event_code_dialog_global_error = _tinyWRAP.tsip_event_code_dialog_global_error
-tsip_event_code_dialog_message_error = _tinyWRAP.tsip_event_code_dialog_message_error
-tsip_event_code_dialog_request_incoming = _tinyWRAP.tsip_event_code_dialog_request_incoming
-tsip_event_code_dialog_request_cancelled = _tinyWRAP.tsip_event_code_dialog_request_cancelled
-tsip_event_code_dialog_request_sent = _tinyWRAP.tsip_event_code_dialog_request_sent
-tsip_event_code_dialog_connecting = _tinyWRAP.tsip_event_code_dialog_connecting
-tsip_event_code_dialog_connected = _tinyWRAP.tsip_event_code_dialog_connected
-tsip_event_code_dialog_terminating = _tinyWRAP.tsip_event_code_dialog_terminating
-tsip_event_code_dialog_terminated = _tinyWRAP.tsip_event_code_dialog_terminated
-tsip_event_code_stack_started = _tinyWRAP.tsip_event_code_stack_started
-tsip_event_code_stack_stopped = _tinyWRAP.tsip_event_code_stack_stopped
-tsip_event_code_stack_failed_to_start = _tinyWRAP.tsip_event_code_stack_failed_to_start
-tsip_event_code_stack_failed_to_stop = _tinyWRAP.tsip_event_code_stack_failed_to_stop
-tsip_i_newreg = _tinyWRAP.tsip_i_newreg
-tsip_i_register = _tinyWRAP.tsip_i_register
-tsip_ao_register = _tinyWRAP.tsip_ao_register
-tsip_i_unregister = _tinyWRAP.tsip_i_unregister
-tsip_ao_unregister = _tinyWRAP.tsip_ao_unregister
-tsip_i_subscribe = _tinyWRAP.tsip_i_subscribe
-tsip_ao_subscribe = _tinyWRAP.tsip_ao_subscribe
-tsip_i_unsubscribe = _tinyWRAP.tsip_i_unsubscribe
-tsip_ao_unsubscribe = _tinyWRAP.tsip_ao_unsubscribe
-tsip_i_notify = _tinyWRAP.tsip_i_notify
-tsip_ao_notify = _tinyWRAP.tsip_ao_notify
-tsip_i_publish = _tinyWRAP.tsip_i_publish
-tsip_ao_publish = _tinyWRAP.tsip_ao_publish
-tsip_i_unpublish = _tinyWRAP.tsip_i_unpublish
-tsip_ao_unpublish = _tinyWRAP.tsip_ao_unpublish
-tsip_i_message = _tinyWRAP.tsip_i_message
-tsip_ao_message = _tinyWRAP.tsip_ao_message
-tsip_i_options = _tinyWRAP.tsip_i_options
-tsip_ao_options = _tinyWRAP.tsip_ao_options
-tsip_i_newcall = _tinyWRAP.tsip_i_newcall
-tsip_i_request = _tinyWRAP.tsip_i_request
-tsip_ao_request = _tinyWRAP.tsip_ao_request
-tsip_o_ect_ok = _tinyWRAP.tsip_o_ect_ok
-tsip_o_ect_nok = _tinyWRAP.tsip_o_ect_nok
-tsip_i_ect = _tinyWRAP.tsip_i_ect
-tsip_m_early_media = _tinyWRAP.tsip_m_early_media
-tsip_m_local_hold_ok = _tinyWRAP.tsip_m_local_hold_ok
-tsip_m_local_hold_nok = _tinyWRAP.tsip_m_local_hold_nok
-tsip_m_local_resume_ok = _tinyWRAP.tsip_m_local_resume_ok
-tsip_m_local_resume_nok = _tinyWRAP.tsip_m_local_resume_nok
-tsip_m_remote_hold = _tinyWRAP.tsip_m_remote_hold
-tsip_m_remote_resume = _tinyWRAP.tsip_m_remote_resume
-tmedia_rgb24 = _tinyWRAP.tmedia_rgb24
-tmedia_bgr24 = _tinyWRAP.tmedia_bgr24
-tmedia_rgb32 = _tinyWRAP.tmedia_rgb32
-tmedia_rgb565le = _tinyWRAP.tmedia_rgb565le
-tmedia_rgb565be = _tinyWRAP.tmedia_rgb565be
-tmedia_nv12 = _tinyWRAP.tmedia_nv12
-tmedia_nv21 = _tinyWRAP.tmedia_nv21
-tmedia_yuv422p = _tinyWRAP.tmedia_yuv422p
-tmedia_uyvy422 = _tinyWRAP.tmedia_uyvy422
-tmedia_yuv420p = _tinyWRAP.tmedia_yuv420p
-tmedia_qos_stype_none = _tinyWRAP.tmedia_qos_stype_none
-tmedia_qos_stype_segmented = _tinyWRAP.tmedia_qos_stype_segmented
-tmedia_qos_stype_e2e = _tinyWRAP.tmedia_qos_stype_e2e
-tmedia_qos_strength_none = _tinyWRAP.tmedia_qos_strength_none
-tmedia_qos_strength_failure = _tinyWRAP.tmedia_qos_strength_failure
-tmedia_qos_strength_unknown = _tinyWRAP.tmedia_qos_strength_unknown
-tmedia_qos_strength_optional = _tinyWRAP.tmedia_qos_strength_optional
-tmedia_qos_strength_mandatory = _tinyWRAP.tmedia_qos_strength_mandatory
-tmedia_bl_low = _tinyWRAP.tmedia_bl_low
-tmedia_bl_medium = _tinyWRAP.tmedia_bl_medium
-tmedia_bl_hight = _tinyWRAP.tmedia_bl_hight
-tdav_codec_id_none = _tinyWRAP.tdav_codec_id_none
-tdav_codec_id_amr_nb_oa = _tinyWRAP.tdav_codec_id_amr_nb_oa
-tdav_codec_id_amr_nb_be = _tinyWRAP.tdav_codec_id_amr_nb_be
-tdav_codec_id_amr_wb_oa = _tinyWRAP.tdav_codec_id_amr_wb_oa
-tdav_codec_id_amr_wb_be = _tinyWRAP.tdav_codec_id_amr_wb_be
-tdav_codec_id_gsm = _tinyWRAP.tdav_codec_id_gsm
-tdav_codec_id_pcma = _tinyWRAP.tdav_codec_id_pcma
-tdav_codec_id_pcmu = _tinyWRAP.tdav_codec_id_pcmu
-tdav_codec_id_ilbc = _tinyWRAP.tdav_codec_id_ilbc
-tdav_codec_id_speex_nb = _tinyWRAP.tdav_codec_id_speex_nb
-tdav_codec_id_speex_wb = _tinyWRAP.tdav_codec_id_speex_wb
-tdav_codec_id_speex_uwb = _tinyWRAP.tdav_codec_id_speex_uwb
-tdav_codec_id_bv16 = _tinyWRAP.tdav_codec_id_bv16
-tdav_codec_id_bv32 = _tinyWRAP.tdav_codec_id_bv32
-tdav_codec_id_evrc = _tinyWRAP.tdav_codec_id_evrc
-tdav_codec_id_g729ab = _tinyWRAP.tdav_codec_id_g729ab
-tdav_codec_id_h261 = _tinyWRAP.tdav_codec_id_h261
-tdav_codec_id_h263 = _tinyWRAP.tdav_codec_id_h263
-tdav_codec_id_h263p = _tinyWRAP.tdav_codec_id_h263p
-tdav_codec_id_h263pp = _tinyWRAP.tdav_codec_id_h263pp
-tdav_codec_id_h264_bp10 = _tinyWRAP.tdav_codec_id_h264_bp10
-tdav_codec_id_h264_bp20 = _tinyWRAP.tdav_codec_id_h264_bp20
-tdav_codec_id_h264_bp30 = _tinyWRAP.tdav_codec_id_h264_bp30
-tdav_codec_id_theora = _tinyWRAP.tdav_codec_id_theora
-tdav_codec_id_mp4ves_es = _tinyWRAP.tdav_codec_id_mp4ves_es
-class XcapSelector(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, XcapSelector, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, XcapSelector, name)
- __repr__ = _swig_repr
- def __init__(self, *args):
- this = _tinyWRAP.new_XcapSelector(*args)
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _tinyWRAP.delete_XcapSelector
- __del__ = lambda self : None;
- def setAUID(self, *args): return _tinyWRAP.XcapSelector_setAUID(self, *args)
- def setName(self, *args): return _tinyWRAP.XcapSelector_setName(self, *args)
- def setAttribute(self, *args): return _tinyWRAP.XcapSelector_setAttribute(self, *args)
- def setPos(self, *args): return _tinyWRAP.XcapSelector_setPos(self, *args)
- def setPosAttribute(self, *args): return _tinyWRAP.XcapSelector_setPosAttribute(self, *args)
- def setNamespace(self, *args): return _tinyWRAP.XcapSelector_setNamespace(self, *args)
- def getString(self): return _tinyWRAP.XcapSelector_getString(self)
- def reset(self): return _tinyWRAP.XcapSelector_reset(self)
-XcapSelector_swigregister = _tinyWRAP.XcapSelector_swigregister
-XcapSelector_swigregister(XcapSelector)
-
-class XcapMessage(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, XcapMessage, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, XcapMessage, name)
- __repr__ = _swig_repr
- def __init__(self):
- this = _tinyWRAP.new_XcapMessage()
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _tinyWRAP.delete_XcapMessage
- __del__ = lambda self : None;
- def getCode(self): return _tinyWRAP.XcapMessage_getCode(self)
- def getPhrase(self): return _tinyWRAP.XcapMessage_getPhrase(self)
- def getXcapHeaderValue(self, *args): return _tinyWRAP.XcapMessage_getXcapHeaderValue(self, *args)
- def getXcapHeaderParamValue(self, *args): return _tinyWRAP.XcapMessage_getXcapHeaderParamValue(self, *args)
- def getXcapContentLength(self): return _tinyWRAP.XcapMessage_getXcapContentLength(self)
- def getXcapContent(self, *args): return _tinyWRAP.XcapMessage_getXcapContent(self, *args)
-XcapMessage_swigregister = _tinyWRAP.XcapMessage_swigregister
-XcapMessage_swigregister(XcapMessage)
-
-class XcapEvent(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, XcapEvent, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, XcapEvent, name)
- def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
- __repr__ = _swig_repr
- __swig_destroy__ = _tinyWRAP.delete_XcapEvent
- __del__ = lambda self : None;
- def getType(self): return _tinyWRAP.XcapEvent_getType(self)
- def getXcapMessage(self): return _tinyWRAP.XcapEvent_getXcapMessage(self)
-XcapEvent_swigregister = _tinyWRAP.XcapEvent_swigregister
-XcapEvent_swigregister(XcapEvent)
-
-class XcapCallback(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, XcapCallback, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, XcapCallback, name)
- __repr__ = _swig_repr
- def __init__(self):
- if self.__class__ == XcapCallback:
- _self = None
- else:
- _self = self
- this = _tinyWRAP.new_XcapCallback(_self, )
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _tinyWRAP.delete_XcapCallback
- __del__ = lambda self : None;
- def onEvent(self, *args): return _tinyWRAP.XcapCallback_onEvent(self, *args)
- def __disown__(self):
- self.this.disown()
- _tinyWRAP.disown_XcapCallback(self)
- return weakref_proxy(self)
-XcapCallback_swigregister = _tinyWRAP.XcapCallback_swigregister
-XcapCallback_swigregister(XcapCallback)
-
-class XcapStack(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, XcapStack, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, XcapStack, name)
- __repr__ = _swig_repr
- def __init__(self, *args):
- this = _tinyWRAP.new_XcapStack(*args)
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _tinyWRAP.delete_XcapStack
- __del__ = lambda self : None;
- def registerAUID(self, *args): return _tinyWRAP.XcapStack_registerAUID(self, *args)
- def start(self): return _tinyWRAP.XcapStack_start(self)
- def setCredentials(self, *args): return _tinyWRAP.XcapStack_setCredentials(self, *args)
- def setXcapRoot(self, *args): return _tinyWRAP.XcapStack_setXcapRoot(self, *args)
- def setLocalIP(self, *args): return _tinyWRAP.XcapStack_setLocalIP(self, *args)
- def setLocalPort(self, *args): return _tinyWRAP.XcapStack_setLocalPort(self, *args)
- def addHeader(self, *args): return _tinyWRAP.XcapStack_addHeader(self, *args)
- def removeHeader(self, *args): return _tinyWRAP.XcapStack_removeHeader(self, *args)
- def setTimeout(self, *args): return _tinyWRAP.XcapStack_setTimeout(self, *args)
- def getDocument(self, *args): return _tinyWRAP.XcapStack_getDocument(self, *args)
- def getElement(self, *args): return _tinyWRAP.XcapStack_getElement(self, *args)
- def getAttribute(self, *args): return _tinyWRAP.XcapStack_getAttribute(self, *args)
- def deleteDocument(self, *args): return _tinyWRAP.XcapStack_deleteDocument(self, *args)
- def deleteElement(self, *args): return _tinyWRAP.XcapStack_deleteElement(self, *args)
- def deleteAttribute(self, *args): return _tinyWRAP.XcapStack_deleteAttribute(self, *args)
- def putDocument(self, *args): return _tinyWRAP.XcapStack_putDocument(self, *args)
- def putElement(self, *args): return _tinyWRAP.XcapStack_putElement(self, *args)
- def putAttribute(self, *args): return _tinyWRAP.XcapStack_putAttribute(self, *args)
- def stop(self): return _tinyWRAP.XcapStack_stop(self)
-XcapStack_swigregister = _tinyWRAP.XcapStack_swigregister
-XcapStack_swigregister(XcapStack)
-
-thttp_event_dialog_started = _tinyWRAP.thttp_event_dialog_started
-thttp_event_message = _tinyWRAP.thttp_event_message
-thttp_event_auth_failed = _tinyWRAP.thttp_event_auth_failed
-thttp_event_closed = _tinyWRAP.thttp_event_closed
-thttp_event_transport_error = _tinyWRAP.thttp_event_transport_error
-thttp_event_dialog_terminated = _tinyWRAP.thttp_event_dialog_terminated
-twrap_rpmessage_type_sms_none = _tinyWRAP.twrap_rpmessage_type_sms_none
-twrap_rpmessage_type_sms_submit = _tinyWRAP.twrap_rpmessage_type_sms_submit
-twrap_rpmessage_type_sms_deliver = _tinyWRAP.twrap_rpmessage_type_sms_deliver
-twrap_rpmessage_type_sms_ack = _tinyWRAP.twrap_rpmessage_type_sms_ack
-twrap_rpmessage_type_sms_error = _tinyWRAP.twrap_rpmessage_type_sms_error
-twrap_sms_type_none = _tinyWRAP.twrap_sms_type_none
-twrap_sms_type_rpdata = _tinyWRAP.twrap_sms_type_rpdata
-twrap_sms_type_smma = _tinyWRAP.twrap_sms_type_smma
-twrap_sms_type_ack = _tinyWRAP.twrap_sms_type_ack
-twrap_sms_type_error = _tinyWRAP.twrap_sms_type_error
-class RPMessage(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, RPMessage, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, RPMessage, name)
- __repr__ = _swig_repr
- def __init__(self):
- this = _tinyWRAP.new_RPMessage()
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _tinyWRAP.delete_RPMessage
- __del__ = lambda self : None;
- def getType(self): return _tinyWRAP.RPMessage_getType(self)
- def getPayloadLength(self): return _tinyWRAP.RPMessage_getPayloadLength(self)
- def getPayload(self, *args): return _tinyWRAP.RPMessage_getPayload(self, *args)
-RPMessage_swigregister = _tinyWRAP.RPMessage_swigregister
-RPMessage_swigregister(RPMessage)
-
-class SMSData(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, SMSData, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, SMSData, name)
- __repr__ = _swig_repr
- def __init__(self):
- this = _tinyWRAP.new_SMSData()
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _tinyWRAP.delete_SMSData
- __del__ = lambda self : None;
- def getType(self): return _tinyWRAP.SMSData_getType(self)
- def getMR(self): return _tinyWRAP.SMSData_getMR(self)
- def getPayloadLength(self): return _tinyWRAP.SMSData_getPayloadLength(self)
- def getPayload(self, *args): return _tinyWRAP.SMSData_getPayload(self, *args)
- def getOA(self): return _tinyWRAP.SMSData_getOA(self)
- def getDA(self): return _tinyWRAP.SMSData_getDA(self)
-SMSData_swigregister = _tinyWRAP.SMSData_swigregister
-SMSData_swigregister(SMSData)
-
-class SMSEncoder(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, SMSEncoder, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, SMSEncoder, name)
- def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
- __repr__ = _swig_repr
- __swig_getmethods__["encodeSubmit"] = lambda x: _tinyWRAP.SMSEncoder_encodeSubmit
- if _newclass:encodeSubmit = staticmethod(_tinyWRAP.SMSEncoder_encodeSubmit)
- __swig_getmethods__["encodeDeliver"] = lambda x: _tinyWRAP.SMSEncoder_encodeDeliver
- if _newclass:encodeDeliver = staticmethod(_tinyWRAP.SMSEncoder_encodeDeliver)
- __swig_getmethods__["encodeACK"] = lambda x: _tinyWRAP.SMSEncoder_encodeACK
- if _newclass:encodeACK = staticmethod(_tinyWRAP.SMSEncoder_encodeACK)
- __swig_getmethods__["encodeError"] = lambda x: _tinyWRAP.SMSEncoder_encodeError
- if _newclass:encodeError = staticmethod(_tinyWRAP.SMSEncoder_encodeError)
- __swig_getmethods__["decode"] = lambda x: _tinyWRAP.SMSEncoder_decode
- if _newclass:decode = staticmethod(_tinyWRAP.SMSEncoder_decode)
- __swig_destroy__ = _tinyWRAP.delete_SMSEncoder
- __del__ = lambda self : None;
-SMSEncoder_swigregister = _tinyWRAP.SMSEncoder_swigregister
-SMSEncoder_swigregister(SMSEncoder)
-
-def SMSEncoder_encodeSubmit(*args):
- return _tinyWRAP.SMSEncoder_encodeSubmit(*args)
-SMSEncoder_encodeSubmit = _tinyWRAP.SMSEncoder_encodeSubmit
-
-def SMSEncoder_encodeDeliver(*args):
- return _tinyWRAP.SMSEncoder_encodeDeliver(*args)
-SMSEncoder_encodeDeliver = _tinyWRAP.SMSEncoder_encodeDeliver
-
-def SMSEncoder_encodeACK(*args):
- return _tinyWRAP.SMSEncoder_encodeACK(*args)
-SMSEncoder_encodeACK = _tinyWRAP.SMSEncoder_encodeACK
-
-def SMSEncoder_encodeError(*args):
- return _tinyWRAP.SMSEncoder_encodeError(*args)
-SMSEncoder_encodeError = _tinyWRAP.SMSEncoder_encodeError
-
-def SMSEncoder_decode(*args):
- return _tinyWRAP.SMSEncoder_decode(*args)
-SMSEncoder_decode = _tinyWRAP.SMSEncoder_decode
-
-class MsrpMessage(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, MsrpMessage, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, MsrpMessage, name)
- __repr__ = _swig_repr
- def __init__(self):
- this = _tinyWRAP.new_MsrpMessage()
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _tinyWRAP.delete_MsrpMessage
- __del__ = lambda self : None;
- def isRequest(self): return _tinyWRAP.MsrpMessage_isRequest(self)
- def getCode(self): return _tinyWRAP.MsrpMessage_getCode(self)
- def getPhrase(self): return _tinyWRAP.MsrpMessage_getPhrase(self)
- def getRequestType(self): return _tinyWRAP.MsrpMessage_getRequestType(self)
- def getByteRange(self): return _tinyWRAP.MsrpMessage_getByteRange(self)
- def isLastChunck(self): return _tinyWRAP.MsrpMessage_isLastChunck(self)
- def isFirstChunck(self): return _tinyWRAP.MsrpMessage_isFirstChunck(self)
- def getMsrpHeaderValue(self, *args): return _tinyWRAP.MsrpMessage_getMsrpHeaderValue(self, *args)
- def getMsrpHeaderParamValue(self, *args): return _tinyWRAP.MsrpMessage_getMsrpHeaderParamValue(self, *args)
- def getMsrpContentLength(self): return _tinyWRAP.MsrpMessage_getMsrpContentLength(self)
- def getMsrpContent(self, *args): return _tinyWRAP.MsrpMessage_getMsrpContent(self, *args)
-MsrpMessage_swigregister = _tinyWRAP.MsrpMessage_swigregister
-MsrpMessage_swigregister(MsrpMessage)
-
-class MsrpEvent(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, MsrpEvent, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, MsrpEvent, name)
- def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
- __repr__ = _swig_repr
- __swig_destroy__ = _tinyWRAP.delete_MsrpEvent
- __del__ = lambda self : None;
- def getType(self): return _tinyWRAP.MsrpEvent_getType(self)
- def getSipSession(self): return _tinyWRAP.MsrpEvent_getSipSession(self)
- def getMessage(self): return _tinyWRAP.MsrpEvent_getMessage(self)
-MsrpEvent_swigregister = _tinyWRAP.MsrpEvent_swigregister
-MsrpEvent_swigregister(MsrpEvent)
-
-class MsrpCallback(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, MsrpCallback, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, MsrpCallback, name)
- __repr__ = _swig_repr
- def __init__(self):
- if self.__class__ == MsrpCallback:
- _self = None
- else:
- _self = self
- this = _tinyWRAP.new_MsrpCallback(_self, )
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _tinyWRAP.delete_MsrpCallback
- __del__ = lambda self : None;
- def OnEvent(self, *args): return _tinyWRAP.MsrpCallback_OnEvent(self, *args)
- def __disown__(self):
- self.this.disown()
- _tinyWRAP.disown_MsrpCallback(self)
- return weakref_proxy(self)
-MsrpCallback_swigregister = _tinyWRAP.MsrpCallback_swigregister
-MsrpCallback_swigregister(MsrpCallback)
-
-tmsrp_NONE = _tinyWRAP.tmsrp_NONE
-tmsrp_SEND = _tinyWRAP.tmsrp_SEND
-tmsrp_REPORT = _tinyWRAP.tmsrp_REPORT
-tmsrp_AUTH = _tinyWRAP.tmsrp_AUTH
-tmsrp_event_type_none = _tinyWRAP.tmsrp_event_type_none
-tmsrp_event_type_connected = _tinyWRAP.tmsrp_event_type_connected
-tmsrp_event_type_disconnected = _tinyWRAP.tmsrp_event_type_disconnected
-tmsrp_event_type_message = _tinyWRAP.tmsrp_event_type_message
-
-
diff --git a/branches/1.0/bindings/python/tinyWRAP_wrap.cxx b/branches/1.0/bindings/python/tinyWRAP_wrap.cxx
deleted file mode 100644
index d309c3d..0000000
--- a/branches/1.0/bindings/python/tinyWRAP_wrap.cxx
+++ /dev/null
@@ -1,19464 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * This file is not intended to be easily readable and contains a number of
- * coding conventions designed to improve portability and efficiency. Do not make
- * changes to this file unless you know what you are doing--modify the SWIG
- * interface file instead.
- * ----------------------------------------------------------------------------- */
-
-#define SWIGPYTHON
-#define SWIG_DIRECTORS
-#define SWIG_PYTHON_DIRECTOR_NO_VTABLE
-
-
-#ifdef __cplusplus
-/* SwigValueWrapper is described in swig.swg */
-template<typename T> class SwigValueWrapper {
- struct SwigMovePointer {
- T *ptr;
- SwigMovePointer(T *p) : ptr(p) { }
- ~SwigMovePointer() { delete ptr; }
- SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
- } pointer;
- SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
- SwigValueWrapper(const SwigValueWrapper<T>& rhs);
-public:
- SwigValueWrapper() : pointer(0) { }
- SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
- operator T&() const { return *pointer.ptr; }
- T *operator&() { return pointer.ptr; }
-};
-
-template <typename T> T SwigValueInit() {
- return T();
-}
-#endif
-
-/* -----------------------------------------------------------------------------
- * This section contains generic SWIG labels for method/variable
- * declarations/attributes, and other compiler dependent labels.
- * ----------------------------------------------------------------------------- */
-
-/* template workaround for compilers that cannot correctly implement the C++ standard */
-#ifndef SWIGTEMPLATEDISAMBIGUATOR
-# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
-# define SWIGTEMPLATEDISAMBIGUATOR template
-# elif defined(__HP_aCC)
-/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
-/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
-# define SWIGTEMPLATEDISAMBIGUATOR template
-# else
-# define SWIGTEMPLATEDISAMBIGUATOR
-# endif
-#endif
-
-/* inline attribute */
-#ifndef SWIGINLINE
-# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
-# define SWIGINLINE inline
-# else
-# define SWIGINLINE
-# endif
-#endif
-
-/* attribute recognised by some compilers to avoid 'unused' warnings */
-#ifndef SWIGUNUSED
-# if defined(__GNUC__)
-# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
-# define SWIGUNUSED __attribute__ ((__unused__))
-# else
-# define SWIGUNUSED
-# endif
-# elif defined(__ICC)
-# define SWIGUNUSED __attribute__ ((__unused__))
-# else
-# define SWIGUNUSED
-# endif
-#endif
-
-#ifndef SWIG_MSC_UNSUPPRESS_4505
-# if defined(_MSC_VER)
-# pragma warning(disable : 4505) /* unreferenced local function has been removed */
-# endif
-#endif
-
-#ifndef SWIGUNUSEDPARM
-# ifdef __cplusplus
-# define SWIGUNUSEDPARM(p)
-# else
-# define SWIGUNUSEDPARM(p) p SWIGUNUSED
-# endif
-#endif
-
-/* internal SWIG method */
-#ifndef SWIGINTERN
-# define SWIGINTERN static SWIGUNUSED
-#endif
-
-/* internal inline SWIG method */
-#ifndef SWIGINTERNINLINE
-# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
-#endif
-
-/* exporting methods */
-#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
-# ifndef GCC_HASCLASSVISIBILITY
-# define GCC_HASCLASSVISIBILITY
-# endif
-#endif
-
-#ifndef SWIGEXPORT
-# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
-# if defined(STATIC_LINKED)
-# define SWIGEXPORT
-# else
-# define SWIGEXPORT __declspec(dllexport)
-# endif
-# else
-# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
-# define SWIGEXPORT __attribute__ ((visibility("default")))
-# else
-# define SWIGEXPORT
-# endif
-# endif
-#endif
-
-/* calling conventions for Windows */
-#ifndef SWIGSTDCALL
-# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
-# define SWIGSTDCALL __stdcall
-# else
-# define SWIGSTDCALL
-# endif
-#endif
-
-/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
-#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
-# define _CRT_SECURE_NO_DEPRECATE
-#endif
-
-/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
-#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
-# define _SCL_SECURE_NO_DEPRECATE
-#endif
-
-
-
-/* Python.h has to appear first */
-#include <Python.h>
-
-/* -----------------------------------------------------------------------------
- * swigrun.swg
- *
- * This file contains generic C API SWIG runtime support for pointer
- * type checking.
- * ----------------------------------------------------------------------------- */
-
-/* This should only be incremented when either the layout of swig_type_info changes,
- or for whatever reason, the runtime changes incompatibly */
-#define SWIG_RUNTIME_VERSION "4"
-
-/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
-#ifdef SWIG_TYPE_TABLE
-# define SWIG_QUOTE_STRING(x) #x
-# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
-# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
-#else
-# define SWIG_TYPE_TABLE_NAME
-#endif
-
-/*
- You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
- creating a static or dynamic library from the SWIG runtime code.
- In 99.9% of the cases, SWIG just needs to declare them as 'static'.
-
- But only do this if strictly necessary, ie, if you have problems
- with your compiler or suchlike.
-*/
-
-#ifndef SWIGRUNTIME
-# define SWIGRUNTIME SWIGINTERN
-#endif
-
-#ifndef SWIGRUNTIMEINLINE
-# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
-#endif
-
-/* Generic buffer size */
-#ifndef SWIG_BUFFER_SIZE
-# define SWIG_BUFFER_SIZE 1024
-#endif
-
-/* Flags for pointer conversions */
-#define SWIG_POINTER_DISOWN 0x1
-#define SWIG_CAST_NEW_MEMORY 0x2
-
-/* Flags for new pointer objects */
-#define SWIG_POINTER_OWN 0x1
-
-
-/*
- Flags/methods for returning states.
-
- The SWIG conversion methods, as ConvertPtr, return and integer
- that tells if the conversion was successful or not. And if not,
- an error code can be returned (see swigerrors.swg for the codes).
-
- Use the following macros/flags to set or process the returning
- states.
-
- In old versions of SWIG, code such as the following was usually written:
-
- if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
- // success code
- } else {
- //fail code
- }
-
- Now you can be more explicit:
-
- int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
- if (SWIG_IsOK(res)) {
- // success code
- } else {
- // fail code
- }
-
- which is the same really, but now you can also do
-
- Type *ptr;
- int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
- if (SWIG_IsOK(res)) {
- // success code
- if (SWIG_IsNewObj(res) {
- ...
- delete *ptr;
- } else {
- ...
- }
- } else {
- // fail code
- }
-
- I.e., now SWIG_ConvertPtr can return new objects and you can
- identify the case and take care of the deallocation. Of course that
- also requires SWIG_ConvertPtr to return new result values, such as
-
- int SWIG_ConvertPtr(obj, ptr,...) {
- if (<obj is ok>) {
- if (<need new object>) {
- *ptr = <ptr to new allocated object>;
- return SWIG_NEWOBJ;
- } else {
- *ptr = <ptr to old object>;
- return SWIG_OLDOBJ;
- }
- } else {
- return SWIG_BADOBJ;
- }
- }
-
- Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
- more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
- SWIG errors code.
-
- Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
- allows to return the 'cast rank', for example, if you have this
-
- int food(double)
- int fooi(int);
-
- and you call
-
- food(1) // cast rank '1' (1 -> 1.0)
- fooi(1) // cast rank '0'
-
- just use the SWIG_AddCast()/SWIG_CheckState()
-*/
-
-#define SWIG_OK (0)
-#define SWIG_ERROR (-1)
-#define SWIG_IsOK(r) (r >= 0)
-#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
-
-/* The CastRankLimit says how many bits are used for the cast rank */
-#define SWIG_CASTRANKLIMIT (1 << 8)
-/* The NewMask denotes the object was created (using new/malloc) */
-#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
-/* The TmpMask is for in/out typemaps that use temporal objects */
-#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
-/* Simple returning values */
-#define SWIG_BADOBJ (SWIG_ERROR)
-#define SWIG_OLDOBJ (SWIG_OK)
-#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
-#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
-/* Check, add and del mask methods */
-#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
-#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
-#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
-#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
-#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
-#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
-
-/* Cast-Rank Mode */
-#if defined(SWIG_CASTRANK_MODE)
-# ifndef SWIG_TypeRank
-# define SWIG_TypeRank unsigned long
-# endif
-# ifndef SWIG_MAXCASTRANK /* Default cast allowed */
-# define SWIG_MAXCASTRANK (2)
-# endif
-# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
-# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
-SWIGINTERNINLINE int SWIG_AddCast(int r) {
- return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
-}
-SWIGINTERNINLINE int SWIG_CheckState(int r) {
- return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
-}
-#else /* no cast-rank mode */
-# define SWIG_AddCast
-# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
-#endif
-
-
-#include <string.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-typedef void *(*swig_converter_func)(void *, int *);
-typedef struct swig_type_info *(*swig_dycast_func)(void **);
-
-/* Structure to store information on one type */
-typedef struct swig_type_info {
- const char *name; /* mangled name of this type */
- const char *str; /* human readable name of this type */
- swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
- struct swig_cast_info *cast; /* linked list of types that can cast into this type */
- void *clientdata; /* language specific type data */
- int owndata; /* flag if the structure owns the clientdata */
-} swig_type_info;
-
-/* Structure to store a type and conversion function used for casting */
-typedef struct swig_cast_info {
- swig_type_info *type; /* pointer to type that is equivalent to this type */
- swig_converter_func converter; /* function to cast the void pointers */
- struct swig_cast_info *next; /* pointer to next cast in linked list */
- struct swig_cast_info *prev; /* pointer to the previous cast */
-} swig_cast_info;
-
-/* Structure used to store module information
- * Each module generates one structure like this, and the runtime collects
- * all of these structures and stores them in a circularly linked list.*/
-typedef struct swig_module_info {
- swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
- size_t size; /* Number of types in this module */
- struct swig_module_info *next; /* Pointer to next element in circularly linked list */
- swig_type_info **type_initial; /* Array of initially generated type structures */
- swig_cast_info **cast_initial; /* Array of initially generated casting structures */
- void *clientdata; /* Language specific module data */
-} swig_module_info;
-
-/*
- Compare two type names skipping the space characters, therefore
- "char*" == "char *" and "Class<int>" == "Class<int >", etc.
-
- Return 0 when the two name types are equivalent, as in
- strncmp, but skipping ' '.
-*/
-SWIGRUNTIME int
-SWIG_TypeNameComp(const char *f1, const char *l1,
- const char *f2, const char *l2) {
- for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
- while ((*f1 == ' ') && (f1 != l1)) ++f1;
- while ((*f2 == ' ') && (f2 != l2)) ++f2;
- if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
- }
- return (int)((l1 - f1) - (l2 - f2));
-}
-
-/*
- Check type equivalence in a name list like <name1>|<name2>|...
- Return 0 if not equal, 1 if equal
-*/
-SWIGRUNTIME int
-SWIG_TypeEquiv(const char *nb, const char *tb) {
- int equiv = 0;
- const char* te = tb + strlen(tb);
- const char* ne = nb;
- while (!equiv && *ne) {
- for (nb = ne; *ne; ++ne) {
- if (*ne == '|') break;
- }
- equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
- if (*ne) ++ne;
- }
- return equiv;
-}
-
-/*
- Check type equivalence in a name list like <name1>|<name2>|...
- Return 0 if equal, -1 if nb < tb, 1 if nb > tb
-*/
-SWIGRUNTIME int
-SWIG_TypeCompare(const char *nb, const char *tb) {
- int equiv = 0;
- const char* te = tb + strlen(tb);
- const char* ne = nb;
- while (!equiv && *ne) {
- for (nb = ne; *ne; ++ne) {
- if (*ne == '|') break;
- }
- equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
- if (*ne) ++ne;
- }
- return equiv;
-}
-
-
-/*
- Check the typename
-*/
-SWIGRUNTIME swig_cast_info *
-SWIG_TypeCheck(const char *c, swig_type_info *ty) {
- if (ty) {
- swig_cast_info *iter = ty->cast;
- while (iter) {
- if (strcmp(iter->type->name, c) == 0) {
- if (iter == ty->cast)
- return iter;
- /* Move iter to the top of the linked list */
- iter->prev->next = iter->next;
- if (iter->next)
- iter->next->prev = iter->prev;
- iter->next = ty->cast;
- iter->prev = 0;
- if (ty->cast) ty->cast->prev = iter;
- ty->cast = iter;
- return iter;
- }
- iter = iter->next;
- }
- }
- return 0;
-}
-
-/*
- Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
-*/
-SWIGRUNTIME swig_cast_info *
-SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty) {
- if (ty) {
- swig_cast_info *iter = ty->cast;
- while (iter) {
- if (iter->type == from) {
- if (iter == ty->cast)
- return iter;
- /* Move iter to the top of the linked list */
- iter->prev->next = iter->next;
- if (iter->next)
- iter->next->prev = iter->prev;
- iter->next = ty->cast;
- iter->prev = 0;
- if (ty->cast) ty->cast->prev = iter;
- ty->cast = iter;
- return iter;
- }
- iter = iter->next;
- }
- }
- return 0;
-}
-
-/*
- Cast a pointer up an inheritance hierarchy
-*/
-SWIGRUNTIMEINLINE void *
-SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
- return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
-}
-
-/*
- Dynamic pointer casting. Down an inheritance hierarchy
-*/
-SWIGRUNTIME swig_type_info *
-SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
- swig_type_info *lastty = ty;
- if (!ty || !ty->dcast) return ty;
- while (ty && (ty->dcast)) {
- ty = (*ty->dcast)(ptr);
- if (ty) lastty = ty;
- }
- return lastty;
-}
-
-/*
- Return the name associated with this type
-*/
-SWIGRUNTIMEINLINE const char *
-SWIG_TypeName(const swig_type_info *ty) {
- return ty->name;
-}
-
-/*
- Return the pretty name associated with this type,
- that is an unmangled type name in a form presentable to the user.
-*/
-SWIGRUNTIME const char *
-SWIG_TypePrettyName(const swig_type_info *type) {
- /* The "str" field contains the equivalent pretty names of the
- type, separated by vertical-bar characters. We choose
- to print the last name, as it is often (?) the most
- specific. */
- if (!type) return NULL;
- if (type->str != NULL) {
- const char *last_name = type->str;
- const char *s;
- for (s = type->str; *s; s++)
- if (*s == '|') last_name = s+1;
- return last_name;
- }
- else
- return type->name;
-}
-
-/*
- Set the clientdata field for a type
-*/
-SWIGRUNTIME void
-SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
- swig_cast_info *cast = ti->cast;
- /* if (ti->clientdata == clientdata) return; */
- ti->clientdata = clientdata;
-
- while (cast) {
- if (!cast->converter) {
- swig_type_info *tc = cast->type;
- if (!tc->clientdata) {
- SWIG_TypeClientData(tc, clientdata);
- }
- }
- cast = cast->next;
- }
-}
-SWIGRUNTIME void
-SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
- SWIG_TypeClientData(ti, clientdata);
- ti->owndata = 1;
-}
-
-/*
- Search for a swig_type_info structure only by mangled name
- Search is a O(log #types)
-
- We start searching at module start, and finish searching when start == end.
- Note: if start == end at the beginning of the function, we go all the way around
- the circular list.
-*/
-SWIGRUNTIME swig_type_info *
-SWIG_MangledTypeQueryModule(swig_module_info *start,
- swig_module_info *end,
- const char *name) {
- swig_module_info *iter = start;
- do {
- if (iter->size) {
- register size_t l = 0;
- register size_t r = iter->size - 1;
- do {
- /* since l+r >= 0, we can (>> 1) instead (/ 2) */
- register size_t i = (l + r) >> 1;
- const char *iname = iter->types[i]->name;
- if (iname) {
- register int compare = strcmp(name, iname);
- if (compare == 0) {
- return iter->types[i];
- } else if (compare < 0) {
- if (i) {
- r = i - 1;
- } else {
- break;
- }
- } else if (compare > 0) {
- l = i + 1;
- }
- } else {
- break; /* should never happen */
- }
- } while (l <= r);
- }
- iter = iter->next;
- } while (iter != end);
- return 0;
-}
-
-/*
- Search for a swig_type_info structure for either a mangled name or a human readable name.
- It first searches the mangled names of the types, which is a O(log #types)
- If a type is not found it then searches the human readable names, which is O(#types).
-
- We start searching at module start, and finish searching when start == end.
- Note: if start == end at the beginning of the function, we go all the way around
- the circular list.
-*/
-SWIGRUNTIME swig_type_info *
-SWIG_TypeQueryModule(swig_module_info *start,
- swig_module_info *end,
- const char *name) {
- /* STEP 1: Search the name field using binary search */
- swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
- if (ret) {
- return ret;
- } else {
- /* STEP 2: If the type hasn't been found, do a complete search
- of the str field (the human readable name) */
- swig_module_info *iter = start;
- do {
- register size_t i = 0;
- for (; i < iter->size; ++i) {
- if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
- return iter->types[i];
- }
- iter = iter->next;
- } while (iter != end);
- }
-
- /* neither found a match */
- return 0;
-}
-
-/*
- Pack binary data into a string
-*/
-SWIGRUNTIME char *
-SWIG_PackData(char *c, void *ptr, size_t sz) {
- static const char hex[17] = "0123456789abcdef";
- register const unsigned char *u = (unsigned char *) ptr;
- register const unsigned char *eu = u + sz;
- for (; u != eu; ++u) {
- register unsigned char uu = *u;
- *(c++) = hex[(uu & 0xf0) >> 4];
- *(c++) = hex[uu & 0xf];
- }
- return c;
-}
-
-/*
- Unpack binary data from a string
-*/
-SWIGRUNTIME const char *
-SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
- register unsigned char *u = (unsigned char *) ptr;
- register const unsigned char *eu = u + sz;
- for (; u != eu; ++u) {
- register char d = *(c++);
- register unsigned char uu;
- if ((d >= '0') && (d <= '9'))
- uu = ((d - '0') << 4);
- else if ((d >= 'a') && (d <= 'f'))
- uu = ((d - ('a'-10)) << 4);
- else
- return (char *) 0;
- d = *(c++);
- if ((d >= '0') && (d <= '9'))
- uu |= (d - '0');
- else if ((d >= 'a') && (d <= 'f'))
- uu |= (d - ('a'-10));
- else
- return (char *) 0;
- *u = uu;
- }
- return c;
-}
-
-/*
- Pack 'void *' into a string buffer.
-*/
-SWIGRUNTIME char *
-SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
- char *r = buff;
- if ((2*sizeof(void *) + 2) > bsz) return 0;
- *(r++) = '_';
- r = SWIG_PackData(r,&ptr,sizeof(void *));
- if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
- strcpy(r,name);
- return buff;
-}
-
-SWIGRUNTIME const char *
-SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
- if (*c != '_') {
- if (strcmp(c,"NULL") == 0) {
- *ptr = (void *) 0;
- return name;
- } else {
- return 0;
- }
- }
- return SWIG_UnpackData(++c,ptr,sizeof(void *));
-}
-
-SWIGRUNTIME char *
-SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
- char *r = buff;
- size_t lname = (name ? strlen(name) : 0);
- if ((2*sz + 2 + lname) > bsz) return 0;
- *(r++) = '_';
- r = SWIG_PackData(r,ptr,sz);
- if (lname) {
- strncpy(r,name,lname+1);
- } else {
- *r = 0;
- }
- return buff;
-}
-
-SWIGRUNTIME const char *
-SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
- if (*c != '_') {
- if (strcmp(c,"NULL") == 0) {
- memset(ptr,0,sz);
- return name;
- } else {
- return 0;
- }
- }
- return SWIG_UnpackData(++c,ptr,sz);
-}
-
-#ifdef __cplusplus
-}
-#endif
-
-/* Errors in SWIG */
-#define SWIG_UnknownError -1
-#define SWIG_IOError -2
-#define SWIG_RuntimeError -3
-#define SWIG_IndexError -4
-#define SWIG_TypeError -5
-#define SWIG_DivisionByZero -6
-#define SWIG_OverflowError -7
-#define SWIG_SyntaxError -8
-#define SWIG_ValueError -9
-#define SWIG_SystemError -10
-#define SWIG_AttributeError -11
-#define SWIG_MemoryError -12
-#define SWIG_NullReferenceError -13
-
-
-
-/* Compatibility marcos for Python 3 */
-#if PY_VERSION_HEX >= 0x03000000
-
-#define PyClass_Check(obj) PyObject_IsInstance(obj, (PyObject *)&PyType_Type)
-#define PyInt_Check(x) PyLong_Check(x)
-#define PyInt_AsLong(x) PyLong_AsLong(x)
-#define PyInt_FromLong(x) PyLong_FromLong(x)
-#define PyString_Format(fmt, args) PyUnicode_Format(fmt, args)
-
-#endif
-
-#ifndef Py_TYPE
-# define Py_TYPE(op) ((op)->ob_type)
-#endif
-
-/* SWIG APIs for compatibility of both Python 2 & 3 */
-
-#if PY_VERSION_HEX >= 0x03000000
-# define SWIG_Python_str_FromFormat PyUnicode_FromFormat
-#else
-# define SWIG_Python_str_FromFormat PyString_FromFormat
-#endif
-
-SWIGINTERN char*
-SWIG_Python_str_AsChar(PyObject *str)
-{
-#if PY_VERSION_HEX >= 0x03000000
- str = PyUnicode_AsUTF8String(str);
- return PyBytes_AsString(str);
-#else
- return PyString_AsString(str);
-#endif
-}
-
-SWIGINTERN PyObject*
-SWIG_Python_str_FromChar(const char *c)
-{
-#if PY_VERSION_HEX >= 0x03000000
- return PyUnicode_FromString(c);
-#else
- return PyString_FromString(c);
-#endif
-}
-
-/* Add PyOS_snprintf for old Pythons */
-#if PY_VERSION_HEX < 0x02020000
-# if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
-# define PyOS_snprintf _snprintf
-# else
-# define PyOS_snprintf snprintf
-# endif
-#endif
-
-/* A crude PyString_FromFormat implementation for old Pythons */
-#if PY_VERSION_HEX < 0x02020000
-
-#ifndef SWIG_PYBUFFER_SIZE
-# define SWIG_PYBUFFER_SIZE 1024
-#endif
-
-static PyObject *
-PyString_FromFormat(const char *fmt, ...) {
- va_list ap;
- char buf[SWIG_PYBUFFER_SIZE * 2];
- int res;
- va_start(ap, fmt);
- res = vsnprintf(buf, sizeof(buf), fmt, ap);
- va_end(ap);
- return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
-}
-#endif
-
-/* Add PyObject_Del for old Pythons */
-#if PY_VERSION_HEX < 0x01060000
-# define PyObject_Del(op) PyMem_DEL((op))
-#endif
-#ifndef PyObject_DEL
-# define PyObject_DEL PyObject_Del
-#endif
-
-/* A crude PyExc_StopIteration exception for old Pythons */
-#if PY_VERSION_HEX < 0x02020000
-# ifndef PyExc_StopIteration
-# define PyExc_StopIteration PyExc_RuntimeError
-# endif
-# ifndef PyObject_GenericGetAttr
-# define PyObject_GenericGetAttr 0
-# endif
-#endif
-
-/* Py_NotImplemented is defined in 2.1 and up. */
-#if PY_VERSION_HEX < 0x02010000
-# ifndef Py_NotImplemented
-# define Py_NotImplemented PyExc_RuntimeError
-# endif
-#endif
-
-/* A crude PyString_AsStringAndSize implementation for old Pythons */
-#if PY_VERSION_HEX < 0x02010000
-# ifndef PyString_AsStringAndSize
-# define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
-# endif
-#endif
-
-/* PySequence_Size for old Pythons */
-#if PY_VERSION_HEX < 0x02000000
-# ifndef PySequence_Size
-# define PySequence_Size PySequence_Length
-# endif
-#endif
-
-/* PyBool_FromLong for old Pythons */
-#if PY_VERSION_HEX < 0x02030000
-static
-PyObject *PyBool_FromLong(long ok)
-{
- PyObject *result = ok ? Py_True : Py_False;
- Py_INCREF(result);
- return result;
-}
-#endif
-
-/* Py_ssize_t for old Pythons */
-/* This code is as recommended by: */
-/* http://www.python.org/dev/peps/pep-0353/#conversion-guidelines */
-#if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN)
-typedef int Py_ssize_t;
-# define PY_SSIZE_T_MAX INT_MAX
-# define PY_SSIZE_T_MIN INT_MIN
-#endif
-
-/* -----------------------------------------------------------------------------
- * error manipulation
- * ----------------------------------------------------------------------------- */
-
-SWIGRUNTIME PyObject*
-SWIG_Python_ErrorType(int code) {
- PyObject* type = 0;
- switch(code) {
- case SWIG_MemoryError:
- type = PyExc_MemoryError;
- break;
- case SWIG_IOError:
- type = PyExc_IOError;
- break;
- case SWIG_RuntimeError:
- type = PyExc_RuntimeError;
- break;
- case SWIG_IndexError:
- type = PyExc_IndexError;
- break;
- case SWIG_TypeError:
- type = PyExc_TypeError;
- break;
- case SWIG_DivisionByZero:
- type = PyExc_ZeroDivisionError;
- break;
- case SWIG_OverflowError:
- type = PyExc_OverflowError;
- break;
- case SWIG_SyntaxError:
- type = PyExc_SyntaxError;
- break;
- case SWIG_ValueError:
- type = PyExc_ValueError;
- break;
- case SWIG_SystemError:
- type = PyExc_SystemError;
- break;
- case SWIG_AttributeError:
- type = PyExc_AttributeError;
- break;
- default:
- type = PyExc_RuntimeError;
- }
- return type;
-}
-
-
-SWIGRUNTIME void
-SWIG_Python_AddErrorMsg(const char* mesg)
-{
- PyObject *type = 0;
- PyObject *value = 0;
- PyObject *traceback = 0;
-
- if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
- if (value) {
- PyObject *old_str = PyObject_Str(value);
- PyErr_Clear();
- Py_XINCREF(type);
-
- PyErr_Format(type, "%s %s", SWIG_Python_str_AsChar(old_str), mesg);
- Py_DECREF(old_str);
- Py_DECREF(value);
- } else {
- PyErr_SetString(PyExc_RuntimeError, mesg);
- }
-}
-
-#if defined(SWIG_PYTHON_NO_THREADS)
-# if defined(SWIG_PYTHON_THREADS)
-# undef SWIG_PYTHON_THREADS
-# endif
-#endif
-#if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
-# if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
-# if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
-# define SWIG_PYTHON_USE_GIL
-# endif
-# endif
-# if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
-# ifndef SWIG_PYTHON_INITIALIZE_THREADS
-# define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
-# endif
-# ifdef __cplusplus /* C++ code */
- class SWIG_Python_Thread_Block {
- bool status;
- PyGILState_STATE state;
- public:
- void end() { if (status) { PyGILState_Release(state); status = false;} }
- SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
- ~SWIG_Python_Thread_Block() { end(); }
- };
- class SWIG_Python_Thread_Allow {
- bool status;
- PyThreadState *save;
- public:
- void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
- SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
- ~SWIG_Python_Thread_Allow() { end(); }
- };
-# define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
-# define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
-# define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
-# define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
-# else /* C code */
-# define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
-# define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
-# define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
-# define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
-# endif
-# else /* Old thread way, not implemented, user must provide it */
-# if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
-# define SWIG_PYTHON_INITIALIZE_THREADS
-# endif
-# if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
-# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
-# endif
-# if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
-# define SWIG_PYTHON_THREAD_END_BLOCK
-# endif
-# if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
-# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
-# endif
-# if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
-# define SWIG_PYTHON_THREAD_END_ALLOW
-# endif
-# endif
-#else /* No thread support */
-# define SWIG_PYTHON_INITIALIZE_THREADS
-# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
-# define SWIG_PYTHON_THREAD_END_BLOCK
-# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
-# define SWIG_PYTHON_THREAD_END_ALLOW
-#endif
-
-/* -----------------------------------------------------------------------------
- * Python API portion that goes into the runtime
- * ----------------------------------------------------------------------------- */
-
-#ifdef __cplusplus
-extern "C" {
-#if 0
-} /* cc-mode */
-#endif
-#endif
-
-/* -----------------------------------------------------------------------------
- * Constant declarations
- * ----------------------------------------------------------------------------- */
-
-/* Constant Types */
-#define SWIG_PY_POINTER 4
-#define SWIG_PY_BINARY 5
-
-/* Constant information structure */
-typedef struct swig_const_info {
- int type;
- char *name;
- long lvalue;
- double dvalue;
- void *pvalue;
- swig_type_info **ptype;
-} swig_const_info;
-
-
-/* -----------------------------------------------------------------------------
- * Wrapper of PyInstanceMethod_New() used in Python 3
- * It is exported to the generated module, used for -fastproxy
- * ----------------------------------------------------------------------------- */
-SWIGRUNTIME PyObject* SWIG_PyInstanceMethod_New(PyObject *self, PyObject *func)
-{
-#if PY_VERSION_HEX >= 0x03000000
- return PyInstanceMethod_New(func);
-#else
- return NULL;
-#endif
-}
-
-#ifdef __cplusplus
-#if 0
-{ /* cc-mode */
-#endif
-}
-#endif
-
-
-/* -----------------------------------------------------------------------------
- * See the LICENSE file for information on copyright, usage and redistribution
- * of SWIG, and the README file for authors - http://www.swig.org/release.html.
- *
- * pyrun.swg
- *
- * This file contains the runtime support for Python modules
- * and includes code for managing global variables and pointer
- * type checking.
- *
- * ----------------------------------------------------------------------------- */
-
-/* Common SWIG API */
-
-/* for raw pointers */
-#define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
-#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
-#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
-#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
-#define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
-#define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
-#define swig_owntype int
-
-/* for raw packed data */
-#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
-#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
-
-/* for class or struct pointers */
-#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
-#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
-
-/* for C or C++ function pointers */
-#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
-#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
-
-/* for C++ member pointers, ie, member methods */
-#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
-#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
-
-
-/* Runtime API */
-
-#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
-#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
-#define SWIG_NewClientData(obj) SwigPyClientData_New(obj)
-
-#define SWIG_SetErrorObj SWIG_Python_SetErrorObj
-#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
-#define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
-#define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
-#define SWIG_fail goto fail
-
-
-/* Runtime API implementation */
-
-/* Error manipulation */
-
-SWIGINTERN void
-SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
- SWIG_PYTHON_THREAD_BEGIN_BLOCK;
- PyErr_SetObject(errtype, obj);
- Py_DECREF(obj);
- SWIG_PYTHON_THREAD_END_BLOCK;
-}
-
-SWIGINTERN void
-SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
- SWIG_PYTHON_THREAD_BEGIN_BLOCK;
- PyErr_SetString(errtype, (char *) msg);
- SWIG_PYTHON_THREAD_END_BLOCK;
-}
-
-#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
-
-/* Set a constant value */
-
-SWIGINTERN void
-SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
- PyDict_SetItemString(d, (char*) name, obj);
- Py_DECREF(obj);
-}
-
-/* Append a value to the result obj */
-
-SWIGINTERN PyObject*
-SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
-#if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
- if (!result) {
- result = obj;
- } else if (result == Py_None) {
- Py_DECREF(result);
- result = obj;
- } else {
- if (!PyList_Check(result)) {
- PyObject *o2 = result;
- result = PyList_New(1);
- PyList_SetItem(result, 0, o2);
- }
- PyList_Append(result,obj);
- Py_DECREF(obj);
- }
- return result;
-#else
- PyObject* o2;
- PyObject* o3;
- if (!result) {
- result = obj;
- } else if (result == Py_None) {
- Py_DECREF(result);
- result = obj;
- } else {
- if (!PyTuple_Check(result)) {
- o2 = result;
- result = PyTuple_New(1);
- PyTuple_SET_ITEM(result, 0, o2);
- }
- o3 = PyTuple_New(1);
- PyTuple_SET_ITEM(o3, 0, obj);
- o2 = result;
- result = PySequence_Concat(o2, o3);
- Py_DECREF(o2);
- Py_DECREF(o3);
- }
- return result;
-#endif
-}
-
-/* Unpack the argument tuple */
-
-SWIGINTERN int
-SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssize_t max, PyObject **objs)
-{
- if (!args) {
- if (!min && !max) {
- return 1;
- } else {
- PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
- name, (min == max ? "" : "at least "), (int)min);
- return 0;
- }
- }
- if (!PyTuple_Check(args)) {
- PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
- return 0;
- } else {
- register Py_ssize_t l = PyTuple_GET_SIZE(args);
- if (l < min) {
- PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
- name, (min == max ? "" : "at least "), (int)min, (int)l);
- return 0;
- } else if (l > max) {
- PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
- name, (min == max ? "" : "at most "), (int)max, (int)l);
- return 0;
- } else {
- register int i;
- for (i = 0; i < l; ++i) {
- objs[i] = PyTuple_GET_ITEM(args, i);
- }
- for (; l < max; ++l) {
- objs[l] = 0;
- }
- return i + 1;
- }
- }
-}
-
-/* A functor is a function object with one single object argument */
-#if PY_VERSION_HEX >= 0x02020000
-#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
-#else
-#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
-#endif
-
-/*
- Helper for static pointer initialization for both C and C++ code, for example
- static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
-*/
-#ifdef __cplusplus
-#define SWIG_STATIC_POINTER(var) var
-#else
-#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
-#endif
-
-/* -----------------------------------------------------------------------------
- * Pointer declarations
- * ----------------------------------------------------------------------------- */
-
-/* Flags for new pointer objects */
-#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
-#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
-
-#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
-
-#ifdef __cplusplus
-extern "C" {
-#if 0
-} /* cc-mode */
-#endif
-#endif
-
-/* How to access Py_None */
-#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
-# ifndef SWIG_PYTHON_NO_BUILD_NONE
-# ifndef SWIG_PYTHON_BUILD_NONE
-# define SWIG_PYTHON_BUILD_NONE
-# endif
-# endif
-#endif
-
-#ifdef SWIG_PYTHON_BUILD_NONE
-# ifdef Py_None
-# undef Py_None
-# define Py_None SWIG_Py_None()
-# endif
-SWIGRUNTIMEINLINE PyObject *
-_SWIG_Py_None(void)
-{
- PyObject *none = Py_BuildValue((char*)"");
- Py_DECREF(none);
- return none;
-}
-SWIGRUNTIME PyObject *
-SWIG_Py_None(void)
-{
- static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
- return none;
-}
-#endif
-
-/* The python void return value */
-
-SWIGRUNTIMEINLINE PyObject *
-SWIG_Py_Void(void)
-{
- PyObject *none = Py_None;
- Py_INCREF(none);
- return none;
-}
-
-/* SwigPyClientData */
-
-typedef struct {
- PyObject *klass;
- PyObject *newraw;
- PyObject *newargs;
- PyObject *destroy;
- int delargs;
- int implicitconv;
-} SwigPyClientData;
-
-SWIGRUNTIMEINLINE int
-SWIG_Python_CheckImplicit(swig_type_info *ty)
-{
- SwigPyClientData *data = (SwigPyClientData *)ty->clientdata;
- return data ? data->implicitconv : 0;
-}
-
-SWIGRUNTIMEINLINE PyObject *
-SWIG_Python_ExceptionType(swig_type_info *desc) {
- SwigPyClientData *data = desc ? (SwigPyClientData *) desc->clientdata : 0;
- PyObject *klass = data ? data->klass : 0;
- return (klass ? klass : PyExc_RuntimeError);
-}
-
-
-SWIGRUNTIME SwigPyClientData *
-SwigPyClientData_New(PyObject* obj)
-{
- if (!obj) {
- return 0;
- } else {
- SwigPyClientData *data = (SwigPyClientData *)malloc(sizeof(SwigPyClientData));
- /* the klass element */
- data->klass = obj;
- Py_INCREF(data->klass);
- /* the newraw method and newargs arguments used to create a new raw instance */
- if (PyClass_Check(obj)) {
- data->newraw = 0;
- data->newargs = obj;
- Py_INCREF(obj);
- } else {
-#if (PY_VERSION_HEX < 0x02020000)
- data->newraw = 0;
-#else
- data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
-#endif
- if (data->newraw) {
- Py_INCREF(data->newraw);
- data->newargs = PyTuple_New(1);
- PyTuple_SetItem(data->newargs, 0, obj);
- } else {
- data->newargs = obj;
- }
- Py_INCREF(data->newargs);
- }
- /* the destroy method, aka as the C++ delete method */
- data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
- if (PyErr_Occurred()) {
- PyErr_Clear();
- data->destroy = 0;
- }
- if (data->destroy) {
- int flags;
- Py_INCREF(data->destroy);
- flags = PyCFunction_GET_FLAGS(data->destroy);
-#ifdef METH_O
- data->delargs = !(flags & (METH_O));
-#else
- data->delargs = 0;
-#endif
- } else {
- data->delargs = 0;
- }
- data->implicitconv = 0;
- return data;
- }
-}
-
-SWIGRUNTIME void
-SwigPyClientData_Del(SwigPyClientData* data)
-{
- Py_XDECREF(data->newraw);
- Py_XDECREF(data->newargs);
- Py_XDECREF(data->destroy);
-}
-
-/* =============== SwigPyObject =====================*/
-
-typedef struct {
- PyObject_HEAD
- void *ptr;
- swig_type_info *ty;
- int own;
- PyObject *next;
-} SwigPyObject;
-
-SWIGRUNTIME PyObject *
-SwigPyObject_long(SwigPyObject *v)
-{
- return PyLong_FromVoidPtr(v->ptr);
-}
-
-SWIGRUNTIME PyObject *
-SwigPyObject_format(const char* fmt, SwigPyObject *v)
-{
- PyObject *res = NULL;
- PyObject *args = PyTuple_New(1);
- if (args) {
- if (PyTuple_SetItem(args, 0, SwigPyObject_long(v)) == 0) {
- PyObject *ofmt = SWIG_Python_str_FromChar(fmt);
- if (ofmt) {
-#if PY_VERSION_HEX >= 0x03000000
- res = PyUnicode_Format(ofmt,args);
-#else
- res = PyString_Format(ofmt,args);
-#endif
- Py_DECREF(ofmt);
- }
- Py_DECREF(args);
- }
- }
- return res;
-}
-
-SWIGRUNTIME PyObject *
-SwigPyObject_oct(SwigPyObject *v)
-{
- return SwigPyObject_format("%o",v);
-}
-
-SWIGRUNTIME PyObject *
-SwigPyObject_hex(SwigPyObject *v)
-{
- return SwigPyObject_format("%x",v);
-}
-
-SWIGRUNTIME PyObject *
-#ifdef METH_NOARGS
-SwigPyObject_repr(SwigPyObject *v)
-#else
-SwigPyObject_repr(SwigPyObject *v, PyObject *args)
-#endif
-{
- const char *name = SWIG_TypePrettyName(v->ty);
- PyObject *hex = SwigPyObject_hex(v);
- PyObject *repr = SWIG_Python_str_FromFormat("<Swig Object of type '%s' at %p>", name, hex);
- Py_DECREF(hex);
- if (v->next) {
-#ifdef METH_NOARGS
- PyObject *nrep = SwigPyObject_repr((SwigPyObject *)v->next);
-#else
- PyObject *nrep = SwigPyObject_repr((SwigPyObject *)v->next, args);
-#endif
-#if PY_VERSION_HEX >= 0x03000000
- PyObject *joined = PyUnicode_Concat(repr, nrep);
- Py_DecRef(repr);
- Py_DecRef(nrep);
- repr = joined;
-#else
- PyString_ConcatAndDel(&repr,nrep);
-#endif
- }
- return repr;
-}
-
-SWIGRUNTIME int
-SwigPyObject_print(SwigPyObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
-{
-#ifdef METH_NOARGS
- PyObject *repr = SwigPyObject_repr(v);
-#else
- PyObject *repr = SwigPyObject_repr(v, NULL);
-#endif
- if (repr) {
- fputs(SWIG_Python_str_AsChar(repr), fp);
- Py_DECREF(repr);
- return 0;
- } else {
- return 1;
- }
-}
-
-SWIGRUNTIME PyObject *
-SwigPyObject_str(SwigPyObject *v)
-{
- char result[SWIG_BUFFER_SIZE];
- return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
- SWIG_Python_str_FromChar(result) : 0;
-}
-
-SWIGRUNTIME int
-SwigPyObject_compare(SwigPyObject *v, SwigPyObject *w)
-{
- void *i = v->ptr;
- void *j = w->ptr;
- return (i < j) ? -1 : ((i > j) ? 1 : 0);
-}
-
-/* Added for Python 3.x, whould it also useful for Python 2.x? */
-SWIGRUNTIME PyObject*
-SwigPyObject_richcompare(SwigPyObject *v, SwigPyObject *w, int op)
-{
- PyObject* res;
- if( op != Py_EQ && op != Py_NE ) {
- Py_INCREF(Py_NotImplemented);
- return Py_NotImplemented;
- }
- if( (SwigPyObject_compare(v, w)==0) == (op == Py_EQ) )
- res = Py_True;
- else
- res = Py_False;
- Py_INCREF(res);
- return res;
-}
-
-
-SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
-
-SWIGRUNTIME PyTypeObject*
-SwigPyObject_type(void) {
- static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
- return type;
-}
-
-SWIGRUNTIMEINLINE int
-SwigPyObject_Check(PyObject *op) {
- return (Py_TYPE(op) == SwigPyObject_type())
- || (strcmp(Py_TYPE(op)->tp_name,"SwigPyObject") == 0);
-}
-
-SWIGRUNTIME PyObject *
-SwigPyObject_New(void *ptr, swig_type_info *ty, int own);
-
-SWIGRUNTIME void
-SwigPyObject_dealloc(PyObject *v)
-{
- SwigPyObject *sobj = (SwigPyObject *) v;
- PyObject *next = sobj->next;
- if (sobj->own == SWIG_POINTER_OWN) {
- swig_type_info *ty = sobj->ty;
- SwigPyClientData *data = ty ? (SwigPyClientData *) ty->clientdata : 0;
- PyObject *destroy = data ? data->destroy : 0;
- if (destroy) {
- /* destroy is always a VARARGS method */
- PyObject *res;
- if (data->delargs) {
- /* we need to create a temporal object to carry the destroy operation */
- PyObject *tmp = SwigPyObject_New(sobj->ptr, ty, 0);
- res = SWIG_Python_CallFunctor(destroy, tmp);
- Py_DECREF(tmp);
- } else {
- PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
- PyObject *mself = PyCFunction_GET_SELF(destroy);
- res = ((*meth)(mself, v));
- }
- Py_XDECREF(res);
- }
-#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
- else {
- const char *name = SWIG_TypePrettyName(ty);
- printf("swig/python detected a memory leak of type '%s', no destructor found.\n", (name ? name : "unknown"));
- }
-#endif
- }
- Py_XDECREF(next);
- PyObject_DEL(v);
-}
-
-SWIGRUNTIME PyObject*
-SwigPyObject_append(PyObject* v, PyObject* next)
-{
- SwigPyObject *sobj = (SwigPyObject *) v;
-#ifndef METH_O
- PyObject *tmp = 0;
- if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
- next = tmp;
-#endif
- if (!SwigPyObject_Check(next)) {
- return NULL;
- }
- sobj->next = next;
- Py_INCREF(next);
- return SWIG_Py_Void();
-}
-
-SWIGRUNTIME PyObject*
-#ifdef METH_NOARGS
-SwigPyObject_next(PyObject* v)
-#else
-SwigPyObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
-#endif
-{
- SwigPyObject *sobj = (SwigPyObject *) v;
- if (sobj->next) {
- Py_INCREF(sobj->next);
- return sobj->next;
- } else {
- return SWIG_Py_Void();
- }
-}
-
-SWIGINTERN PyObject*
-#ifdef METH_NOARGS
-SwigPyObject_disown(PyObject *v)
-#else
-SwigPyObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
-#endif
-{
- SwigPyObject *sobj = (SwigPyObject *)v;
- sobj->own = 0;
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject*
-#ifdef METH_NOARGS
-SwigPyObject_acquire(PyObject *v)
-#else
-SwigPyObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
-#endif
-{
- SwigPyObject *sobj = (SwigPyObject *)v;
- sobj->own = SWIG_POINTER_OWN;
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject*
-SwigPyObject_own(PyObject *v, PyObject *args)
-{
- PyObject *val = 0;
-#if (PY_VERSION_HEX < 0x02020000)
- if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
-#else
- if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
-#endif
- {
- return NULL;
- }
- else
- {
- SwigPyObject *sobj = (SwigPyObject *)v;
- PyObject *obj = PyBool_FromLong(sobj->own);
- if (val) {
-#ifdef METH_NOARGS
- if (PyObject_IsTrue(val)) {
- SwigPyObject_acquire(v);
- } else {
- SwigPyObject_disown(v);
- }
-#else
- if (PyObject_IsTrue(val)) {
- SwigPyObject_acquire(v,args);
- } else {
- SwigPyObject_disown(v,args);
- }
-#endif
- }
- return obj;
- }
-}
-
-#ifdef METH_O
-static PyMethodDef
-swigobject_methods[] = {
- {(char *)"disown", (PyCFunction)SwigPyObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
- {(char *)"acquire", (PyCFunction)SwigPyObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
- {(char *)"own", (PyCFunction)SwigPyObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
- {(char *)"append", (PyCFunction)SwigPyObject_append, METH_O, (char *)"appends another 'this' object"},
- {(char *)"next", (PyCFunction)SwigPyObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
- {(char *)"__repr__",(PyCFunction)SwigPyObject_repr, METH_NOARGS, (char *)"returns object representation"},
- {0, 0, 0, 0}
-};
-#else
-static PyMethodDef
-swigobject_methods[] = {
- {(char *)"disown", (PyCFunction)SwigPyObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
- {(char *)"acquire", (PyCFunction)SwigPyObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
- {(char *)"own", (PyCFunction)SwigPyObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
- {(char *)"append", (PyCFunction)SwigPyObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
- {(char *)"next", (PyCFunction)SwigPyObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
- {(char *)"__repr__",(PyCFunction)SwigPyObject_repr, METH_VARARGS, (char *)"returns object representation"},
- {0, 0, 0, 0}
-};
-#endif
-
-#if PY_VERSION_HEX < 0x02020000
-SWIGINTERN PyObject *
-SwigPyObject_getattr(SwigPyObject *sobj,char *name)
-{
- return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
-}
-#endif
-
-SWIGRUNTIME PyTypeObject*
-_PySwigObject_type(void) {
- static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
-
- static PyNumberMethods SwigPyObject_as_number = {
- (binaryfunc)0, /*nb_add*/
- (binaryfunc)0, /*nb_subtract*/
- (binaryfunc)0, /*nb_multiply*/
- /* nb_divide removed in Python 3 */
-#if PY_VERSION_HEX < 0x03000000
- (binaryfunc)0, /*nb_divide*/
-#endif
- (binaryfunc)0, /*nb_remainder*/
- (binaryfunc)0, /*nb_divmod*/
- (ternaryfunc)0,/*nb_power*/
- (unaryfunc)0, /*nb_negative*/
- (unaryfunc)0, /*nb_positive*/
- (unaryfunc)0, /*nb_absolute*/
- (inquiry)0, /*nb_nonzero*/
- 0, /*nb_invert*/
- 0, /*nb_lshift*/
- 0, /*nb_rshift*/
- 0, /*nb_and*/
- 0, /*nb_xor*/
- 0, /*nb_or*/
-#if PY_VERSION_HEX < 0x03000000
- 0, /*nb_coerce*/
-#endif
- (unaryfunc)SwigPyObject_long, /*nb_int*/
- (unaryfunc)SwigPyObject_long, /*nb_long*/
- (unaryfunc)0, /*nb_float*/
-#if PY_VERSION_HEX < 0x03000000
- (unaryfunc)SwigPyObject_oct, /*nb_oct*/
- (unaryfunc)SwigPyObject_hex, /*nb_hex*/
-#endif
-#if PY_VERSION_HEX >= 0x03000000 /* 3.0 */
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index, nb_inplace_divide removed */
-#elif PY_VERSION_HEX >= 0x02050000 /* 2.5.0 */
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index */
-#elif PY_VERSION_HEX >= 0x02020000 /* 2.2.0 */
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
-#elif PY_VERSION_HEX >= 0x02000000 /* 2.0.0 */
- 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
-#endif
- };
-
- static PyTypeObject swigpyobject_type;
- static int type_init = 0;
- if (!type_init) {
- const PyTypeObject tmp
- = {
- /* PyOjbect header changed in Python 3 */
-#if PY_VERSION_HEX >= 0x03000000
- PyVarObject_HEAD_INIT(&PyType_Type, 0)
-#else
- PyObject_HEAD_INIT(NULL)
- 0, /* ob_size */
-#endif
- (char *)"SwigPyObject", /* tp_name */
- sizeof(SwigPyObject), /* tp_basicsize */
- 0, /* tp_itemsize */
- (destructor)SwigPyObject_dealloc, /* tp_dealloc */
- (printfunc)SwigPyObject_print, /* tp_print */
-#if PY_VERSION_HEX < 0x02020000
- (getattrfunc)SwigPyObject_getattr, /* tp_getattr */
-#else
- (getattrfunc)0, /* tp_getattr */
-#endif
- (setattrfunc)0, /* tp_setattr */
- (cmpfunc)SwigPyObject_compare, /* tp_compare */
- (reprfunc)SwigPyObject_repr, /* tp_repr */
- &SwigPyObject_as_number, /* tp_as_number */
- 0, /* tp_as_sequence */
- 0, /* tp_as_mapping */
- (hashfunc)0, /* tp_hash */
- (ternaryfunc)0, /* tp_call */
- (reprfunc)SwigPyObject_str, /* tp_str */
- PyObject_GenericGetAttr, /* tp_getattro */
- 0, /* tp_setattro */
- 0, /* tp_as_buffer */
- Py_TPFLAGS_DEFAULT, /* tp_flags */
- swigobject_doc, /* tp_doc */
- 0, /* tp_traverse */
- 0, /* tp_clear */
- (richcmpfunc)SwigPyObject_richcompare, /* tp_richcompare */
- 0, /* tp_weaklistoffset */
-#if PY_VERSION_HEX >= 0x02020000
- 0, /* tp_iter */
- 0, /* tp_iternext */
- swigobject_methods, /* tp_methods */
- 0, /* tp_members */
- 0, /* tp_getset */
- 0, /* tp_base */
- 0, /* tp_dict */
- 0, /* tp_descr_get */
- 0, /* tp_descr_set */
- 0, /* tp_dictoffset */
- 0, /* tp_init */
- 0, /* tp_alloc */
- 0, /* tp_new */
- 0, /* tp_free */
- 0, /* tp_is_gc */
- 0, /* tp_bases */
- 0, /* tp_mro */
- 0, /* tp_cache */
- 0, /* tp_subclasses */
- 0, /* tp_weaklist */
-#endif
-#if PY_VERSION_HEX >= 0x02030000
- 0, /* tp_del */
-#endif
-#ifdef COUNT_ALLOCS
- 0,0,0,0 /* tp_alloc -> tp_next */
-#endif
- };
- swigpyobject_type = tmp;
- /* for Python 3 we already assigned the ob_type in PyVarObject_HEAD_INIT() */
-#if PY_VERSION_HEX < 0x03000000
- swigpyobject_type.ob_type = &PyType_Type;
-#endif
- type_init = 1;
- }
- return &swigpyobject_type;
-}
-
-SWIGRUNTIME PyObject *
-SwigPyObject_New(void *ptr, swig_type_info *ty, int own)
-{
- SwigPyObject *sobj = PyObject_NEW(SwigPyObject, SwigPyObject_type());
- if (sobj) {
- sobj->ptr = ptr;
- sobj->ty = ty;
- sobj->own = own;
- sobj->next = 0;
- }
- return (PyObject *)sobj;
-}
-
-/* -----------------------------------------------------------------------------
- * Implements a simple Swig Packed type, and use it instead of string
- * ----------------------------------------------------------------------------- */
-
-typedef struct {
- PyObject_HEAD
- void *pack;
- swig_type_info *ty;
- size_t size;
-} SwigPyPacked;
-
-SWIGRUNTIME int
-SwigPyPacked_print(SwigPyPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
-{
- char result[SWIG_BUFFER_SIZE];
- fputs("<Swig Packed ", fp);
- if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
- fputs("at ", fp);
- fputs(result, fp);
- }
- fputs(v->ty->name,fp);
- fputs(">", fp);
- return 0;
-}
-
-SWIGRUNTIME PyObject *
-SwigPyPacked_repr(SwigPyPacked *v)
-{
- char result[SWIG_BUFFER_SIZE];
- if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
- return SWIG_Python_str_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
- } else {
- return SWIG_Python_str_FromFormat("<Swig Packed %s>", v->ty->name);
- }
-}
-
-SWIGRUNTIME PyObject *
-SwigPyPacked_str(SwigPyPacked *v)
-{
- char result[SWIG_BUFFER_SIZE];
- if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
- return SWIG_Python_str_FromFormat("%s%s", result, v->ty->name);
- } else {
- return SWIG_Python_str_FromChar(v->ty->name);
- }
-}
-
-SWIGRUNTIME int
-SwigPyPacked_compare(SwigPyPacked *v, SwigPyPacked *w)
-{
- size_t i = v->size;
- size_t j = w->size;
- int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
- return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
-}
-
-SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
-
-SWIGRUNTIME PyTypeObject*
-SwigPyPacked_type(void) {
- static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
- return type;
-}
-
-SWIGRUNTIMEINLINE int
-SwigPyPacked_Check(PyObject *op) {
- return ((op)->ob_type == _PySwigPacked_type())
- || (strcmp((op)->ob_type->tp_name,"SwigPyPacked") == 0);
-}
-
-SWIGRUNTIME void
-SwigPyPacked_dealloc(PyObject *v)
-{
- if (SwigPyPacked_Check(v)) {
- SwigPyPacked *sobj = (SwigPyPacked *) v;
- free(sobj->pack);
- }
- PyObject_DEL(v);
-}
-
-SWIGRUNTIME PyTypeObject*
-_PySwigPacked_type(void) {
- static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
- static PyTypeObject swigpypacked_type;
- static int type_init = 0;
- if (!type_init) {
- const PyTypeObject tmp
- = {
- /* PyObject header changed in Python 3 */
-#if PY_VERSION_HEX>=0x03000000
- PyVarObject_HEAD_INIT(&PyType_Type, 0)
-#else
- PyObject_HEAD_INIT(NULL)
- 0, /* ob_size */
-#endif
- (char *)"SwigPyPacked", /* tp_name */
- sizeof(SwigPyPacked), /* tp_basicsize */
- 0, /* tp_itemsize */
- (destructor)SwigPyPacked_dealloc, /* tp_dealloc */
- (printfunc)SwigPyPacked_print, /* tp_print */
- (getattrfunc)0, /* tp_getattr */
- (setattrfunc)0, /* tp_setattr */
- (cmpfunc)SwigPyPacked_compare, /* tp_compare */
- (reprfunc)SwigPyPacked_repr, /* tp_repr */
- 0, /* tp_as_number */
- 0, /* tp_as_sequence */
- 0, /* tp_as_mapping */
- (hashfunc)0, /* tp_hash */
- (ternaryfunc)0, /* tp_call */
- (reprfunc)SwigPyPacked_str, /* tp_str */
- PyObject_GenericGetAttr, /* tp_getattro */
- 0, /* tp_setattro */
- 0, /* tp_as_buffer */
- Py_TPFLAGS_DEFAULT, /* tp_flags */
- swigpacked_doc, /* tp_doc */
- 0, /* tp_traverse */
- 0, /* tp_clear */
- 0, /* tp_richcompare */
- 0, /* tp_weaklistoffset */
-#if PY_VERSION_HEX >= 0x02020000
- 0, /* tp_iter */
- 0, /* tp_iternext */
- 0, /* tp_methods */
- 0, /* tp_members */
- 0, /* tp_getset */
- 0, /* tp_base */
- 0, /* tp_dict */
- 0, /* tp_descr_get */
- 0, /* tp_descr_set */
- 0, /* tp_dictoffset */
- 0, /* tp_init */
- 0, /* tp_alloc */
- 0, /* tp_new */
- 0, /* tp_free */
- 0, /* tp_is_gc */
- 0, /* tp_bases */
- 0, /* tp_mro */
- 0, /* tp_cache */
- 0, /* tp_subclasses */
- 0, /* tp_weaklist */
-#endif
-#if PY_VERSION_HEX >= 0x02030000
- 0, /* tp_del */
-#endif
-#ifdef COUNT_ALLOCS
- 0,0,0,0 /* tp_alloc -> tp_next */
-#endif
- };
- swigpypacked_type = tmp;
- /* for Python 3 the ob_type already assigned in PyVarObject_HEAD_INIT() */
-#if PY_VERSION_HEX < 0x03000000
- swigpypacked_type.ob_type = &PyType_Type;
-#endif
- type_init = 1;
- }
- return &swigpypacked_type;
-}
-
-SWIGRUNTIME PyObject *
-SwigPyPacked_New(void *ptr, size_t size, swig_type_info *ty)
-{
- SwigPyPacked *sobj = PyObject_NEW(SwigPyPacked, SwigPyPacked_type());
- if (sobj) {
- void *pack = malloc(size);
- if (pack) {
- memcpy(pack, ptr, size);
- sobj->pack = pack;
- sobj->ty = ty;
- sobj->size = size;
- } else {
- PyObject_DEL((PyObject *) sobj);
- sobj = 0;
- }
- }
- return (PyObject *) sobj;
-}
-
-SWIGRUNTIME swig_type_info *
-SwigPyPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
-{
- if (SwigPyPacked_Check(obj)) {
- SwigPyPacked *sobj = (SwigPyPacked *)obj;
- if (sobj->size != size) return 0;
- memcpy(ptr, sobj->pack, size);
- return sobj->ty;
- } else {
- return 0;
- }
-}
-
-/* -----------------------------------------------------------------------------
- * pointers/data manipulation
- * ----------------------------------------------------------------------------- */
-
-SWIGRUNTIMEINLINE PyObject *
-_SWIG_This(void)
-{
- return SWIG_Python_str_FromChar("this");
-}
-
-SWIGRUNTIME PyObject *
-SWIG_This(void)
-{
- static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
- return swig_this;
-}
-
-/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
-
-/* TODO: I don't know how to implement the fast getset in Python 3 right now */
-#if PY_VERSION_HEX>=0x03000000
-#define SWIG_PYTHON_SLOW_GETSET_THIS
-#endif
-
-SWIGRUNTIME SwigPyObject *
-SWIG_Python_GetSwigThis(PyObject *pyobj)
-{
- if (SwigPyObject_Check(pyobj)) {
- return (SwigPyObject *) pyobj;
- } else {
- PyObject *obj = 0;
-#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
- if (PyInstance_Check(pyobj)) {
- obj = _PyInstance_Lookup(pyobj, SWIG_This());
- } else {
- PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
- if (dictptr != NULL) {
- PyObject *dict = *dictptr;
- obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
- } else {
-#ifdef PyWeakref_CheckProxy
- if (PyWeakref_CheckProxy(pyobj)) {
- PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
- return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
- }
-#endif
- obj = PyObject_GetAttr(pyobj,SWIG_This());
- if (obj) {
- Py_DECREF(obj);
- } else {
- if (PyErr_Occurred()) PyErr_Clear();
- return 0;
- }
- }
- }
-#else
- obj = PyObject_GetAttr(pyobj,SWIG_This());
- if (obj) {
- Py_DECREF(obj);
- } else {
- if (PyErr_Occurred()) PyErr_Clear();
- return 0;
- }
-#endif
- if (obj && !SwigPyObject_Check(obj)) {
- /* a PyObject is called 'this', try to get the 'real this'
- SwigPyObject from it */
- return SWIG_Python_GetSwigThis(obj);
- }
- return (SwigPyObject *)obj;
- }
-}
-
-/* Acquire a pointer value */
-
-SWIGRUNTIME int
-SWIG_Python_AcquirePtr(PyObject *obj, int own) {
- if (own == SWIG_POINTER_OWN) {
- SwigPyObject *sobj = SWIG_Python_GetSwigThis(obj);
- if (sobj) {
- int oldown = sobj->own;
- sobj->own = own;
- return oldown;
- }
- }
- return 0;
-}
-
-/* Convert a pointer value */
-
-SWIGRUNTIME int
-SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
- if (!obj) return SWIG_ERROR;
- if (obj == Py_None) {
- if (ptr) *ptr = 0;
- return SWIG_OK;
- } else {
- SwigPyObject *sobj = SWIG_Python_GetSwigThis(obj);
- if (own)
- *own = 0;
- while (sobj) {
- void *vptr = sobj->ptr;
- if (ty) {
- swig_type_info *to = sobj->ty;
- if (to == ty) {
- /* no type cast needed */
- if (ptr) *ptr = vptr;
- break;
- } else {
- swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
- if (!tc) {
- sobj = (SwigPyObject *)sobj->next;
- } else {
- if (ptr) {
- int newmemory = 0;
- *ptr = SWIG_TypeCast(tc,vptr,&newmemory);
- if (newmemory == SWIG_CAST_NEW_MEMORY) {
- assert(own);
- if (own)
- *own = *own | SWIG_CAST_NEW_MEMORY;
- }
- }
- break;
- }
- }
- } else {
- if (ptr) *ptr = vptr;
- break;
- }
- }
- if (sobj) {
- if (own)
- *own = *own | sobj->own;
- if (flags & SWIG_POINTER_DISOWN) {
- sobj->own = 0;
- }
- return SWIG_OK;
- } else {
- int res = SWIG_ERROR;
- if (flags & SWIG_POINTER_IMPLICIT_CONV) {
- SwigPyClientData *data = ty ? (SwigPyClientData *) ty->clientdata : 0;
- if (data && !data->implicitconv) {
- PyObject *klass = data->klass;
- if (klass) {
- PyObject *impconv;
- data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
- impconv = SWIG_Python_CallFunctor(klass, obj);
- data->implicitconv = 0;
- if (PyErr_Occurred()) {
- PyErr_Clear();
- impconv = 0;
- }
- if (impconv) {
- SwigPyObject *iobj = SWIG_Python_GetSwigThis(impconv);
- if (iobj) {
- void *vptr;
- res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
- if (SWIG_IsOK(res)) {
- if (ptr) {
- *ptr = vptr;
- /* transfer the ownership to 'ptr' */
- iobj->own = 0;
- res = SWIG_AddCast(res);
- res = SWIG_AddNewMask(res);
- } else {
- res = SWIG_AddCast(res);
- }
- }
- }
- Py_DECREF(impconv);
- }
- }
- }
- }
- return res;
- }
- }
-}
-
-/* Convert a function ptr value */
-
-SWIGRUNTIME int
-SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
- if (!PyCFunction_Check(obj)) {
- return SWIG_ConvertPtr(obj, ptr, ty, 0);
- } else {
- void *vptr = 0;
-
- /* here we get the method pointer for callbacks */
- const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
- const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
- if (desc) {
- desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
- if (!desc) return SWIG_ERROR;
- }
- if (ty) {
- swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
- if (tc) {
- int newmemory = 0;
- *ptr = SWIG_TypeCast(tc,vptr,&newmemory);
- assert(!newmemory); /* newmemory handling not yet implemented */
- } else {
- return SWIG_ERROR;
- }
- } else {
- *ptr = vptr;
- }
- return SWIG_OK;
- }
-}
-
-/* Convert a packed value value */
-
-SWIGRUNTIME int
-SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
- swig_type_info *to = SwigPyPacked_UnpackData(obj, ptr, sz);
- if (!to) return SWIG_ERROR;
- if (ty) {
- if (to != ty) {
- /* check type cast? */
- swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
- if (!tc) return SWIG_ERROR;
- }
- }
- return SWIG_OK;
-}
-
-/* -----------------------------------------------------------------------------
- * Create a new pointer object
- * ----------------------------------------------------------------------------- */
-
-/*
- Create a new instance object, whitout calling __init__, and set the
- 'this' attribute.
-*/
-
-SWIGRUNTIME PyObject*
-SWIG_Python_NewShadowInstance(SwigPyClientData *data, PyObject *swig_this)
-{
-#if (PY_VERSION_HEX >= 0x02020000)
- PyObject *inst = 0;
- PyObject *newraw = data->newraw;
- if (newraw) {
- inst = PyObject_Call(newraw, data->newargs, NULL);
- if (inst) {
-#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
- PyObject **dictptr = _PyObject_GetDictPtr(inst);
- if (dictptr != NULL) {
- PyObject *dict = *dictptr;
- if (dict == NULL) {
- dict = PyDict_New();
- *dictptr = dict;
- PyDict_SetItem(dict, SWIG_This(), swig_this);
- }
- }
-#else
- PyObject *key = SWIG_This();
- PyObject_SetAttr(inst, key, swig_this);
-#endif
- }
- } else {
-#if PY_VERSION_HEX >= 0x03000000
- inst = PyBaseObject_Type.tp_new((PyTypeObject*) data->newargs, Py_None, Py_None);
- Py_INCREF(data->newargs);
- PyObject_SetAttr(inst, SWIG_This(), swig_this);
- Py_TYPE(inst)->tp_flags &= ~Py_TPFLAGS_VALID_VERSION_TAG;
-#else
- PyObject *dict = PyDict_New();
- PyDict_SetItem(dict, SWIG_This(), swig_this);
- inst = PyInstance_NewRaw(data->newargs, dict);
- Py_DECREF(dict);
-#endif
- }
- return inst;
-#else
-#if (PY_VERSION_HEX >= 0x02010000)
- PyObject *inst;
- PyObject *dict = PyDict_New();
- PyDict_SetItem(dict, SWIG_This(), swig_this);
- inst = PyInstance_NewRaw(data->newargs, dict);
- Py_DECREF(dict);
- return (PyObject *) inst;
-#else
- PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
- if (inst == NULL) {
- return NULL;
- }
- inst->in_class = (PyClassObject *)data->newargs;
- Py_INCREF(inst->in_class);
- inst->in_dict = PyDict_New();
- if (inst->in_dict == NULL) {
- Py_DECREF(inst);
- return NULL;
- }
-#ifdef Py_TPFLAGS_HAVE_WEAKREFS
- inst->in_weakreflist = NULL;
-#endif
-#ifdef Py_TPFLAGS_GC
- PyObject_GC_Init(inst);
-#endif
- PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
- return (PyObject *) inst;
-#endif
-#endif
-}
-
-SWIGRUNTIME void
-SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
-{
- PyObject *dict;
-#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
- PyObject **dictptr = _PyObject_GetDictPtr(inst);
- if (dictptr != NULL) {
- dict = *dictptr;
- if (dict == NULL) {
- dict = PyDict_New();
- *dictptr = dict;
- }
- PyDict_SetItem(dict, SWIG_This(), swig_this);
- return;
- }
-#endif
- dict = PyObject_GetAttrString(inst, (char*)"__dict__");
- PyDict_SetItem(dict, SWIG_This(), swig_this);
- Py_DECREF(dict);
-}
-
-
-SWIGINTERN PyObject *
-SWIG_Python_InitShadowInstance(PyObject *args) {
- PyObject *obj[2];
- if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
- return NULL;
- } else {
- SwigPyObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
- if (sthis) {
- SwigPyObject_append((PyObject*) sthis, obj[1]);
- } else {
- SWIG_Python_SetSwigThis(obj[0], obj[1]);
- }
- return SWIG_Py_Void();
- }
-}
-
-/* Create a new pointer object */
-
-SWIGRUNTIME PyObject *
-SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
- if (!ptr) {
- return SWIG_Py_Void();
- } else {
- int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
- PyObject *robj = SwigPyObject_New(ptr, type, own);
- SwigPyClientData *clientdata = type ? (SwigPyClientData *)(type->clientdata) : 0;
- if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
- PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
- if (inst) {
- Py_DECREF(robj);
- robj = inst;
- }
- }
- return robj;
- }
-}
-
-/* Create a new packed object */
-
-SWIGRUNTIMEINLINE PyObject *
-SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
- return ptr ? SwigPyPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
-}
-
-/* -----------------------------------------------------------------------------*
- * Get type list
- * -----------------------------------------------------------------------------*/
-
-#ifdef SWIG_LINK_RUNTIME
-void *SWIG_ReturnGlobalTypeList(void *);
-#endif
-
-SWIGRUNTIME swig_module_info *
-SWIG_Python_GetModule(void) {
- static void *type_pointer = (void *)0;
- /* first check if module already created */
- if (!type_pointer) {
-#ifdef SWIG_LINK_RUNTIME
- type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
-#else
- type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
- (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
- if (PyErr_Occurred()) {
- PyErr_Clear();
- type_pointer = (void *)0;
- }
-#endif
- }
- return (swig_module_info *) type_pointer;
-}
-
-#if PY_MAJOR_VERSION < 2
-/* PyModule_AddObject function was introduced in Python 2.0. The following function
- is copied out of Python/modsupport.c in python version 2.3.4 */
-SWIGINTERN int
-PyModule_AddObject(PyObject *m, char *name, PyObject *o)
-{
- PyObject *dict;
- if (!PyModule_Check(m)) {
- PyErr_SetString(PyExc_TypeError,
- "PyModule_AddObject() needs module as first arg");
- return SWIG_ERROR;
- }
- if (!o) {
- PyErr_SetString(PyExc_TypeError,
- "PyModule_AddObject() needs non-NULL value");
- return SWIG_ERROR;
- }
-
- dict = PyModule_GetDict(m);
- if (dict == NULL) {
- /* Internal error -- modules must have a dict! */
- PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
- PyModule_GetName(m));
- return SWIG_ERROR;
- }
- if (PyDict_SetItemString(dict, name, o))
- return SWIG_ERROR;
- Py_DECREF(o);
- return SWIG_OK;
-}
-#endif
-
-SWIGRUNTIME void
-SWIG_Python_DestroyModule(void *vptr)
-{
- swig_module_info *swig_module = (swig_module_info *) vptr;
- swig_type_info **types = swig_module->types;
- size_t i;
- for (i =0; i < swig_module->size; ++i) {
- swig_type_info *ty = types[i];
- if (ty->owndata) {
- SwigPyClientData *data = (SwigPyClientData *) ty->clientdata;
- if (data) SwigPyClientData_Del(data);
- }
- }
- Py_DECREF(SWIG_This());
-}
-
-SWIGRUNTIME void
-SWIG_Python_SetModule(swig_module_info *swig_module) {
- static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
-
-#if PY_VERSION_HEX >= 0x03000000
- /* Add a dummy module object into sys.modules */
- PyObject *module = PyImport_AddModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION);
-#else
- PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
- swig_empty_runtime_method_table);
-#endif
- PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
- if (pointer && module) {
- PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
- } else {
- Py_XDECREF(pointer);
- }
-}
-
-/* The python cached type query */
-SWIGRUNTIME PyObject *
-SWIG_Python_TypeCache(void) {
- static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
- return cache;
-}
-
-SWIGRUNTIME swig_type_info *
-SWIG_Python_TypeQuery(const char *type)
-{
- PyObject *cache = SWIG_Python_TypeCache();
- PyObject *key = SWIG_Python_str_FromChar(type);
- PyObject *obj = PyDict_GetItem(cache, key);
- swig_type_info *descriptor;
- if (obj) {
- descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
- } else {
- swig_module_info *swig_module = SWIG_Python_GetModule();
- descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
- if (descriptor) {
- obj = PyCObject_FromVoidPtr(descriptor, NULL);
- PyDict_SetItem(cache, key, obj);
- Py_DECREF(obj);
- }
- }
- Py_DECREF(key);
- return descriptor;
-}
-
-/*
- For backward compatibility only
-*/
-#define SWIG_POINTER_EXCEPTION 0
-#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
-#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
-
-SWIGRUNTIME int
-SWIG_Python_AddErrMesg(const char* mesg, int infront)
-{
- if (PyErr_Occurred()) {
- PyObject *type = 0;
- PyObject *value = 0;
- PyObject *traceback = 0;
- PyErr_Fetch(&type, &value, &traceback);
- if (value) {
- PyObject *old_str = PyObject_Str(value);
- Py_XINCREF(type);
- PyErr_Clear();
- if (infront) {
- PyErr_Format(type, "%s %s", mesg, SWIG_Python_str_AsChar(old_str));
- } else {
- PyErr_Format(type, "%s %s", SWIG_Python_str_AsChar(old_str), mesg);
- }
- Py_DECREF(old_str);
- }
- return 1;
- } else {
- return 0;
- }
-}
-
-SWIGRUNTIME int
-SWIG_Python_ArgFail(int argnum)
-{
- if (PyErr_Occurred()) {
- /* add information about failing argument */
- char mesg[256];
- PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
- return SWIG_Python_AddErrMesg(mesg, 1);
- } else {
- return 0;
- }
-}
-
-SWIGRUNTIMEINLINE const char *
-SwigPyObject_GetDesc(PyObject *self)
-{
- SwigPyObject *v = (SwigPyObject *)self;
- swig_type_info *ty = v ? v->ty : 0;
- return ty ? ty->str : (char*)"";
-}
-
-SWIGRUNTIME void
-SWIG_Python_TypeError(const char *type, PyObject *obj)
-{
- if (type) {
-#if defined(SWIG_COBJECT_TYPES)
- if (obj && SwigPyObject_Check(obj)) {
- const char *otype = (const char *) SwigPyObject_GetDesc(obj);
- if (otype) {
- PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'SwigPyObject(%s)' is received",
- type, otype);
- return;
- }
- } else
-#endif
- {
- const char *otype = (obj ? obj->ob_type->tp_name : 0);
- if (otype) {
- PyObject *str = PyObject_Str(obj);
- const char *cstr = str ? SWIG_Python_str_AsChar(str) : 0;
- if (cstr) {
- PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
- type, otype, cstr);
- } else {
- PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
- type, otype);
- }
- Py_XDECREF(str);
- return;
- }
- }
- PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
- } else {
- PyErr_Format(PyExc_TypeError, "unexpected type is received");
- }
-}
-
-
-/* Convert a pointer value, signal an exception on a type mismatch */
-SWIGRUNTIME void *
-SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
- void *result;
- if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
- PyErr_Clear();
- if (flags & SWIG_POINTER_EXCEPTION) {
- SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
- SWIG_Python_ArgFail(argnum);
- }
- }
- return result;
-}
-
-
-#ifdef __cplusplus
-#if 0
-{ /* cc-mode */
-#endif
-}
-#endif
-
-
-
-#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
-
-#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
-
-
-/* -----------------------------------------------------------------------------
- * See the LICENSE file for information on copyright, usage and redistribution
- * of SWIG, and the README file for authors - http://www.swig.org/release.html.
- *
- * director.swg
- *
- * This file contains support for director classes that proxy
- * method calls from C++ to Python extensions.
- * ----------------------------------------------------------------------------- */
-
-#ifndef SWIG_DIRECTOR_PYTHON_HEADER_
-#define SWIG_DIRECTOR_PYTHON_HEADER_
-
-#ifdef __cplusplus
-
-#include <string>
-#include <iostream>
-#include <exception>
-#include <vector>
-#include <map>
-
-
-/*
- Use -DSWIG_PYTHON_DIRECTOR_NO_VTABLE if you don't want to generate a 'virtual
- table', and avoid multiple GetAttr calls to retrieve the python
- methods.
-*/
-
-#ifndef SWIG_PYTHON_DIRECTOR_NO_VTABLE
-#ifndef SWIG_PYTHON_DIRECTOR_VTABLE
-#define SWIG_PYTHON_DIRECTOR_VTABLE
-#endif
-#endif
-
-
-
-/*
- Use -DSWIG_DIRECTOR_NO_UEH if you prefer to avoid the use of the
- Undefined Exception Handler provided by swift
-*/
-#ifndef SWIG_DIRECTOR_NO_UEH
-#ifndef SWIG_DIRECTOR_UEH
-#define SWIG_DIRECTOR_UEH
-#endif
-#endif
-
-
-/*
- Use -DSWIG_DIRECTOR_STATIC if you prefer to avoid the use of the
- 'Swig' namespace. This could be usefull for multi-modules projects.
-*/
-#ifdef SWIG_DIRECTOR_STATIC
-/* Force anonymous (static) namespace */
-#define Swig
-#endif
-
-
-/*
- Use -DSWIG_DIRECTOR_NORTTI if you prefer to avoid the use of the
- native C++ RTTI and dynamic_cast<>. But be aware that directors
- could stop working when using this option.
-*/
-#ifdef SWIG_DIRECTOR_NORTTI
-/*
- When we don't use the native C++ RTTI, we implement a minimal one
- only for Directors.
-*/
-# ifndef SWIG_DIRECTOR_RTDIR
-# define SWIG_DIRECTOR_RTDIR
-#include <map>
-
-namespace Swig {
- class Director;
- SWIGINTERN std::map<void*,Director*>& get_rtdir_map() {
- static std::map<void*,Director*> rtdir_map;
- return rtdir_map;
- }
-
- SWIGINTERNINLINE void set_rtdir(void *vptr, Director *rtdir) {
- get_rtdir_map()[vptr] = rtdir;
- }
-
- SWIGINTERNINLINE Director *get_rtdir(void *vptr) {
- std::map<void*,Director*>::const_iterator pos = get_rtdir_map().find(vptr);
- Director *rtdir = (pos != get_rtdir_map().end()) ? pos->second : 0;
- return rtdir;
- }
-}
-# endif /* SWIG_DIRECTOR_RTDIR */
-
-# define SWIG_DIRECTOR_CAST(Arg) Swig::get_rtdir(static_cast<void*>(Arg))
-# define SWIG_DIRECTOR_RGTR(Arg1, Arg2) Swig::set_rtdir(static_cast<void*>(Arg1), Arg2)
-
-#else
-
-# define SWIG_DIRECTOR_CAST(Arg) dynamic_cast<Swig::Director*>(Arg)
-# define SWIG_DIRECTOR_RGTR(Arg1, Arg2)
-
-#endif /* SWIG_DIRECTOR_NORTTI */
-
-extern "C" {
- struct swig_type_info;
-}
-
-namespace Swig {
-
- /* memory handler */
- struct GCItem
- {
- virtual ~GCItem() {}
-
- virtual int get_own() const
- {
- return 0;
- }
- };
-
- struct GCItem_var
- {
- GCItem_var(GCItem *item = 0) : _item(item)
- {
- }
-
- GCItem_var& operator=(GCItem *item)
- {
- GCItem *tmp = _item;
- _item = item;
- delete tmp;
- return *this;
- }
-
- ~GCItem_var()
- {
- delete _item;
- }
-
- GCItem * operator->() const
- {
- return _item;
- }
-
- private:
- GCItem *_item;
- };
-
- struct GCItem_Object : GCItem
- {
- GCItem_Object(int own) : _own(own)
- {
- }
-
- virtual ~GCItem_Object()
- {
- }
-
- int get_own() const
- {
- return _own;
- }
-
- private:
- int _own;
- };
-
- template <typename Type>
- struct GCItem_T : GCItem
- {
- GCItem_T(Type *ptr) : _ptr(ptr)
- {
- }
-
- virtual ~GCItem_T()
- {
- delete _ptr;
- }
-
- private:
- Type *_ptr;
- };
-
- template <typename Type>
- struct GCArray_T : GCItem
- {
- GCArray_T(Type *ptr) : _ptr(ptr)
- {
- }
-
- virtual ~GCArray_T()
- {
- delete[] _ptr;
- }
-
- private:
- Type *_ptr;
- };
-
- /* base class for director exceptions */
- class DirectorException {
- protected:
- std::string swig_msg;
- public:
- DirectorException(PyObject *error, const char* hdr ="", const char* msg ="")
- : swig_msg(hdr)
- {
- SWIG_PYTHON_THREAD_BEGIN_BLOCK;
- if (strlen(msg)) {
- swig_msg += " ";
- swig_msg += msg;
- }
- if (!PyErr_Occurred()) {
- PyErr_SetString(error, getMessage());
- }
- SWIG_PYTHON_THREAD_END_BLOCK;
- }
-
- const char *getMessage() const
- {
- return swig_msg.c_str();
- }
-
- static void raise(PyObject *error, const char *msg)
- {
- throw DirectorException(error, msg);
- }
-
- static void raise(const char *msg)
- {
- raise(PyExc_RuntimeError, msg);
- }
- };
-
- /* unknown exception handler */
- class UnknownExceptionHandler
- {
-#ifdef SWIG_DIRECTOR_UEH
- static void handler() {
- try {
- throw;
- } catch (DirectorException& e) {
- std::cerr << "Swig Director exception caught:" << std::endl
- << e.getMessage() << std::endl;
- } catch (std::exception& e) {
- std::cerr << "std::exception caught: "<< e.what() << std::endl;
- } catch (...) {
- std::cerr << "Unknown exception caught." << std::endl;
- }
-
- std::cerr << std::endl
- << "Python interpreter traceback:" << std::endl;
- PyErr_Print();
- std::cerr << std::endl;
-
- std::cerr << "This exception was caught by the SWIG unexpected exception handler." << std::endl
- << "Try using %feature(\"director:except\") to avoid reaching this point." << std::endl
- << std::endl
- << "Exception is being re-thrown, program will like abort/terminate." << std::endl;
- throw;
- }
-
- public:
-
- std::unexpected_handler old;
- UnknownExceptionHandler(std::unexpected_handler nh = handler)
- {
- old = std::set_unexpected(nh);
- }
-
- ~UnknownExceptionHandler()
- {
- std::set_unexpected(old);
- }
-#endif
- };
-
- /* type mismatch in the return value from a python method call */
- class DirectorTypeMismatchException : public Swig::DirectorException {
- public:
- DirectorTypeMismatchException(PyObject *error, const char* msg="")
- : Swig::DirectorException(error, "Swig director type mismatch", msg)
- {
- }
-
- DirectorTypeMismatchException(const char* msg="")
- : Swig::DirectorException(PyExc_TypeError, "Swig director type mismatch", msg)
- {
- }
-
- static void raise(PyObject *error, const char *msg)
- {
- throw DirectorTypeMismatchException(error, msg);
- }
-
- static void raise(const char *msg)
- {
- throw DirectorTypeMismatchException(msg);
- }
- };
-
- /* any python exception that occurs during a director method call */
- class DirectorMethodException : public Swig::DirectorException {
- public:
- DirectorMethodException(const char* msg = "")
- : DirectorException(PyExc_RuntimeError, "Swig director method error.", msg)
- {
- }
-
- static void raise(const char *msg)
- {
- throw DirectorMethodException(msg);
- }
- };
-
- /* attempt to call a pure virtual method via a director method */
- class DirectorPureVirtualException : public Swig::DirectorException
- {
- public:
- DirectorPureVirtualException(const char* msg = "")
- : DirectorException(PyExc_RuntimeError, "Swig director pure virtual method called", msg)
- {
- }
-
- static void raise(const char *msg)
- {
- throw DirectorPureVirtualException(msg);
- }
- };
-
-
-#if defined(SWIG_PYTHON_THREADS)
-/* __THREAD__ is the old macro to activate some thread support */
-# if !defined(__THREAD__)
-# define __THREAD__ 1
-# endif
-#endif
-
-#ifdef __THREAD__
-# include "pythread.h"
- class Guard
- {
- PyThread_type_lock & mutex_;
-
- public:
- Guard(PyThread_type_lock & mutex) : mutex_(mutex)
- {
- PyThread_acquire_lock(mutex_, WAIT_LOCK);
- }
-
- ~Guard()
- {
- PyThread_release_lock(mutex_);
- }
- };
-# define SWIG_GUARD(mutex) Guard _guard(mutex)
-#else
-# define SWIG_GUARD(mutex)
-#endif
-
- /* director base class */
- class Director {
- private:
- /* pointer to the wrapped python object */
- PyObject* swig_self;
- /* flag indicating whether the object is owned by python or c++ */
- mutable bool swig_disown_flag;
-
- /* decrement the reference count of the wrapped python object */
- void swig_decref() const {
- if (swig_disown_flag) {
- SWIG_PYTHON_THREAD_BEGIN_BLOCK;
- Py_DECREF(swig_self);
- SWIG_PYTHON_THREAD_END_BLOCK;
- }
- }
-
- public:
- /* wrap a python object, optionally taking ownership */
- Director(PyObject* self) : swig_self(self), swig_disown_flag(false) {
- swig_incref();
- }
-
-
- /* discard our reference at destruction */
- virtual ~Director() {
- swig_decref();
- }
-
-
- /* return a pointer to the wrapped python object */
- PyObject *swig_get_self() const {
- return swig_self;
- }
-
- /* acquire ownership of the wrapped python object (the sense of "disown"
- * is from python) */
- void swig_disown() const {
- if (!swig_disown_flag) {
- swig_disown_flag=true;
- swig_incref();
- }
- }
-
- /* increase the reference count of the wrapped python object */
- void swig_incref() const {
- if (swig_disown_flag) {
- Py_INCREF(swig_self);
- }
- }
-
- /* methods to implement pseudo protected director members */
- virtual bool swig_get_inner(const char* /* name */) const {
- return true;
- }
-
- virtual void swig_set_inner(const char* /* name */, bool /* val */) const {
- }
-
- /* ownership management */
- private:
- typedef std::map<void*, GCItem_var> ownership_map;
- mutable ownership_map owner;
-#ifdef __THREAD__
- static PyThread_type_lock swig_mutex_own;
-#endif
-
- public:
- template <typename Type>
- void swig_acquire_ownership_array(Type *vptr) const
- {
- if (vptr) {
- SWIG_GUARD(swig_mutex_own);
- owner[vptr] = new GCArray_T<Type>(vptr);
- }
- }
-
- template <typename Type>
- void swig_acquire_ownership(Type *vptr) const
- {
- if (vptr) {
- SWIG_GUARD(swig_mutex_own);
- owner[vptr] = new GCItem_T<Type>(vptr);
- }
- }
-
- void swig_acquire_ownership_obj(void *vptr, int own) const
- {
- if (vptr && own) {
- SWIG_GUARD(swig_mutex_own);
- owner[vptr] = new GCItem_Object(own);
- }
- }
-
- int swig_release_ownership(void *vptr) const
- {
- int own = 0;
- if (vptr) {
- SWIG_GUARD(swig_mutex_own);
- ownership_map::iterator iter = owner.find(vptr);
- if (iter != owner.end()) {
- own = iter->second->get_own();
- owner.erase(iter);
- }
- }
- return own;
- }
- };
-
-#ifdef __THREAD__
- PyThread_type_lock Director::swig_mutex_own = PyThread_allocate_lock();
-#endif
-}
-
-#endif /* __cplusplus */
-
-
-#endif
-
-/* -------- TYPES TABLE (BEGIN) -------- */
-
-#define SWIGTYPE_p_ActionConfig swig_types[0]
-#define SWIGTYPE_p_CallSession swig_types[1]
-#define SWIGTYPE_p_DDebugCallback swig_types[2]
-#define SWIGTYPE_p_DialogEvent swig_types[3]
-#define SWIGTYPE_p_InviteEvent swig_types[4]
-#define SWIGTYPE_p_InviteSession swig_types[5]
-#define SWIGTYPE_p_MediaContent swig_types[6]
-#define SWIGTYPE_p_MediaContentCPIM swig_types[7]
-#define SWIGTYPE_p_MediaSessionMgr swig_types[8]
-#define SWIGTYPE_p_MessagingEvent swig_types[9]
-#define SWIGTYPE_p_MessagingSession swig_types[10]
-#define SWIGTYPE_p_MsrpCallback swig_types[11]
-#define SWIGTYPE_p_MsrpEvent swig_types[12]
-#define SWIGTYPE_p_MsrpMessage swig_types[13]
-#define SWIGTYPE_p_MsrpSession swig_types[14]
-#define SWIGTYPE_p_OptionsEvent swig_types[15]
-#define SWIGTYPE_p_OptionsSession swig_types[16]
-#define SWIGTYPE_p_ProxyAudioConsumer swig_types[17]
-#define SWIGTYPE_p_ProxyAudioConsumerCallback swig_types[18]
-#define SWIGTYPE_p_ProxyAudioProducer swig_types[19]
-#define SWIGTYPE_p_ProxyAudioProducerCallback swig_types[20]
-#define SWIGTYPE_p_ProxyPlugin swig_types[21]
-#define SWIGTYPE_p_ProxyPluginMgr swig_types[22]
-#define SWIGTYPE_p_ProxyPluginMgrCallback swig_types[23]
-#define SWIGTYPE_p_ProxyVideoConsumer swig_types[24]
-#define SWIGTYPE_p_ProxyVideoConsumerCallback swig_types[25]
-#define SWIGTYPE_p_ProxyVideoFrame swig_types[26]
-#define SWIGTYPE_p_ProxyVideoProducer swig_types[27]
-#define SWIGTYPE_p_ProxyVideoProducerCallback swig_types[28]
-#define SWIGTYPE_p_PublicationEvent swig_types[29]
-#define SWIGTYPE_p_PublicationSession swig_types[30]
-#define SWIGTYPE_p_RPMessage swig_types[31]
-#define SWIGTYPE_p_RegistrationEvent swig_types[32]
-#define SWIGTYPE_p_RegistrationSession swig_types[33]
-#define SWIGTYPE_p_SMSData swig_types[34]
-#define SWIGTYPE_p_SMSEncoder swig_types[35]
-#define SWIGTYPE_p_SafeObject swig_types[36]
-#define SWIGTYPE_p_SdpMessage swig_types[37]
-#define SWIGTYPE_p_SipCallback swig_types[38]
-#define SWIGTYPE_p_SipEvent swig_types[39]
-#define SWIGTYPE_p_SipMessage swig_types[40]
-#define SWIGTYPE_p_SipSession swig_types[41]
-#define SWIGTYPE_p_SipStack swig_types[42]
-#define SWIGTYPE_p_SipUri swig_types[43]
-#define SWIGTYPE_p_StackEvent swig_types[44]
-#define SWIGTYPE_p_SubscriptionEvent swig_types[45]
-#define SWIGTYPE_p_SubscriptionSession swig_types[46]
-#define SWIGTYPE_p_XcapCallback swig_types[47]
-#define SWIGTYPE_p_XcapEvent swig_types[48]
-#define SWIGTYPE_p_XcapMessage swig_types[49]
-#define SWIGTYPE_p_XcapSelector swig_types[50]
-#define SWIGTYPE_p_XcapStack swig_types[51]
-#define SWIGTYPE_p_char swig_types[52]
-#define SWIGTYPE_p_int swig_types[53]
-#define SWIGTYPE_p_long_long swig_types[54]
-#define SWIGTYPE_p_short swig_types[55]
-#define SWIGTYPE_p_signed_char swig_types[56]
-#define SWIGTYPE_p_tdav_codec_id_e swig_types[57]
-#define SWIGTYPE_p_thttp_event_type_e swig_types[58]
-#define SWIGTYPE_p_tmedia_bandwidth_level_e swig_types[59]
-#define SWIGTYPE_p_tmedia_chroma_e swig_types[60]
-#define SWIGTYPE_p_tmedia_qos_strength_e swig_types[61]
-#define SWIGTYPE_p_tmedia_qos_stype_e swig_types[62]
-#define SWIGTYPE_p_tmsrp_event_type_e swig_types[63]
-#define SWIGTYPE_p_tmsrp_request_type_e swig_types[64]
-#define SWIGTYPE_p_tsip_event_type_e swig_types[65]
-#define SWIGTYPE_p_tsip_invite_event_type_e swig_types[66]
-#define SWIGTYPE_p_tsip_message_event_type_e swig_types[67]
-#define SWIGTYPE_p_tsip_options_event_type_e swig_types[68]
-#define SWIGTYPE_p_tsip_publish_event_type_e swig_types[69]
-#define SWIGTYPE_p_tsip_register_event_type_e swig_types[70]
-#define SWIGTYPE_p_tsip_subscribe_event_type_e swig_types[71]
-#define SWIGTYPE_p_tsk_list_t swig_types[72]
-#define SWIGTYPE_p_twrap_media_type_e swig_types[73]
-#define SWIGTYPE_p_twrap_proxy_plugin_type_e swig_types[74]
-#define SWIGTYPE_p_twrap_rpmessage_type_e swig_types[75]
-#define SWIGTYPE_p_twrap_sms_type_e swig_types[76]
-#define SWIGTYPE_p_unsigned_char swig_types[77]
-#define SWIGTYPE_p_unsigned_int swig_types[78]
-#define SWIGTYPE_p_unsigned_long_long swig_types[79]
-#define SWIGTYPE_p_unsigned_short swig_types[80]
-static swig_type_info *swig_types[82];
-static swig_module_info swig_module = {swig_types, 81, 0, 0, 0, 0};
-#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
-#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
-
-/* -------- TYPES TABLE (END) -------- */
-
-#if (PY_VERSION_HEX <= 0x02000000)
-# if !defined(SWIG_PYTHON_CLASSIC)
-# error "This python version requires swig to be run with the '-classic' option"
-# endif
-#endif
-
-/*-----------------------------------------------
- @(target):= _tinyWRAP.so
- ------------------------------------------------*/
-#if PY_VERSION_HEX >= 0x03000000
-# define SWIG_init PyInit__tinyWRAP
-
-#else
-# define SWIG_init init_tinyWRAP
-
-#endif
-#define SWIG_name "_tinyWRAP"
-
-#define SWIGVERSION 0x010339
-#define SWIG_VERSION SWIGVERSION
-
-
-#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
-#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
-
-
-#include <stdexcept>
-
-
-namespace swig {
- class SwigPtr_PyObject {
- protected:
- PyObject *_obj;
-
- public:
- SwigPtr_PyObject() :_obj(0)
- {
- }
-
- SwigPtr_PyObject(const SwigPtr_PyObject& item) : _obj(item._obj)
- {
- Py_XINCREF(_obj);
- }
-
- SwigPtr_PyObject(PyObject *obj, bool initial_ref = true) :_obj(obj)
- {
- if (initial_ref) {
- Py_XINCREF(_obj);
- }
- }
-
- SwigPtr_PyObject & operator=(const SwigPtr_PyObject& item)
- {
- Py_XINCREF(item._obj);
- Py_XDECREF(_obj);
- _obj = item._obj;
- return *this;
- }
-
- ~SwigPtr_PyObject()
- {
- Py_XDECREF(_obj);
- }
-
- operator PyObject *() const
- {
- return _obj;
- }
-
- PyObject *operator->() const
- {
- return _obj;
- }
- };
-}
-
-
-namespace swig {
- struct SwigVar_PyObject : SwigPtr_PyObject {
- SwigVar_PyObject(PyObject* obj = 0) : SwigPtr_PyObject(obj, false) { }
-
- SwigVar_PyObject & operator = (PyObject* obj)
- {
- Py_XDECREF(_obj);
- _obj = obj;
- return *this;
- }
- };
-}
-
-
-#include <stdint.h> // Use the C99 official header
-
-
-#include "DDebug.h"
-
-
-SWIGINTERN swig_type_info*
-SWIG_pchar_descriptor(void)
-{
- static int init = 0;
- static swig_type_info* info = 0;
- if (!init) {
- info = SWIG_TypeQuery("_p_char");
- init = 1;
- }
- return info;
-}
-
-
-SWIGINTERN int
-SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc)
-{
-#if PY_VERSION_HEX>=0x03000000
- if (PyUnicode_Check(obj))
-#else
- if (PyString_Check(obj))
-#endif
- {
- char *cstr; Py_ssize_t len;
-#if PY_VERSION_HEX>=0x03000000
- obj = PyUnicode_AsUTF8String(obj);
- PyBytes_AsStringAndSize(obj, &cstr, &len);
-#else
- PyString_AsStringAndSize(obj, &cstr, &len);
-#endif
- if (cptr) {
- if (alloc) {
- /*
- In python the user should not be able to modify the inner
- string representation. To warranty that, if you define
- SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
- buffer is always returned.
-
- The default behavior is just to return the pointer value,
- so, be careful.
- */
-#if defined(SWIG_PYTHON_SAFE_CSTRINGS)
- if (*alloc != SWIG_OLDOBJ)
-#else
- if (*alloc == SWIG_NEWOBJ)
-#endif
- {
- *cptr = reinterpret_cast< char* >(memcpy((new char[len + 1]), cstr, sizeof(char)*(len + 1)));
- *alloc = SWIG_NEWOBJ;
- }
- else {
- *cptr = cstr;
- *alloc = SWIG_OLDOBJ;
- }
- } else {
- *cptr = SWIG_Python_str_AsChar(obj);
- }
- }
- if (psize) *psize = len + 1;
- return SWIG_OK;
- } else {
- swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
- if (pchar_descriptor) {
- void* vptr = 0;
- if (SWIG_ConvertPtr(obj, &vptr, pchar_descriptor, 0) == SWIG_OK) {
- if (cptr) *cptr = (char *) vptr;
- if (psize) *psize = vptr ? (strlen((char *)vptr) + 1) : 0;
- if (alloc) *alloc = SWIG_OLDOBJ;
- return SWIG_OK;
- }
- }
- }
- return SWIG_TypeError;
-}
-
-
-
-
-
-SWIGINTERNINLINE PyObject *
-SWIG_FromCharPtrAndSize(const char* carray, size_t size)
-{
- if (carray) {
- if (size > INT_MAX) {
- swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
- return pchar_descriptor ?
- SWIG_NewPointerObj(const_cast< char * >(carray), pchar_descriptor, 0) : SWIG_Py_Void();
- } else {
-#if PY_VERSION_HEX >= 0x03000000
- return PyUnicode_FromStringAndSize(carray, static_cast< int >(size));
-#else
- return PyString_FromStringAndSize(carray, static_cast< int >(size));
-#endif
- }
- } else {
- return SWIG_Py_Void();
- }
-}
-
-
-SWIGINTERNINLINE PyObject *
-SWIG_FromCharPtr(const char *cptr)
-{
- return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
-}
-
-
-#include <limits.h>
-#if !defined(SWIG_NO_LLONG_MAX)
-# if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
-# define LLONG_MAX __LONG_LONG_MAX__
-# define LLONG_MIN (-LLONG_MAX - 1LL)
-# define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
-# endif
-#endif
-
-
-SWIGINTERN int
-SWIG_AsVal_double (PyObject *obj, double *val)
-{
- int res = SWIG_TypeError;
- if (PyFloat_Check(obj)) {
- if (val) *val = PyFloat_AsDouble(obj);
- return SWIG_OK;
- } else if (PyInt_Check(obj)) {
- if (val) *val = PyInt_AsLong(obj);
- return SWIG_OK;
- } else if (PyLong_Check(obj)) {
- double v = PyLong_AsDouble(obj);
- if (!PyErr_Occurred()) {
- if (val) *val = v;
- return SWIG_OK;
- } else {
- PyErr_Clear();
- }
- }
-#ifdef SWIG_PYTHON_CAST_MODE
- {
- int dispatch = 0;
- double d = PyFloat_AsDouble(obj);
- if (!PyErr_Occurred()) {
- if (val) *val = d;
- return SWIG_AddCast(SWIG_OK);
- } else {
- PyErr_Clear();
- }
- if (!dispatch) {
- long v = PyLong_AsLong(obj);
- if (!PyErr_Occurred()) {
- if (val) *val = v;
- return SWIG_AddCast(SWIG_AddCast(SWIG_OK));
- } else {
- PyErr_Clear();
- }
- }
- }
-#endif
- return res;
-}
-
-
-#include <float.h>
-
-
-#include <math.h>
-
-
-SWIGINTERNINLINE int
-SWIG_CanCastAsInteger(double *d, double min, double max) {
- double x = *d;
- if ((min <= x && x <= max)) {
- double fx = floor(x);
- double cx = ceil(x);
- double rd = ((x - fx) < 0.5) ? fx : cx; /* simple rint */
- if ((errno == EDOM) || (errno == ERANGE)) {
- errno = 0;
- } else {
- double summ, reps, diff;
- if (rd < x) {
- diff = x - rd;
- } else if (rd > x) {
- diff = rd - x;
- } else {
- return 1;
- }
- summ = rd + x;
- reps = diff/summ;
- if (reps < 8*DBL_EPSILON) {
- *d = rd;
- return 1;
- }
- }
- }
- return 0;
-}
-
-
-SWIGINTERN int
-SWIG_AsVal_long (PyObject *obj, long* val)
-{
- if (PyInt_Check(obj)) {
- if (val) *val = PyInt_AsLong(obj);
- return SWIG_OK;
- } else if (PyLong_Check(obj)) {
- long v = PyLong_AsLong(obj);
- if (!PyErr_Occurred()) {
- if (val) *val = v;
- return SWIG_OK;
- } else {
- PyErr_Clear();
- }
- }
-#ifdef SWIG_PYTHON_CAST_MODE
- {
- int dispatch = 0;
- long v = PyInt_AsLong(obj);
- if (!PyErr_Occurred()) {
- if (val) *val = v;
- return SWIG_AddCast(SWIG_OK);
- } else {
- PyErr_Clear();
- }
- if (!dispatch) {
- double d;
- int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d));
- if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, LONG_MAX)) {
- if (val) *val = (long)(d);
- return res;
- }
- }
- }
-#endif
- return SWIG_TypeError;
-}
-
-
-SWIGINTERN int
-SWIG_AsVal_int (PyObject * obj, int *val)
-{
- long v;
- int res = SWIG_AsVal_long (obj, &v);
- if (SWIG_IsOK(res)) {
- if ((v < INT_MIN || v > INT_MAX)) {
- return SWIG_OverflowError;
- } else {
- if (val) *val = static_cast< int >(v);
- }
- }
- return res;
-}
-
-
- #define SWIG_From_long PyInt_FromLong
-
-
-SWIGINTERNINLINE PyObject *
-SWIG_From_int (int value)
-{
- return SWIG_From_long (value);
-}
-
-
-#include "ActionConfig.h"
-#include "MediaSessionMgr.h"
-#include "MediaContent.h"
-#include "SipUri.h"
-#include "SipMessage.h"
-#include "SipEvent.h"
-#include "SipSession.h"
-
-#include "ProxyPluginMgr.h"
-#include "ProxyConsumer.h"
-#include "ProxyProducer.h"
-
-#include "SipCallback.h"
-#include "SafeObject.h"
-#include "SipStack.h"
-
-
-SWIGINTERNINLINE PyObject*
- SWIG_From_bool (bool value)
-{
- return PyBool_FromLong(value ? 1 : 0);
-}
-
-
-SWIGINTERN int
-SWIG_AsVal_short (PyObject * obj, short *val)
-{
- long v;
- int res = SWIG_AsVal_long (obj, &v);
- if (SWIG_IsOK(res)) {
- if ((v < SHRT_MIN || v > SHRT_MAX)) {
- return SWIG_OverflowError;
- } else {
- if (val) *val = static_cast< short >(v);
- }
- }
- return res;
-}
-
-
-SWIGINTERN int
-SWIG_AsVal_long_SS_long (PyObject *obj, long long *val)
-{
- int res = SWIG_TypeError;
- if (PyLong_Check(obj)) {
- long long v = PyLong_AsLongLong(obj);
- if (!PyErr_Occurred()) {
- if (val) *val = v;
- return SWIG_OK;
- } else {
- PyErr_Clear();
- }
- } else {
- long v;
- res = SWIG_AsVal_long (obj,&v);
- if (SWIG_IsOK(res)) {
- if (val) *val = v;
- return res;
- }
- }
-#ifdef SWIG_PYTHON_CAST_MODE
- {
- const double mant_max = 1LL << DBL_MANT_DIG;
- const double mant_min = -mant_max;
- double d;
- res = SWIG_AsVal_double (obj,&d);
- if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, mant_min, mant_max)) {
- if (val) *val = (long long)(d);
- return SWIG_AddCast(res);
- }
- res = SWIG_TypeError;
- }
-#endif
- return res;
-}
-
-
-SWIGINTERNINLINE PyObject*
-SWIG_From_unsigned_SS_long (unsigned long value)
-{
- return (value > LONG_MAX) ?
- PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
-}
-
-
-SWIGINTERNINLINE PyObject *
-SWIG_From_unsigned_SS_int (unsigned int value)
-{
- return SWIG_From_unsigned_SS_long (value);
-}
-
-
-SWIGINTERN int
-SWIG_AsVal_unsigned_SS_long (PyObject *obj, unsigned long *val)
-{
- if (PyInt_Check(obj)) {
- long v = PyInt_AsLong(obj);
- if (v >= 0) {
- if (val) *val = v;
- return SWIG_OK;
- } else {
- return SWIG_OverflowError;
- }
- } else if (PyLong_Check(obj)) {
- unsigned long v = PyLong_AsUnsignedLong(obj);
- if (!PyErr_Occurred()) {
- if (val) *val = v;
- return SWIG_OK;
- } else {
- PyErr_Clear();
- }
- }
-#ifdef SWIG_PYTHON_CAST_MODE
- {
- int dispatch = 0;
- unsigned long v = PyLong_AsUnsignedLong(obj);
- if (!PyErr_Occurred()) {
- if (val) *val = v;
- return SWIG_AddCast(SWIG_OK);
- } else {
- PyErr_Clear();
- }
- if (!dispatch) {
- double d;
- int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d));
- if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX)) {
- if (val) *val = (unsigned long)(d);
- return res;
- }
- }
- }
-#endif
- return SWIG_TypeError;
-}
-
-
-SWIGINTERN int
-SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
-{
- unsigned long v;
- int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
- if (SWIG_IsOK(res)) {
- if ((v > UINT_MAX)) {
- return SWIG_OverflowError;
- } else {
- if (val) *val = static_cast< unsigned int >(v);
- }
- }
- return res;
-}
-
-
-SWIGINTERNINLINE PyObject *
-SWIG_From_unsigned_SS_short (unsigned short value)
-{
- return SWIG_From_unsigned_SS_long (value);
-}
-
-
-SWIGINTERN int
-SWIG_AsCharArray(PyObject * obj, char *val, size_t size)
-{
- char* cptr = 0; size_t csize = 0; int alloc = SWIG_OLDOBJ;
- int res = SWIG_AsCharPtrAndSize(obj, &cptr, &csize, &alloc);
- if (SWIG_IsOK(res)) {
- if ((csize == size + 1) && cptr && !(cptr[csize-1])) --csize;
- if (csize <= size) {
- if (val) {
- if (csize) memcpy(val, cptr, csize*sizeof(char));
- if (csize < size) memset(val + csize, 0, (size - csize)*sizeof(char));
- }
- if (alloc == SWIG_NEWOBJ) {
- delete[] cptr;
- res = SWIG_DelNewMask(res);
- }
- return res;
- }
- if (alloc == SWIG_NEWOBJ) delete[] cptr;
- }
- return SWIG_TypeError;
-}
-
-
-SWIGINTERN int
-SWIG_AsVal_char (PyObject * obj, char *val)
-{
- int res = SWIG_AsCharArray(obj, val, 1);
- if (!SWIG_IsOK(res)) {
- long v;
- res = SWIG_AddCast(SWIG_AsVal_long (obj, &v));
- if (SWIG_IsOK(res)) {
- if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) {
- if (val) *val = static_cast< char >(v);
- } else {
- res = SWIG_OverflowError;
- }
- }
- }
- return res;
-}
-
-
-SWIGINTERNINLINE PyObject *
-SWIG_From_short (short value)
-{
- return SWIG_From_long (value);
-}
-
-
-SWIGINTERN int
-SWIG_AsVal_bool (PyObject *obj, bool *val)
-{
- int r = PyObject_IsTrue(obj);
- if (r == -1)
- return SWIG_ERROR;
- if (val) *val = r ? true : false;
- return SWIG_OK;
-}
-
-
-SWIGINTERN int
-SWIG_AsVal_unsigned_SS_long_SS_long (PyObject *obj, unsigned long long *val)
-{
- int res = SWIG_TypeError;
- if (PyLong_Check(obj)) {
- unsigned long long v = PyLong_AsUnsignedLongLong(obj);
- if (!PyErr_Occurred()) {
- if (val) *val = v;
- return SWIG_OK;
- } else {
- PyErr_Clear();
- }
- } else {
- unsigned long v;
- res = SWIG_AsVal_unsigned_SS_long (obj,&v);
- if (SWIG_IsOK(res)) {
- if (val) *val = v;
- return res;
- }
- }
-#ifdef SWIG_PYTHON_CAST_MODE
- {
- const double mant_max = 1LL << DBL_MANT_DIG;
- double d;
- res = SWIG_AsVal_double (obj,&d);
- if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, mant_max)) {
- if (val) *val = (unsigned long long)(d);
- return SWIG_AddCast(res);
- }
- res = SWIG_TypeError;
- }
-#endif
- return res;
-}
-
-
-SWIGINTERNINLINE PyObject*
-SWIG_From_long_SS_long (long long value)
-{
- return ((value < LONG_MIN) || (value > LONG_MAX)) ?
- PyLong_FromLongLong(value) : PyInt_FromLong(static_cast< long >(value));
-}
-
-
-SWIGINTERNINLINE PyObject*
-SWIG_From_unsigned_SS_long_SS_long (unsigned long long value)
-{
- return (value > LONG_MAX) ?
- PyLong_FromUnsignedLongLong(value) : PyInt_FromLong(static_cast< long >(value));
-}
-
-
-SWIGINTERN int
-SWIG_AsVal_unsigned_SS_short (PyObject * obj, unsigned short *val)
-{
- unsigned long v;
- int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
- if (SWIG_IsOK(res)) {
- if ((v > USHRT_MAX)) {
- return SWIG_OverflowError;
- } else {
- if (val) *val = static_cast< unsigned short >(v);
- }
- }
- return res;
-}
-
-
-#include "Xcap.h"
-
-
-#include "SMSEncoder.h"
-
-
-#include "Msrp.h"
-
-
-
-/* ---------------------------------------------------
- * C++ director class methods
- * --------------------------------------------------- */
-
-#include "tinyWRAP_wrap.h"
-
-SwigDirector_DDebugCallback::SwigDirector_DDebugCallback(PyObject *self): DDebugCallback(), Swig::Director(self) {
- SWIG_DIRECTOR_RGTR((DDebugCallback *)this, this);
-}
-
-
-
-
-SwigDirector_DDebugCallback::~SwigDirector_DDebugCallback() {
-}
-
-int SwigDirector_DDebugCallback::OnDebugInfo(char const *message) {
- int c_result;
- swig::SwigVar_PyObject obj0;
- obj0 = SWIG_FromCharPtr((const char *)message);
- if (!swig_get_self()) {
- Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call DDebugCallback.__init__.");
- }
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- const size_t swig_method_index = 0;
- const char * const swig_method_name = "OnDebugInfo";
- PyObject* method = swig_get_method(swig_method_index, swig_method_name);
- swig::SwigVar_PyObject result = PyObject_CallFunction(method, (char *)"(O)" ,(PyObject *)obj0);
-#else
- swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (char *)"OnDebugInfo", (char *)"(O)" ,(PyObject *)obj0);
-#endif
- if (result == NULL) {
- PyObject *error = PyErr_Occurred();
- if (error != NULL) {
- Swig::DirectorMethodException::raise("Error detected when calling 'DDebugCallback.OnDebugInfo'");
- }
- }
- int swig_val;
- int swig_res = SWIG_AsVal_int(result, &swig_val);
- if (!SWIG_IsOK(swig_res)) {
- Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'");
- }
- c_result = static_cast< int >(swig_val);
- return (int) c_result;
-}
-
-
-int SwigDirector_DDebugCallback::OnDebugWarn(char const *message) {
- int c_result;
- swig::SwigVar_PyObject obj0;
- obj0 = SWIG_FromCharPtr((const char *)message);
- if (!swig_get_self()) {
- Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call DDebugCallback.__init__.");
- }
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- const size_t swig_method_index = 1;
- const char * const swig_method_name = "OnDebugWarn";
- PyObject* method = swig_get_method(swig_method_index, swig_method_name);
- swig::SwigVar_PyObject result = PyObject_CallFunction(method, (char *)"(O)" ,(PyObject *)obj0);
-#else
- swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (char *)"OnDebugWarn", (char *)"(O)" ,(PyObject *)obj0);
-#endif
- if (result == NULL) {
- PyObject *error = PyErr_Occurred();
- if (error != NULL) {
- Swig::DirectorMethodException::raise("Error detected when calling 'DDebugCallback.OnDebugWarn'");
- }
- }
- int swig_val;
- int swig_res = SWIG_AsVal_int(result, &swig_val);
- if (!SWIG_IsOK(swig_res)) {
- Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'");
- }
- c_result = static_cast< int >(swig_val);
- return (int) c_result;
-}
-
-
-int SwigDirector_DDebugCallback::OnDebugError(char const *message) {
- int c_result;
- swig::SwigVar_PyObject obj0;
- obj0 = SWIG_FromCharPtr((const char *)message);
- if (!swig_get_self()) {
- Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call DDebugCallback.__init__.");
- }
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- const size_t swig_method_index = 2;
- const char * const swig_method_name = "OnDebugError";
- PyObject* method = swig_get_method(swig_method_index, swig_method_name);
- swig::SwigVar_PyObject result = PyObject_CallFunction(method, (char *)"(O)" ,(PyObject *)obj0);
-#else
- swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (char *)"OnDebugError", (char *)"(O)" ,(PyObject *)obj0);
-#endif
- if (result == NULL) {
- PyObject *error = PyErr_Occurred();
- if (error != NULL) {
- Swig::DirectorMethodException::raise("Error detected when calling 'DDebugCallback.OnDebugError'");
- }
- }
- int swig_val;
- int swig_res = SWIG_AsVal_int(result, &swig_val);
- if (!SWIG_IsOK(swig_res)) {
- Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'");
- }
- c_result = static_cast< int >(swig_val);
- return (int) c_result;
-}
-
-
-int SwigDirector_DDebugCallback::OnDebugFatal(char const *message) {
- int c_result;
- swig::SwigVar_PyObject obj0;
- obj0 = SWIG_FromCharPtr((const char *)message);
- if (!swig_get_self()) {
- Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call DDebugCallback.__init__.");
- }
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- const size_t swig_method_index = 3;
- const char * const swig_method_name = "OnDebugFatal";
- PyObject* method = swig_get_method(swig_method_index, swig_method_name);
- swig::SwigVar_PyObject result = PyObject_CallFunction(method, (char *)"(O)" ,(PyObject *)obj0);
-#else
- swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (char *)"OnDebugFatal", (char *)"(O)" ,(PyObject *)obj0);
-#endif
- if (result == NULL) {
- PyObject *error = PyErr_Occurred();
- if (error != NULL) {
- Swig::DirectorMethodException::raise("Error detected when calling 'DDebugCallback.OnDebugFatal'");
- }
- }
- int swig_val;
- int swig_res = SWIG_AsVal_int(result, &swig_val);
- if (!SWIG_IsOK(swig_res)) {
- Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'");
- }
- c_result = static_cast< int >(swig_val);
- return (int) c_result;
-}
-
-
-SwigDirector_ProxyPluginMgrCallback::SwigDirector_ProxyPluginMgrCallback(PyObject *self): ProxyPluginMgrCallback(), Swig::Director(self) {
- SWIG_DIRECTOR_RGTR((ProxyPluginMgrCallback *)this, this);
-}
-
-
-
-
-SwigDirector_ProxyPluginMgrCallback::~SwigDirector_ProxyPluginMgrCallback() {
-}
-
-int SwigDirector_ProxyPluginMgrCallback::OnPluginCreated(uint64_t id, enum twrap_proxy_plugin_type_e type) {
- int c_result;
- swig::SwigVar_PyObject obj0;
- obj0 = SWIG_From_unsigned_SS_long_SS_long(static_cast< unsigned long long >(id));
- swig::SwigVar_PyObject obj1;
- obj1 = SWIG_From_int(static_cast< int >(type));
- if (!swig_get_self()) {
- Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call ProxyPluginMgrCallback.__init__.");
- }
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- const size_t swig_method_index = 0;
- const char * const swig_method_name = "OnPluginCreated";
- PyObject* method = swig_get_method(swig_method_index, swig_method_name);
- swig::SwigVar_PyObject result = PyObject_CallFunction(method, (char *)"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
-#else
- swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (char *)"OnPluginCreated", (char *)"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
-#endif
- if (result == NULL) {
- PyObject *error = PyErr_Occurred();
- if (error != NULL) {
- Swig::DirectorMethodException::raise("Error detected when calling 'ProxyPluginMgrCallback.OnPluginCreated'");
- }
- }
- int swig_val;
- int swig_res = SWIG_AsVal_int(result, &swig_val);
- if (!SWIG_IsOK(swig_res)) {
- Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'");
- }
- c_result = static_cast< int >(swig_val);
- return (int) c_result;
-}
-
-
-int SwigDirector_ProxyPluginMgrCallback::OnPluginDestroyed(uint64_t id, enum twrap_proxy_plugin_type_e type) {
- int c_result;
- swig::SwigVar_PyObject obj0;
- obj0 = SWIG_From_unsigned_SS_long_SS_long(static_cast< unsigned long long >(id));
- swig::SwigVar_PyObject obj1;
- obj1 = SWIG_From_int(static_cast< int >(type));
- if (!swig_get_self()) {
- Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call ProxyPluginMgrCallback.__init__.");
- }
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- const size_t swig_method_index = 1;
- const char * const swig_method_name = "OnPluginDestroyed";
- PyObject* method = swig_get_method(swig_method_index, swig_method_name);
- swig::SwigVar_PyObject result = PyObject_CallFunction(method, (char *)"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
-#else
- swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (char *)"OnPluginDestroyed", (char *)"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
-#endif
- if (result == NULL) {
- PyObject *error = PyErr_Occurred();
- if (error != NULL) {
- Swig::DirectorMethodException::raise("Error detected when calling 'ProxyPluginMgrCallback.OnPluginDestroyed'");
- }
- }
- int swig_val;
- int swig_res = SWIG_AsVal_int(result, &swig_val);
- if (!SWIG_IsOK(swig_res)) {
- Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'");
- }
- c_result = static_cast< int >(swig_val);
- return (int) c_result;
-}
-
-
-SwigDirector_ProxyAudioConsumerCallback::SwigDirector_ProxyAudioConsumerCallback(PyObject *self): ProxyAudioConsumerCallback(), Swig::Director(self) {
- SWIG_DIRECTOR_RGTR((ProxyAudioConsumerCallback *)this, this);
-}
-
-
-
-
-SwigDirector_ProxyAudioConsumerCallback::~SwigDirector_ProxyAudioConsumerCallback() {
-}
-
-int SwigDirector_ProxyAudioConsumerCallback::prepare(int ptime, int rate, int channels) {
- int c_result;
- swig::SwigVar_PyObject obj0;
- obj0 = SWIG_From_int(static_cast< int >(ptime));
- swig::SwigVar_PyObject obj1;
- obj1 = SWIG_From_int(static_cast< int >(rate));
- swig::SwigVar_PyObject obj2;
- obj2 = SWIG_From_int(static_cast< int >(channels));
- if (!swig_get_self()) {
- Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call ProxyAudioConsumerCallback.__init__.");
- }
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- const size_t swig_method_index = 0;
- const char * const swig_method_name = "prepare";
- PyObject* method = swig_get_method(swig_method_index, swig_method_name);
- swig::SwigVar_PyObject result = PyObject_CallFunction(method, (char *)"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
-#else
- swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (char *)"prepare", (char *)"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
-#endif
- if (result == NULL) {
- PyObject *error = PyErr_Occurred();
- if (error != NULL) {
- Swig::DirectorMethodException::raise("Error detected when calling 'ProxyAudioConsumerCallback.prepare'");
- }
- }
- int swig_val;
- int swig_res = SWIG_AsVal_int(result, &swig_val);
- if (!SWIG_IsOK(swig_res)) {
- Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'");
- }
- c_result = static_cast< int >(swig_val);
- return (int) c_result;
-}
-
-
-int SwigDirector_ProxyAudioConsumerCallback::start() {
- int c_result;
- if (!swig_get_self()) {
- Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call ProxyAudioConsumerCallback.__init__.");
- }
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- const size_t swig_method_index = 1;
- const char * const swig_method_name = "start";
- PyObject* method = swig_get_method(swig_method_index, swig_method_name);
- swig::SwigVar_PyObject result = PyObject_CallFunction(method, NULL, NULL);
-#else
- swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (char *) "start", NULL);
-#endif
- if (result == NULL) {
- PyObject *error = PyErr_Occurred();
- if (error != NULL) {
- Swig::DirectorMethodException::raise("Error detected when calling 'ProxyAudioConsumerCallback.start'");
- }
- }
- int swig_val;
- int swig_res = SWIG_AsVal_int(result, &swig_val);
- if (!SWIG_IsOK(swig_res)) {
- Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'");
- }
- c_result = static_cast< int >(swig_val);
- return (int) c_result;
-}
-
-
-int SwigDirector_ProxyAudioConsumerCallback::pause() {
- int c_result;
- if (!swig_get_self()) {
- Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call ProxyAudioConsumerCallback.__init__.");
- }
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- const size_t swig_method_index = 2;
- const char * const swig_method_name = "pause";
- PyObject* method = swig_get_method(swig_method_index, swig_method_name);
- swig::SwigVar_PyObject result = PyObject_CallFunction(method, NULL, NULL);
-#else
- swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (char *) "pause", NULL);
-#endif
- if (result == NULL) {
- PyObject *error = PyErr_Occurred();
- if (error != NULL) {
- Swig::DirectorMethodException::raise("Error detected when calling 'ProxyAudioConsumerCallback.pause'");
- }
- }
- int swig_val;
- int swig_res = SWIG_AsVal_int(result, &swig_val);
- if (!SWIG_IsOK(swig_res)) {
- Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'");
- }
- c_result = static_cast< int >(swig_val);
- return (int) c_result;
-}
-
-
-int SwigDirector_ProxyAudioConsumerCallback::stop() {
- int c_result;
- if (!swig_get_self()) {
- Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call ProxyAudioConsumerCallback.__init__.");
- }
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- const size_t swig_method_index = 3;
- const char * const swig_method_name = "stop";
- PyObject* method = swig_get_method(swig_method_index, swig_method_name);
- swig::SwigVar_PyObject result = PyObject_CallFunction(method, NULL, NULL);
-#else
- swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (char *) "stop", NULL);
-#endif
- if (result == NULL) {
- PyObject *error = PyErr_Occurred();
- if (error != NULL) {
- Swig::DirectorMethodException::raise("Error detected when calling 'ProxyAudioConsumerCallback.stop'");
- }
- }
- int swig_val;
- int swig_res = SWIG_AsVal_int(result, &swig_val);
- if (!SWIG_IsOK(swig_res)) {
- Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'");
- }
- c_result = static_cast< int >(swig_val);
- return (int) c_result;
-}
-
-
-SwigDirector_ProxyVideoConsumerCallback::SwigDirector_ProxyVideoConsumerCallback(PyObject *self): ProxyVideoConsumerCallback(), Swig::Director(self) {
- SWIG_DIRECTOR_RGTR((ProxyVideoConsumerCallback *)this, this);
-}
-
-
-
-
-SwigDirector_ProxyVideoConsumerCallback::~SwigDirector_ProxyVideoConsumerCallback() {
-}
-
-int SwigDirector_ProxyVideoConsumerCallback::prepare(int width, int height, int fps) {
- int c_result;
- swig::SwigVar_PyObject obj0;
- obj0 = SWIG_From_int(static_cast< int >(width));
- swig::SwigVar_PyObject obj1;
- obj1 = SWIG_From_int(static_cast< int >(height));
- swig::SwigVar_PyObject obj2;
- obj2 = SWIG_From_int(static_cast< int >(fps));
- if (!swig_get_self()) {
- Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call ProxyVideoConsumerCallback.__init__.");
- }
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- const size_t swig_method_index = 0;
- const char * const swig_method_name = "prepare";
- PyObject* method = swig_get_method(swig_method_index, swig_method_name);
- swig::SwigVar_PyObject result = PyObject_CallFunction(method, (char *)"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
-#else
- swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (char *)"prepare", (char *)"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
-#endif
- if (result == NULL) {
- PyObject *error = PyErr_Occurred();
- if (error != NULL) {
- Swig::DirectorMethodException::raise("Error detected when calling 'ProxyVideoConsumerCallback.prepare'");
- }
- }
- int swig_val;
- int swig_res = SWIG_AsVal_int(result, &swig_val);
- if (!SWIG_IsOK(swig_res)) {
- Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'");
- }
- c_result = static_cast< int >(swig_val);
- return (int) c_result;
-}
-
-
-int SwigDirector_ProxyVideoConsumerCallback::consume(ProxyVideoFrame const *frame) {
- int c_result;
- swig::SwigVar_PyObject obj0;
- obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(frame), SWIGTYPE_p_ProxyVideoFrame, 0 );
- if (!swig_get_self()) {
- Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call ProxyVideoConsumerCallback.__init__.");
- }
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- const size_t swig_method_index = 1;
- const char * const swig_method_name = "consume";
- PyObject* method = swig_get_method(swig_method_index, swig_method_name);
- swig::SwigVar_PyObject result = PyObject_CallFunction(method, (char *)"(O)" ,(PyObject *)obj0);
-#else
- swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (char *)"consume", (char *)"(O)" ,(PyObject *)obj0);
-#endif
- if (result == NULL) {
- PyObject *error = PyErr_Occurred();
- if (error != NULL) {
- Swig::DirectorMethodException::raise("Error detected when calling 'ProxyVideoConsumerCallback.consume'");
- }
- }
- int swig_val;
- int swig_res = SWIG_AsVal_int(result, &swig_val);
- if (!SWIG_IsOK(swig_res)) {
- Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'");
- }
- c_result = static_cast< int >(swig_val);
- return (int) c_result;
-}
-
-
-int SwigDirector_ProxyVideoConsumerCallback::start() {
- int c_result;
- if (!swig_get_self()) {
- Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call ProxyVideoConsumerCallback.__init__.");
- }
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- const size_t swig_method_index = 2;
- const char * const swig_method_name = "start";
- PyObject* method = swig_get_method(swig_method_index, swig_method_name);
- swig::SwigVar_PyObject result = PyObject_CallFunction(method, NULL, NULL);
-#else
- swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (char *) "start", NULL);
-#endif
- if (result == NULL) {
- PyObject *error = PyErr_Occurred();
- if (error != NULL) {
- Swig::DirectorMethodException::raise("Error detected when calling 'ProxyVideoConsumerCallback.start'");
- }
- }
- int swig_val;
- int swig_res = SWIG_AsVal_int(result, &swig_val);
- if (!SWIG_IsOK(swig_res)) {
- Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'");
- }
- c_result = static_cast< int >(swig_val);
- return (int) c_result;
-}
-
-
-int SwigDirector_ProxyVideoConsumerCallback::pause() {
- int c_result;
- if (!swig_get_self()) {
- Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call ProxyVideoConsumerCallback.__init__.");
- }
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- const size_t swig_method_index = 3;
- const char * const swig_method_name = "pause";
- PyObject* method = swig_get_method(swig_method_index, swig_method_name);
- swig::SwigVar_PyObject result = PyObject_CallFunction(method, NULL, NULL);
-#else
- swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (char *) "pause", NULL);
-#endif
- if (result == NULL) {
- PyObject *error = PyErr_Occurred();
- if (error != NULL) {
- Swig::DirectorMethodException::raise("Error detected when calling 'ProxyVideoConsumerCallback.pause'");
- }
- }
- int swig_val;
- int swig_res = SWIG_AsVal_int(result, &swig_val);
- if (!SWIG_IsOK(swig_res)) {
- Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'");
- }
- c_result = static_cast< int >(swig_val);
- return (int) c_result;
-}
-
-
-int SwigDirector_ProxyVideoConsumerCallback::stop() {
- int c_result;
- if (!swig_get_self()) {
- Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call ProxyVideoConsumerCallback.__init__.");
- }
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- const size_t swig_method_index = 4;
- const char * const swig_method_name = "stop";
- PyObject* method = swig_get_method(swig_method_index, swig_method_name);
- swig::SwigVar_PyObject result = PyObject_CallFunction(method, NULL, NULL);
-#else
- swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (char *) "stop", NULL);
-#endif
- if (result == NULL) {
- PyObject *error = PyErr_Occurred();
- if (error != NULL) {
- Swig::DirectorMethodException::raise("Error detected when calling 'ProxyVideoConsumerCallback.stop'");
- }
- }
- int swig_val;
- int swig_res = SWIG_AsVal_int(result, &swig_val);
- if (!SWIG_IsOK(swig_res)) {
- Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'");
- }
- c_result = static_cast< int >(swig_val);
- return (int) c_result;
-}
-
-
-SwigDirector_ProxyAudioProducerCallback::SwigDirector_ProxyAudioProducerCallback(PyObject *self): ProxyAudioProducerCallback(), Swig::Director(self) {
- SWIG_DIRECTOR_RGTR((ProxyAudioProducerCallback *)this, this);
-}
-
-
-
-
-SwigDirector_ProxyAudioProducerCallback::~SwigDirector_ProxyAudioProducerCallback() {
-}
-
-int SwigDirector_ProxyAudioProducerCallback::prepare(int ptime, int rate, int channels) {
- int c_result;
- swig::SwigVar_PyObject obj0;
- obj0 = SWIG_From_int(static_cast< int >(ptime));
- swig::SwigVar_PyObject obj1;
- obj1 = SWIG_From_int(static_cast< int >(rate));
- swig::SwigVar_PyObject obj2;
- obj2 = SWIG_From_int(static_cast< int >(channels));
- if (!swig_get_self()) {
- Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call ProxyAudioProducerCallback.__init__.");
- }
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- const size_t swig_method_index = 0;
- const char * const swig_method_name = "prepare";
- PyObject* method = swig_get_method(swig_method_index, swig_method_name);
- swig::SwigVar_PyObject result = PyObject_CallFunction(method, (char *)"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
-#else
- swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (char *)"prepare", (char *)"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
-#endif
- if (result == NULL) {
- PyObject *error = PyErr_Occurred();
- if (error != NULL) {
- Swig::DirectorMethodException::raise("Error detected when calling 'ProxyAudioProducerCallback.prepare'");
- }
- }
- int swig_val;
- int swig_res = SWIG_AsVal_int(result, &swig_val);
- if (!SWIG_IsOK(swig_res)) {
- Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'");
- }
- c_result = static_cast< int >(swig_val);
- return (int) c_result;
-}
-
-
-int SwigDirector_ProxyAudioProducerCallback::start() {
- int c_result;
- if (!swig_get_self()) {
- Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call ProxyAudioProducerCallback.__init__.");
- }
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- const size_t swig_method_index = 1;
- const char * const swig_method_name = "start";
- PyObject* method = swig_get_method(swig_method_index, swig_method_name);
- swig::SwigVar_PyObject result = PyObject_CallFunction(method, NULL, NULL);
-#else
- swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (char *) "start", NULL);
-#endif
- if (result == NULL) {
- PyObject *error = PyErr_Occurred();
- if (error != NULL) {
- Swig::DirectorMethodException::raise("Error detected when calling 'ProxyAudioProducerCallback.start'");
- }
- }
- int swig_val;
- int swig_res = SWIG_AsVal_int(result, &swig_val);
- if (!SWIG_IsOK(swig_res)) {
- Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'");
- }
- c_result = static_cast< int >(swig_val);
- return (int) c_result;
-}
-
-
-int SwigDirector_ProxyAudioProducerCallback::pause() {
- int c_result;
- if (!swig_get_self()) {
- Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call ProxyAudioProducerCallback.__init__.");
- }
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- const size_t swig_method_index = 2;
- const char * const swig_method_name = "pause";
- PyObject* method = swig_get_method(swig_method_index, swig_method_name);
- swig::SwigVar_PyObject result = PyObject_CallFunction(method, NULL, NULL);
-#else
- swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (char *) "pause", NULL);
-#endif
- if (result == NULL) {
- PyObject *error = PyErr_Occurred();
- if (error != NULL) {
- Swig::DirectorMethodException::raise("Error detected when calling 'ProxyAudioProducerCallback.pause'");
- }
- }
- int swig_val;
- int swig_res = SWIG_AsVal_int(result, &swig_val);
- if (!SWIG_IsOK(swig_res)) {
- Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'");
- }
- c_result = static_cast< int >(swig_val);
- return (int) c_result;
-}
-
-
-int SwigDirector_ProxyAudioProducerCallback::stop() {
- int c_result;
- if (!swig_get_self()) {
- Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call ProxyAudioProducerCallback.__init__.");
- }
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- const size_t swig_method_index = 3;
- const char * const swig_method_name = "stop";
- PyObject* method = swig_get_method(swig_method_index, swig_method_name);
- swig::SwigVar_PyObject result = PyObject_CallFunction(method, NULL, NULL);
-#else
- swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (char *) "stop", NULL);
-#endif
- if (result == NULL) {
- PyObject *error = PyErr_Occurred();
- if (error != NULL) {
- Swig::DirectorMethodException::raise("Error detected when calling 'ProxyAudioProducerCallback.stop'");
- }
- }
- int swig_val;
- int swig_res = SWIG_AsVal_int(result, &swig_val);
- if (!SWIG_IsOK(swig_res)) {
- Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'");
- }
- c_result = static_cast< int >(swig_val);
- return (int) c_result;
-}
-
-
-SwigDirector_ProxyVideoProducerCallback::SwigDirector_ProxyVideoProducerCallback(PyObject *self): ProxyVideoProducerCallback(), Swig::Director(self) {
- SWIG_DIRECTOR_RGTR((ProxyVideoProducerCallback *)this, this);
-}
-
-
-
-
-SwigDirector_ProxyVideoProducerCallback::~SwigDirector_ProxyVideoProducerCallback() {
-}
-
-int SwigDirector_ProxyVideoProducerCallback::prepare(int width, int height, int fps) {
- int c_result;
- swig::SwigVar_PyObject obj0;
- obj0 = SWIG_From_int(static_cast< int >(width));
- swig::SwigVar_PyObject obj1;
- obj1 = SWIG_From_int(static_cast< int >(height));
- swig::SwigVar_PyObject obj2;
- obj2 = SWIG_From_int(static_cast< int >(fps));
- if (!swig_get_self()) {
- Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call ProxyVideoProducerCallback.__init__.");
- }
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- const size_t swig_method_index = 0;
- const char * const swig_method_name = "prepare";
- PyObject* method = swig_get_method(swig_method_index, swig_method_name);
- swig::SwigVar_PyObject result = PyObject_CallFunction(method, (char *)"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
-#else
- swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (char *)"prepare", (char *)"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
-#endif
- if (result == NULL) {
- PyObject *error = PyErr_Occurred();
- if (error != NULL) {
- Swig::DirectorMethodException::raise("Error detected when calling 'ProxyVideoProducerCallback.prepare'");
- }
- }
- int swig_val;
- int swig_res = SWIG_AsVal_int(result, &swig_val);
- if (!SWIG_IsOK(swig_res)) {
- Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'");
- }
- c_result = static_cast< int >(swig_val);
- return (int) c_result;
-}
-
-
-int SwigDirector_ProxyVideoProducerCallback::start() {
- int c_result;
- if (!swig_get_self()) {
- Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call ProxyVideoProducerCallback.__init__.");
- }
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- const size_t swig_method_index = 1;
- const char * const swig_method_name = "start";
- PyObject* method = swig_get_method(swig_method_index, swig_method_name);
- swig::SwigVar_PyObject result = PyObject_CallFunction(method, NULL, NULL);
-#else
- swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (char *) "start", NULL);
-#endif
- if (result == NULL) {
- PyObject *error = PyErr_Occurred();
- if (error != NULL) {
- Swig::DirectorMethodException::raise("Error detected when calling 'ProxyVideoProducerCallback.start'");
- }
- }
- int swig_val;
- int swig_res = SWIG_AsVal_int(result, &swig_val);
- if (!SWIG_IsOK(swig_res)) {
- Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'");
- }
- c_result = static_cast< int >(swig_val);
- return (int) c_result;
-}
-
-
-int SwigDirector_ProxyVideoProducerCallback::pause() {
- int c_result;
- if (!swig_get_self()) {
- Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call ProxyVideoProducerCallback.__init__.");
- }
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- const size_t swig_method_index = 2;
- const char * const swig_method_name = "pause";
- PyObject* method = swig_get_method(swig_method_index, swig_method_name);
- swig::SwigVar_PyObject result = PyObject_CallFunction(method, NULL, NULL);
-#else
- swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (char *) "pause", NULL);
-#endif
- if (result == NULL) {
- PyObject *error = PyErr_Occurred();
- if (error != NULL) {
- Swig::DirectorMethodException::raise("Error detected when calling 'ProxyVideoProducerCallback.pause'");
- }
- }
- int swig_val;
- int swig_res = SWIG_AsVal_int(result, &swig_val);
- if (!SWIG_IsOK(swig_res)) {
- Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'");
- }
- c_result = static_cast< int >(swig_val);
- return (int) c_result;
-}
-
-
-int SwigDirector_ProxyVideoProducerCallback::stop() {
- int c_result;
- if (!swig_get_self()) {
- Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call ProxyVideoProducerCallback.__init__.");
- }
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- const size_t swig_method_index = 3;
- const char * const swig_method_name = "stop";
- PyObject* method = swig_get_method(swig_method_index, swig_method_name);
- swig::SwigVar_PyObject result = PyObject_CallFunction(method, NULL, NULL);
-#else
- swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (char *) "stop", NULL);
-#endif
- if (result == NULL) {
- PyObject *error = PyErr_Occurred();
- if (error != NULL) {
- Swig::DirectorMethodException::raise("Error detected when calling 'ProxyVideoProducerCallback.stop'");
- }
- }
- int swig_val;
- int swig_res = SWIG_AsVal_int(result, &swig_val);
- if (!SWIG_IsOK(swig_res)) {
- Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'");
- }
- c_result = static_cast< int >(swig_val);
- return (int) c_result;
-}
-
-
-SwigDirector_SipCallback::SwigDirector_SipCallback(PyObject *self): SipCallback(), Swig::Director(self) {
- SWIG_DIRECTOR_RGTR((SipCallback *)this, this);
-}
-
-
-
-
-SwigDirector_SipCallback::~SwigDirector_SipCallback() {
-}
-
-int SwigDirector_SipCallback::OnDialogEvent(DialogEvent const *e) {
- int c_result;
- swig::SwigVar_PyObject obj0;
- obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(e), SWIGTYPE_p_DialogEvent, 0 );
- if (!swig_get_self()) {
- Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call SipCallback.__init__.");
- }
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- const size_t swig_method_index = 0;
- const char * const swig_method_name = "OnDialogEvent";
- PyObject* method = swig_get_method(swig_method_index, swig_method_name);
- swig::SwigVar_PyObject result = PyObject_CallFunction(method, (char *)"(O)" ,(PyObject *)obj0);
-#else
- swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (char *)"OnDialogEvent", (char *)"(O)" ,(PyObject *)obj0);
-#endif
- if (result == NULL) {
- PyObject *error = PyErr_Occurred();
- if (error != NULL) {
- Swig::DirectorMethodException::raise("Error detected when calling 'SipCallback.OnDialogEvent'");
- }
- }
- int swig_val;
- int swig_res = SWIG_AsVal_int(result, &swig_val);
- if (!SWIG_IsOK(swig_res)) {
- Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'");
- }
- c_result = static_cast< int >(swig_val);
- return (int) c_result;
-}
-
-
-int SwigDirector_SipCallback::OnStackEvent(StackEvent const *e) {
- int c_result;
- swig::SwigVar_PyObject obj0;
- obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(e), SWIGTYPE_p_StackEvent, 0 );
- if (!swig_get_self()) {
- Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call SipCallback.__init__.");
- }
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- const size_t swig_method_index = 1;
- const char * const swig_method_name = "OnStackEvent";
- PyObject* method = swig_get_method(swig_method_index, swig_method_name);
- swig::SwigVar_PyObject result = PyObject_CallFunction(method, (char *)"(O)" ,(PyObject *)obj0);
-#else
- swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (char *)"OnStackEvent", (char *)"(O)" ,(PyObject *)obj0);
-#endif
- if (result == NULL) {
- PyObject *error = PyErr_Occurred();
- if (error != NULL) {
- Swig::DirectorMethodException::raise("Error detected when calling 'SipCallback.OnStackEvent'");
- }
- }
- int swig_val;
- int swig_res = SWIG_AsVal_int(result, &swig_val);
- if (!SWIG_IsOK(swig_res)) {
- Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'");
- }
- c_result = static_cast< int >(swig_val);
- return (int) c_result;
-}
-
-
-int SwigDirector_SipCallback::OnInviteEvent(InviteEvent const *e) {
- int c_result;
- swig::SwigVar_PyObject obj0;
- obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(e), SWIGTYPE_p_InviteEvent, 0 );
- if (!swig_get_self()) {
- Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call SipCallback.__init__.");
- }
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- const size_t swig_method_index = 2;
- const char * const swig_method_name = "OnInviteEvent";
- PyObject* method = swig_get_method(swig_method_index, swig_method_name);
- swig::SwigVar_PyObject result = PyObject_CallFunction(method, (char *)"(O)" ,(PyObject *)obj0);
-#else
- swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (char *)"OnInviteEvent", (char *)"(O)" ,(PyObject *)obj0);
-#endif
- if (result == NULL) {
- PyObject *error = PyErr_Occurred();
- if (error != NULL) {
- Swig::DirectorMethodException::raise("Error detected when calling 'SipCallback.OnInviteEvent'");
- }
- }
- int swig_val;
- int swig_res = SWIG_AsVal_int(result, &swig_val);
- if (!SWIG_IsOK(swig_res)) {
- Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'");
- }
- c_result = static_cast< int >(swig_val);
- return (int) c_result;
-}
-
-
-int SwigDirector_SipCallback::OnMessagingEvent(MessagingEvent const *e) {
- int c_result;
- swig::SwigVar_PyObject obj0;
- obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(e), SWIGTYPE_p_MessagingEvent, 0 );
- if (!swig_get_self()) {
- Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call SipCallback.__init__.");
- }
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- const size_t swig_method_index = 3;
- const char * const swig_method_name = "OnMessagingEvent";
- PyObject* method = swig_get_method(swig_method_index, swig_method_name);
- swig::SwigVar_PyObject result = PyObject_CallFunction(method, (char *)"(O)" ,(PyObject *)obj0);
-#else
- swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (char *)"OnMessagingEvent", (char *)"(O)" ,(PyObject *)obj0);
-#endif
- if (result == NULL) {
- PyObject *error = PyErr_Occurred();
- if (error != NULL) {
- Swig::DirectorMethodException::raise("Error detected when calling 'SipCallback.OnMessagingEvent'");
- }
- }
- int swig_val;
- int swig_res = SWIG_AsVal_int(result, &swig_val);
- if (!SWIG_IsOK(swig_res)) {
- Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'");
- }
- c_result = static_cast< int >(swig_val);
- return (int) c_result;
-}
-
-
-int SwigDirector_SipCallback::OnOptionsEvent(OptionsEvent const *e) {
- int c_result;
- swig::SwigVar_PyObject obj0;
- obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(e), SWIGTYPE_p_OptionsEvent, 0 );
- if (!swig_get_self()) {
- Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call SipCallback.__init__.");
- }
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- const size_t swig_method_index = 4;
- const char * const swig_method_name = "OnOptionsEvent";
- PyObject* method = swig_get_method(swig_method_index, swig_method_name);
- swig::SwigVar_PyObject result = PyObject_CallFunction(method, (char *)"(O)" ,(PyObject *)obj0);
-#else
- swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (char *)"OnOptionsEvent", (char *)"(O)" ,(PyObject *)obj0);
-#endif
- if (result == NULL) {
- PyObject *error = PyErr_Occurred();
- if (error != NULL) {
- Swig::DirectorMethodException::raise("Error detected when calling 'SipCallback.OnOptionsEvent'");
- }
- }
- int swig_val;
- int swig_res = SWIG_AsVal_int(result, &swig_val);
- if (!SWIG_IsOK(swig_res)) {
- Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'");
- }
- c_result = static_cast< int >(swig_val);
- return (int) c_result;
-}
-
-
-int SwigDirector_SipCallback::OnPublicationEvent(PublicationEvent const *e) {
- int c_result;
- swig::SwigVar_PyObject obj0;
- obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(e), SWIGTYPE_p_PublicationEvent, 0 );
- if (!swig_get_self()) {
- Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call SipCallback.__init__.");
- }
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- const size_t swig_method_index = 5;
- const char * const swig_method_name = "OnPublicationEvent";
- PyObject* method = swig_get_method(swig_method_index, swig_method_name);
- swig::SwigVar_PyObject result = PyObject_CallFunction(method, (char *)"(O)" ,(PyObject *)obj0);
-#else
- swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (char *)"OnPublicationEvent", (char *)"(O)" ,(PyObject *)obj0);
-#endif
- if (result == NULL) {
- PyObject *error = PyErr_Occurred();
- if (error != NULL) {
- Swig::DirectorMethodException::raise("Error detected when calling 'SipCallback.OnPublicationEvent'");
- }
- }
- int swig_val;
- int swig_res = SWIG_AsVal_int(result, &swig_val);
- if (!SWIG_IsOK(swig_res)) {
- Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'");
- }
- c_result = static_cast< int >(swig_val);
- return (int) c_result;
-}
-
-
-int SwigDirector_SipCallback::OnRegistrationEvent(RegistrationEvent const *e) {
- int c_result;
- swig::SwigVar_PyObject obj0;
- obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(e), SWIGTYPE_p_RegistrationEvent, 0 );
- if (!swig_get_self()) {
- Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call SipCallback.__init__.");
- }
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- const size_t swig_method_index = 6;
- const char * const swig_method_name = "OnRegistrationEvent";
- PyObject* method = swig_get_method(swig_method_index, swig_method_name);
- swig::SwigVar_PyObject result = PyObject_CallFunction(method, (char *)"(O)" ,(PyObject *)obj0);
-#else
- swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (char *)"OnRegistrationEvent", (char *)"(O)" ,(PyObject *)obj0);
-#endif
- if (result == NULL) {
- PyObject *error = PyErr_Occurred();
- if (error != NULL) {
- Swig::DirectorMethodException::raise("Error detected when calling 'SipCallback.OnRegistrationEvent'");
- }
- }
- int swig_val;
- int swig_res = SWIG_AsVal_int(result, &swig_val);
- if (!SWIG_IsOK(swig_res)) {
- Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'");
- }
- c_result = static_cast< int >(swig_val);
- return (int) c_result;
-}
-
-
-int SwigDirector_SipCallback::OnSubscriptionEvent(SubscriptionEvent const *e) {
- int c_result;
- swig::SwigVar_PyObject obj0;
- obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(e), SWIGTYPE_p_SubscriptionEvent, 0 );
- if (!swig_get_self()) {
- Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call SipCallback.__init__.");
- }
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- const size_t swig_method_index = 7;
- const char * const swig_method_name = "OnSubscriptionEvent";
- PyObject* method = swig_get_method(swig_method_index, swig_method_name);
- swig::SwigVar_PyObject result = PyObject_CallFunction(method, (char *)"(O)" ,(PyObject *)obj0);
-#else
- swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (char *)"OnSubscriptionEvent", (char *)"(O)" ,(PyObject *)obj0);
-#endif
- if (result == NULL) {
- PyObject *error = PyErr_Occurred();
- if (error != NULL) {
- Swig::DirectorMethodException::raise("Error detected when calling 'SipCallback.OnSubscriptionEvent'");
- }
- }
- int swig_val;
- int swig_res = SWIG_AsVal_int(result, &swig_val);
- if (!SWIG_IsOK(swig_res)) {
- Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'");
- }
- c_result = static_cast< int >(swig_val);
- return (int) c_result;
-}
-
-
-SwigDirector_XcapCallback::SwigDirector_XcapCallback(PyObject *self): XcapCallback(), Swig::Director(self) {
- SWIG_DIRECTOR_RGTR((XcapCallback *)this, this);
-}
-
-
-
-
-SwigDirector_XcapCallback::~SwigDirector_XcapCallback() {
-}
-
-int SwigDirector_XcapCallback::onEvent(XcapEvent const *e) const {
- int c_result;
- swig::SwigVar_PyObject obj0;
- obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(e), SWIGTYPE_p_XcapEvent, 0 );
- if (!swig_get_self()) {
- Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call XcapCallback.__init__.");
- }
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- const size_t swig_method_index = 0;
- const char * const swig_method_name = "onEvent";
- PyObject* method = swig_get_method(swig_method_index, swig_method_name);
- swig::SwigVar_PyObject result = PyObject_CallFunction(method, (char *)"(O)" ,(PyObject *)obj0);
-#else
- swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (char *)"onEvent", (char *)"(O)" ,(PyObject *)obj0);
-#endif
- if (result == NULL) {
- PyObject *error = PyErr_Occurred();
- if (error != NULL) {
- Swig::DirectorMethodException::raise("Error detected when calling 'XcapCallback.onEvent'");
- }
- }
- int swig_val;
- int swig_res = SWIG_AsVal_int(result, &swig_val);
- if (!SWIG_IsOK(swig_res)) {
- Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'");
- }
- c_result = static_cast< int >(swig_val);
- return (int) c_result;
-}
-
-
-SwigDirector_MsrpCallback::SwigDirector_MsrpCallback(PyObject *self): MsrpCallback(), Swig::Director(self) {
- SWIG_DIRECTOR_RGTR((MsrpCallback *)this, this);
-}
-
-
-
-
-SwigDirector_MsrpCallback::~SwigDirector_MsrpCallback() {
-}
-
-int SwigDirector_MsrpCallback::OnEvent(MsrpEvent const *e) {
- int c_result;
- swig::SwigVar_PyObject obj0;
- obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(e), SWIGTYPE_p_MsrpEvent, 0 );
- if (!swig_get_self()) {
- Swig::DirectorException::raise("'self' uninitialized, maybe you forgot to call MsrpCallback.__init__.");
- }
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- const size_t swig_method_index = 0;
- const char * const swig_method_name = "OnEvent";
- PyObject* method = swig_get_method(swig_method_index, swig_method_name);
- swig::SwigVar_PyObject result = PyObject_CallFunction(method, (char *)"(O)" ,(PyObject *)obj0);
-#else
- swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (char *)"OnEvent", (char *)"(O)" ,(PyObject *)obj0);
-#endif
- if (result == NULL) {
- PyObject *error = PyErr_Occurred();
- if (error != NULL) {
- Swig::DirectorMethodException::raise("Error detected when calling 'MsrpCallback.OnEvent'");
- }
- }
- int swig_val;
- int swig_res = SWIG_AsVal_int(result, &swig_val);
- if (!SWIG_IsOK(swig_res)) {
- Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'");
- }
- c_result = static_cast< int >(swig_val);
- return (int) c_result;
-}
-
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-SWIGINTERN PyObject *_wrap_new_DDebugCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- PyObject *arg1 = (PyObject *) 0 ;
- PyObject * obj0 = 0 ;
- DDebugCallback *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:new_DDebugCallback",&obj0)) SWIG_fail;
- arg1 = obj0;
- if ( arg1 != Py_None ) {
- /* subclassed */
- result = (DDebugCallback *)new SwigDirector_DDebugCallback(arg1);
- } else {
- result = (DDebugCallback *)new DDebugCallback();
- }
-
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_DDebugCallback, SWIG_POINTER_NEW | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_delete_DDebugCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_DDebugCallback",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_DDebugCallback, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DDebugCallback" "', argument " "1"" of type '" "DDebugCallback *""'");
- }
- arg1 = reinterpret_cast< DDebugCallback * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_DDebugCallback_OnDebugInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- Swig::Director *director = 0;
- bool upcall = false;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:DDebugCallback_OnDebugInfo",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_DDebugCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DDebugCallback_OnDebugInfo" "', argument " "1"" of type '" "DDebugCallback *""'");
- }
- arg1 = reinterpret_cast< DDebugCallback * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DDebugCallback_OnDebugInfo" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- director = SWIG_DIRECTOR_CAST(arg1);
- upcall = (director && (director->swig_get_self()==obj0));
- try {
- if (upcall) {
- result = (int)(arg1)->DDebugCallback::OnDebugInfo((char const *)arg2);
- } else {
- result = (int)(arg1)->OnDebugInfo((char const *)arg2);
- }
- } catch (Swig::DirectorException&) {
- SWIG_fail;
- }
- resultobj = SWIG_From_int(static_cast< int >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_DDebugCallback_OnDebugWarn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- Swig::Director *director = 0;
- bool upcall = false;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:DDebugCallback_OnDebugWarn",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_DDebugCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DDebugCallback_OnDebugWarn" "', argument " "1"" of type '" "DDebugCallback *""'");
- }
- arg1 = reinterpret_cast< DDebugCallback * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DDebugCallback_OnDebugWarn" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- director = SWIG_DIRECTOR_CAST(arg1);
- upcall = (director && (director->swig_get_self()==obj0));
- try {
- if (upcall) {
- result = (int)(arg1)->DDebugCallback::OnDebugWarn((char const *)arg2);
- } else {
- result = (int)(arg1)->OnDebugWarn((char const *)arg2);
- }
- } catch (Swig::DirectorException&) {
- SWIG_fail;
- }
- resultobj = SWIG_From_int(static_cast< int >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_DDebugCallback_OnDebugError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- Swig::Director *director = 0;
- bool upcall = false;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:DDebugCallback_OnDebugError",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_DDebugCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DDebugCallback_OnDebugError" "', argument " "1"" of type '" "DDebugCallback *""'");
- }
- arg1 = reinterpret_cast< DDebugCallback * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DDebugCallback_OnDebugError" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- director = SWIG_DIRECTOR_CAST(arg1);
- upcall = (director && (director->swig_get_self()==obj0));
- try {
- if (upcall) {
- result = (int)(arg1)->DDebugCallback::OnDebugError((char const *)arg2);
- } else {
- result = (int)(arg1)->OnDebugError((char const *)arg2);
- }
- } catch (Swig::DirectorException&) {
- SWIG_fail;
- }
- resultobj = SWIG_From_int(static_cast< int >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_DDebugCallback_OnDebugFatal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- Swig::Director *director = 0;
- bool upcall = false;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:DDebugCallback_OnDebugFatal",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_DDebugCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DDebugCallback_OnDebugFatal" "', argument " "1"" of type '" "DDebugCallback *""'");
- }
- arg1 = reinterpret_cast< DDebugCallback * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DDebugCallback_OnDebugFatal" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- director = SWIG_DIRECTOR_CAST(arg1);
- upcall = (director && (director->swig_get_self()==obj0));
- try {
- if (upcall) {
- result = (int)(arg1)->DDebugCallback::OnDebugFatal((char const *)arg2);
- } else {
- result = (int)(arg1)->OnDebugFatal((char const *)arg2);
- }
- } catch (Swig::DirectorException&) {
- SWIG_fail;
- }
- resultobj = SWIG_From_int(static_cast< int >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_disown_DDebugCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- DDebugCallback *arg1 = (DDebugCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:disown_DDebugCallback",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_DDebugCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_DDebugCallback" "', argument " "1"" of type '" "DDebugCallback *""'");
- }
- arg1 = reinterpret_cast< DDebugCallback * >(argp1);
- {
- Swig::Director *director = SWIG_DIRECTOR_CAST(arg1);
- if (director) director->swig_disown();
- }
-
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *DDebugCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_DDebugCallback, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_new_ActionConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ActionConfig *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)":new_ActionConfig")) SWIG_fail;
- result = (ActionConfig *)new ActionConfig();
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ActionConfig, SWIG_POINTER_NEW | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_delete_ActionConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ActionConfig *arg1 = (ActionConfig *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_ActionConfig",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ActionConfig, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ActionConfig" "', argument " "1"" of type '" "ActionConfig *""'");
- }
- arg1 = reinterpret_cast< ActionConfig * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ActionConfig_addHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ActionConfig *arg1 = (ActionConfig *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:ActionConfig_addHeader",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActionConfig_addHeader" "', argument " "1"" of type '" "ActionConfig *""'");
- }
- arg1 = reinterpret_cast< ActionConfig * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ActionConfig_addHeader" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ActionConfig_addHeader" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (bool)(arg1)->addHeader((char const *)arg2,(char const *)arg3);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ActionConfig_setResponseLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ActionConfig *arg1 = (ActionConfig *) 0 ;
- short arg2 ;
- char *arg3 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- short val2 ;
- int ecode2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- ActionConfig *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:ActionConfig_setResponseLine",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActionConfig_setResponseLine" "', argument " "1"" of type '" "ActionConfig *""'");
- }
- arg1 = reinterpret_cast< ActionConfig * >(argp1);
- ecode2 = SWIG_AsVal_short(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ActionConfig_setResponseLine" "', argument " "2"" of type '" "short""'");
- }
- arg2 = static_cast< short >(val2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ActionConfig_setResponseLine" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (ActionConfig *)(arg1)->setResponseLine(arg2,(char const *)arg3);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return resultobj;
-fail:
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ActionConfig_setMediaString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ActionConfig *arg1 = (ActionConfig *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int res4 ;
- char *buf4 = 0 ;
- int alloc4 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- ActionConfig *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OOOO:ActionConfig_setMediaString",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActionConfig_setMediaString" "', argument " "1"" of type '" "ActionConfig *""'");
- }
- arg1 = reinterpret_cast< ActionConfig * >(argp1);
- ecode2 = SWIG_AsVal_int(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ActionConfig_setMediaString" "', argument " "2"" of type '" "twrap_media_type_t""'");
- }
- arg2 = static_cast< twrap_media_type_t >(val2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ActionConfig_setMediaString" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
- if (!SWIG_IsOK(res4)) {
- SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ActionConfig_setMediaString" "', argument " "4"" of type '" "char const *""'");
- }
- arg4 = reinterpret_cast< char * >(buf4);
- result = (ActionConfig *)(arg1)->setMediaString(arg2,(char const *)arg3,(char const *)arg4);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- return resultobj;
-fail:
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ActionConfig_setMediaInt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ActionConfig *arg1 = (ActionConfig *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- int arg4 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int val4 ;
- int ecode4 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- ActionConfig *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OOOO:ActionConfig_setMediaInt",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ActionConfig_setMediaInt" "', argument " "1"" of type '" "ActionConfig *""'");
- }
- arg1 = reinterpret_cast< ActionConfig * >(argp1);
- ecode2 = SWIG_AsVal_int(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ActionConfig_setMediaInt" "', argument " "2"" of type '" "twrap_media_type_t""'");
- }
- arg2 = static_cast< twrap_media_type_t >(val2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ActionConfig_setMediaInt" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- ecode4 = SWIG_AsVal_int(obj3, &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ActionConfig_setMediaInt" "', argument " "4"" of type '" "int""'");
- }
- arg4 = static_cast< int >(val4);
- result = (ActionConfig *)(arg1)->setMediaInt(arg2,(char const *)arg3,arg4);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return resultobj;
-fail:
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *ActionConfig_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_ActionConfig, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_delete_MediaSessionMgr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_MediaSessionMgr",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MediaSessionMgr, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MediaSessionMgr" "', argument " "1"" of type '" "MediaSessionMgr *""'");
- }
- arg1 = reinterpret_cast< MediaSessionMgr * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MediaSessionMgr_sessionSetInt32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- int32_t arg4 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int val4 ;
- int ecode4 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOOO:MediaSessionMgr_sessionSetInt32",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MediaSessionMgr, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaSessionMgr_sessionSetInt32" "', argument " "1"" of type '" "MediaSessionMgr *""'");
- }
- arg1 = reinterpret_cast< MediaSessionMgr * >(argp1);
- ecode2 = SWIG_AsVal_int(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MediaSessionMgr_sessionSetInt32" "', argument " "2"" of type '" "twrap_media_type_t""'");
- }
- arg2 = static_cast< twrap_media_type_t >(val2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "MediaSessionMgr_sessionSetInt32" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- ecode4 = SWIG_AsVal_int(obj3, &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MediaSessionMgr_sessionSetInt32" "', argument " "4"" of type '" "int32_t""'");
- }
- arg4 = static_cast< int32_t >(val4);
- result = (bool)(arg1)->sessionSetInt32(arg2,(char const *)arg3,arg4);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return resultobj;
-fail:
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MediaSessionMgr_consumerSetInt32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- int32_t arg4 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int val4 ;
- int ecode4 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOOO:MediaSessionMgr_consumerSetInt32",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MediaSessionMgr, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaSessionMgr_consumerSetInt32" "', argument " "1"" of type '" "MediaSessionMgr *""'");
- }
- arg1 = reinterpret_cast< MediaSessionMgr * >(argp1);
- ecode2 = SWIG_AsVal_int(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MediaSessionMgr_consumerSetInt32" "', argument " "2"" of type '" "twrap_media_type_t""'");
- }
- arg2 = static_cast< twrap_media_type_t >(val2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "MediaSessionMgr_consumerSetInt32" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- ecode4 = SWIG_AsVal_int(obj3, &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MediaSessionMgr_consumerSetInt32" "', argument " "4"" of type '" "int32_t""'");
- }
- arg4 = static_cast< int32_t >(val4);
- result = (bool)(arg1)->consumerSetInt32(arg2,(char const *)arg3,arg4);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return resultobj;
-fail:
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MediaSessionMgr_consumerSetInt64(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- int64_t arg4 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- long long val4 ;
- int ecode4 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOOO:MediaSessionMgr_consumerSetInt64",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MediaSessionMgr, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaSessionMgr_consumerSetInt64" "', argument " "1"" of type '" "MediaSessionMgr *""'");
- }
- arg1 = reinterpret_cast< MediaSessionMgr * >(argp1);
- ecode2 = SWIG_AsVal_int(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MediaSessionMgr_consumerSetInt64" "', argument " "2"" of type '" "twrap_media_type_t""'");
- }
- arg2 = static_cast< twrap_media_type_t >(val2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "MediaSessionMgr_consumerSetInt64" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MediaSessionMgr_consumerSetInt64" "', argument " "4"" of type '" "int64_t""'");
- }
- arg4 = static_cast< int64_t >(val4);
- result = (bool)(arg1)->consumerSetInt64(arg2,(char const *)arg3,arg4);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return resultobj;
-fail:
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MediaSessionMgr_producerSetInt32(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- int32_t arg4 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int val4 ;
- int ecode4 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOOO:MediaSessionMgr_producerSetInt32",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MediaSessionMgr, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaSessionMgr_producerSetInt32" "', argument " "1"" of type '" "MediaSessionMgr *""'");
- }
- arg1 = reinterpret_cast< MediaSessionMgr * >(argp1);
- ecode2 = SWIG_AsVal_int(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MediaSessionMgr_producerSetInt32" "', argument " "2"" of type '" "twrap_media_type_t""'");
- }
- arg2 = static_cast< twrap_media_type_t >(val2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "MediaSessionMgr_producerSetInt32" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- ecode4 = SWIG_AsVal_int(obj3, &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MediaSessionMgr_producerSetInt32" "', argument " "4"" of type '" "int32_t""'");
- }
- arg4 = static_cast< int32_t >(val4);
- result = (bool)(arg1)->producerSetInt32(arg2,(char const *)arg3,arg4);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return resultobj;
-fail:
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MediaSessionMgr_producerSetInt64(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- char *arg3 = (char *) 0 ;
- int64_t arg4 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- long long val4 ;
- int ecode4 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOOO:MediaSessionMgr_producerSetInt64",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MediaSessionMgr, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaSessionMgr_producerSetInt64" "', argument " "1"" of type '" "MediaSessionMgr *""'");
- }
- arg1 = reinterpret_cast< MediaSessionMgr * >(argp1);
- ecode2 = SWIG_AsVal_int(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MediaSessionMgr_producerSetInt64" "', argument " "2"" of type '" "twrap_media_type_t""'");
- }
- arg2 = static_cast< twrap_media_type_t >(val2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "MediaSessionMgr_producerSetInt64" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- ecode4 = SWIG_AsVal_long_SS_long(obj3, &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "MediaSessionMgr_producerSetInt64" "', argument " "4"" of type '" "int64_t""'");
- }
- arg4 = static_cast< int64_t >(val4);
- result = (bool)(arg1)->producerSetInt64(arg2,(char const *)arg3,arg4);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return resultobj;
-fail:
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MediaSessionMgr_findProxyPluginConsumer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- ProxyPlugin *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:MediaSessionMgr_findProxyPluginConsumer",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MediaSessionMgr, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaSessionMgr_findProxyPluginConsumer" "', argument " "1"" of type '" "MediaSessionMgr *""'");
- }
- arg1 = reinterpret_cast< MediaSessionMgr * >(argp1);
- ecode2 = SWIG_AsVal_int(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MediaSessionMgr_findProxyPluginConsumer" "', argument " "2"" of type '" "twrap_media_type_t""'");
- }
- arg2 = static_cast< twrap_media_type_t >(val2);
- result = (ProxyPlugin *)(arg1)->findProxyPluginConsumer(arg2);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ProxyPlugin, 0 | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MediaSessionMgr_findProxyPluginProducer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
- twrap_media_type_t arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- ProxyPlugin *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:MediaSessionMgr_findProxyPluginProducer",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MediaSessionMgr, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaSessionMgr_findProxyPluginProducer" "', argument " "1"" of type '" "MediaSessionMgr *""'");
- }
- arg1 = reinterpret_cast< MediaSessionMgr * >(argp1);
- ecode2 = SWIG_AsVal_int(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MediaSessionMgr_findProxyPluginProducer" "', argument " "2"" of type '" "twrap_media_type_t""'");
- }
- arg2 = static_cast< twrap_media_type_t >(val2);
- result = (ProxyPlugin *)(arg1)->findProxyPluginProducer(arg2);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ProxyPlugin, 0 | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *MediaSessionMgr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_MediaSessionMgr, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_delete_MediaContent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MediaContent *arg1 = (MediaContent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_MediaContent",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MediaContent, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MediaContent" "', argument " "1"" of type '" "MediaContent *""'");
- }
- arg1 = reinterpret_cast< MediaContent * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MediaContent_getType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MediaContent *arg1 = (MediaContent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- char *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:MediaContent_getType",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MediaContent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaContent_getType" "', argument " "1"" of type '" "MediaContent *""'");
- }
- arg1 = reinterpret_cast< MediaContent * >(argp1);
- result = (char *)(arg1)->getType();
- resultobj = SWIG_FromCharPtr((const char *)result);
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MediaContent_getDataLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MediaContent *arg1 = (MediaContent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- unsigned int result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:MediaContent_getDataLength",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MediaContent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaContent_getDataLength" "', argument " "1"" of type '" "MediaContent *""'");
- }
- arg1 = reinterpret_cast< MediaContent * >(argp1);
- result = (unsigned int)(arg1)->getDataLength();
- resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MediaContent_getData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MediaContent *arg1 = (MediaContent *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- unsigned int result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:MediaContent_getData",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MediaContent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaContent_getData" "', argument " "1"" of type '" "MediaContent *""'");
- }
- arg1 = reinterpret_cast< MediaContent * >(argp1);
- res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MediaContent_getData" "', argument " "2"" of type '" "void *""'");
- }
- ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MediaContent_getData" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (unsigned int)(arg1)->getData(arg2,arg3);
- resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MediaContent_parse__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- void *arg1 = (void *) 0 ;
- unsigned int arg2 ;
- char *arg3 = (char *) 0 ;
- int res1 ;
- unsigned int val2 ;
- int ecode2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- MediaContent *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:MediaContent_parse",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0,SWIG_as_voidptrptr(&arg1), 0, 0);
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaContent_parse" "', argument " "1"" of type '" "void const *""'");
- }
- ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MediaContent_parse" "', argument " "2"" of type '" "unsigned int""'");
- }
- arg2 = static_cast< unsigned int >(val2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "MediaContent_parse" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (MediaContent *)MediaContent::parse((void const *)arg1,arg2,(char const *)arg3);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_MediaContent, SWIG_POINTER_OWN | 0 );
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return resultobj;
-fail:
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MediaContent_parse__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- void *arg1 = (void *) 0 ;
- unsigned int arg2 ;
- int res1 ;
- unsigned int val2 ;
- int ecode2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- MediaContentCPIM *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:MediaContent_parse",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0,SWIG_as_voidptrptr(&arg1), 0, 0);
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaContent_parse" "', argument " "1"" of type '" "void const *""'");
- }
- ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MediaContent_parse" "', argument " "2"" of type '" "unsigned int""'");
- }
- arg2 = static_cast< unsigned int >(val2);
- result = (MediaContentCPIM *)MediaContent::parse((void const *)arg1,arg2);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_MediaContentCPIM, SWIG_POINTER_OWN | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MediaContent_parse(PyObject *self, PyObject *args) {
- int argc;
- PyObject *argv[4];
- int ii;
-
- if (!PyTuple_Check(args)) SWIG_fail;
- argc = (int)PyObject_Length(args);
- for (ii = 0; (ii < argc) && (ii < 3); ii++) {
- argv[ii] = PyTuple_GET_ITEM(args,ii);
- }
- if (argc == 2) {
- int _v;
- void *ptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &ptr, 0, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- {
- int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
- _v = SWIG_CheckState(res);
- }
- if (_v) {
- return _wrap_MediaContent_parse__SWIG_1(self, args);
- }
- }
- }
- if (argc == 3) {
- int _v;
- void *ptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &ptr, 0, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- {
- int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
- _v = SWIG_CheckState(res);
- }
- if (_v) {
- int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_MediaContent_parse__SWIG_0(self, args);
- }
- }
- }
- }
-
-fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'MediaContent_parse'.\n"
- " Possible C/C++ prototypes are:\n"
- " parse(void const *,unsigned int,char const *)\n"
- " MediaContent::parse(void const *,unsigned int)\n");
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MediaContent_getPayloadLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MediaContent *arg1 = (MediaContent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- unsigned int result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:MediaContent_getPayloadLength",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MediaContent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaContent_getPayloadLength" "', argument " "1"" of type '" "MediaContent *""'");
- }
- arg1 = reinterpret_cast< MediaContent * >(argp1);
- result = (unsigned int)(arg1)->getPayloadLength();
- resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MediaContent_getPayload(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MediaContent *arg1 = (MediaContent *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- unsigned int result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:MediaContent_getPayload",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MediaContent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaContent_getPayload" "', argument " "1"" of type '" "MediaContent *""'");
- }
- arg1 = reinterpret_cast< MediaContent * >(argp1);
- res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MediaContent_getPayload" "', argument " "2"" of type '" "void *""'");
- }
- ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MediaContent_getPayload" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (unsigned int)(arg1)->getPayload(arg2,arg3);
- resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *MediaContent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_MediaContent, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_delete_MediaContentCPIM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MediaContentCPIM *arg1 = (MediaContentCPIM *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_MediaContentCPIM",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MediaContentCPIM, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MediaContentCPIM" "', argument " "1"" of type '" "MediaContentCPIM *""'");
- }
- arg1 = reinterpret_cast< MediaContentCPIM * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MediaContentCPIM_getPayloadLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MediaContentCPIM *arg1 = (MediaContentCPIM *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- unsigned int result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:MediaContentCPIM_getPayloadLength",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MediaContentCPIM, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaContentCPIM_getPayloadLength" "', argument " "1"" of type '" "MediaContentCPIM *""'");
- }
- arg1 = reinterpret_cast< MediaContentCPIM * >(argp1);
- result = (unsigned int)(arg1)->getPayloadLength();
- resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MediaContentCPIM_getPayload(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MediaContentCPIM *arg1 = (MediaContentCPIM *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- unsigned int result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:MediaContentCPIM_getPayload",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MediaContentCPIM, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaContentCPIM_getPayload" "', argument " "1"" of type '" "MediaContentCPIM *""'");
- }
- arg1 = reinterpret_cast< MediaContentCPIM * >(argp1);
- res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MediaContentCPIM_getPayload" "', argument " "2"" of type '" "void *""'");
- }
- ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MediaContentCPIM_getPayload" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (unsigned int)(arg1)->getPayload(arg2,arg3);
- resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MediaContentCPIM_getHeaderValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MediaContentCPIM *arg1 = (MediaContentCPIM *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- char *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:MediaContentCPIM_getHeaderValue",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MediaContentCPIM, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaContentCPIM_getHeaderValue" "', argument " "1"" of type '" "MediaContentCPIM *""'");
- }
- arg1 = reinterpret_cast< MediaContentCPIM * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MediaContentCPIM_getHeaderValue" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (char *)(arg1)->getHeaderValue((char const *)arg2);
- resultobj = SWIG_FromCharPtr((const char *)result);
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *MediaContentCPIM_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_MediaContentCPIM, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_new_SipUri(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- char *arg1 = (char *) 0 ;
- int res1 ;
- char *buf1 = 0 ;
- int alloc1 = 0 ;
- PyObject * obj0 = 0 ;
- SipUri *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:new_SipUri",&obj0)) SWIG_fail;
- res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SipUri" "', argument " "1"" of type '" "char const *""'");
- }
- arg1 = reinterpret_cast< char * >(buf1);
- result = (SipUri *)new SipUri((char const *)arg1);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SipUri, SWIG_POINTER_NEW | 0 );
- if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
- return resultobj;
-fail:
- if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_delete_SipUri(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipUri *arg1 = (SipUri *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_SipUri",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipUri, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SipUri" "', argument " "1"" of type '" "SipUri *""'");
- }
- arg1 = reinterpret_cast< SipUri * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipUri_isValid__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- char *arg1 = (char *) 0 ;
- int res1 ;
- char *buf1 = 0 ;
- int alloc1 = 0 ;
- PyObject * obj0 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SipUri_isValid",&obj0)) SWIG_fail;
- res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipUri_isValid" "', argument " "1"" of type '" "char const *""'");
- }
- arg1 = reinterpret_cast< char * >(buf1);
- result = (bool)SipUri::isValid((char const *)arg1);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
- return resultobj;
-fail:
- if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipUri_isValid__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipUri *arg1 = (SipUri *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SipUri_isValid",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipUri, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipUri_isValid" "', argument " "1"" of type '" "SipUri *""'");
- }
- arg1 = reinterpret_cast< SipUri * >(argp1);
- result = (bool)(arg1)->isValid();
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipUri_isValid(PyObject *self, PyObject *args) {
- int argc;
- PyObject *argv[2];
- int ii;
-
- if (!PyTuple_Check(args)) SWIG_fail;
- argc = (int)PyObject_Length(args);
- for (ii = 0; (ii < argc) && (ii < 1); ii++) {
- argv[ii] = PyTuple_GET_ITEM(args,ii);
- }
- if (argc == 1) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SipUri, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_SipUri_isValid__SWIG_1(self, args);
- }
- }
- if (argc == 1) {
- int _v;
- int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_SipUri_isValid__SWIG_0(self, args);
- }
- }
-
-fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SipUri_isValid'.\n"
- " Possible C/C++ prototypes are:\n"
- " isValid(char const *)\n"
- " isValid(SipUri *)\n");
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipUri_getScheme(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipUri *arg1 = (SipUri *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- char *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SipUri_getScheme",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipUri, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipUri_getScheme" "', argument " "1"" of type '" "SipUri *""'");
- }
- arg1 = reinterpret_cast< SipUri * >(argp1);
- result = (char *)(arg1)->getScheme();
- resultobj = SWIG_FromCharPtr((const char *)result);
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipUri_getHost(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipUri *arg1 = (SipUri *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- char *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SipUri_getHost",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipUri, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipUri_getHost" "', argument " "1"" of type '" "SipUri *""'");
- }
- arg1 = reinterpret_cast< SipUri * >(argp1);
- result = (char *)(arg1)->getHost();
- resultobj = SWIG_FromCharPtr((const char *)result);
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipUri_getPort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipUri *arg1 = (SipUri *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- unsigned short result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SipUri_getPort",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipUri, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipUri_getPort" "', argument " "1"" of type '" "SipUri *""'");
- }
- arg1 = reinterpret_cast< SipUri * >(argp1);
- result = (unsigned short)(arg1)->getPort();
- resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipUri_getUserName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipUri *arg1 = (SipUri *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- char *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SipUri_getUserName",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipUri, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipUri_getUserName" "', argument " "1"" of type '" "SipUri *""'");
- }
- arg1 = reinterpret_cast< SipUri * >(argp1);
- result = (char *)(arg1)->getUserName();
- resultobj = SWIG_FromCharPtr((const char *)result);
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipUri_getPassword(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipUri *arg1 = (SipUri *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- char *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SipUri_getPassword",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipUri, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipUri_getPassword" "', argument " "1"" of type '" "SipUri *""'");
- }
- arg1 = reinterpret_cast< SipUri * >(argp1);
- result = (char *)(arg1)->getPassword();
- resultobj = SWIG_FromCharPtr((const char *)result);
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipUri_getDisplayName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipUri *arg1 = (SipUri *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- char *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SipUri_getDisplayName",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipUri, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipUri_getDisplayName" "', argument " "1"" of type '" "SipUri *""'");
- }
- arg1 = reinterpret_cast< SipUri * >(argp1);
- result = (char *)(arg1)->getDisplayName();
- resultobj = SWIG_FromCharPtr((const char *)result);
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipUri_getParamValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipUri *arg1 = (SipUri *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- char *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipUri_getParamValue",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipUri, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipUri_getParamValue" "', argument " "1"" of type '" "SipUri *""'");
- }
- arg1 = reinterpret_cast< SipUri * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipUri_getParamValue" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (char *)(arg1)->getParamValue((char const *)arg2);
- resultobj = SWIG_FromCharPtr((const char *)result);
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *SipUri_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_SipUri, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_new_SdpMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SdpMessage *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)":new_SdpMessage")) SWIG_fail;
- result = (SdpMessage *)new SdpMessage();
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SdpMessage, SWIG_POINTER_NEW | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_delete_SdpMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SdpMessage *arg1 = (SdpMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_SdpMessage",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SdpMessage, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SdpMessage" "', argument " "1"" of type '" "SdpMessage *""'");
- }
- arg1 = reinterpret_cast< SdpMessage * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SdpMessage_getSdpHeaderValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SdpMessage *arg1 = (SdpMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char arg3 ;
- unsigned int arg4 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- char val3 ;
- int ecode3 = 0 ;
- unsigned int val4 ;
- int ecode4 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- char *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OOOO:SdpMessage_getSdpHeaderValue",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SdpMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SdpMessage_getSdpHeaderValue" "', argument " "1"" of type '" "SdpMessage *""'");
- }
- arg1 = reinterpret_cast< SdpMessage * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SdpMessage_getSdpHeaderValue" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- ecode3 = SWIG_AsVal_char(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SdpMessage_getSdpHeaderValue" "', argument " "3"" of type '" "char""'");
- }
- arg3 = static_cast< char >(val3);
- ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SdpMessage_getSdpHeaderValue" "', argument " "4"" of type '" "unsigned int""'");
- }
- arg4 = static_cast< unsigned int >(val4);
- result = (char *)(arg1)->getSdpHeaderValue((char const *)arg2,arg3,arg4);
- resultobj = SWIG_FromCharPtr((const char *)result);
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- delete[] result;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SdpMessage_getSdpHeaderValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SdpMessage *arg1 = (SdpMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- char val3 ;
- int ecode3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- char *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:SdpMessage_getSdpHeaderValue",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SdpMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SdpMessage_getSdpHeaderValue" "', argument " "1"" of type '" "SdpMessage *""'");
- }
- arg1 = reinterpret_cast< SdpMessage * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SdpMessage_getSdpHeaderValue" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- ecode3 = SWIG_AsVal_char(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SdpMessage_getSdpHeaderValue" "', argument " "3"" of type '" "char""'");
- }
- arg3 = static_cast< char >(val3);
- result = (char *)(arg1)->getSdpHeaderValue((char const *)arg2,arg3);
- resultobj = SWIG_FromCharPtr((const char *)result);
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- delete[] result;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SdpMessage_getSdpHeaderValue(PyObject *self, PyObject *args) {
- int argc;
- PyObject *argv[5];
- int ii;
-
- if (!PyTuple_Check(args)) SWIG_fail;
- argc = (int)PyObject_Length(args);
- for (ii = 0; (ii < argc) && (ii < 4); ii++) {
- argv[ii] = PyTuple_GET_ITEM(args,ii);
- }
- if (argc == 3) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SdpMessage, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- {
- int res = SWIG_AsVal_char(argv[2], NULL);
- _v = SWIG_CheckState(res);
- }
- if (_v) {
- return _wrap_SdpMessage_getSdpHeaderValue__SWIG_1(self, args);
- }
- }
- }
- }
- if (argc == 4) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SdpMessage, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- {
- int res = SWIG_AsVal_char(argv[2], NULL);
- _v = SWIG_CheckState(res);
- }
- if (_v) {
- {
- int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
- _v = SWIG_CheckState(res);
- }
- if (_v) {
- return _wrap_SdpMessage_getSdpHeaderValue__SWIG_0(self, args);
- }
- }
- }
- }
- }
-
-fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SdpMessage_getSdpHeaderValue'.\n"
- " Possible C/C++ prototypes are:\n"
- " getSdpHeaderValue(SdpMessage *,char const *,char,unsigned int)\n"
- " getSdpHeaderValue(SdpMessage *,char const *,char)\n");
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SdpMessage_getSdpHeaderAValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SdpMessage *arg1 = (SdpMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- char *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:SdpMessage_getSdpHeaderAValue",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SdpMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SdpMessage_getSdpHeaderAValue" "', argument " "1"" of type '" "SdpMessage *""'");
- }
- arg1 = reinterpret_cast< SdpMessage * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SdpMessage_getSdpHeaderAValue" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SdpMessage_getSdpHeaderAValue" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (char *)(arg1)->getSdpHeaderAValue((char const *)arg2,(char const *)arg3);
- resultobj = SWIG_FromCharPtr((const char *)result);
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- delete[] result;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *SdpMessage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_SdpMessage, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_new_SipMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipMessage *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)":new_SipMessage")) SWIG_fail;
- result = (SipMessage *)new SipMessage();
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SipMessage, SWIG_POINTER_NEW | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_delete_SipMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipMessage *arg1 = (SipMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_SipMessage",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipMessage, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SipMessage" "', argument " "1"" of type '" "SipMessage *""'");
- }
- arg1 = reinterpret_cast< SipMessage * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipMessage_getSipHeaderValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipMessage *arg1 = (SipMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- char *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:SipMessage_getSipHeaderValue",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipMessage_getSipHeaderValue" "', argument " "1"" of type '" "SipMessage *""'");
- }
- arg1 = reinterpret_cast< SipMessage * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipMessage_getSipHeaderValue" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SipMessage_getSipHeaderValue" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (char *)(arg1)->getSipHeaderValue((char const *)arg2,arg3);
- resultobj = SWIG_FromCharPtr((const char *)result);
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- delete[] result;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipMessage_getSipHeaderValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipMessage *arg1 = (SipMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- char *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipMessage_getSipHeaderValue",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipMessage_getSipHeaderValue" "', argument " "1"" of type '" "SipMessage *""'");
- }
- arg1 = reinterpret_cast< SipMessage * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipMessage_getSipHeaderValue" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (char *)(arg1)->getSipHeaderValue((char const *)arg2);
- resultobj = SWIG_FromCharPtr((const char *)result);
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- delete[] result;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipMessage_getSipHeaderValue(PyObject *self, PyObject *args) {
- int argc;
- PyObject *argv[4];
- int ii;
-
- if (!PyTuple_Check(args)) SWIG_fail;
- argc = (int)PyObject_Length(args);
- for (ii = 0; (ii < argc) && (ii < 3); ii++) {
- argv[ii] = PyTuple_GET_ITEM(args,ii);
- }
- if (argc == 2) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SipMessage, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_SipMessage_getSipHeaderValue__SWIG_1(self, args);
- }
- }
- }
- if (argc == 3) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SipMessage, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- {
- int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
- _v = SWIG_CheckState(res);
- }
- if (_v) {
- return _wrap_SipMessage_getSipHeaderValue__SWIG_0(self, args);
- }
- }
- }
- }
-
-fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SipMessage_getSipHeaderValue'.\n"
- " Possible C/C++ prototypes are:\n"
- " getSipHeaderValue(SipMessage *,char const *,unsigned int)\n"
- " getSipHeaderValue(SipMessage *,char const *)\n");
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipMessage_getSipHeaderParamValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipMessage *arg1 = (SipMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- unsigned int arg4 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- unsigned int val4 ;
- int ecode4 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- char *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OOOO:SipMessage_getSipHeaderParamValue",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipMessage_getSipHeaderParamValue" "', argument " "1"" of type '" "SipMessage *""'");
- }
- arg1 = reinterpret_cast< SipMessage * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipMessage_getSipHeaderParamValue" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SipMessage_getSipHeaderParamValue" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SipMessage_getSipHeaderParamValue" "', argument " "4"" of type '" "unsigned int""'");
- }
- arg4 = static_cast< unsigned int >(val4);
- result = (char *)(arg1)->getSipHeaderParamValue((char const *)arg2,(char const *)arg3,arg4);
- resultobj = SWIG_FromCharPtr((const char *)result);
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- delete[] result;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipMessage_getSipHeaderParamValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipMessage *arg1 = (SipMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- char *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:SipMessage_getSipHeaderParamValue",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipMessage_getSipHeaderParamValue" "', argument " "1"" of type '" "SipMessage *""'");
- }
- arg1 = reinterpret_cast< SipMessage * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipMessage_getSipHeaderParamValue" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SipMessage_getSipHeaderParamValue" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (char *)(arg1)->getSipHeaderParamValue((char const *)arg2,(char const *)arg3);
- resultobj = SWIG_FromCharPtr((const char *)result);
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- delete[] result;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipMessage_getSipHeaderParamValue(PyObject *self, PyObject *args) {
- int argc;
- PyObject *argv[5];
- int ii;
-
- if (!PyTuple_Check(args)) SWIG_fail;
- argc = (int)PyObject_Length(args);
- for (ii = 0; (ii < argc) && (ii < 4); ii++) {
- argv[ii] = PyTuple_GET_ITEM(args,ii);
- }
- if (argc == 3) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SipMessage, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_SipMessage_getSipHeaderParamValue__SWIG_1(self, args);
- }
- }
- }
- }
- if (argc == 4) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SipMessage, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- {
- int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
- _v = SWIG_CheckState(res);
- }
- if (_v) {
- return _wrap_SipMessage_getSipHeaderParamValue__SWIG_0(self, args);
- }
- }
- }
- }
- }
-
-fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SipMessage_getSipHeaderParamValue'.\n"
- " Possible C/C++ prototypes are:\n"
- " getSipHeaderParamValue(SipMessage *,char const *,char const *,unsigned int)\n"
- " getSipHeaderParamValue(SipMessage *,char const *,char const *)\n");
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipMessage_getSipContentLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipMessage *arg1 = (SipMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- unsigned int result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SipMessage_getSipContentLength",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipMessage_getSipContentLength" "', argument " "1"" of type '" "SipMessage *""'");
- }
- arg1 = reinterpret_cast< SipMessage * >(argp1);
- result = (unsigned int)(arg1)->getSipContentLength();
- resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipMessage_getSipContent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipMessage *arg1 = (SipMessage *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- unsigned int result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:SipMessage_getSipContent",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipMessage_getSipContent" "', argument " "1"" of type '" "SipMessage *""'");
- }
- arg1 = reinterpret_cast< SipMessage * >(argp1);
- res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipMessage_getSipContent" "', argument " "2"" of type '" "void *""'");
- }
- ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SipMessage_getSipContent" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (unsigned int)(arg1)->getSipContent(arg2,arg3);
- resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipMessage_getSdpMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipMessage *arg1 = (SipMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- SdpMessage *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SipMessage_getSdpMessage",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipMessage_getSdpMessage" "', argument " "1"" of type '" "SipMessage *""'");
- }
- arg1 = reinterpret_cast< SipMessage * >(argp1);
- result = (SdpMessage *)(arg1)->getSdpMessage();
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SdpMessage, 0 | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *SipMessage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_SipMessage, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_delete_SipEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipEvent *arg1 = (SipEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_SipEvent",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipEvent, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SipEvent" "', argument " "1"" of type '" "SipEvent *""'");
- }
- arg1 = reinterpret_cast< SipEvent * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipEvent_getCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipEvent *arg1 = (SipEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- short result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SipEvent_getCode",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipEvent_getCode" "', argument " "1"" of type '" "SipEvent const *""'");
- }
- arg1 = reinterpret_cast< SipEvent * >(argp1);
- result = (short)((SipEvent const *)arg1)->getCode();
- resultobj = SWIG_From_short(static_cast< short >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipEvent_getPhrase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipEvent *arg1 = (SipEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- char *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SipEvent_getPhrase",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipEvent_getPhrase" "', argument " "1"" of type '" "SipEvent const *""'");
- }
- arg1 = reinterpret_cast< SipEvent * >(argp1);
- result = (char *)((SipEvent const *)arg1)->getPhrase();
- resultobj = SWIG_FromCharPtr((const char *)result);
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipEvent_getBaseSession(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipEvent *arg1 = (SipEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- SipSession *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SipEvent_getBaseSession",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipEvent_getBaseSession" "', argument " "1"" of type '" "SipEvent const *""'");
- }
- arg1 = reinterpret_cast< SipEvent * >(argp1);
- result = (SipSession *)((SipEvent const *)arg1)->getBaseSession();
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SipSession, 0 | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipEvent_getSipMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipEvent *arg1 = (SipEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- SipMessage *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SipEvent_getSipMessage",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipEvent_getSipMessage" "', argument " "1"" of type '" "SipEvent const *""'");
- }
- arg1 = reinterpret_cast< SipEvent * >(argp1);
- result = (SipMessage *)((SipEvent const *)arg1)->getSipMessage();
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SipMessage, 0 | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *SipEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_SipEvent, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_delete_DialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- DialogEvent *arg1 = (DialogEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_DialogEvent",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_DialogEvent, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DialogEvent" "', argument " "1"" of type '" "DialogEvent *""'");
- }
- arg1 = reinterpret_cast< DialogEvent * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *DialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_DialogEvent, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_delete_StackEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- StackEvent *arg1 = (StackEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_StackEvent",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_StackEvent, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_StackEvent" "', argument " "1"" of type '" "StackEvent *""'");
- }
- arg1 = reinterpret_cast< StackEvent * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *StackEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_StackEvent, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_delete_InviteEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- InviteEvent *arg1 = (InviteEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_InviteEvent",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_InviteEvent, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_InviteEvent" "', argument " "1"" of type '" "InviteEvent *""'");
- }
- arg1 = reinterpret_cast< InviteEvent * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_InviteEvent_getType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- InviteEvent *arg1 = (InviteEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- tsip_invite_event_type_t result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:InviteEvent_getType",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_InviteEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InviteEvent_getType" "', argument " "1"" of type '" "InviteEvent const *""'");
- }
- arg1 = reinterpret_cast< InviteEvent * >(argp1);
- result = (tsip_invite_event_type_t)((InviteEvent const *)arg1)->getType();
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_InviteEvent_getMediaType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- InviteEvent *arg1 = (InviteEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- twrap_media_type_t result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:InviteEvent_getMediaType",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_InviteEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InviteEvent_getMediaType" "', argument " "1"" of type '" "InviteEvent *""'");
- }
- arg1 = reinterpret_cast< InviteEvent * >(argp1);
- result = (twrap_media_type_t)(arg1)->getMediaType();
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_InviteEvent_getSession(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- InviteEvent *arg1 = (InviteEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- InviteSession *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:InviteEvent_getSession",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_InviteEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InviteEvent_getSession" "', argument " "1"" of type '" "InviteEvent const *""'");
- }
- arg1 = reinterpret_cast< InviteEvent * >(argp1);
- result = (InviteSession *)((InviteEvent const *)arg1)->getSession();
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_InviteSession, 0 | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_InviteEvent_takeCallSessionOwnership(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- InviteEvent *arg1 = (InviteEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- CallSession *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:InviteEvent_takeCallSessionOwnership",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_InviteEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InviteEvent_takeCallSessionOwnership" "', argument " "1"" of type '" "InviteEvent const *""'");
- }
- arg1 = reinterpret_cast< InviteEvent * >(argp1);
- result = (CallSession *)((InviteEvent const *)arg1)->takeCallSessionOwnership();
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CallSession, SWIG_POINTER_OWN | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_InviteEvent_takeMsrpSessionOwnership(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- InviteEvent *arg1 = (InviteEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- MsrpSession *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:InviteEvent_takeMsrpSessionOwnership",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_InviteEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InviteEvent_takeMsrpSessionOwnership" "', argument " "1"" of type '" "InviteEvent const *""'");
- }
- arg1 = reinterpret_cast< InviteEvent * >(argp1);
- result = (MsrpSession *)((InviteEvent const *)arg1)->takeMsrpSessionOwnership();
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_MsrpSession, SWIG_POINTER_OWN | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *InviteEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_InviteEvent, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_delete_MessagingEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MessagingEvent *arg1 = (MessagingEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_MessagingEvent",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MessagingEvent, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MessagingEvent" "', argument " "1"" of type '" "MessagingEvent *""'");
- }
- arg1 = reinterpret_cast< MessagingEvent * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MessagingEvent_getType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MessagingEvent *arg1 = (MessagingEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- tsip_message_event_type_t result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:MessagingEvent_getType",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MessagingEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MessagingEvent_getType" "', argument " "1"" of type '" "MessagingEvent const *""'");
- }
- arg1 = reinterpret_cast< MessagingEvent * >(argp1);
- result = (tsip_message_event_type_t)((MessagingEvent const *)arg1)->getType();
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MessagingEvent_getSession(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MessagingEvent *arg1 = (MessagingEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- MessagingSession *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:MessagingEvent_getSession",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MessagingEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MessagingEvent_getSession" "', argument " "1"" of type '" "MessagingEvent const *""'");
- }
- arg1 = reinterpret_cast< MessagingEvent * >(argp1);
- result = (MessagingSession *)((MessagingEvent const *)arg1)->getSession();
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_MessagingSession, 0 | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MessagingEvent_takeSessionOwnership(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MessagingEvent *arg1 = (MessagingEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- MessagingSession *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:MessagingEvent_takeSessionOwnership",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MessagingEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MessagingEvent_takeSessionOwnership" "', argument " "1"" of type '" "MessagingEvent const *""'");
- }
- arg1 = reinterpret_cast< MessagingEvent * >(argp1);
- result = (MessagingSession *)((MessagingEvent const *)arg1)->takeSessionOwnership();
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_MessagingSession, SWIG_POINTER_OWN | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *MessagingEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_MessagingEvent, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_delete_OptionsEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- OptionsEvent *arg1 = (OptionsEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_OptionsEvent",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_OptionsEvent, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OptionsEvent" "', argument " "1"" of type '" "OptionsEvent *""'");
- }
- arg1 = reinterpret_cast< OptionsEvent * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_OptionsEvent_getType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- OptionsEvent *arg1 = (OptionsEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- tsip_options_event_type_t result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:OptionsEvent_getType",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_OptionsEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OptionsEvent_getType" "', argument " "1"" of type '" "OptionsEvent const *""'");
- }
- arg1 = reinterpret_cast< OptionsEvent * >(argp1);
- result = (tsip_options_event_type_t)((OptionsEvent const *)arg1)->getType();
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_OptionsEvent_getSession(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- OptionsEvent *arg1 = (OptionsEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- OptionsSession *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:OptionsEvent_getSession",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_OptionsEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OptionsEvent_getSession" "', argument " "1"" of type '" "OptionsEvent const *""'");
- }
- arg1 = reinterpret_cast< OptionsEvent * >(argp1);
- result = (OptionsSession *)((OptionsEvent const *)arg1)->getSession();
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OptionsSession, 0 | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *OptionsEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_OptionsEvent, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_delete_PublicationEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- PublicationEvent *arg1 = (PublicationEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_PublicationEvent",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_PublicationEvent, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PublicationEvent" "', argument " "1"" of type '" "PublicationEvent *""'");
- }
- arg1 = reinterpret_cast< PublicationEvent * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_PublicationEvent_getType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- PublicationEvent *arg1 = (PublicationEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- tsip_publish_event_type_t result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:PublicationEvent_getType",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_PublicationEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PublicationEvent_getType" "', argument " "1"" of type '" "PublicationEvent const *""'");
- }
- arg1 = reinterpret_cast< PublicationEvent * >(argp1);
- result = (tsip_publish_event_type_t)((PublicationEvent const *)arg1)->getType();
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_PublicationEvent_getSession(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- PublicationEvent *arg1 = (PublicationEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- PublicationSession *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:PublicationEvent_getSession",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_PublicationEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PublicationEvent_getSession" "', argument " "1"" of type '" "PublicationEvent const *""'");
- }
- arg1 = reinterpret_cast< PublicationEvent * >(argp1);
- result = (PublicationSession *)((PublicationEvent const *)arg1)->getSession();
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_PublicationSession, 0 | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *PublicationEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_PublicationEvent, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_delete_RegistrationEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- RegistrationEvent *arg1 = (RegistrationEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_RegistrationEvent",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_RegistrationEvent, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RegistrationEvent" "', argument " "1"" of type '" "RegistrationEvent *""'");
- }
- arg1 = reinterpret_cast< RegistrationEvent * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_RegistrationEvent_getType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- RegistrationEvent *arg1 = (RegistrationEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- tsip_register_event_type_t result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:RegistrationEvent_getType",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_RegistrationEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RegistrationEvent_getType" "', argument " "1"" of type '" "RegistrationEvent const *""'");
- }
- arg1 = reinterpret_cast< RegistrationEvent * >(argp1);
- result = (tsip_register_event_type_t)((RegistrationEvent const *)arg1)->getType();
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_RegistrationEvent_getSession(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- RegistrationEvent *arg1 = (RegistrationEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- RegistrationSession *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:RegistrationEvent_getSession",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_RegistrationEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RegistrationEvent_getSession" "', argument " "1"" of type '" "RegistrationEvent const *""'");
- }
- arg1 = reinterpret_cast< RegistrationEvent * >(argp1);
- result = (RegistrationSession *)((RegistrationEvent const *)arg1)->getSession();
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RegistrationSession, 0 | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_RegistrationEvent_takeSessionOwnership(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- RegistrationEvent *arg1 = (RegistrationEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- RegistrationSession *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:RegistrationEvent_takeSessionOwnership",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_RegistrationEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RegistrationEvent_takeSessionOwnership" "', argument " "1"" of type '" "RegistrationEvent const *""'");
- }
- arg1 = reinterpret_cast< RegistrationEvent * >(argp1);
- result = (RegistrationSession *)((RegistrationEvent const *)arg1)->takeSessionOwnership();
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RegistrationSession, SWIG_POINTER_OWN | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *RegistrationEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_RegistrationEvent, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_delete_SubscriptionEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SubscriptionEvent *arg1 = (SubscriptionEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_SubscriptionEvent",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SubscriptionEvent, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SubscriptionEvent" "', argument " "1"" of type '" "SubscriptionEvent *""'");
- }
- arg1 = reinterpret_cast< SubscriptionEvent * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SubscriptionEvent_getType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SubscriptionEvent *arg1 = (SubscriptionEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- tsip_subscribe_event_type_t result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SubscriptionEvent_getType",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SubscriptionEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SubscriptionEvent_getType" "', argument " "1"" of type '" "SubscriptionEvent const *""'");
- }
- arg1 = reinterpret_cast< SubscriptionEvent * >(argp1);
- result = (tsip_subscribe_event_type_t)((SubscriptionEvent const *)arg1)->getType();
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SubscriptionEvent_getSession(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SubscriptionEvent *arg1 = (SubscriptionEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- SubscriptionSession *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SubscriptionEvent_getSession",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SubscriptionEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SubscriptionEvent_getSession" "', argument " "1"" of type '" "SubscriptionEvent const *""'");
- }
- arg1 = reinterpret_cast< SubscriptionEvent * >(argp1);
- result = (SubscriptionSession *)((SubscriptionEvent const *)arg1)->getSession();
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SubscriptionSession, 0 | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *SubscriptionEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_SubscriptionEvent, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_new_SipSession(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- SipSession *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:new_SipSession",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SipSession" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- result = (SipSession *)new SipSession(arg1);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SipSession, SWIG_POINTER_NEW | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_delete_SipSession(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipSession *arg1 = (SipSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_SipSession",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipSession, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SipSession" "', argument " "1"" of type '" "SipSession *""'");
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipSession_haveOwnership(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipSession *arg1 = (SipSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SipSession_haveOwnership",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipSession_haveOwnership" "', argument " "1"" of type '" "SipSession *""'");
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- result = (bool)(arg1)->haveOwnership();
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipSession_addHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:SipSession_addHeader",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipSession_addHeader" "', argument " "1"" of type '" "SipSession *""'");
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipSession_addHeader" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SipSession_addHeader" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (bool)(arg1)->addHeader((char const *)arg2,(char const *)arg3);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipSession_removeHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipSession_removeHeader",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipSession_removeHeader" "', argument " "1"" of type '" "SipSession *""'");
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipSession_removeHeader" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->removeHeader((char const *)arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipSession_addCaps__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:SipSession_addCaps",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipSession_addCaps" "', argument " "1"" of type '" "SipSession *""'");
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipSession_addCaps" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SipSession_addCaps" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (bool)(arg1)->addCaps((char const *)arg2,(char const *)arg3);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipSession_addCaps__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipSession_addCaps",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipSession_addCaps" "', argument " "1"" of type '" "SipSession *""'");
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipSession_addCaps" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->addCaps((char const *)arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipSession_addCaps(PyObject *self, PyObject *args) {
- int argc;
- PyObject *argv[4];
- int ii;
-
- if (!PyTuple_Check(args)) SWIG_fail;
- argc = (int)PyObject_Length(args);
- for (ii = 0; (ii < argc) && (ii < 3); ii++) {
- argv[ii] = PyTuple_GET_ITEM(args,ii);
- }
- if (argc == 2) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SipSession, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_SipSession_addCaps__SWIG_1(self, args);
- }
- }
- }
- if (argc == 3) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SipSession, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_SipSession_addCaps__SWIG_0(self, args);
- }
- }
- }
- }
-
-fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'SipSession_addCaps'.\n"
- " Possible C/C++ prototypes are:\n"
- " addCaps(SipSession *,char const *,char const *)\n"
- " addCaps(SipSession *,char const *)\n");
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipSession_removeCaps(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipSession_removeCaps",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipSession_removeCaps" "', argument " "1"" of type '" "SipSession *""'");
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipSession_removeCaps" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->removeCaps((char const *)arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipSession_setExpires(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipSession *arg1 = (SipSession *) 0 ;
- unsigned int arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- unsigned int val2 ;
- int ecode2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipSession_setExpires",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipSession_setExpires" "', argument " "1"" of type '" "SipSession *""'");
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SipSession_setExpires" "', argument " "2"" of type '" "unsigned int""'");
- }
- arg2 = static_cast< unsigned int >(val2);
- result = (bool)(arg1)->setExpires(arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipSession_setFromUri(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipSession_setFromUri",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipSession_setFromUri" "', argument " "1"" of type '" "SipSession *""'");
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipSession_setFromUri" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->setFromUri((char const *)arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipSession_setToUri(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipSession_setToUri",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipSession_setToUri" "', argument " "1"" of type '" "SipSession *""'");
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipSession_setToUri" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->setToUri((char const *)arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipSession_setSilentHangup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipSession *arg1 = (SipSession *) 0 ;
- bool arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- bool val2 ;
- int ecode2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipSession_setSilentHangup",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipSession_setSilentHangup" "', argument " "1"" of type '" "SipSession *""'");
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- ecode2 = SWIG_AsVal_bool(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SipSession_setSilentHangup" "', argument " "2"" of type '" "bool""'");
- }
- arg2 = static_cast< bool >(val2);
- result = (bool)(arg1)->setSilentHangup(arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipSession_addSigCompCompartment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipSession_addSigCompCompartment",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipSession_addSigCompCompartment" "', argument " "1"" of type '" "SipSession *""'");
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipSession_addSigCompCompartment" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->addSigCompCompartment((char const *)arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipSession_removeSigCompCompartment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipSession *arg1 = (SipSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SipSession_removeSigCompCompartment",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipSession_removeSigCompCompartment" "', argument " "1"" of type '" "SipSession *""'");
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- result = (bool)(arg1)->removeSigCompCompartment();
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipSession_getId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipSession *arg1 = (SipSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- unsigned int result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SipSession_getId",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipSession_getId" "', argument " "1"" of type '" "SipSession *""'");
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- result = (unsigned int)(arg1)->getId();
- resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *SipSession_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_SipSession, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_new_InviteSession(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- InviteSession *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:new_InviteSession",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_InviteSession" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- result = (InviteSession *)new InviteSession(arg1);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_InviteSession, SWIG_POINTER_NEW | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_delete_InviteSession(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- InviteSession *arg1 = (InviteSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_InviteSession",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_InviteSession, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_InviteSession" "', argument " "1"" of type '" "InviteSession *""'");
- }
- arg1 = reinterpret_cast< InviteSession * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_InviteSession_accept__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- InviteSession *arg1 = (InviteSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:InviteSession_accept",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_InviteSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InviteSession_accept" "', argument " "1"" of type '" "InviteSession *""'");
- }
- arg1 = reinterpret_cast< InviteSession * >(argp1);
- res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "InviteSession_accept" "', argument " "2"" of type '" "ActionConfig *""'");
- }
- arg2 = reinterpret_cast< ActionConfig * >(argp2);
- result = (bool)(arg1)->accept(arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_InviteSession_accept__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- InviteSession *arg1 = (InviteSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:InviteSession_accept",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_InviteSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InviteSession_accept" "', argument " "1"" of type '" "InviteSession *""'");
- }
- arg1 = reinterpret_cast< InviteSession * >(argp1);
- result = (bool)(arg1)->accept();
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_InviteSession_accept(PyObject *self, PyObject *args) {
- int argc;
- PyObject *argv[3];
- int ii;
-
- if (!PyTuple_Check(args)) SWIG_fail;
- argc = (int)PyObject_Length(args);
- for (ii = 0; (ii < argc) && (ii < 2); ii++) {
- argv[ii] = PyTuple_GET_ITEM(args,ii);
- }
- if (argc == 1) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_InviteSession, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_InviteSession_accept__SWIG_1(self, args);
- }
- }
- if (argc == 2) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_InviteSession, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_ActionConfig, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_InviteSession_accept__SWIG_0(self, args);
- }
- }
- }
-
-fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'InviteSession_accept'.\n"
- " Possible C/C++ prototypes are:\n"
- " accept(InviteSession *,ActionConfig *)\n"
- " accept(InviteSession *)\n");
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_InviteSession_hangup__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- InviteSession *arg1 = (InviteSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:InviteSession_hangup",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_InviteSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InviteSession_hangup" "', argument " "1"" of type '" "InviteSession *""'");
- }
- arg1 = reinterpret_cast< InviteSession * >(argp1);
- res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "InviteSession_hangup" "', argument " "2"" of type '" "ActionConfig *""'");
- }
- arg2 = reinterpret_cast< ActionConfig * >(argp2);
- result = (bool)(arg1)->hangup(arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_InviteSession_hangup__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- InviteSession *arg1 = (InviteSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:InviteSession_hangup",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_InviteSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InviteSession_hangup" "', argument " "1"" of type '" "InviteSession *""'");
- }
- arg1 = reinterpret_cast< InviteSession * >(argp1);
- result = (bool)(arg1)->hangup();
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_InviteSession_hangup(PyObject *self, PyObject *args) {
- int argc;
- PyObject *argv[3];
- int ii;
-
- if (!PyTuple_Check(args)) SWIG_fail;
- argc = (int)PyObject_Length(args);
- for (ii = 0; (ii < argc) && (ii < 2); ii++) {
- argv[ii] = PyTuple_GET_ITEM(args,ii);
- }
- if (argc == 1) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_InviteSession, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_InviteSession_hangup__SWIG_1(self, args);
- }
- }
- if (argc == 2) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_InviteSession, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_ActionConfig, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_InviteSession_hangup__SWIG_0(self, args);
- }
- }
- }
-
-fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'InviteSession_hangup'.\n"
- " Possible C/C++ prototypes are:\n"
- " hangup(InviteSession *,ActionConfig *)\n"
- " hangup(InviteSession *)\n");
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_InviteSession_reject__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- InviteSession *arg1 = (InviteSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:InviteSession_reject",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_InviteSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InviteSession_reject" "', argument " "1"" of type '" "InviteSession *""'");
- }
- arg1 = reinterpret_cast< InviteSession * >(argp1);
- res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "InviteSession_reject" "', argument " "2"" of type '" "ActionConfig *""'");
- }
- arg2 = reinterpret_cast< ActionConfig * >(argp2);
- result = (bool)(arg1)->reject(arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_InviteSession_reject__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- InviteSession *arg1 = (InviteSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:InviteSession_reject",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_InviteSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InviteSession_reject" "', argument " "1"" of type '" "InviteSession *""'");
- }
- arg1 = reinterpret_cast< InviteSession * >(argp1);
- result = (bool)(arg1)->reject();
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_InviteSession_reject(PyObject *self, PyObject *args) {
- int argc;
- PyObject *argv[3];
- int ii;
-
- if (!PyTuple_Check(args)) SWIG_fail;
- argc = (int)PyObject_Length(args);
- for (ii = 0; (ii < argc) && (ii < 2); ii++) {
- argv[ii] = PyTuple_GET_ITEM(args,ii);
- }
- if (argc == 1) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_InviteSession, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_InviteSession_reject__SWIG_1(self, args);
- }
- }
- if (argc == 2) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_InviteSession, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_ActionConfig, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_InviteSession_reject__SWIG_0(self, args);
- }
- }
- }
-
-fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'InviteSession_reject'.\n"
- " Possible C/C++ prototypes are:\n"
- " reject(InviteSession *,ActionConfig *)\n"
- " reject(InviteSession *)\n");
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_InviteSession_getMediaMgr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- InviteSession *arg1 = (InviteSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- MediaSessionMgr *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:InviteSession_getMediaMgr",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_InviteSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InviteSession_getMediaMgr" "', argument " "1"" of type '" "InviteSession *""'");
- }
- arg1 = reinterpret_cast< InviteSession * >(argp1);
- result = (MediaSessionMgr *)(arg1)->getMediaMgr();
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_MediaSessionMgr, 0 | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *InviteSession_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_InviteSession, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_new_CallSession(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- CallSession *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:new_CallSession",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CallSession" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- result = (CallSession *)new CallSession(arg1);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CallSession, SWIG_POINTER_NEW | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_delete_CallSession(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- CallSession *arg1 = (CallSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_CallSession",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CallSession, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CallSession" "', argument " "1"" of type '" "CallSession *""'");
- }
- arg1 = reinterpret_cast< CallSession * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_CallSession_callAudio__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- CallSession *arg1 = (CallSession *) 0 ;
- char *arg2 = (char *) 0 ;
- ActionConfig *arg3 = (ActionConfig *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- void *argp3 = 0 ;
- int res3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:CallSession_callAudio",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CallSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CallSession_callAudio" "', argument " "1"" of type '" "CallSession *""'");
- }
- arg1 = reinterpret_cast< CallSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CallSession_callAudio" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CallSession_callAudio" "', argument " "3"" of type '" "ActionConfig *""'");
- }
- arg3 = reinterpret_cast< ActionConfig * >(argp3);
- result = (bool)(arg1)->callAudio((char const *)arg2,arg3);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_CallSession_callAudio__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- CallSession *arg1 = (CallSession *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:CallSession_callAudio",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CallSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CallSession_callAudio" "', argument " "1"" of type '" "CallSession *""'");
- }
- arg1 = reinterpret_cast< CallSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CallSession_callAudio" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->callAudio((char const *)arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_CallSession_callAudio(PyObject *self, PyObject *args) {
- int argc;
- PyObject *argv[4];
- int ii;
-
- if (!PyTuple_Check(args)) SWIG_fail;
- argc = (int)PyObject_Length(args);
- for (ii = 0; (ii < argc) && (ii < 3); ii++) {
- argv[ii] = PyTuple_GET_ITEM(args,ii);
- }
- if (argc == 2) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CallSession, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_CallSession_callAudio__SWIG_1(self, args);
- }
- }
- }
- if (argc == 3) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CallSession, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_ActionConfig, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_CallSession_callAudio__SWIG_0(self, args);
- }
- }
- }
- }
-
-fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'CallSession_callAudio'.\n"
- " Possible C/C++ prototypes are:\n"
- " callAudio(CallSession *,char const *,ActionConfig *)\n"
- " callAudio(CallSession *,char const *)\n");
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_CallSession_callAudioVideo__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- CallSession *arg1 = (CallSession *) 0 ;
- char *arg2 = (char *) 0 ;
- ActionConfig *arg3 = (ActionConfig *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- void *argp3 = 0 ;
- int res3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:CallSession_callAudioVideo",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CallSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CallSession_callAudioVideo" "', argument " "1"" of type '" "CallSession *""'");
- }
- arg1 = reinterpret_cast< CallSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CallSession_callAudioVideo" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CallSession_callAudioVideo" "', argument " "3"" of type '" "ActionConfig *""'");
- }
- arg3 = reinterpret_cast< ActionConfig * >(argp3);
- result = (bool)(arg1)->callAudioVideo((char const *)arg2,arg3);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_CallSession_callAudioVideo__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- CallSession *arg1 = (CallSession *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:CallSession_callAudioVideo",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CallSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CallSession_callAudioVideo" "', argument " "1"" of type '" "CallSession *""'");
- }
- arg1 = reinterpret_cast< CallSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CallSession_callAudioVideo" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->callAudioVideo((char const *)arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_CallSession_callAudioVideo(PyObject *self, PyObject *args) {
- int argc;
- PyObject *argv[4];
- int ii;
-
- if (!PyTuple_Check(args)) SWIG_fail;
- argc = (int)PyObject_Length(args);
- for (ii = 0; (ii < argc) && (ii < 3); ii++) {
- argv[ii] = PyTuple_GET_ITEM(args,ii);
- }
- if (argc == 2) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CallSession, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_CallSession_callAudioVideo__SWIG_1(self, args);
- }
- }
- }
- if (argc == 3) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CallSession, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_ActionConfig, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_CallSession_callAudioVideo__SWIG_0(self, args);
- }
- }
- }
- }
-
-fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'CallSession_callAudioVideo'.\n"
- " Possible C/C++ prototypes are:\n"
- " callAudioVideo(CallSession *,char const *,ActionConfig *)\n"
- " callAudioVideo(CallSession *,char const *)\n");
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_CallSession_callVideo__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- CallSession *arg1 = (CallSession *) 0 ;
- char *arg2 = (char *) 0 ;
- ActionConfig *arg3 = (ActionConfig *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- void *argp3 = 0 ;
- int res3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:CallSession_callVideo",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CallSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CallSession_callVideo" "', argument " "1"" of type '" "CallSession *""'");
- }
- arg1 = reinterpret_cast< CallSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CallSession_callVideo" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CallSession_callVideo" "', argument " "3"" of type '" "ActionConfig *""'");
- }
- arg3 = reinterpret_cast< ActionConfig * >(argp3);
- result = (bool)(arg1)->callVideo((char const *)arg2,arg3);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_CallSession_callVideo__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- CallSession *arg1 = (CallSession *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:CallSession_callVideo",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CallSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CallSession_callVideo" "', argument " "1"" of type '" "CallSession *""'");
- }
- arg1 = reinterpret_cast< CallSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CallSession_callVideo" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->callVideo((char const *)arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_CallSession_callVideo(PyObject *self, PyObject *args) {
- int argc;
- PyObject *argv[4];
- int ii;
-
- if (!PyTuple_Check(args)) SWIG_fail;
- argc = (int)PyObject_Length(args);
- for (ii = 0; (ii < argc) && (ii < 3); ii++) {
- argv[ii] = PyTuple_GET_ITEM(args,ii);
- }
- if (argc == 2) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CallSession, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_CallSession_callVideo__SWIG_1(self, args);
- }
- }
- }
- if (argc == 3) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CallSession, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_ActionConfig, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_CallSession_callVideo__SWIG_0(self, args);
- }
- }
- }
- }
-
-fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'CallSession_callVideo'.\n"
- " Possible C/C++ prototypes are:\n"
- " callVideo(CallSession *,char const *,ActionConfig *)\n"
- " callVideo(CallSession *,char const *)\n");
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_CallSession_setSessionTimer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- CallSession *arg1 = (CallSession *) 0 ;
- unsigned int arg2 ;
- char *arg3 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- unsigned int val2 ;
- int ecode2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:CallSession_setSessionTimer",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CallSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CallSession_setSessionTimer" "', argument " "1"" of type '" "CallSession *""'");
- }
- arg1 = reinterpret_cast< CallSession * >(argp1);
- ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CallSession_setSessionTimer" "', argument " "2"" of type '" "unsigned int""'");
- }
- arg2 = static_cast< unsigned int >(val2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CallSession_setSessionTimer" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (bool)(arg1)->setSessionTimer(arg2,(char const *)arg3);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return resultobj;
-fail:
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_CallSession_set100rel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- CallSession *arg1 = (CallSession *) 0 ;
- bool arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- bool val2 ;
- int ecode2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:CallSession_set100rel",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CallSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CallSession_set100rel" "', argument " "1"" of type '" "CallSession *""'");
- }
- arg1 = reinterpret_cast< CallSession * >(argp1);
- ecode2 = SWIG_AsVal_bool(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CallSession_set100rel" "', argument " "2"" of type '" "bool""'");
- }
- arg2 = static_cast< bool >(val2);
- result = (bool)(arg1)->set100rel(arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_CallSession_setQoS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- CallSession *arg1 = (CallSession *) 0 ;
- tmedia_qos_stype_t arg2 ;
- tmedia_qos_strength_t arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
- int val3 ;
- int ecode3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:CallSession_setQoS",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CallSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CallSession_setQoS" "', argument " "1"" of type '" "CallSession *""'");
- }
- arg1 = reinterpret_cast< CallSession * >(argp1);
- ecode2 = SWIG_AsVal_int(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CallSession_setQoS" "', argument " "2"" of type '" "tmedia_qos_stype_t""'");
- }
- arg2 = static_cast< tmedia_qos_stype_t >(val2);
- ecode3 = SWIG_AsVal_int(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CallSession_setQoS" "', argument " "3"" of type '" "tmedia_qos_strength_t""'");
- }
- arg3 = static_cast< tmedia_qos_strength_t >(val3);
- result = (bool)(arg1)->setQoS(arg2,arg3);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_CallSession_hold__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- CallSession *arg1 = (CallSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:CallSession_hold",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CallSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CallSession_hold" "', argument " "1"" of type '" "CallSession *""'");
- }
- arg1 = reinterpret_cast< CallSession * >(argp1);
- res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CallSession_hold" "', argument " "2"" of type '" "ActionConfig *""'");
- }
- arg2 = reinterpret_cast< ActionConfig * >(argp2);
- result = (bool)(arg1)->hold(arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_CallSession_hold__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- CallSession *arg1 = (CallSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:CallSession_hold",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CallSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CallSession_hold" "', argument " "1"" of type '" "CallSession *""'");
- }
- arg1 = reinterpret_cast< CallSession * >(argp1);
- result = (bool)(arg1)->hold();
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_CallSession_hold(PyObject *self, PyObject *args) {
- int argc;
- PyObject *argv[3];
- int ii;
-
- if (!PyTuple_Check(args)) SWIG_fail;
- argc = (int)PyObject_Length(args);
- for (ii = 0; (ii < argc) && (ii < 2); ii++) {
- argv[ii] = PyTuple_GET_ITEM(args,ii);
- }
- if (argc == 1) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CallSession, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_CallSession_hold__SWIG_1(self, args);
- }
- }
- if (argc == 2) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CallSession, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_ActionConfig, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_CallSession_hold__SWIG_0(self, args);
- }
- }
- }
-
-fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'CallSession_hold'.\n"
- " Possible C/C++ prototypes are:\n"
- " hold(CallSession *,ActionConfig *)\n"
- " hold(CallSession *)\n");
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_CallSession_resume__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- CallSession *arg1 = (CallSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:CallSession_resume",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CallSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CallSession_resume" "', argument " "1"" of type '" "CallSession *""'");
- }
- arg1 = reinterpret_cast< CallSession * >(argp1);
- res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CallSession_resume" "', argument " "2"" of type '" "ActionConfig *""'");
- }
- arg2 = reinterpret_cast< ActionConfig * >(argp2);
- result = (bool)(arg1)->resume(arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_CallSession_resume__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- CallSession *arg1 = (CallSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:CallSession_resume",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CallSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CallSession_resume" "', argument " "1"" of type '" "CallSession *""'");
- }
- arg1 = reinterpret_cast< CallSession * >(argp1);
- result = (bool)(arg1)->resume();
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_CallSession_resume(PyObject *self, PyObject *args) {
- int argc;
- PyObject *argv[3];
- int ii;
-
- if (!PyTuple_Check(args)) SWIG_fail;
- argc = (int)PyObject_Length(args);
- for (ii = 0; (ii < argc) && (ii < 2); ii++) {
- argv[ii] = PyTuple_GET_ITEM(args,ii);
- }
- if (argc == 1) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CallSession, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_CallSession_resume__SWIG_1(self, args);
- }
- }
- if (argc == 2) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CallSession, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_ActionConfig, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_CallSession_resume__SWIG_0(self, args);
- }
- }
- }
-
-fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'CallSession_resume'.\n"
- " Possible C/C++ prototypes are:\n"
- " resume(CallSession *,ActionConfig *)\n"
- " resume(CallSession *)\n");
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_CallSession_sendDTMF(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- CallSession *arg1 = (CallSession *) 0 ;
- int arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:CallSession_sendDTMF",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CallSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CallSession_sendDTMF" "', argument " "1"" of type '" "CallSession *""'");
- }
- arg1 = reinterpret_cast< CallSession * >(argp1);
- ecode2 = SWIG_AsVal_int(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CallSession_sendDTMF" "', argument " "2"" of type '" "int""'");
- }
- arg2 = static_cast< int >(val2);
- result = (bool)(arg1)->sendDTMF(arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *CallSession_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_CallSession, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_new_MsrpSession(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- MsrpCallback *arg2 = (MsrpCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- MsrpSession *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:new_MsrpSession",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MsrpSession" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_MsrpCallback, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_MsrpSession" "', argument " "2"" of type '" "MsrpCallback *""'");
- }
- arg2 = reinterpret_cast< MsrpCallback * >(argp2);
- result = (MsrpSession *)new MsrpSession(arg1,arg2);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_MsrpSession, SWIG_POINTER_NEW | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_delete_MsrpSession(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_MsrpSession",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MsrpSession, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MsrpSession" "', argument " "1"" of type '" "MsrpSession *""'");
- }
- arg1 = reinterpret_cast< MsrpSession * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MsrpSession_setCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- MsrpCallback *arg2 = (MsrpCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:MsrpSession_setCallback",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MsrpSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpSession_setCallback" "', argument " "1"" of type '" "MsrpSession *""'");
- }
- arg1 = reinterpret_cast< MsrpSession * >(argp1);
- res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_MsrpCallback, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MsrpSession_setCallback" "', argument " "2"" of type '" "MsrpCallback *""'");
- }
- arg2 = reinterpret_cast< MsrpCallback * >(argp2);
- result = (bool)(arg1)->setCallback(arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MsrpSession_callMsrp__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- char *arg2 = (char *) 0 ;
- ActionConfig *arg3 = (ActionConfig *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- void *argp3 = 0 ;
- int res3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:MsrpSession_callMsrp",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MsrpSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpSession_callMsrp" "', argument " "1"" of type '" "MsrpSession *""'");
- }
- arg1 = reinterpret_cast< MsrpSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MsrpSession_callMsrp" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "MsrpSession_callMsrp" "', argument " "3"" of type '" "ActionConfig *""'");
- }
- arg3 = reinterpret_cast< ActionConfig * >(argp3);
- result = (bool)(arg1)->callMsrp((char const *)arg2,arg3);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MsrpSession_callMsrp__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:MsrpSession_callMsrp",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MsrpSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpSession_callMsrp" "', argument " "1"" of type '" "MsrpSession *""'");
- }
- arg1 = reinterpret_cast< MsrpSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MsrpSession_callMsrp" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->callMsrp((char const *)arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MsrpSession_callMsrp(PyObject *self, PyObject *args) {
- int argc;
- PyObject *argv[4];
- int ii;
-
- if (!PyTuple_Check(args)) SWIG_fail;
- argc = (int)PyObject_Length(args);
- for (ii = 0; (ii < argc) && (ii < 3); ii++) {
- argv[ii] = PyTuple_GET_ITEM(args,ii);
- }
- if (argc == 2) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_MsrpSession, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_MsrpSession_callMsrp__SWIG_1(self, args);
- }
- }
- }
- if (argc == 3) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_MsrpSession, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_ActionConfig, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_MsrpSession_callMsrp__SWIG_0(self, args);
- }
- }
- }
- }
-
-fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'MsrpSession_callMsrp'.\n"
- " Possible C/C++ prototypes are:\n"
- " callMsrp(MsrpSession *,char const *,ActionConfig *)\n"
- " callMsrp(MsrpSession *,char const *)\n");
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MsrpSession_sendMessage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- ActionConfig *arg4 = (ActionConfig *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- void *argp4 = 0 ;
- int res4 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOOO:MsrpSession_sendMessage",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MsrpSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpSession_sendMessage" "', argument " "1"" of type '" "MsrpSession *""'");
- }
- arg1 = reinterpret_cast< MsrpSession * >(argp1);
- res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MsrpSession_sendMessage" "', argument " "2"" of type '" "void const *""'");
- }
- ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MsrpSession_sendMessage" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (!SWIG_IsOK(res4)) {
- SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "MsrpSession_sendMessage" "', argument " "4"" of type '" "ActionConfig *""'");
- }
- arg4 = reinterpret_cast< ActionConfig * >(argp4);
- result = (bool)(arg1)->sendMessage((void const *)arg2,arg3,arg4);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MsrpSession_sendMessage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:MsrpSession_sendMessage",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MsrpSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpSession_sendMessage" "', argument " "1"" of type '" "MsrpSession *""'");
- }
- arg1 = reinterpret_cast< MsrpSession * >(argp1);
- res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MsrpSession_sendMessage" "', argument " "2"" of type '" "void const *""'");
- }
- ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MsrpSession_sendMessage" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (bool)(arg1)->sendMessage((void const *)arg2,arg3);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MsrpSession_sendMessage(PyObject *self, PyObject *args) {
- int argc;
- PyObject *argv[5];
- int ii;
-
- if (!PyTuple_Check(args)) SWIG_fail;
- argc = (int)PyObject_Length(args);
- for (ii = 0; (ii < argc) && (ii < 4); ii++) {
- argv[ii] = PyTuple_GET_ITEM(args,ii);
- }
- if (argc == 3) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_MsrpSession, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- void *ptr = 0;
- int res = SWIG_ConvertPtr(argv[1], &ptr, 0, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- {
- int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
- _v = SWIG_CheckState(res);
- }
- if (_v) {
- return _wrap_MsrpSession_sendMessage__SWIG_1(self, args);
- }
- }
- }
- }
- if (argc == 4) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_MsrpSession, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- void *ptr = 0;
- int res = SWIG_ConvertPtr(argv[1], &ptr, 0, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- {
- int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
- _v = SWIG_CheckState(res);
- }
- if (_v) {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_ActionConfig, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_MsrpSession_sendMessage__SWIG_0(self, args);
- }
- }
- }
- }
- }
-
-fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'MsrpSession_sendMessage'.\n"
- " Possible C/C++ prototypes are:\n"
- " sendMessage(MsrpSession *,void const *,unsigned int,ActionConfig *)\n"
- " sendMessage(MsrpSession *,void const *,unsigned int)\n");
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MsrpSession_sendFile__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:MsrpSession_sendFile",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MsrpSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpSession_sendFile" "', argument " "1"" of type '" "MsrpSession *""'");
- }
- arg1 = reinterpret_cast< MsrpSession * >(argp1);
- res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MsrpSession_sendFile" "', argument " "2"" of type '" "ActionConfig *""'");
- }
- arg2 = reinterpret_cast< ActionConfig * >(argp2);
- result = (bool)(arg1)->sendFile(arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MsrpSession_sendFile__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MsrpSession *arg1 = (MsrpSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:MsrpSession_sendFile",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MsrpSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpSession_sendFile" "', argument " "1"" of type '" "MsrpSession *""'");
- }
- arg1 = reinterpret_cast< MsrpSession * >(argp1);
- result = (bool)(arg1)->sendFile();
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MsrpSession_sendFile(PyObject *self, PyObject *args) {
- int argc;
- PyObject *argv[3];
- int ii;
-
- if (!PyTuple_Check(args)) SWIG_fail;
- argc = (int)PyObject_Length(args);
- for (ii = 0; (ii < argc) && (ii < 2); ii++) {
- argv[ii] = PyTuple_GET_ITEM(args,ii);
- }
- if (argc == 1) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_MsrpSession, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_MsrpSession_sendFile__SWIG_1(self, args);
- }
- }
- if (argc == 2) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_MsrpSession, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_ActionConfig, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_MsrpSession_sendFile__SWIG_0(self, args);
- }
- }
- }
-
-fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'MsrpSession_sendFile'.\n"
- " Possible C/C++ prototypes are:\n"
- " sendFile(MsrpSession *,ActionConfig *)\n"
- " sendFile(MsrpSession *)\n");
- return NULL;
-}
-
-
-SWIGINTERN PyObject *MsrpSession_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_MsrpSession, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_new_MessagingSession(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- MessagingSession *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:new_MessagingSession",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessagingSession" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- result = (MessagingSession *)new MessagingSession(arg1);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_MessagingSession, SWIG_POINTER_NEW | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_delete_MessagingSession(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MessagingSession *arg1 = (MessagingSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_MessagingSession",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MessagingSession, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MessagingSession" "', argument " "1"" of type '" "MessagingSession *""'");
- }
- arg1 = reinterpret_cast< MessagingSession * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MessagingSession_send(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MessagingSession *arg1 = (MessagingSession *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:MessagingSession_send",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MessagingSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MessagingSession_send" "', argument " "1"" of type '" "MessagingSession *""'");
- }
- arg1 = reinterpret_cast< MessagingSession * >(argp1);
- res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MessagingSession_send" "', argument " "2"" of type '" "void const *""'");
- }
- ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MessagingSession_send" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (bool)(arg1)->send((void const *)arg2,arg3);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MessagingSession_accept(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MessagingSession *arg1 = (MessagingSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:MessagingSession_accept",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MessagingSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MessagingSession_accept" "', argument " "1"" of type '" "MessagingSession *""'");
- }
- arg1 = reinterpret_cast< MessagingSession * >(argp1);
- result = (bool)(arg1)->accept();
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MessagingSession_reject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MessagingSession *arg1 = (MessagingSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:MessagingSession_reject",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MessagingSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MessagingSession_reject" "', argument " "1"" of type '" "MessagingSession *""'");
- }
- arg1 = reinterpret_cast< MessagingSession * >(argp1);
- result = (bool)(arg1)->reject();
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *MessagingSession_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_MessagingSession, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_new_OptionsSession(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- OptionsSession *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:new_OptionsSession",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_OptionsSession" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- result = (OptionsSession *)new OptionsSession(arg1);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OptionsSession, SWIG_POINTER_NEW | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_delete_OptionsSession(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- OptionsSession *arg1 = (OptionsSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_OptionsSession",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_OptionsSession, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OptionsSession" "', argument " "1"" of type '" "OptionsSession *""'");
- }
- arg1 = reinterpret_cast< OptionsSession * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_OptionsSession_send(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- OptionsSession *arg1 = (OptionsSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:OptionsSession_send",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_OptionsSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OptionsSession_send" "', argument " "1"" of type '" "OptionsSession *""'");
- }
- arg1 = reinterpret_cast< OptionsSession * >(argp1);
- result = (bool)(arg1)->send();
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *OptionsSession_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_OptionsSession, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_new_PublicationSession(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- PublicationSession *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:new_PublicationSession",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PublicationSession" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- result = (PublicationSession *)new PublicationSession(arg1);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_PublicationSession, SWIG_POINTER_NEW | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_delete_PublicationSession(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- PublicationSession *arg1 = (PublicationSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_PublicationSession",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_PublicationSession, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PublicationSession" "', argument " "1"" of type '" "PublicationSession *""'");
- }
- arg1 = reinterpret_cast< PublicationSession * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_PublicationSession_publish(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- PublicationSession *arg1 = (PublicationSession *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:PublicationSession_publish",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_PublicationSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PublicationSession_publish" "', argument " "1"" of type '" "PublicationSession *""'");
- }
- arg1 = reinterpret_cast< PublicationSession * >(argp1);
- res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PublicationSession_publish" "', argument " "2"" of type '" "void const *""'");
- }
- ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PublicationSession_publish" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (bool)(arg1)->publish((void const *)arg2,arg3);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_PublicationSession_unPublish(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- PublicationSession *arg1 = (PublicationSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:PublicationSession_unPublish",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_PublicationSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PublicationSession_unPublish" "', argument " "1"" of type '" "PublicationSession *""'");
- }
- arg1 = reinterpret_cast< PublicationSession * >(argp1);
- result = (bool)(arg1)->unPublish();
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *PublicationSession_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_PublicationSession, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_new_RegistrationSession(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- RegistrationSession *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:new_RegistrationSession",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RegistrationSession" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- result = (RegistrationSession *)new RegistrationSession(arg1);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RegistrationSession, SWIG_POINTER_NEW | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_delete_RegistrationSession(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_RegistrationSession",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_RegistrationSession, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RegistrationSession" "', argument " "1"" of type '" "RegistrationSession *""'");
- }
- arg1 = reinterpret_cast< RegistrationSession * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_RegistrationSession_register_(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:RegistrationSession_register_",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_RegistrationSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RegistrationSession_register_" "', argument " "1"" of type '" "RegistrationSession *""'");
- }
- arg1 = reinterpret_cast< RegistrationSession * >(argp1);
- result = (bool)(arg1)->register_();
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_RegistrationSession_unRegister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:RegistrationSession_unRegister",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_RegistrationSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RegistrationSession_unRegister" "', argument " "1"" of type '" "RegistrationSession *""'");
- }
- arg1 = reinterpret_cast< RegistrationSession * >(argp1);
- result = (bool)(arg1)->unRegister();
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_RegistrationSession_accept__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:RegistrationSession_accept",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_RegistrationSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RegistrationSession_accept" "', argument " "1"" of type '" "RegistrationSession *""'");
- }
- arg1 = reinterpret_cast< RegistrationSession * >(argp1);
- res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RegistrationSession_accept" "', argument " "2"" of type '" "ActionConfig *""'");
- }
- arg2 = reinterpret_cast< ActionConfig * >(argp2);
- result = (bool)(arg1)->accept(arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_RegistrationSession_accept__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:RegistrationSession_accept",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_RegistrationSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RegistrationSession_accept" "', argument " "1"" of type '" "RegistrationSession *""'");
- }
- arg1 = reinterpret_cast< RegistrationSession * >(argp1);
- result = (bool)(arg1)->accept();
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_RegistrationSession_accept(PyObject *self, PyObject *args) {
- int argc;
- PyObject *argv[3];
- int ii;
-
- if (!PyTuple_Check(args)) SWIG_fail;
- argc = (int)PyObject_Length(args);
- for (ii = 0; (ii < argc) && (ii < 2); ii++) {
- argv[ii] = PyTuple_GET_ITEM(args,ii);
- }
- if (argc == 1) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_RegistrationSession, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_RegistrationSession_accept__SWIG_1(self, args);
- }
- }
- if (argc == 2) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_RegistrationSession, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_ActionConfig, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_RegistrationSession_accept__SWIG_0(self, args);
- }
- }
- }
-
-fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'RegistrationSession_accept'.\n"
- " Possible C/C++ prototypes are:\n"
- " accept(RegistrationSession *,ActionConfig *)\n"
- " accept(RegistrationSession *)\n");
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_RegistrationSession_reject__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
- ActionConfig *arg2 = (ActionConfig *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:RegistrationSession_reject",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_RegistrationSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RegistrationSession_reject" "', argument " "1"" of type '" "RegistrationSession *""'");
- }
- arg1 = reinterpret_cast< RegistrationSession * >(argp1);
- res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ActionConfig, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RegistrationSession_reject" "', argument " "2"" of type '" "ActionConfig *""'");
- }
- arg2 = reinterpret_cast< ActionConfig * >(argp2);
- result = (bool)(arg1)->reject(arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_RegistrationSession_reject__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:RegistrationSession_reject",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_RegistrationSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RegistrationSession_reject" "', argument " "1"" of type '" "RegistrationSession *""'");
- }
- arg1 = reinterpret_cast< RegistrationSession * >(argp1);
- result = (bool)(arg1)->reject();
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_RegistrationSession_reject(PyObject *self, PyObject *args) {
- int argc;
- PyObject *argv[3];
- int ii;
-
- if (!PyTuple_Check(args)) SWIG_fail;
- argc = (int)PyObject_Length(args);
- for (ii = 0; (ii < argc) && (ii < 2); ii++) {
- argv[ii] = PyTuple_GET_ITEM(args,ii);
- }
- if (argc == 1) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_RegistrationSession, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_RegistrationSession_reject__SWIG_1(self, args);
- }
- }
- if (argc == 2) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_RegistrationSession, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_ActionConfig, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_RegistrationSession_reject__SWIG_0(self, args);
- }
- }
- }
-
-fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'RegistrationSession_reject'.\n"
- " Possible C/C++ prototypes are:\n"
- " reject(RegistrationSession *,ActionConfig *)\n"
- " reject(RegistrationSession *)\n");
- return NULL;
-}
-
-
-SWIGINTERN PyObject *RegistrationSession_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_RegistrationSession, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_new_SubscriptionSession(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- SubscriptionSession *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:new_SubscriptionSession",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SubscriptionSession" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- result = (SubscriptionSession *)new SubscriptionSession(arg1);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SubscriptionSession, SWIG_POINTER_NEW | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_delete_SubscriptionSession(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SubscriptionSession *arg1 = (SubscriptionSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_SubscriptionSession",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SubscriptionSession, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SubscriptionSession" "', argument " "1"" of type '" "SubscriptionSession *""'");
- }
- arg1 = reinterpret_cast< SubscriptionSession * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SubscriptionSession_subscribe(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SubscriptionSession *arg1 = (SubscriptionSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SubscriptionSession_subscribe",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SubscriptionSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SubscriptionSession_subscribe" "', argument " "1"" of type '" "SubscriptionSession *""'");
- }
- arg1 = reinterpret_cast< SubscriptionSession * >(argp1);
- result = (bool)(arg1)->subscribe();
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SubscriptionSession_unSubscribe(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SubscriptionSession *arg1 = (SubscriptionSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SubscriptionSession_unSubscribe",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SubscriptionSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SubscriptionSession_unSubscribe" "', argument " "1"" of type '" "SubscriptionSession *""'");
- }
- arg1 = reinterpret_cast< SubscriptionSession * >(argp1);
- result = (bool)(arg1)->unSubscribe();
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *SubscriptionSession_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_SubscriptionSession, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_delete_ProxyPluginMgr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyPluginMgr *arg1 = (ProxyPluginMgr *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_ProxyPluginMgr",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyPluginMgr, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ProxyPluginMgr" "', argument " "1"" of type '" "ProxyPluginMgr *""'");
- }
- arg1 = reinterpret_cast< ProxyPluginMgr * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyPluginMgr_createInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyPluginMgrCallback *arg1 = (ProxyPluginMgrCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- ProxyPluginMgr *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:ProxyPluginMgr_createInstance",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyPluginMgrCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyPluginMgr_createInstance" "', argument " "1"" of type '" "ProxyPluginMgrCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyPluginMgrCallback * >(argp1);
- result = (ProxyPluginMgr *)ProxyPluginMgr::createInstance(arg1);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ProxyPluginMgr, SWIG_POINTER_OWN | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyPluginMgr_getInstance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyPluginMgr *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)":ProxyPluginMgr_getInstance")) SWIG_fail;
- result = (ProxyPluginMgr *)ProxyPluginMgr::getInstance();
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ProxyPluginMgr, 0 | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyPluginMgr_findAudioConsumer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyPluginMgr *arg1 = (ProxyPluginMgr *) 0 ;
- uint64_t arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- unsigned long long val2 ;
- int ecode2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- ProxyAudioConsumer *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:ProxyPluginMgr_findAudioConsumer",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyPluginMgr, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyPluginMgr_findAudioConsumer" "', argument " "1"" of type '" "ProxyPluginMgr *""'");
- }
- arg1 = reinterpret_cast< ProxyPluginMgr * >(argp1);
- ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProxyPluginMgr_findAudioConsumer" "', argument " "2"" of type '" "uint64_t""'");
- }
- arg2 = static_cast< uint64_t >(val2);
- result = (ProxyAudioConsumer *)(arg1)->findAudioConsumer(arg2);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ProxyAudioConsumer, 0 | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyPluginMgr_findVideoConsumer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyPluginMgr *arg1 = (ProxyPluginMgr *) 0 ;
- uint64_t arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- unsigned long long val2 ;
- int ecode2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- ProxyVideoConsumer *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:ProxyPluginMgr_findVideoConsumer",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyPluginMgr, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyPluginMgr_findVideoConsumer" "', argument " "1"" of type '" "ProxyPluginMgr *""'");
- }
- arg1 = reinterpret_cast< ProxyPluginMgr * >(argp1);
- ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProxyPluginMgr_findVideoConsumer" "', argument " "2"" of type '" "uint64_t""'");
- }
- arg2 = static_cast< uint64_t >(val2);
- result = (ProxyVideoConsumer *)(arg1)->findVideoConsumer(arg2);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ProxyVideoConsumer, 0 | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyPluginMgr_findAudioProducer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyPluginMgr *arg1 = (ProxyPluginMgr *) 0 ;
- uint64_t arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- unsigned long long val2 ;
- int ecode2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- ProxyAudioProducer *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:ProxyPluginMgr_findAudioProducer",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyPluginMgr, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyPluginMgr_findAudioProducer" "', argument " "1"" of type '" "ProxyPluginMgr *""'");
- }
- arg1 = reinterpret_cast< ProxyPluginMgr * >(argp1);
- ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProxyPluginMgr_findAudioProducer" "', argument " "2"" of type '" "uint64_t""'");
- }
- arg2 = static_cast< uint64_t >(val2);
- result = (ProxyAudioProducer *)(arg1)->findAudioProducer(arg2);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ProxyAudioProducer, 0 | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyPluginMgr_findVideoProducer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyPluginMgr *arg1 = (ProxyPluginMgr *) 0 ;
- uint64_t arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- unsigned long long val2 ;
- int ecode2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- ProxyVideoProducer *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:ProxyPluginMgr_findVideoProducer",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyPluginMgr, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyPluginMgr_findVideoProducer" "', argument " "1"" of type '" "ProxyPluginMgr *""'");
- }
- arg1 = reinterpret_cast< ProxyPluginMgr * >(argp1);
- ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProxyPluginMgr_findVideoProducer" "', argument " "2"" of type '" "uint64_t""'");
- }
- arg2 = static_cast< uint64_t >(val2);
- result = (ProxyVideoProducer *)(arg1)->findVideoProducer(arg2);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ProxyVideoProducer, 0 | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *ProxyPluginMgr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_ProxyPluginMgr, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_new_ProxyPluginMgrCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- PyObject *arg1 = (PyObject *) 0 ;
- PyObject * obj0 = 0 ;
- ProxyPluginMgrCallback *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:new_ProxyPluginMgrCallback",&obj0)) SWIG_fail;
- arg1 = obj0;
- if ( arg1 != Py_None ) {
- /* subclassed */
- result = (ProxyPluginMgrCallback *)new SwigDirector_ProxyPluginMgrCallback(arg1);
- } else {
- result = (ProxyPluginMgrCallback *)new ProxyPluginMgrCallback();
- }
-
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ProxyPluginMgrCallback, SWIG_POINTER_NEW | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_delete_ProxyPluginMgrCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyPluginMgrCallback *arg1 = (ProxyPluginMgrCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_ProxyPluginMgrCallback",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyPluginMgrCallback, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ProxyPluginMgrCallback" "', argument " "1"" of type '" "ProxyPluginMgrCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyPluginMgrCallback * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyPluginMgrCallback_OnPluginCreated(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyPluginMgrCallback *arg1 = (ProxyPluginMgrCallback *) 0 ;
- uint64_t arg2 ;
- enum twrap_proxy_plugin_type_e arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- unsigned long long val2 ;
- int ecode2 = 0 ;
- int val3 ;
- int ecode3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- Swig::Director *director = 0;
- bool upcall = false;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:ProxyPluginMgrCallback_OnPluginCreated",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyPluginMgrCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyPluginMgrCallback_OnPluginCreated" "', argument " "1"" of type '" "ProxyPluginMgrCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyPluginMgrCallback * >(argp1);
- ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProxyPluginMgrCallback_OnPluginCreated" "', argument " "2"" of type '" "uint64_t""'");
- }
- arg2 = static_cast< uint64_t >(val2);
- ecode3 = SWIG_AsVal_int(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ProxyPluginMgrCallback_OnPluginCreated" "', argument " "3"" of type '" "enum twrap_proxy_plugin_type_e""'");
- }
- arg3 = static_cast< enum twrap_proxy_plugin_type_e >(val3);
- director = SWIG_DIRECTOR_CAST(arg1);
- upcall = (director && (director->swig_get_self()==obj0));
- try {
- if (upcall) {
- result = (int)(arg1)->ProxyPluginMgrCallback::OnPluginCreated(arg2,arg3);
- } else {
- result = (int)(arg1)->OnPluginCreated(arg2,arg3);
- }
- } catch (Swig::DirectorException&) {
- SWIG_fail;
- }
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyPluginMgrCallback_OnPluginDestroyed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyPluginMgrCallback *arg1 = (ProxyPluginMgrCallback *) 0 ;
- uint64_t arg2 ;
- enum twrap_proxy_plugin_type_e arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- unsigned long long val2 ;
- int ecode2 = 0 ;
- int val3 ;
- int ecode3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- Swig::Director *director = 0;
- bool upcall = false;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:ProxyPluginMgrCallback_OnPluginDestroyed",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyPluginMgrCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyPluginMgrCallback_OnPluginDestroyed" "', argument " "1"" of type '" "ProxyPluginMgrCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyPluginMgrCallback * >(argp1);
- ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProxyPluginMgrCallback_OnPluginDestroyed" "', argument " "2"" of type '" "uint64_t""'");
- }
- arg2 = static_cast< uint64_t >(val2);
- ecode3 = SWIG_AsVal_int(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ProxyPluginMgrCallback_OnPluginDestroyed" "', argument " "3"" of type '" "enum twrap_proxy_plugin_type_e""'");
- }
- arg3 = static_cast< enum twrap_proxy_plugin_type_e >(val3);
- director = SWIG_DIRECTOR_CAST(arg1);
- upcall = (director && (director->swig_get_self()==obj0));
- try {
- if (upcall) {
- result = (int)(arg1)->ProxyPluginMgrCallback::OnPluginDestroyed(arg2,arg3);
- } else {
- result = (int)(arg1)->OnPluginDestroyed(arg2,arg3);
- }
- } catch (Swig::DirectorException&) {
- SWIG_fail;
- }
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_disown_ProxyPluginMgrCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyPluginMgrCallback *arg1 = (ProxyPluginMgrCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:disown_ProxyPluginMgrCallback",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyPluginMgrCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_ProxyPluginMgrCallback" "', argument " "1"" of type '" "ProxyPluginMgrCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyPluginMgrCallback * >(argp1);
- {
- Swig::Director *director = SWIG_DIRECTOR_CAST(arg1);
- if (director) director->swig_disown();
- }
-
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *ProxyPluginMgrCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_ProxyPluginMgrCallback, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_delete_ProxyPlugin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyPlugin *arg1 = (ProxyPlugin *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_ProxyPlugin",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyPlugin, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ProxyPlugin" "', argument " "1"" of type '" "ProxyPlugin *""'");
- }
- arg1 = reinterpret_cast< ProxyPlugin * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyPlugin_getType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyPlugin *arg1 = (ProxyPlugin *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- twrap_proxy_plugin_type_t result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:ProxyPlugin_getType",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyPlugin, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyPlugin_getType" "', argument " "1"" of type '" "ProxyPlugin const *""'");
- }
- arg1 = reinterpret_cast< ProxyPlugin * >(argp1);
- result = (twrap_proxy_plugin_type_t)((ProxyPlugin const *)arg1)->getType();
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyPlugin_getId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyPlugin *arg1 = (ProxyPlugin *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- uint64_t result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:ProxyPlugin_getId",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyPlugin, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyPlugin_getId" "', argument " "1"" of type '" "ProxyPlugin const *""'");
- }
- arg1 = reinterpret_cast< ProxyPlugin * >(argp1);
- result = (uint64_t)((ProxyPlugin const *)arg1)->getId();
- resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< unsigned long long >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *ProxyPlugin_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_ProxyPlugin, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_new_ProxyAudioConsumerCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- PyObject *arg1 = (PyObject *) 0 ;
- PyObject * obj0 = 0 ;
- ProxyAudioConsumerCallback *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:new_ProxyAudioConsumerCallback",&obj0)) SWIG_fail;
- arg1 = obj0;
- if ( arg1 != Py_None ) {
- /* subclassed */
- result = (ProxyAudioConsumerCallback *)new SwigDirector_ProxyAudioConsumerCallback(arg1);
- } else {
- result = (ProxyAudioConsumerCallback *)new ProxyAudioConsumerCallback();
- }
-
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ProxyAudioConsumerCallback, SWIG_POINTER_NEW | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_delete_ProxyAudioConsumerCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_ProxyAudioConsumerCallback",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyAudioConsumerCallback, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ProxyAudioConsumerCallback" "', argument " "1"" of type '" "ProxyAudioConsumerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioConsumerCallback * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyAudioConsumerCallback_prepare(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
- int val3 ;
- int ecode3 = 0 ;
- int val4 ;
- int ecode4 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- Swig::Director *director = 0;
- bool upcall = false;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOOO:ProxyAudioConsumerCallback_prepare",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyAudioConsumerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyAudioConsumerCallback_prepare" "', argument " "1"" of type '" "ProxyAudioConsumerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioConsumerCallback * >(argp1);
- ecode2 = SWIG_AsVal_int(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProxyAudioConsumerCallback_prepare" "', argument " "2"" of type '" "int""'");
- }
- arg2 = static_cast< int >(val2);
- ecode3 = SWIG_AsVal_int(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ProxyAudioConsumerCallback_prepare" "', argument " "3"" of type '" "int""'");
- }
- arg3 = static_cast< int >(val3);
- ecode4 = SWIG_AsVal_int(obj3, &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ProxyAudioConsumerCallback_prepare" "', argument " "4"" of type '" "int""'");
- }
- arg4 = static_cast< int >(val4);
- director = SWIG_DIRECTOR_CAST(arg1);
- upcall = (director && (director->swig_get_self()==obj0));
- try {
- if (upcall) {
- result = (int)(arg1)->ProxyAudioConsumerCallback::prepare(arg2,arg3,arg4);
- } else {
- result = (int)(arg1)->prepare(arg2,arg3,arg4);
- }
- } catch (Swig::DirectorException&) {
- SWIG_fail;
- }
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyAudioConsumerCallback_start(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- Swig::Director *director = 0;
- bool upcall = false;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:ProxyAudioConsumerCallback_start",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyAudioConsumerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyAudioConsumerCallback_start" "', argument " "1"" of type '" "ProxyAudioConsumerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioConsumerCallback * >(argp1);
- director = SWIG_DIRECTOR_CAST(arg1);
- upcall = (director && (director->swig_get_self()==obj0));
- try {
- if (upcall) {
- result = (int)(arg1)->ProxyAudioConsumerCallback::start();
- } else {
- result = (int)(arg1)->start();
- }
- } catch (Swig::DirectorException&) {
- SWIG_fail;
- }
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyAudioConsumerCallback_pause(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- Swig::Director *director = 0;
- bool upcall = false;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:ProxyAudioConsumerCallback_pause",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyAudioConsumerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyAudioConsumerCallback_pause" "', argument " "1"" of type '" "ProxyAudioConsumerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioConsumerCallback * >(argp1);
- director = SWIG_DIRECTOR_CAST(arg1);
- upcall = (director && (director->swig_get_self()==obj0));
- try {
- if (upcall) {
- result = (int)(arg1)->ProxyAudioConsumerCallback::pause();
- } else {
- result = (int)(arg1)->pause();
- }
- } catch (Swig::DirectorException&) {
- SWIG_fail;
- }
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyAudioConsumerCallback_stop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- Swig::Director *director = 0;
- bool upcall = false;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:ProxyAudioConsumerCallback_stop",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyAudioConsumerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyAudioConsumerCallback_stop" "', argument " "1"" of type '" "ProxyAudioConsumerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioConsumerCallback * >(argp1);
- director = SWIG_DIRECTOR_CAST(arg1);
- upcall = (director && (director->swig_get_self()==obj0));
- try {
- if (upcall) {
- result = (int)(arg1)->ProxyAudioConsumerCallback::stop();
- } else {
- result = (int)(arg1)->stop();
- }
- } catch (Swig::DirectorException&) {
- SWIG_fail;
- }
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_disown_ProxyAudioConsumerCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:disown_ProxyAudioConsumerCallback",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyAudioConsumerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_ProxyAudioConsumerCallback" "', argument " "1"" of type '" "ProxyAudioConsumerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioConsumerCallback * >(argp1);
- {
- Swig::Director *director = SWIG_DIRECTOR_CAST(arg1);
- if (director) director->swig_disown();
- }
-
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *ProxyAudioConsumerCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_ProxyAudioConsumerCallback, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_delete_ProxyAudioConsumer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_ProxyAudioConsumer",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyAudioConsumer, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ProxyAudioConsumer" "', argument " "1"" of type '" "ProxyAudioConsumer *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioConsumer * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyAudioConsumer_pull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- unsigned int result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:ProxyAudioConsumer_pull",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyAudioConsumer, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyAudioConsumer_pull" "', argument " "1"" of type '" "ProxyAudioConsumer *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioConsumer * >(argp1);
- res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ProxyAudioConsumer_pull" "', argument " "2"" of type '" "void *""'");
- }
- ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ProxyAudioConsumer_pull" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (unsigned int)(arg1)->pull(arg2,arg3);
- resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyAudioConsumer_reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:ProxyAudioConsumer_reset",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyAudioConsumer, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyAudioConsumer_reset" "', argument " "1"" of type '" "ProxyAudioConsumer *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioConsumer * >(argp1);
- result = (bool)(arg1)->reset();
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyAudioConsumer_setCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
- ProxyAudioConsumerCallback *arg2 = (ProxyAudioConsumerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:ProxyAudioConsumer_setCallback",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyAudioConsumer, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyAudioConsumer_setCallback" "', argument " "1"" of type '" "ProxyAudioConsumer *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioConsumer * >(argp1);
- res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ProxyAudioConsumerCallback, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ProxyAudioConsumer_setCallback" "', argument " "2"" of type '" "ProxyAudioConsumerCallback *""'");
- }
- arg2 = reinterpret_cast< ProxyAudioConsumerCallback * >(argp2);
- (arg1)->setCallback(arg2);
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyAudioConsumer_getMediaSessionId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- uint64_t result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:ProxyAudioConsumer_getMediaSessionId",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyAudioConsumer, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyAudioConsumer_getMediaSessionId" "', argument " "1"" of type '" "ProxyAudioConsumer *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioConsumer * >(argp1);
- result = (uint64_t)(arg1)->getMediaSessionId();
- resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< unsigned long long >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyAudioConsumer_registerPlugin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)":ProxyAudioConsumer_registerPlugin")) SWIG_fail;
- result = (bool)ProxyAudioConsumer::registerPlugin();
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *ProxyAudioConsumer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_ProxyAudioConsumer, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_new_ProxyVideoConsumerCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- PyObject *arg1 = (PyObject *) 0 ;
- PyObject * obj0 = 0 ;
- ProxyVideoConsumerCallback *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:new_ProxyVideoConsumerCallback",&obj0)) SWIG_fail;
- arg1 = obj0;
- if ( arg1 != Py_None ) {
- /* subclassed */
- result = (ProxyVideoConsumerCallback *)new SwigDirector_ProxyVideoConsumerCallback(arg1);
- } else {
- result = (ProxyVideoConsumerCallback *)new ProxyVideoConsumerCallback();
- }
-
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ProxyVideoConsumerCallback, SWIG_POINTER_NEW | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_delete_ProxyVideoConsumerCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_ProxyVideoConsumerCallback",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyVideoConsumerCallback, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ProxyVideoConsumerCallback" "', argument " "1"" of type '" "ProxyVideoConsumerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoConsumerCallback * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyVideoConsumerCallback_prepare(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
- int val3 ;
- int ecode3 = 0 ;
- int val4 ;
- int ecode4 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- Swig::Director *director = 0;
- bool upcall = false;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOOO:ProxyVideoConsumerCallback_prepare",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyVideoConsumerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoConsumerCallback_prepare" "', argument " "1"" of type '" "ProxyVideoConsumerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoConsumerCallback * >(argp1);
- ecode2 = SWIG_AsVal_int(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProxyVideoConsumerCallback_prepare" "', argument " "2"" of type '" "int""'");
- }
- arg2 = static_cast< int >(val2);
- ecode3 = SWIG_AsVal_int(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ProxyVideoConsumerCallback_prepare" "', argument " "3"" of type '" "int""'");
- }
- arg3 = static_cast< int >(val3);
- ecode4 = SWIG_AsVal_int(obj3, &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ProxyVideoConsumerCallback_prepare" "', argument " "4"" of type '" "int""'");
- }
- arg4 = static_cast< int >(val4);
- director = SWIG_DIRECTOR_CAST(arg1);
- upcall = (director && (director->swig_get_self()==obj0));
- try {
- if (upcall) {
- result = (int)(arg1)->ProxyVideoConsumerCallback::prepare(arg2,arg3,arg4);
- } else {
- result = (int)(arg1)->prepare(arg2,arg3,arg4);
- }
- } catch (Swig::DirectorException&) {
- SWIG_fail;
- }
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyVideoConsumerCallback_consume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- ProxyVideoFrame *arg2 = (ProxyVideoFrame *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- Swig::Director *director = 0;
- bool upcall = false;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:ProxyVideoConsumerCallback_consume",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyVideoConsumerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoConsumerCallback_consume" "', argument " "1"" of type '" "ProxyVideoConsumerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoConsumerCallback * >(argp1);
- res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ProxyVideoFrame, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ProxyVideoConsumerCallback_consume" "', argument " "2"" of type '" "ProxyVideoFrame const *""'");
- }
- arg2 = reinterpret_cast< ProxyVideoFrame * >(argp2);
- director = SWIG_DIRECTOR_CAST(arg1);
- upcall = (director && (director->swig_get_self()==obj0));
- try {
- if (upcall) {
- result = (int)(arg1)->ProxyVideoConsumerCallback::consume((ProxyVideoFrame const *)arg2);
- } else {
- result = (int)(arg1)->consume((ProxyVideoFrame const *)arg2);
- }
- } catch (Swig::DirectorException&) {
- SWIG_fail;
- }
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyVideoConsumerCallback_start(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- Swig::Director *director = 0;
- bool upcall = false;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:ProxyVideoConsumerCallback_start",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyVideoConsumerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoConsumerCallback_start" "', argument " "1"" of type '" "ProxyVideoConsumerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoConsumerCallback * >(argp1);
- director = SWIG_DIRECTOR_CAST(arg1);
- upcall = (director && (director->swig_get_self()==obj0));
- try {
- if (upcall) {
- result = (int)(arg1)->ProxyVideoConsumerCallback::start();
- } else {
- result = (int)(arg1)->start();
- }
- } catch (Swig::DirectorException&) {
- SWIG_fail;
- }
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyVideoConsumerCallback_pause(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- Swig::Director *director = 0;
- bool upcall = false;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:ProxyVideoConsumerCallback_pause",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyVideoConsumerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoConsumerCallback_pause" "', argument " "1"" of type '" "ProxyVideoConsumerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoConsumerCallback * >(argp1);
- director = SWIG_DIRECTOR_CAST(arg1);
- upcall = (director && (director->swig_get_self()==obj0));
- try {
- if (upcall) {
- result = (int)(arg1)->ProxyVideoConsumerCallback::pause();
- } else {
- result = (int)(arg1)->pause();
- }
- } catch (Swig::DirectorException&) {
- SWIG_fail;
- }
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyVideoConsumerCallback_stop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- Swig::Director *director = 0;
- bool upcall = false;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:ProxyVideoConsumerCallback_stop",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyVideoConsumerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoConsumerCallback_stop" "', argument " "1"" of type '" "ProxyVideoConsumerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoConsumerCallback * >(argp1);
- director = SWIG_DIRECTOR_CAST(arg1);
- upcall = (director && (director->swig_get_self()==obj0));
- try {
- if (upcall) {
- result = (int)(arg1)->ProxyVideoConsumerCallback::stop();
- } else {
- result = (int)(arg1)->stop();
- }
- } catch (Swig::DirectorException&) {
- SWIG_fail;
- }
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_disown_ProxyVideoConsumerCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:disown_ProxyVideoConsumerCallback",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyVideoConsumerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_ProxyVideoConsumerCallback" "', argument " "1"" of type '" "ProxyVideoConsumerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoConsumerCallback * >(argp1);
- {
- Swig::Director *director = SWIG_DIRECTOR_CAST(arg1);
- if (director) director->swig_disown();
- }
-
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *ProxyVideoConsumerCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_ProxyVideoConsumerCallback, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_delete_ProxyVideoConsumer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyVideoConsumer *arg1 = (ProxyVideoConsumer *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_ProxyVideoConsumer",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyVideoConsumer, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ProxyVideoConsumer" "', argument " "1"" of type '" "ProxyVideoConsumer *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoConsumer * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyVideoConsumer_setDisplaySize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyVideoConsumer *arg1 = (ProxyVideoConsumer *) 0 ;
- int arg2 ;
- int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
- int val3 ;
- int ecode3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:ProxyVideoConsumer_setDisplaySize",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyVideoConsumer, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoConsumer_setDisplaySize" "', argument " "1"" of type '" "ProxyVideoConsumer *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoConsumer * >(argp1);
- ecode2 = SWIG_AsVal_int(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProxyVideoConsumer_setDisplaySize" "', argument " "2"" of type '" "int""'");
- }
- arg2 = static_cast< int >(val2);
- ecode3 = SWIG_AsVal_int(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ProxyVideoConsumer_setDisplaySize" "', argument " "3"" of type '" "int""'");
- }
- arg3 = static_cast< int >(val3);
- result = (bool)(arg1)->setDisplaySize(arg2,arg3);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyVideoConsumer_setCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyVideoConsumer *arg1 = (ProxyVideoConsumer *) 0 ;
- ProxyVideoConsumerCallback *arg2 = (ProxyVideoConsumerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:ProxyVideoConsumer_setCallback",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyVideoConsumer, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoConsumer_setCallback" "', argument " "1"" of type '" "ProxyVideoConsumer *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoConsumer * >(argp1);
- res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ProxyVideoConsumerCallback, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ProxyVideoConsumer_setCallback" "', argument " "2"" of type '" "ProxyVideoConsumerCallback *""'");
- }
- arg2 = reinterpret_cast< ProxyVideoConsumerCallback * >(argp2);
- (arg1)->setCallback(arg2);
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyVideoConsumer_getMediaSessionId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyVideoConsumer *arg1 = (ProxyVideoConsumer *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- uint64_t result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:ProxyVideoConsumer_getMediaSessionId",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyVideoConsumer, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoConsumer_getMediaSessionId" "', argument " "1"" of type '" "ProxyVideoConsumer *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoConsumer * >(argp1);
- result = (uint64_t)(arg1)->getMediaSessionId();
- resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< unsigned long long >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyVideoConsumer_registerPlugin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)":ProxyVideoConsumer_registerPlugin")) SWIG_fail;
- result = (bool)ProxyVideoConsumer::registerPlugin();
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyVideoConsumer_setDefaultChroma(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- tmedia_chroma_t arg1 ;
- int val1 ;
- int ecode1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:ProxyVideoConsumer_setDefaultChroma",&obj0)) SWIG_fail;
- ecode1 = SWIG_AsVal_int(obj0, &val1);
- if (!SWIG_IsOK(ecode1)) {
- SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ProxyVideoConsumer_setDefaultChroma" "', argument " "1"" of type '" "tmedia_chroma_t""'");
- }
- arg1 = static_cast< tmedia_chroma_t >(val1);
- ProxyVideoConsumer::setDefaultChroma(arg1);
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *ProxyVideoConsumer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_ProxyVideoConsumer, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_delete_ProxyVideoFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyVideoFrame *arg1 = (ProxyVideoFrame *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_ProxyVideoFrame",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyVideoFrame, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ProxyVideoFrame" "', argument " "1"" of type '" "ProxyVideoFrame *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoFrame * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyVideoFrame_getSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyVideoFrame *arg1 = (ProxyVideoFrame *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- unsigned int result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:ProxyVideoFrame_getSize",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyVideoFrame, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoFrame_getSize" "', argument " "1"" of type '" "ProxyVideoFrame *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoFrame * >(argp1);
- result = (unsigned int)(arg1)->getSize();
- resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyVideoFrame_getContent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyVideoFrame *arg1 = (ProxyVideoFrame *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- unsigned int result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:ProxyVideoFrame_getContent",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyVideoFrame, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoFrame_getContent" "', argument " "1"" of type '" "ProxyVideoFrame *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoFrame * >(argp1);
- res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ProxyVideoFrame_getContent" "', argument " "2"" of type '" "void *""'");
- }
- ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ProxyVideoFrame_getContent" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (unsigned int)(arg1)->getContent(arg2,arg3);
- resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *ProxyVideoFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_ProxyVideoFrame, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_new_ProxyAudioProducerCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- PyObject *arg1 = (PyObject *) 0 ;
- PyObject * obj0 = 0 ;
- ProxyAudioProducerCallback *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:new_ProxyAudioProducerCallback",&obj0)) SWIG_fail;
- arg1 = obj0;
- if ( arg1 != Py_None ) {
- /* subclassed */
- result = (ProxyAudioProducerCallback *)new SwigDirector_ProxyAudioProducerCallback(arg1);
- } else {
- result = (ProxyAudioProducerCallback *)new ProxyAudioProducerCallback();
- }
-
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ProxyAudioProducerCallback, SWIG_POINTER_NEW | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_delete_ProxyAudioProducerCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_ProxyAudioProducerCallback",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyAudioProducerCallback, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ProxyAudioProducerCallback" "', argument " "1"" of type '" "ProxyAudioProducerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioProducerCallback * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyAudioProducerCallback_prepare(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
- int val3 ;
- int ecode3 = 0 ;
- int val4 ;
- int ecode4 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- Swig::Director *director = 0;
- bool upcall = false;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOOO:ProxyAudioProducerCallback_prepare",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyAudioProducerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyAudioProducerCallback_prepare" "', argument " "1"" of type '" "ProxyAudioProducerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioProducerCallback * >(argp1);
- ecode2 = SWIG_AsVal_int(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProxyAudioProducerCallback_prepare" "', argument " "2"" of type '" "int""'");
- }
- arg2 = static_cast< int >(val2);
- ecode3 = SWIG_AsVal_int(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ProxyAudioProducerCallback_prepare" "', argument " "3"" of type '" "int""'");
- }
- arg3 = static_cast< int >(val3);
- ecode4 = SWIG_AsVal_int(obj3, &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ProxyAudioProducerCallback_prepare" "', argument " "4"" of type '" "int""'");
- }
- arg4 = static_cast< int >(val4);
- director = SWIG_DIRECTOR_CAST(arg1);
- upcall = (director && (director->swig_get_self()==obj0));
- try {
- if (upcall) {
- result = (int)(arg1)->ProxyAudioProducerCallback::prepare(arg2,arg3,arg4);
- } else {
- result = (int)(arg1)->prepare(arg2,arg3,arg4);
- }
- } catch (Swig::DirectorException&) {
- SWIG_fail;
- }
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyAudioProducerCallback_start(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- Swig::Director *director = 0;
- bool upcall = false;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:ProxyAudioProducerCallback_start",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyAudioProducerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyAudioProducerCallback_start" "', argument " "1"" of type '" "ProxyAudioProducerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioProducerCallback * >(argp1);
- director = SWIG_DIRECTOR_CAST(arg1);
- upcall = (director && (director->swig_get_self()==obj0));
- try {
- if (upcall) {
- result = (int)(arg1)->ProxyAudioProducerCallback::start();
- } else {
- result = (int)(arg1)->start();
- }
- } catch (Swig::DirectorException&) {
- SWIG_fail;
- }
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyAudioProducerCallback_pause(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- Swig::Director *director = 0;
- bool upcall = false;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:ProxyAudioProducerCallback_pause",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyAudioProducerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyAudioProducerCallback_pause" "', argument " "1"" of type '" "ProxyAudioProducerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioProducerCallback * >(argp1);
- director = SWIG_DIRECTOR_CAST(arg1);
- upcall = (director && (director->swig_get_self()==obj0));
- try {
- if (upcall) {
- result = (int)(arg1)->ProxyAudioProducerCallback::pause();
- } else {
- result = (int)(arg1)->pause();
- }
- } catch (Swig::DirectorException&) {
- SWIG_fail;
- }
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyAudioProducerCallback_stop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- Swig::Director *director = 0;
- bool upcall = false;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:ProxyAudioProducerCallback_stop",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyAudioProducerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyAudioProducerCallback_stop" "', argument " "1"" of type '" "ProxyAudioProducerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioProducerCallback * >(argp1);
- director = SWIG_DIRECTOR_CAST(arg1);
- upcall = (director && (director->swig_get_self()==obj0));
- try {
- if (upcall) {
- result = (int)(arg1)->ProxyAudioProducerCallback::stop();
- } else {
- result = (int)(arg1)->stop();
- }
- } catch (Swig::DirectorException&) {
- SWIG_fail;
- }
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_disown_ProxyAudioProducerCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:disown_ProxyAudioProducerCallback",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyAudioProducerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_ProxyAudioProducerCallback" "', argument " "1"" of type '" "ProxyAudioProducerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioProducerCallback * >(argp1);
- {
- Swig::Director *director = SWIG_DIRECTOR_CAST(arg1);
- if (director) director->swig_disown();
- }
-
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *ProxyAudioProducerCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_ProxyAudioProducerCallback, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_delete_ProxyAudioProducer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyAudioProducer *arg1 = (ProxyAudioProducer *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_ProxyAudioProducer",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyAudioProducer, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ProxyAudioProducer" "', argument " "1"" of type '" "ProxyAudioProducer *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioProducer * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyAudioProducer_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyAudioProducer *arg1 = (ProxyAudioProducer *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:ProxyAudioProducer_push",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyAudioProducer, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyAudioProducer_push" "', argument " "1"" of type '" "ProxyAudioProducer *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioProducer * >(argp1);
- res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ProxyAudioProducer_push" "', argument " "2"" of type '" "void const *""'");
- }
- ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ProxyAudioProducer_push" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (int)(arg1)->push((void const *)arg2,arg3);
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyAudioProducer_setCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyAudioProducer *arg1 = (ProxyAudioProducer *) 0 ;
- ProxyAudioProducerCallback *arg2 = (ProxyAudioProducerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:ProxyAudioProducer_setCallback",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyAudioProducer, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyAudioProducer_setCallback" "', argument " "1"" of type '" "ProxyAudioProducer *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioProducer * >(argp1);
- res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ProxyAudioProducerCallback, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ProxyAudioProducer_setCallback" "', argument " "2"" of type '" "ProxyAudioProducerCallback *""'");
- }
- arg2 = reinterpret_cast< ProxyAudioProducerCallback * >(argp2);
- (arg1)->setCallback(arg2);
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyAudioProducer_getMediaSessionId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyAudioProducer *arg1 = (ProxyAudioProducer *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- uint64_t result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:ProxyAudioProducer_getMediaSessionId",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyAudioProducer, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyAudioProducer_getMediaSessionId" "', argument " "1"" of type '" "ProxyAudioProducer *""'");
- }
- arg1 = reinterpret_cast< ProxyAudioProducer * >(argp1);
- result = (uint64_t)(arg1)->getMediaSessionId();
- resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< unsigned long long >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyAudioProducer_registerPlugin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)":ProxyAudioProducer_registerPlugin")) SWIG_fail;
- result = (bool)ProxyAudioProducer::registerPlugin();
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *ProxyAudioProducer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_ProxyAudioProducer, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_new_ProxyVideoProducerCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- PyObject *arg1 = (PyObject *) 0 ;
- PyObject * obj0 = 0 ;
- ProxyVideoProducerCallback *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:new_ProxyVideoProducerCallback",&obj0)) SWIG_fail;
- arg1 = obj0;
- if ( arg1 != Py_None ) {
- /* subclassed */
- result = (ProxyVideoProducerCallback *)new SwigDirector_ProxyVideoProducerCallback(arg1);
- } else {
- result = (ProxyVideoProducerCallback *)new ProxyVideoProducerCallback();
- }
-
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ProxyVideoProducerCallback, SWIG_POINTER_NEW | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_delete_ProxyVideoProducerCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_ProxyVideoProducerCallback",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyVideoProducerCallback, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ProxyVideoProducerCallback" "', argument " "1"" of type '" "ProxyVideoProducerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoProducerCallback * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyVideoProducerCallback_prepare(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- int arg2 ;
- int arg3 ;
- int arg4 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
- int val3 ;
- int ecode3 = 0 ;
- int val4 ;
- int ecode4 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- Swig::Director *director = 0;
- bool upcall = false;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOOO:ProxyVideoProducerCallback_prepare",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyVideoProducerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoProducerCallback_prepare" "', argument " "1"" of type '" "ProxyVideoProducerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoProducerCallback * >(argp1);
- ecode2 = SWIG_AsVal_int(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProxyVideoProducerCallback_prepare" "', argument " "2"" of type '" "int""'");
- }
- arg2 = static_cast< int >(val2);
- ecode3 = SWIG_AsVal_int(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ProxyVideoProducerCallback_prepare" "', argument " "3"" of type '" "int""'");
- }
- arg3 = static_cast< int >(val3);
- ecode4 = SWIG_AsVal_int(obj3, &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ProxyVideoProducerCallback_prepare" "', argument " "4"" of type '" "int""'");
- }
- arg4 = static_cast< int >(val4);
- director = SWIG_DIRECTOR_CAST(arg1);
- upcall = (director && (director->swig_get_self()==obj0));
- try {
- if (upcall) {
- result = (int)(arg1)->ProxyVideoProducerCallback::prepare(arg2,arg3,arg4);
- } else {
- result = (int)(arg1)->prepare(arg2,arg3,arg4);
- }
- } catch (Swig::DirectorException&) {
- SWIG_fail;
- }
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyVideoProducerCallback_start(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- Swig::Director *director = 0;
- bool upcall = false;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:ProxyVideoProducerCallback_start",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyVideoProducerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoProducerCallback_start" "', argument " "1"" of type '" "ProxyVideoProducerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoProducerCallback * >(argp1);
- director = SWIG_DIRECTOR_CAST(arg1);
- upcall = (director && (director->swig_get_self()==obj0));
- try {
- if (upcall) {
- result = (int)(arg1)->ProxyVideoProducerCallback::start();
- } else {
- result = (int)(arg1)->start();
- }
- } catch (Swig::DirectorException&) {
- SWIG_fail;
- }
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyVideoProducerCallback_pause(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- Swig::Director *director = 0;
- bool upcall = false;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:ProxyVideoProducerCallback_pause",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyVideoProducerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoProducerCallback_pause" "', argument " "1"" of type '" "ProxyVideoProducerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoProducerCallback * >(argp1);
- director = SWIG_DIRECTOR_CAST(arg1);
- upcall = (director && (director->swig_get_self()==obj0));
- try {
- if (upcall) {
- result = (int)(arg1)->ProxyVideoProducerCallback::pause();
- } else {
- result = (int)(arg1)->pause();
- }
- } catch (Swig::DirectorException&) {
- SWIG_fail;
- }
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyVideoProducerCallback_stop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- Swig::Director *director = 0;
- bool upcall = false;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:ProxyVideoProducerCallback_stop",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyVideoProducerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoProducerCallback_stop" "', argument " "1"" of type '" "ProxyVideoProducerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoProducerCallback * >(argp1);
- director = SWIG_DIRECTOR_CAST(arg1);
- upcall = (director && (director->swig_get_self()==obj0));
- try {
- if (upcall) {
- result = (int)(arg1)->ProxyVideoProducerCallback::stop();
- } else {
- result = (int)(arg1)->stop();
- }
- } catch (Swig::DirectorException&) {
- SWIG_fail;
- }
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_disown_ProxyVideoProducerCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:disown_ProxyVideoProducerCallback",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyVideoProducerCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_ProxyVideoProducerCallback" "', argument " "1"" of type '" "ProxyVideoProducerCallback *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoProducerCallback * >(argp1);
- {
- Swig::Director *director = SWIG_DIRECTOR_CAST(arg1);
- if (director) director->swig_disown();
- }
-
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *ProxyVideoProducerCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_ProxyVideoProducerCallback, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_delete_ProxyVideoProducer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_ProxyVideoProducer",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyVideoProducer, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ProxyVideoProducer" "', argument " "1"" of type '" "ProxyVideoProducer *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoProducer * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyVideoProducer_getRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:ProxyVideoProducer_getRotation",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyVideoProducer, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoProducer_getRotation" "', argument " "1"" of type '" "ProxyVideoProducer *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoProducer * >(argp1);
- result = (int)(arg1)->getRotation();
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyVideoProducer_setRotation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
- int arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int val2 ;
- int ecode2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:ProxyVideoProducer_setRotation",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyVideoProducer, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoProducer_setRotation" "', argument " "1"" of type '" "ProxyVideoProducer *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoProducer * >(argp1);
- ecode2 = SWIG_AsVal_int(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProxyVideoProducer_setRotation" "', argument " "2"" of type '" "int""'");
- }
- arg2 = static_cast< int >(val2);
- (arg1)->setRotation(arg2);
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyVideoProducer_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:ProxyVideoProducer_push",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyVideoProducer, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoProducer_push" "', argument " "1"" of type '" "ProxyVideoProducer *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoProducer * >(argp1);
- res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ProxyVideoProducer_push" "', argument " "2"" of type '" "void const *""'");
- }
- ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ProxyVideoProducer_push" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (int)(arg1)->push((void const *)arg2,arg3);
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyVideoProducer_send(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- unsigned int arg4 ;
- bool arg5 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- unsigned int val4 ;
- int ecode4 = 0 ;
- bool val5 ;
- int ecode5 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- PyObject * obj4 = 0 ;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOOOO:ProxyVideoProducer_send",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyVideoProducer, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoProducer_send" "', argument " "1"" of type '" "ProxyVideoProducer *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoProducer * >(argp1);
- res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ProxyVideoProducer_send" "', argument " "2"" of type '" "void const *""'");
- }
- ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ProxyVideoProducer_send" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ProxyVideoProducer_send" "', argument " "4"" of type '" "unsigned int""'");
- }
- arg4 = static_cast< unsigned int >(val4);
- ecode5 = SWIG_AsVal_bool(obj4, &val5);
- if (!SWIG_IsOK(ecode5)) {
- SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ProxyVideoProducer_send" "', argument " "5"" of type '" "bool""'");
- }
- arg5 = static_cast< bool >(val5);
- result = (int)(arg1)->send((void const *)arg2,arg3,arg4,arg5);
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyVideoProducer_setCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
- ProxyVideoProducerCallback *arg2 = (ProxyVideoProducerCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:ProxyVideoProducer_setCallback",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyVideoProducer, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoProducer_setCallback" "', argument " "1"" of type '" "ProxyVideoProducer *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoProducer * >(argp1);
- res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_ProxyVideoProducerCallback, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ProxyVideoProducer_setCallback" "', argument " "2"" of type '" "ProxyVideoProducerCallback *""'");
- }
- arg2 = reinterpret_cast< ProxyVideoProducerCallback * >(argp2);
- (arg1)->setCallback(arg2);
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyVideoProducer_getMediaSessionId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- uint64_t result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:ProxyVideoProducer_getMediaSessionId",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ProxyVideoProducer, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProxyVideoProducer_getMediaSessionId" "', argument " "1"" of type '" "ProxyVideoProducer *""'");
- }
- arg1 = reinterpret_cast< ProxyVideoProducer * >(argp1);
- result = (uint64_t)(arg1)->getMediaSessionId();
- resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< unsigned long long >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyVideoProducer_registerPlugin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)":ProxyVideoProducer_registerPlugin")) SWIG_fail;
- result = (bool)ProxyVideoProducer::registerPlugin();
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_ProxyVideoProducer_setDefaultChroma(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- tmedia_chroma_t arg1 ;
- int val1 ;
- int ecode1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:ProxyVideoProducer_setDefaultChroma",&obj0)) SWIG_fail;
- ecode1 = SWIG_AsVal_int(obj0, &val1);
- if (!SWIG_IsOK(ecode1)) {
- SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ProxyVideoProducer_setDefaultChroma" "', argument " "1"" of type '" "tmedia_chroma_t""'");
- }
- arg1 = static_cast< tmedia_chroma_t >(val1);
- ProxyVideoProducer::setDefaultChroma(arg1);
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *ProxyVideoProducer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_ProxyVideoProducer, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_new_SipCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- PyObject *arg1 = (PyObject *) 0 ;
- PyObject * obj0 = 0 ;
- SipCallback *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:new_SipCallback",&obj0)) SWIG_fail;
- arg1 = obj0;
- if ( arg1 != Py_None ) {
- /* subclassed */
- result = (SipCallback *)new SwigDirector_SipCallback(arg1);
- } else {
- result = (SipCallback *)new SipCallback();
- }
-
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SipCallback, SWIG_POINTER_NEW | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_delete_SipCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipCallback *arg1 = (SipCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_SipCallback",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipCallback, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SipCallback" "', argument " "1"" of type '" "SipCallback *""'");
- }
- arg1 = reinterpret_cast< SipCallback * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipCallback_OnDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipCallback *arg1 = (SipCallback *) 0 ;
- DialogEvent *arg2 = (DialogEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- Swig::Director *director = 0;
- bool upcall = false;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipCallback_OnDialogEvent",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipCallback_OnDialogEvent" "', argument " "1"" of type '" "SipCallback *""'");
- }
- arg1 = reinterpret_cast< SipCallback * >(argp1);
- res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_DialogEvent, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipCallback_OnDialogEvent" "', argument " "2"" of type '" "DialogEvent const *""'");
- }
- arg2 = reinterpret_cast< DialogEvent * >(argp2);
- director = SWIG_DIRECTOR_CAST(arg1);
- upcall = (director && (director->swig_get_self()==obj0));
- try {
- if (upcall) {
- result = (int)(arg1)->SipCallback::OnDialogEvent((DialogEvent const *)arg2);
- } else {
- result = (int)(arg1)->OnDialogEvent((DialogEvent const *)arg2);
- }
- } catch (Swig::DirectorException&) {
- SWIG_fail;
- }
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipCallback_OnStackEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipCallback *arg1 = (SipCallback *) 0 ;
- StackEvent *arg2 = (StackEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- Swig::Director *director = 0;
- bool upcall = false;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipCallback_OnStackEvent",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipCallback_OnStackEvent" "', argument " "1"" of type '" "SipCallback *""'");
- }
- arg1 = reinterpret_cast< SipCallback * >(argp1);
- res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_StackEvent, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipCallback_OnStackEvent" "', argument " "2"" of type '" "StackEvent const *""'");
- }
- arg2 = reinterpret_cast< StackEvent * >(argp2);
- director = SWIG_DIRECTOR_CAST(arg1);
- upcall = (director && (director->swig_get_self()==obj0));
- try {
- if (upcall) {
- result = (int)(arg1)->SipCallback::OnStackEvent((StackEvent const *)arg2);
- } else {
- result = (int)(arg1)->OnStackEvent((StackEvent const *)arg2);
- }
- } catch (Swig::DirectorException&) {
- SWIG_fail;
- }
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipCallback_OnInviteEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipCallback *arg1 = (SipCallback *) 0 ;
- InviteEvent *arg2 = (InviteEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- Swig::Director *director = 0;
- bool upcall = false;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipCallback_OnInviteEvent",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipCallback_OnInviteEvent" "', argument " "1"" of type '" "SipCallback *""'");
- }
- arg1 = reinterpret_cast< SipCallback * >(argp1);
- res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_InviteEvent, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipCallback_OnInviteEvent" "', argument " "2"" of type '" "InviteEvent const *""'");
- }
- arg2 = reinterpret_cast< InviteEvent * >(argp2);
- director = SWIG_DIRECTOR_CAST(arg1);
- upcall = (director && (director->swig_get_self()==obj0));
- try {
- if (upcall) {
- result = (int)(arg1)->SipCallback::OnInviteEvent((InviteEvent const *)arg2);
- } else {
- result = (int)(arg1)->OnInviteEvent((InviteEvent const *)arg2);
- }
- } catch (Swig::DirectorException&) {
- SWIG_fail;
- }
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipCallback_OnMessagingEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipCallback *arg1 = (SipCallback *) 0 ;
- MessagingEvent *arg2 = (MessagingEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- Swig::Director *director = 0;
- bool upcall = false;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipCallback_OnMessagingEvent",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipCallback_OnMessagingEvent" "', argument " "1"" of type '" "SipCallback *""'");
- }
- arg1 = reinterpret_cast< SipCallback * >(argp1);
- res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_MessagingEvent, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipCallback_OnMessagingEvent" "', argument " "2"" of type '" "MessagingEvent const *""'");
- }
- arg2 = reinterpret_cast< MessagingEvent * >(argp2);
- director = SWIG_DIRECTOR_CAST(arg1);
- upcall = (director && (director->swig_get_self()==obj0));
- try {
- if (upcall) {
- result = (int)(arg1)->SipCallback::OnMessagingEvent((MessagingEvent const *)arg2);
- } else {
- result = (int)(arg1)->OnMessagingEvent((MessagingEvent const *)arg2);
- }
- } catch (Swig::DirectorException&) {
- SWIG_fail;
- }
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipCallback_OnOptionsEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipCallback *arg1 = (SipCallback *) 0 ;
- OptionsEvent *arg2 = (OptionsEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- Swig::Director *director = 0;
- bool upcall = false;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipCallback_OnOptionsEvent",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipCallback_OnOptionsEvent" "', argument " "1"" of type '" "SipCallback *""'");
- }
- arg1 = reinterpret_cast< SipCallback * >(argp1);
- res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_OptionsEvent, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipCallback_OnOptionsEvent" "', argument " "2"" of type '" "OptionsEvent const *""'");
- }
- arg2 = reinterpret_cast< OptionsEvent * >(argp2);
- director = SWIG_DIRECTOR_CAST(arg1);
- upcall = (director && (director->swig_get_self()==obj0));
- try {
- if (upcall) {
- result = (int)(arg1)->SipCallback::OnOptionsEvent((OptionsEvent const *)arg2);
- } else {
- result = (int)(arg1)->OnOptionsEvent((OptionsEvent const *)arg2);
- }
- } catch (Swig::DirectorException&) {
- SWIG_fail;
- }
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipCallback_OnPublicationEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipCallback *arg1 = (SipCallback *) 0 ;
- PublicationEvent *arg2 = (PublicationEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- Swig::Director *director = 0;
- bool upcall = false;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipCallback_OnPublicationEvent",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipCallback_OnPublicationEvent" "', argument " "1"" of type '" "SipCallback *""'");
- }
- arg1 = reinterpret_cast< SipCallback * >(argp1);
- res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_PublicationEvent, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipCallback_OnPublicationEvent" "', argument " "2"" of type '" "PublicationEvent const *""'");
- }
- arg2 = reinterpret_cast< PublicationEvent * >(argp2);
- director = SWIG_DIRECTOR_CAST(arg1);
- upcall = (director && (director->swig_get_self()==obj0));
- try {
- if (upcall) {
- result = (int)(arg1)->SipCallback::OnPublicationEvent((PublicationEvent const *)arg2);
- } else {
- result = (int)(arg1)->OnPublicationEvent((PublicationEvent const *)arg2);
- }
- } catch (Swig::DirectorException&) {
- SWIG_fail;
- }
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipCallback_OnRegistrationEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipCallback *arg1 = (SipCallback *) 0 ;
- RegistrationEvent *arg2 = (RegistrationEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- Swig::Director *director = 0;
- bool upcall = false;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipCallback_OnRegistrationEvent",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipCallback_OnRegistrationEvent" "', argument " "1"" of type '" "SipCallback *""'");
- }
- arg1 = reinterpret_cast< SipCallback * >(argp1);
- res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_RegistrationEvent, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipCallback_OnRegistrationEvent" "', argument " "2"" of type '" "RegistrationEvent const *""'");
- }
- arg2 = reinterpret_cast< RegistrationEvent * >(argp2);
- director = SWIG_DIRECTOR_CAST(arg1);
- upcall = (director && (director->swig_get_self()==obj0));
- try {
- if (upcall) {
- result = (int)(arg1)->SipCallback::OnRegistrationEvent((RegistrationEvent const *)arg2);
- } else {
- result = (int)(arg1)->OnRegistrationEvent((RegistrationEvent const *)arg2);
- }
- } catch (Swig::DirectorException&) {
- SWIG_fail;
- }
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipCallback_OnSubscriptionEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipCallback *arg1 = (SipCallback *) 0 ;
- SubscriptionEvent *arg2 = (SubscriptionEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- Swig::Director *director = 0;
- bool upcall = false;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipCallback_OnSubscriptionEvent",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipCallback_OnSubscriptionEvent" "', argument " "1"" of type '" "SipCallback *""'");
- }
- arg1 = reinterpret_cast< SipCallback * >(argp1);
- res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_SubscriptionEvent, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipCallback_OnSubscriptionEvent" "', argument " "2"" of type '" "SubscriptionEvent const *""'");
- }
- arg2 = reinterpret_cast< SubscriptionEvent * >(argp2);
- director = SWIG_DIRECTOR_CAST(arg1);
- upcall = (director && (director->swig_get_self()==obj0));
- try {
- if (upcall) {
- result = (int)(arg1)->SipCallback::OnSubscriptionEvent((SubscriptionEvent const *)arg2);
- } else {
- result = (int)(arg1)->OnSubscriptionEvent((SubscriptionEvent const *)arg2);
- }
- } catch (Swig::DirectorException&) {
- SWIG_fail;
- }
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_disown_SipCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipCallback *arg1 = (SipCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:disown_SipCallback",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_SipCallback" "', argument " "1"" of type '" "SipCallback *""'");
- }
- arg1 = reinterpret_cast< SipCallback * >(argp1);
- {
- Swig::Director *director = SWIG_DIRECTOR_CAST(arg1);
- if (director) director->swig_disown();
- }
-
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *SipCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_SipCallback, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_new_SafeObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SafeObject *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)":new_SafeObject")) SWIG_fail;
- result = (SafeObject *)new SafeObject();
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SafeObject, SWIG_POINTER_NEW | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_delete_SafeObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SafeObject *arg1 = (SafeObject *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_SafeObject",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SafeObject, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SafeObject" "', argument " "1"" of type '" "SafeObject *""'");
- }
- arg1 = reinterpret_cast< SafeObject * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SafeObject_Lock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SafeObject *arg1 = (SafeObject *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SafeObject_Lock",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SafeObject, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SafeObject_Lock" "', argument " "1"" of type '" "SafeObject const *""'");
- }
- arg1 = reinterpret_cast< SafeObject * >(argp1);
- result = (int)((SafeObject const *)arg1)->Lock();
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SafeObject_UnLock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SafeObject *arg1 = (SafeObject *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SafeObject_UnLock",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SafeObject, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SafeObject_UnLock" "', argument " "1"" of type '" "SafeObject const *""'");
- }
- arg1 = reinterpret_cast< SafeObject * >(argp1);
- result = (int)((SafeObject const *)arg1)->UnLock();
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *SafeObject_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_SafeObject, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_new_SipStack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipCallback *arg1 = (SipCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int res4 ;
- char *buf4 = 0 ;
- int alloc4 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- SipStack *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OOOO:new_SipStack",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SipStack" "', argument " "1"" of type '" "SipCallback *""'");
- }
- arg1 = reinterpret_cast< SipCallback * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SipStack" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_SipStack" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
- if (!SWIG_IsOK(res4)) {
- SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SipStack" "', argument " "4"" of type '" "char const *""'");
- }
- arg4 = reinterpret_cast< char * >(buf4);
- result = (SipStack *)new SipStack(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SipStack, SWIG_POINTER_NEW | 0 );
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_delete_SipStack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_SipStack",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SipStack" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_start(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SipStack_start",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_start" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- result = (bool)(arg1)->start();
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_setDebugCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- DDebugCallback *arg2 = (DDebugCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipStack_setDebugCallback",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setDebugCallback" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_DDebugCallback, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_setDebugCallback" "', argument " "2"" of type '" "DDebugCallback *""'");
- }
- arg2 = reinterpret_cast< DDebugCallback * >(argp2);
- result = (bool)(arg1)->setDebugCallback(arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_setRealm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipStack_setRealm",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setRealm" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_setRealm" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->setRealm((char const *)arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_setIMPI(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipStack_setIMPI",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setIMPI" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_setIMPI" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->setIMPI((char const *)arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_setIMPU(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipStack_setIMPU",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setIMPU" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_setIMPU" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->setIMPU((char const *)arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_setPassword(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipStack_setPassword",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setPassword" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_setPassword" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->setPassword((char const *)arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_setAMF(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipStack_setAMF",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setAMF" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_setAMF" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->setAMF((char const *)arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_setOperatorId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipStack_setOperatorId",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setOperatorId" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_setOperatorId" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->setOperatorId((char const *)arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_setProxyCSCF(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned short arg3 ;
- char *arg4 = (char *) 0 ;
- char *arg5 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- unsigned short val3 ;
- int ecode3 = 0 ;
- int res4 ;
- char *buf4 = 0 ;
- int alloc4 = 0 ;
- int res5 ;
- char *buf5 = 0 ;
- int alloc5 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- PyObject * obj4 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOOOO:SipStack_setProxyCSCF",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setProxyCSCF" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_setProxyCSCF" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- ecode3 = SWIG_AsVal_unsigned_SS_short(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SipStack_setProxyCSCF" "', argument " "3"" of type '" "unsigned short""'");
- }
- arg3 = static_cast< unsigned short >(val3);
- res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
- if (!SWIG_IsOK(res4)) {
- SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SipStack_setProxyCSCF" "', argument " "4"" of type '" "char const *""'");
- }
- arg4 = reinterpret_cast< char * >(buf4);
- res5 = SWIG_AsCharPtrAndSize(obj4, &buf5, NULL, &alloc5);
- if (!SWIG_IsOK(res5)) {
- SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SipStack_setProxyCSCF" "', argument " "5"" of type '" "char const *""'");
- }
- arg5 = reinterpret_cast< char * >(buf5);
- result = (bool)(arg1)->setProxyCSCF((char const *)arg2,arg3,(char const *)arg4,(char const *)arg5);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_setLocalIP(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipStack_setLocalIP",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setLocalIP" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_setLocalIP" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->setLocalIP((char const *)arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_setLocalPort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- unsigned short arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- unsigned short val2 ;
- int ecode2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipStack_setLocalPort",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setLocalPort" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- ecode2 = SWIG_AsVal_unsigned_SS_short(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SipStack_setLocalPort" "', argument " "2"" of type '" "unsigned short""'");
- }
- arg2 = static_cast< unsigned short >(val2);
- result = (bool)(arg1)->setLocalPort(arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_setEarlyIMS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- bool arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- bool val2 ;
- int ecode2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipStack_setEarlyIMS",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setEarlyIMS" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- ecode2 = SWIG_AsVal_bool(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SipStack_setEarlyIMS" "', argument " "2"" of type '" "bool""'");
- }
- arg2 = static_cast< bool >(val2);
- result = (bool)(arg1)->setEarlyIMS(arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_addHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:SipStack_addHeader",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_addHeader" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_addHeader" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SipStack_addHeader" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (bool)(arg1)->addHeader((char const *)arg2,(char const *)arg3);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_removeHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipStack_removeHeader",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_removeHeader" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_removeHeader" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->removeHeader((char const *)arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_addDnsServer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipStack_addDnsServer",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_addDnsServer" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_addDnsServer" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->addDnsServer((char const *)arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_setDnsDiscovery(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- bool arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- bool val2 ;
- int ecode2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipStack_setDnsDiscovery",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setDnsDiscovery" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- ecode2 = SWIG_AsVal_bool(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SipStack_setDnsDiscovery" "', argument " "2"" of type '" "bool""'");
- }
- arg2 = static_cast< bool >(val2);
- result = (bool)(arg1)->setDnsDiscovery(arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_setAoR(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int val3 ;
- int ecode3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:SipStack_setAoR",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setAoR" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_setAoR" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- ecode3 = SWIG_AsVal_int(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SipStack_setAoR" "', argument " "3"" of type '" "int""'");
- }
- arg3 = static_cast< int >(val3);
- result = (bool)(arg1)->setAoR((char const *)arg2,arg3);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_setSigCompParams(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- unsigned int arg2 ;
- unsigned int arg3 ;
- unsigned int arg4 ;
- bool arg5 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- unsigned int val2 ;
- int ecode2 = 0 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- unsigned int val4 ;
- int ecode4 = 0 ;
- bool val5 ;
- int ecode5 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- PyObject * obj4 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOOOO:SipStack_setSigCompParams",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setSigCompParams" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SipStack_setSigCompParams" "', argument " "2"" of type '" "unsigned int""'");
- }
- arg2 = static_cast< unsigned int >(val2);
- ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SipStack_setSigCompParams" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SipStack_setSigCompParams" "', argument " "4"" of type '" "unsigned int""'");
- }
- arg4 = static_cast< unsigned int >(val4);
- ecode5 = SWIG_AsVal_bool(obj4, &val5);
- if (!SWIG_IsOK(ecode5)) {
- SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SipStack_setSigCompParams" "', argument " "5"" of type '" "bool""'");
- }
- arg5 = static_cast< bool >(val5);
- result = (bool)(arg1)->setSigCompParams(arg2,arg3,arg4,arg5);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_addSigCompCompartment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipStack_addSigCompCompartment",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_addSigCompCompartment" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_addSigCompCompartment" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->addSigCompCompartment((char const *)arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_removeSigCompCompartment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipStack_removeSigCompCompartment",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_removeSigCompCompartment" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_removeSigCompCompartment" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->removeSigCompCompartment((char const *)arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_setSTUNServer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned short arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- unsigned short val3 ;
- int ecode3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:SipStack_setSTUNServer",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setSTUNServer" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_setSTUNServer" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- ecode3 = SWIG_AsVal_unsigned_SS_short(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SipStack_setSTUNServer" "', argument " "3"" of type '" "unsigned short""'");
- }
- arg3 = static_cast< unsigned short >(val3);
- result = (bool)(arg1)->setSTUNServer((char const *)arg2,arg3);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_setSTUNCred(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:SipStack_setSTUNCred",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setSTUNCred" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_setSTUNCred" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SipStack_setSTUNCred" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (bool)(arg1)->setSTUNCred((char const *)arg2,(char const *)arg3);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_setTLSSecAgree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- bool arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- bool val2 ;
- int ecode2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipStack_setTLSSecAgree",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setTLSSecAgree" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- ecode2 = SWIG_AsVal_bool(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SipStack_setTLSSecAgree" "', argument " "2"" of type '" "bool""'");
- }
- arg2 = static_cast< bool >(val2);
- result = (bool)(arg1)->setTLSSecAgree(arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_setSSLCretificates(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int res4 ;
- char *buf4 = 0 ;
- int alloc4 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOOO:SipStack_setSSLCretificates",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setSSLCretificates" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_setSSLCretificates" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SipStack_setSSLCretificates" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
- if (!SWIG_IsOK(res4)) {
- SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SipStack_setSSLCretificates" "', argument " "4"" of type '" "char const *""'");
- }
- arg4 = reinterpret_cast< char * >(buf4);
- result = (bool)(arg1)->setSSLCretificates((char const *)arg2,(char const *)arg3,(char const *)arg4);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_setIPSecSecAgree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- bool arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- bool val2 ;
- int ecode2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:SipStack_setIPSecSecAgree",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setIPSecSecAgree" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- ecode2 = SWIG_AsVal_bool(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SipStack_setIPSecSecAgree" "', argument " "2"" of type '" "bool""'");
- }
- arg2 = static_cast< bool >(val2);
- result = (bool)(arg1)->setIPSecSecAgree(arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_setIPSecParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- char *arg5 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int res4 ;
- char *buf4 = 0 ;
- int alloc4 = 0 ;
- int res5 ;
- char *buf5 = 0 ;
- int alloc5 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- PyObject * obj4 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOOOO:SipStack_setIPSecParameters",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_setIPSecParameters" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_setIPSecParameters" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SipStack_setIPSecParameters" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
- if (!SWIG_IsOK(res4)) {
- SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SipStack_setIPSecParameters" "', argument " "4"" of type '" "char const *""'");
- }
- arg4 = reinterpret_cast< char * >(buf4);
- res5 = SWIG_AsCharPtrAndSize(obj4, &buf5, NULL, &alloc5);
- if (!SWIG_IsOK(res5)) {
- SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SipStack_setIPSecParameters" "', argument " "5"" of type '" "char const *""'");
- }
- arg5 = reinterpret_cast< char * >(buf5);
- result = (bool)(arg1)->setIPSecParameters((char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_dnsENUM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int res4 ;
- char *buf4 = 0 ;
- int alloc4 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- char *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OOOO:SipStack_dnsENUM",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_dnsENUM" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_dnsENUM" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SipStack_dnsENUM" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
- if (!SWIG_IsOK(res4)) {
- SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SipStack_dnsENUM" "', argument " "4"" of type '" "char const *""'");
- }
- arg4 = reinterpret_cast< char * >(buf4);
- result = (char *)(arg1)->dnsENUM((char const *)arg2,(char const *)arg3,(char const *)arg4);
- resultobj = SWIG_FromCharPtr((const char *)result);
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- delete[] result;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_dnsNaptrSrv(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- unsigned short *arg4 = (unsigned short *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- unsigned short temp4 ;
- int res4 = SWIG_TMPOBJ ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- char *result = 0 ;
-
- arg4 = &temp4;
- if (!PyArg_ParseTuple(args,(char *)"OOO:SipStack_dnsNaptrSrv",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_dnsNaptrSrv" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_dnsNaptrSrv" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SipStack_dnsNaptrSrv" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (char *)(arg1)->dnsNaptrSrv((char const *)arg2,(char const *)arg3,arg4);
- resultobj = SWIG_FromCharPtr((const char *)result);
- if (SWIG_IsTmpObj(res4)) {
- resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_unsigned_SS_short((*arg4)));
- } else {
- int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
- resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_unsigned_short, new_flags));
- }
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- delete[] result;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_dnsSrv(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned short *arg3 = (unsigned short *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- unsigned short temp3 ;
- int res3 = SWIG_TMPOBJ ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- char *result = 0 ;
-
- arg3 = &temp3;
- if (!PyArg_ParseTuple(args,(char *)"OO:SipStack_dnsSrv",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_dnsSrv" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_dnsSrv" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (char *)(arg1)->dnsSrv((char const *)arg2,arg3);
- resultobj = SWIG_FromCharPtr((const char *)result);
- if (SWIG_IsTmpObj(res3)) {
- resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_unsigned_SS_short((*arg3)));
- } else {
- int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
- resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_unsigned_short, new_flags));
- }
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- delete[] result;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_getLocalIPnPort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned short *arg3 = (unsigned short *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- unsigned short temp3 ;
- int res3 = SWIG_TMPOBJ ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- char *result = 0 ;
-
- arg3 = &temp3;
- if (!PyArg_ParseTuple(args,(char *)"OO:SipStack_getLocalIPnPort",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_getLocalIPnPort" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SipStack_getLocalIPnPort" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (char *)(arg1)->getLocalIPnPort((char const *)arg2,arg3);
- resultobj = SWIG_FromCharPtr((const char *)result);
- if (SWIG_IsTmpObj(res3)) {
- resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_unsigned_SS_short((*arg3)));
- } else {
- int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
- resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_unsigned_short, new_flags));
- }
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- delete[] result;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_getPreferredIdentity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- char *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SipStack_getPreferredIdentity",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_getPreferredIdentity" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- result = (char *)(arg1)->getPreferredIdentity();
- resultobj = SWIG_FromCharPtr((const char *)result);
- delete[] result;
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_isValid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SipStack_isValid",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_isValid" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- result = (bool)(arg1)->isValid();
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_stop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SipStack *arg1 = (SipStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SipStack_stop",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SipStack_stop" "', argument " "1"" of type '" "SipStack *""'");
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- result = (bool)(arg1)->stop();
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_setCodecs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- tdav_codec_id_t arg1 ;
- int val1 ;
- int ecode1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SipStack_setCodecs",&obj0)) SWIG_fail;
- ecode1 = SWIG_AsVal_int(obj0, &val1);
- if (!SWIG_IsOK(ecode1)) {
- SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SipStack_setCodecs" "', argument " "1"" of type '" "tdav_codec_id_t""'");
- }
- arg1 = static_cast< tdav_codec_id_t >(val1);
- SipStack::setCodecs(arg1);
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_setCodecs_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- int arg1 ;
- int val1 ;
- int ecode1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SipStack_setCodecs_2",&obj0)) SWIG_fail;
- ecode1 = SWIG_AsVal_int(obj0, &val1);
- if (!SWIG_IsOK(ecode1)) {
- SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SipStack_setCodecs_2" "', argument " "1"" of type '" "int""'");
- }
- arg1 = static_cast< int >(val1);
- SipStack::setCodecs_2(arg1);
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SipStack_isCodecSupported(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- tdav_codec_id_t arg1 ;
- int val1 ;
- int ecode1 = 0 ;
- PyObject * obj0 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SipStack_isCodecSupported",&obj0)) SWIG_fail;
- ecode1 = SWIG_AsVal_int(obj0, &val1);
- if (!SWIG_IsOK(ecode1)) {
- SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SipStack_isCodecSupported" "', argument " "1"" of type '" "tdav_codec_id_t""'");
- }
- arg1 = static_cast< tdav_codec_id_t >(val1);
- result = (bool)SipStack::isCodecSupported(arg1);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *SipStack_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_SipStack, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_new_XcapSelector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapStack *arg1 = (XcapStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- XcapSelector *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:new_XcapSelector",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_XcapSelector" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- result = (XcapSelector *)new XcapSelector(arg1);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XcapSelector, SWIG_POINTER_NEW | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_delete_XcapSelector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_XcapSelector",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapSelector, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XcapSelector" "', argument " "1"" of type '" "XcapSelector *""'");
- }
- arg1 = reinterpret_cast< XcapSelector * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapSelector_setAUID(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- XcapSelector *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:XcapSelector_setAUID",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapSelector, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapSelector_setAUID" "', argument " "1"" of type '" "XcapSelector *""'");
- }
- arg1 = reinterpret_cast< XcapSelector * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapSelector_setAUID" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (XcapSelector *)(arg1)->setAUID((char const *)arg2);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XcapSelector, 0 | 0 );
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapSelector_setName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- XcapSelector *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:XcapSelector_setName",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapSelector, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapSelector_setName" "', argument " "1"" of type '" "XcapSelector *""'");
- }
- arg1 = reinterpret_cast< XcapSelector * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapSelector_setName" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (XcapSelector *)(arg1)->setName((char const *)arg2);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XcapSelector, 0 | 0 );
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapSelector_setAttribute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int res4 ;
- char *buf4 = 0 ;
- int alloc4 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- XcapSelector *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OOOO:XcapSelector_setAttribute",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapSelector, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapSelector_setAttribute" "', argument " "1"" of type '" "XcapSelector *""'");
- }
- arg1 = reinterpret_cast< XcapSelector * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapSelector_setAttribute" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XcapSelector_setAttribute" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
- if (!SWIG_IsOK(res4)) {
- SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "XcapSelector_setAttribute" "', argument " "4"" of type '" "char const *""'");
- }
- arg4 = reinterpret_cast< char * >(buf4);
- result = (XcapSelector *)(arg1)->setAttribute((char const *)arg2,(char const *)arg3,(char const *)arg4);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XcapSelector, 0 | 0 );
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapSelector_setPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- XcapSelector *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:XcapSelector_setPos",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapSelector, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapSelector_setPos" "', argument " "1"" of type '" "XcapSelector *""'");
- }
- arg1 = reinterpret_cast< XcapSelector * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapSelector_setPos" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XcapSelector_setPos" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (XcapSelector *)(arg1)->setPos((char const *)arg2,arg3);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XcapSelector, 0 | 0 );
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapSelector_setPosAttribute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned int arg3 ;
- char *arg4 = (char *) 0 ;
- char *arg5 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- int res4 ;
- char *buf4 = 0 ;
- int alloc4 = 0 ;
- int res5 ;
- char *buf5 = 0 ;
- int alloc5 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- PyObject * obj4 = 0 ;
- XcapSelector *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OOOOO:XcapSelector_setPosAttribute",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapSelector, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapSelector_setPosAttribute" "', argument " "1"" of type '" "XcapSelector *""'");
- }
- arg1 = reinterpret_cast< XcapSelector * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapSelector_setPosAttribute" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XcapSelector_setPosAttribute" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
- if (!SWIG_IsOK(res4)) {
- SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "XcapSelector_setPosAttribute" "', argument " "4"" of type '" "char const *""'");
- }
- arg4 = reinterpret_cast< char * >(buf4);
- res5 = SWIG_AsCharPtrAndSize(obj4, &buf5, NULL, &alloc5);
- if (!SWIG_IsOK(res5)) {
- SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "XcapSelector_setPosAttribute" "', argument " "5"" of type '" "char const *""'");
- }
- arg5 = reinterpret_cast< char * >(buf5);
- result = (XcapSelector *)(arg1)->setPosAttribute((char const *)arg2,arg3,(char const *)arg4,(char const *)arg5);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XcapSelector, 0 | 0 );
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapSelector_setNamespace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- XcapSelector *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:XcapSelector_setNamespace",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapSelector, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapSelector_setNamespace" "', argument " "1"" of type '" "XcapSelector *""'");
- }
- arg1 = reinterpret_cast< XcapSelector * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapSelector_setNamespace" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XcapSelector_setNamespace" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (XcapSelector *)(arg1)->setNamespace((char const *)arg2,(char const *)arg3);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XcapSelector, 0 | 0 );
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapSelector_getString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- char *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:XcapSelector_getString",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapSelector, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapSelector_getString" "', argument " "1"" of type '" "XcapSelector *""'");
- }
- arg1 = reinterpret_cast< XcapSelector * >(argp1);
- result = (char *)(arg1)->getString();
- resultobj = SWIG_FromCharPtr((const char *)result);
- delete[] result;
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapSelector_reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapSelector *arg1 = (XcapSelector *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:XcapSelector_reset",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapSelector, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapSelector_reset" "', argument " "1"" of type '" "XcapSelector *""'");
- }
- arg1 = reinterpret_cast< XcapSelector * >(argp1);
- (arg1)->reset();
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *XcapSelector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_XcapSelector, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_new_XcapMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapMessage *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)":new_XcapMessage")) SWIG_fail;
- result = (XcapMessage *)new XcapMessage();
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XcapMessage, SWIG_POINTER_NEW | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_delete_XcapMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_XcapMessage",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapMessage, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XcapMessage" "', argument " "1"" of type '" "XcapMessage *""'");
- }
- arg1 = reinterpret_cast< XcapMessage * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapMessage_getCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- short result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:XcapMessage_getCode",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapMessage_getCode" "', argument " "1"" of type '" "XcapMessage const *""'");
- }
- arg1 = reinterpret_cast< XcapMessage * >(argp1);
- result = (short)((XcapMessage const *)arg1)->getCode();
- resultobj = SWIG_From_short(static_cast< short >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapMessage_getPhrase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- char *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:XcapMessage_getPhrase",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapMessage_getPhrase" "', argument " "1"" of type '" "XcapMessage const *""'");
- }
- arg1 = reinterpret_cast< XcapMessage * >(argp1);
- result = (char *)((XcapMessage const *)arg1)->getPhrase();
- resultobj = SWIG_FromCharPtr((const char *)result);
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapMessage_getXcapHeaderValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- char *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:XcapMessage_getXcapHeaderValue",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapMessage_getXcapHeaderValue" "', argument " "1"" of type '" "XcapMessage *""'");
- }
- arg1 = reinterpret_cast< XcapMessage * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapMessage_getXcapHeaderValue" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XcapMessage_getXcapHeaderValue" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (char *)(arg1)->getXcapHeaderValue((char const *)arg2,arg3);
- resultobj = SWIG_FromCharPtr((const char *)result);
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- delete[] result;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapMessage_getXcapHeaderValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- char *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:XcapMessage_getXcapHeaderValue",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapMessage_getXcapHeaderValue" "', argument " "1"" of type '" "XcapMessage *""'");
- }
- arg1 = reinterpret_cast< XcapMessage * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapMessage_getXcapHeaderValue" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (char *)(arg1)->getXcapHeaderValue((char const *)arg2);
- resultobj = SWIG_FromCharPtr((const char *)result);
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- delete[] result;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapMessage_getXcapHeaderValue(PyObject *self, PyObject *args) {
- int argc;
- PyObject *argv[4];
- int ii;
-
- if (!PyTuple_Check(args)) SWIG_fail;
- argc = (int)PyObject_Length(args);
- for (ii = 0; (ii < argc) && (ii < 3); ii++) {
- argv[ii] = PyTuple_GET_ITEM(args,ii);
- }
- if (argc == 2) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XcapMessage, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_XcapMessage_getXcapHeaderValue__SWIG_1(self, args);
- }
- }
- }
- if (argc == 3) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XcapMessage, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- {
- int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
- _v = SWIG_CheckState(res);
- }
- if (_v) {
- return _wrap_XcapMessage_getXcapHeaderValue__SWIG_0(self, args);
- }
- }
- }
- }
-
-fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XcapMessage_getXcapHeaderValue'.\n"
- " Possible C/C++ prototypes are:\n"
- " getXcapHeaderValue(XcapMessage *,char const *,unsigned int)\n"
- " getXcapHeaderValue(XcapMessage *,char const *)\n");
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapMessage_getXcapHeaderParamValue__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- unsigned int arg4 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- unsigned int val4 ;
- int ecode4 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- char *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OOOO:XcapMessage_getXcapHeaderParamValue",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapMessage_getXcapHeaderParamValue" "', argument " "1"" of type '" "XcapMessage *""'");
- }
- arg1 = reinterpret_cast< XcapMessage * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapMessage_getXcapHeaderParamValue" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XcapMessage_getXcapHeaderParamValue" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XcapMessage_getXcapHeaderParamValue" "', argument " "4"" of type '" "unsigned int""'");
- }
- arg4 = static_cast< unsigned int >(val4);
- result = (char *)(arg1)->getXcapHeaderParamValue((char const *)arg2,(char const *)arg3,arg4);
- resultobj = SWIG_FromCharPtr((const char *)result);
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- delete[] result;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapMessage_getXcapHeaderParamValue__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- char *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:XcapMessage_getXcapHeaderParamValue",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapMessage_getXcapHeaderParamValue" "', argument " "1"" of type '" "XcapMessage *""'");
- }
- arg1 = reinterpret_cast< XcapMessage * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapMessage_getXcapHeaderParamValue" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XcapMessage_getXcapHeaderParamValue" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (char *)(arg1)->getXcapHeaderParamValue((char const *)arg2,(char const *)arg3);
- resultobj = SWIG_FromCharPtr((const char *)result);
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- delete[] result;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapMessage_getXcapHeaderParamValue(PyObject *self, PyObject *args) {
- int argc;
- PyObject *argv[5];
- int ii;
-
- if (!PyTuple_Check(args)) SWIG_fail;
- argc = (int)PyObject_Length(args);
- for (ii = 0; (ii < argc) && (ii < 4); ii++) {
- argv[ii] = PyTuple_GET_ITEM(args,ii);
- }
- if (argc == 3) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XcapMessage, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_XcapMessage_getXcapHeaderParamValue__SWIG_1(self, args);
- }
- }
- }
- }
- if (argc == 4) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_XcapMessage, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- {
- int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
- _v = SWIG_CheckState(res);
- }
- if (_v) {
- return _wrap_XcapMessage_getXcapHeaderParamValue__SWIG_0(self, args);
- }
- }
- }
- }
- }
-
-fail:
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'XcapMessage_getXcapHeaderParamValue'.\n"
- " Possible C/C++ prototypes are:\n"
- " getXcapHeaderParamValue(XcapMessage *,char const *,char const *,unsigned int)\n"
- " getXcapHeaderParamValue(XcapMessage *,char const *,char const *)\n");
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapMessage_getXcapContentLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- unsigned int result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:XcapMessage_getXcapContentLength",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapMessage_getXcapContentLength" "', argument " "1"" of type '" "XcapMessage *""'");
- }
- arg1 = reinterpret_cast< XcapMessage * >(argp1);
- result = (unsigned int)(arg1)->getXcapContentLength();
- resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapMessage_getXcapContent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapMessage *arg1 = (XcapMessage *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- unsigned int result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:XcapMessage_getXcapContent",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapMessage_getXcapContent" "', argument " "1"" of type '" "XcapMessage *""'");
- }
- arg1 = reinterpret_cast< XcapMessage * >(argp1);
- res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapMessage_getXcapContent" "', argument " "2"" of type '" "void *""'");
- }
- ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "XcapMessage_getXcapContent" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (unsigned int)(arg1)->getXcapContent(arg2,arg3);
- resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *XcapMessage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_XcapMessage, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_delete_XcapEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapEvent *arg1 = (XcapEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_XcapEvent",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapEvent, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XcapEvent" "', argument " "1"" of type '" "XcapEvent *""'");
- }
- arg1 = reinterpret_cast< XcapEvent * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapEvent_getType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapEvent *arg1 = (XcapEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- thttp_event_type_t result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:XcapEvent_getType",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapEvent_getType" "', argument " "1"" of type '" "XcapEvent *""'");
- }
- arg1 = reinterpret_cast< XcapEvent * >(argp1);
- result = (thttp_event_type_t)(arg1)->getType();
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapEvent_getXcapMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapEvent *arg1 = (XcapEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- XcapMessage *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:XcapEvent_getXcapMessage",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapEvent_getXcapMessage" "', argument " "1"" of type '" "XcapEvent const *""'");
- }
- arg1 = reinterpret_cast< XcapEvent * >(argp1);
- result = (XcapMessage *)((XcapEvent const *)arg1)->getXcapMessage();
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XcapMessage, 0 | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *XcapEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_XcapEvent, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_new_XcapCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- PyObject *arg1 = (PyObject *) 0 ;
- PyObject * obj0 = 0 ;
- XcapCallback *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:new_XcapCallback",&obj0)) SWIG_fail;
- arg1 = obj0;
- if ( arg1 != Py_None ) {
- /* subclassed */
- result = (XcapCallback *)new SwigDirector_XcapCallback(arg1);
- } else {
- result = (XcapCallback *)new XcapCallback();
- }
-
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XcapCallback, SWIG_POINTER_NEW | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_delete_XcapCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapCallback *arg1 = (XcapCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_XcapCallback",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapCallback, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XcapCallback" "', argument " "1"" of type '" "XcapCallback *""'");
- }
- arg1 = reinterpret_cast< XcapCallback * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapCallback_onEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapCallback *arg1 = (XcapCallback *) 0 ;
- XcapEvent *arg2 = (XcapEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- Swig::Director *director = 0;
- bool upcall = false;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:XcapCallback_onEvent",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapCallback_onEvent" "', argument " "1"" of type '" "XcapCallback const *""'");
- }
- arg1 = reinterpret_cast< XcapCallback * >(argp1);
- res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_XcapEvent, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapCallback_onEvent" "', argument " "2"" of type '" "XcapEvent const *""'");
- }
- arg2 = reinterpret_cast< XcapEvent * >(argp2);
- director = SWIG_DIRECTOR_CAST(arg1);
- upcall = (director && (director->swig_get_self()==obj0));
- try {
- if (upcall) {
- result = (int)((XcapCallback const *)arg1)->XcapCallback::onEvent((XcapEvent const *)arg2);
- } else {
- result = (int)((XcapCallback const *)arg1)->onEvent((XcapEvent const *)arg2);
- }
- } catch (Swig::DirectorException&) {
- SWIG_fail;
- }
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_disown_XcapCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapCallback *arg1 = (XcapCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:disown_XcapCallback",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_XcapCallback" "', argument " "1"" of type '" "XcapCallback *""'");
- }
- arg1 = reinterpret_cast< XcapCallback * >(argp1);
- {
- Swig::Director *director = SWIG_DIRECTOR_CAST(arg1);
- if (director) director->swig_disown();
- }
-
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *XcapCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_XcapCallback, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_new_XcapStack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapCallback *arg1 = (XcapCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int res4 ;
- char *buf4 = 0 ;
- int alloc4 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- XcapStack *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OOOO:new_XcapStack",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_XcapStack" "', argument " "1"" of type '" "XcapCallback *""'");
- }
- arg1 = reinterpret_cast< XcapCallback * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_XcapStack" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_XcapStack" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
- if (!SWIG_IsOK(res4)) {
- SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_XcapStack" "', argument " "4"" of type '" "char const *""'");
- }
- arg4 = reinterpret_cast< char * >(buf4);
- result = (XcapStack *)new XcapStack(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_XcapStack, SWIG_POINTER_NEW | 0 );
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_delete_XcapStack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapStack *arg1 = (XcapStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_XcapStack",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapStack, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_XcapStack" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapStack_registerAUID(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- char *arg5 = (char *) 0 ;
- bool arg6 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int res4 ;
- char *buf4 = 0 ;
- int alloc4 = 0 ;
- int res5 ;
- char *buf5 = 0 ;
- int alloc5 = 0 ;
- bool val6 ;
- int ecode6 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- PyObject * obj4 = 0 ;
- PyObject * obj5 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOOOOO:XcapStack_registerAUID",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_registerAUID" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapStack_registerAUID" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XcapStack_registerAUID" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
- if (!SWIG_IsOK(res4)) {
- SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "XcapStack_registerAUID" "', argument " "4"" of type '" "char const *""'");
- }
- arg4 = reinterpret_cast< char * >(buf4);
- res5 = SWIG_AsCharPtrAndSize(obj4, &buf5, NULL, &alloc5);
- if (!SWIG_IsOK(res5)) {
- SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "XcapStack_registerAUID" "', argument " "5"" of type '" "char const *""'");
- }
- arg5 = reinterpret_cast< char * >(buf5);
- ecode6 = SWIG_AsVal_bool(obj5, &val6);
- if (!SWIG_IsOK(ecode6)) {
- SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "XcapStack_registerAUID" "', argument " "6"" of type '" "bool""'");
- }
- arg6 = static_cast< bool >(val6);
- result = (bool)(arg1)->registerAUID((char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,arg6);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapStack_start(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapStack *arg1 = (XcapStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:XcapStack_start",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_start" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- result = (bool)(arg1)->start();
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapStack_setCredentials(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:XcapStack_setCredentials",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_setCredentials" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapStack_setCredentials" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XcapStack_setCredentials" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (bool)(arg1)->setCredentials((char const *)arg2,(char const *)arg3);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapStack_setXcapRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:XcapStack_setXcapRoot",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_setXcapRoot" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapStack_setXcapRoot" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->setXcapRoot((char const *)arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapStack_setLocalIP(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:XcapStack_setLocalIP",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_setLocalIP" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapStack_setLocalIP" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->setLocalIP((char const *)arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapStack_setLocalPort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapStack *arg1 = (XcapStack *) 0 ;
- unsigned int arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- unsigned int val2 ;
- int ecode2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:XcapStack_setLocalPort",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_setLocalPort" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XcapStack_setLocalPort" "', argument " "2"" of type '" "unsigned int""'");
- }
- arg2 = static_cast< unsigned int >(val2);
- result = (bool)(arg1)->setLocalPort(arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapStack_addHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:XcapStack_addHeader",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_addHeader" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapStack_addHeader" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XcapStack_addHeader" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (bool)(arg1)->addHeader((char const *)arg2,(char const *)arg3);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapStack_removeHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:XcapStack_removeHeader",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_removeHeader" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapStack_removeHeader" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->removeHeader((char const *)arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapStack_setTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapStack *arg1 = (XcapStack *) 0 ;
- unsigned int arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- unsigned int val2 ;
- int ecode2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:XcapStack_setTimeout",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_setTimeout" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "XcapStack_setTimeout" "', argument " "2"" of type '" "unsigned int""'");
- }
- arg2 = static_cast< unsigned int >(val2);
- result = (bool)(arg1)->setTimeout(arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapStack_getDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:XcapStack_getDocument",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_getDocument" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapStack_getDocument" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->getDocument((char const *)arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapStack_getElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:XcapStack_getElement",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_getElement" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapStack_getElement" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->getElement((char const *)arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapStack_getAttribute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:XcapStack_getAttribute",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_getAttribute" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapStack_getAttribute" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->getAttribute((char const *)arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapStack_deleteDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:XcapStack_deleteDocument",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_deleteDocument" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapStack_deleteDocument" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->deleteDocument((char const *)arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapStack_deleteElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:XcapStack_deleteElement",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_deleteElement" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapStack_deleteElement" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->deleteElement((char const *)arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapStack_deleteAttribute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:XcapStack_deleteAttribute",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_deleteAttribute" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapStack_deleteAttribute" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->deleteAttribute((char const *)arg2);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapStack_putDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *arg3 = (void *) 0 ;
- unsigned int arg4 ;
- char *arg5 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- unsigned int val4 ;
- int ecode4 = 0 ;
- int res5 ;
- char *buf5 = 0 ;
- int alloc5 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- PyObject * obj4 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOOOO:XcapStack_putDocument",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_putDocument" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapStack_putDocument" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XcapStack_putDocument" "', argument " "3"" of type '" "void const *""'");
- }
- ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XcapStack_putDocument" "', argument " "4"" of type '" "unsigned int""'");
- }
- arg4 = static_cast< unsigned int >(val4);
- res5 = SWIG_AsCharPtrAndSize(obj4, &buf5, NULL, &alloc5);
- if (!SWIG_IsOK(res5)) {
- SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "XcapStack_putDocument" "', argument " "5"" of type '" "char const *""'");
- }
- arg5 = reinterpret_cast< char * >(buf5);
- result = (bool)(arg1)->putDocument((char const *)arg2,(void const *)arg3,arg4,(char const *)arg5);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapStack_putElement(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *arg3 = (void *) 0 ;
- unsigned int arg4 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- unsigned int val4 ;
- int ecode4 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOOO:XcapStack_putElement",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_putElement" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapStack_putElement" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XcapStack_putElement" "', argument " "3"" of type '" "void const *""'");
- }
- ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XcapStack_putElement" "', argument " "4"" of type '" "unsigned int""'");
- }
- arg4 = static_cast< unsigned int >(val4);
- result = (bool)(arg1)->putElement((char const *)arg2,(void const *)arg3,arg4);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapStack_putAttribute(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapStack *arg1 = (XcapStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *arg3 = (void *) 0 ;
- unsigned int arg4 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- unsigned int val4 ;
- int ecode4 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOOO:XcapStack_putAttribute",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_putAttribute" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "XcapStack_putAttribute" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "XcapStack_putAttribute" "', argument " "3"" of type '" "void const *""'");
- }
- ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "XcapStack_putAttribute" "', argument " "4"" of type '" "unsigned int""'");
- }
- arg4 = static_cast< unsigned int >(val4);
- result = (bool)(arg1)->putAttribute((char const *)arg2,(void const *)arg3,arg4);
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_XcapStack_stop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- XcapStack *arg1 = (XcapStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:XcapStack_stop",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_XcapStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "XcapStack_stop" "', argument " "1"" of type '" "XcapStack *""'");
- }
- arg1 = reinterpret_cast< XcapStack * >(argp1);
- result = (bool)(arg1)->stop();
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *XcapStack_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_XcapStack, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_new_RPMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- RPMessage *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)":new_RPMessage")) SWIG_fail;
- result = (RPMessage *)new RPMessage();
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RPMessage, SWIG_POINTER_NEW | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_delete_RPMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- RPMessage *arg1 = (RPMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_RPMessage",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_RPMessage, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RPMessage" "', argument " "1"" of type '" "RPMessage *""'");
- }
- arg1 = reinterpret_cast< RPMessage * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_RPMessage_getType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- RPMessage *arg1 = (RPMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- twrap_rpmessage_type_t result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:RPMessage_getType",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_RPMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RPMessage_getType" "', argument " "1"" of type '" "RPMessage *""'");
- }
- arg1 = reinterpret_cast< RPMessage * >(argp1);
- result = (twrap_rpmessage_type_t)(arg1)->getType();
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_RPMessage_getPayloadLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- RPMessage *arg1 = (RPMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- unsigned int result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:RPMessage_getPayloadLength",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_RPMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RPMessage_getPayloadLength" "', argument " "1"" of type '" "RPMessage *""'");
- }
- arg1 = reinterpret_cast< RPMessage * >(argp1);
- result = (unsigned int)(arg1)->getPayloadLength();
- resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_RPMessage_getPayload(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- RPMessage *arg1 = (RPMessage *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- unsigned int result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:RPMessage_getPayload",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_RPMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RPMessage_getPayload" "', argument " "1"" of type '" "RPMessage *""'");
- }
- arg1 = reinterpret_cast< RPMessage * >(argp1);
- res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RPMessage_getPayload" "', argument " "2"" of type '" "void *""'");
- }
- ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RPMessage_getPayload" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (unsigned int)(arg1)->getPayload(arg2,arg3);
- resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *RPMessage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_RPMessage, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_new_SMSData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SMSData *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)":new_SMSData")) SWIG_fail;
- result = (SMSData *)new SMSData();
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SMSData, SWIG_POINTER_NEW | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_delete_SMSData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SMSData *arg1 = (SMSData *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_SMSData",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SMSData, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SMSData" "', argument " "1"" of type '" "SMSData *""'");
- }
- arg1 = reinterpret_cast< SMSData * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SMSData_getType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SMSData *arg1 = (SMSData *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- twrap_sms_type_t result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SMSData_getType",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SMSData, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SMSData_getType" "', argument " "1"" of type '" "SMSData *""'");
- }
- arg1 = reinterpret_cast< SMSData * >(argp1);
- result = (twrap_sms_type_t)(arg1)->getType();
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SMSData_getMR(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SMSData *arg1 = (SMSData *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SMSData_getMR",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SMSData, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SMSData_getMR" "', argument " "1"" of type '" "SMSData *""'");
- }
- arg1 = reinterpret_cast< SMSData * >(argp1);
- result = (int)(arg1)->getMR();
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SMSData_getPayloadLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SMSData *arg1 = (SMSData *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- unsigned int result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SMSData_getPayloadLength",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SMSData, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SMSData_getPayloadLength" "', argument " "1"" of type '" "SMSData *""'");
- }
- arg1 = reinterpret_cast< SMSData * >(argp1);
- result = (unsigned int)(arg1)->getPayloadLength();
- resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SMSData_getPayload(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SMSData *arg1 = (SMSData *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- unsigned int result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:SMSData_getPayload",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SMSData, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SMSData_getPayload" "', argument " "1"" of type '" "SMSData *""'");
- }
- arg1 = reinterpret_cast< SMSData * >(argp1);
- res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SMSData_getPayload" "', argument " "2"" of type '" "void *""'");
- }
- ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SMSData_getPayload" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (unsigned int)(arg1)->getPayload(arg2,arg3);
- resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SMSData_getOA(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SMSData *arg1 = (SMSData *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- char *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SMSData_getOA",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SMSData, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SMSData_getOA" "', argument " "1"" of type '" "SMSData *""'");
- }
- arg1 = reinterpret_cast< SMSData * >(argp1);
- result = (char *)(arg1)->getOA();
- resultobj = SWIG_FromCharPtr((const char *)result);
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SMSData_getDA(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SMSData *arg1 = (SMSData *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- char *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:SMSData_getDA",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SMSData, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SMSData_getDA" "', argument " "1"" of type '" "SMSData *""'");
- }
- arg1 = reinterpret_cast< SMSData * >(argp1);
- result = (char *)(arg1)->getDA();
- resultobj = SWIG_FromCharPtr((const char *)result);
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *SMSData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_SMSData, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_SMSEncoder_encodeSubmit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- int arg1 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- int val1 ;
- int ecode1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int res4 ;
- char *buf4 = 0 ;
- int alloc4 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- RPMessage *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OOOO:SMSEncoder_encodeSubmit",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
- ecode1 = SWIG_AsVal_int(obj0, &val1);
- if (!SWIG_IsOK(ecode1)) {
- SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SMSEncoder_encodeSubmit" "', argument " "1"" of type '" "int""'");
- }
- arg1 = static_cast< int >(val1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SMSEncoder_encodeSubmit" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SMSEncoder_encodeSubmit" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
- if (!SWIG_IsOK(res4)) {
- SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SMSEncoder_encodeSubmit" "', argument " "4"" of type '" "char const *""'");
- }
- arg4 = reinterpret_cast< char * >(buf4);
- result = (RPMessage *)SMSEncoder::encodeSubmit(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RPMessage, SWIG_POINTER_OWN | 0 );
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SMSEncoder_encodeDeliver(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- int arg1 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- int val1 ;
- int ecode1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int res4 ;
- char *buf4 = 0 ;
- int alloc4 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- RPMessage *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OOOO:SMSEncoder_encodeDeliver",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
- ecode1 = SWIG_AsVal_int(obj0, &val1);
- if (!SWIG_IsOK(ecode1)) {
- SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SMSEncoder_encodeDeliver" "', argument " "1"" of type '" "int""'");
- }
- arg1 = static_cast< int >(val1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SMSEncoder_encodeDeliver" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SMSEncoder_encodeDeliver" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
- if (!SWIG_IsOK(res4)) {
- SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SMSEncoder_encodeDeliver" "', argument " "4"" of type '" "char const *""'");
- }
- arg4 = reinterpret_cast< char * >(buf4);
- result = (RPMessage *)SMSEncoder::encodeDeliver(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RPMessage, SWIG_POINTER_OWN | 0 );
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SMSEncoder_encodeACK(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- int arg1 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- bool arg4 ;
- int val1 ;
- int ecode1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- bool val4 ;
- int ecode4 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- RPMessage *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OOOO:SMSEncoder_encodeACK",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
- ecode1 = SWIG_AsVal_int(obj0, &val1);
- if (!SWIG_IsOK(ecode1)) {
- SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SMSEncoder_encodeACK" "', argument " "1"" of type '" "int""'");
- }
- arg1 = static_cast< int >(val1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SMSEncoder_encodeACK" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SMSEncoder_encodeACK" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- ecode4 = SWIG_AsVal_bool(obj3, &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SMSEncoder_encodeACK" "', argument " "4"" of type '" "bool""'");
- }
- arg4 = static_cast< bool >(val4);
- result = (RPMessage *)SMSEncoder::encodeACK(arg1,(char const *)arg2,(char const *)arg3,arg4);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RPMessage, SWIG_POINTER_OWN | 0 );
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SMSEncoder_encodeError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- int arg1 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- bool arg4 ;
- int val1 ;
- int ecode1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- bool val4 ;
- int ecode4 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- PyObject * obj3 = 0 ;
- RPMessage *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OOOO:SMSEncoder_encodeError",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
- ecode1 = SWIG_AsVal_int(obj0, &val1);
- if (!SWIG_IsOK(ecode1)) {
- SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SMSEncoder_encodeError" "', argument " "1"" of type '" "int""'");
- }
- arg1 = static_cast< int >(val1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SMSEncoder_encodeError" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SMSEncoder_encodeError" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- ecode4 = SWIG_AsVal_bool(obj3, &val4);
- if (!SWIG_IsOK(ecode4)) {
- SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SMSEncoder_encodeError" "', argument " "4"" of type '" "bool""'");
- }
- arg4 = static_cast< bool >(val4);
- result = (RPMessage *)SMSEncoder::encodeError(arg1,(char const *)arg2,(char const *)arg3,arg4);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RPMessage, SWIG_POINTER_OWN | 0 );
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_SMSEncoder_decode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- void *arg1 = (void *) 0 ;
- unsigned int arg2 ;
- bool arg3 ;
- int res1 ;
- unsigned int val2 ;
- int ecode2 = 0 ;
- bool val3 ;
- int ecode3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- SMSData *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:SMSEncoder_decode",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0,SWIG_as_voidptrptr(&arg1), 0, 0);
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SMSEncoder_decode" "', argument " "1"" of type '" "void const *""'");
- }
- ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SMSEncoder_decode" "', argument " "2"" of type '" "unsigned int""'");
- }
- arg2 = static_cast< unsigned int >(val2);
- ecode3 = SWIG_AsVal_bool(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SMSEncoder_decode" "', argument " "3"" of type '" "bool""'");
- }
- arg3 = static_cast< bool >(val3);
- result = (SMSData *)SMSEncoder::decode((void const *)arg1,arg2,arg3);
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SMSData, SWIG_POINTER_OWN | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_delete_SMSEncoder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- SMSEncoder *arg1 = (SMSEncoder *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_SMSEncoder",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SMSEncoder, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SMSEncoder" "', argument " "1"" of type '" "SMSEncoder *""'");
- }
- arg1 = reinterpret_cast< SMSEncoder * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *SMSEncoder_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_SMSEncoder, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_new_MsrpMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MsrpMessage *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)":new_MsrpMessage")) SWIG_fail;
- result = (MsrpMessage *)new MsrpMessage();
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_MsrpMessage, SWIG_POINTER_NEW | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_delete_MsrpMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_MsrpMessage",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MsrpMessage, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MsrpMessage" "', argument " "1"" of type '" "MsrpMessage *""'");
- }
- arg1 = reinterpret_cast< MsrpMessage * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MsrpMessage_isRequest(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:MsrpMessage_isRequest",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MsrpMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpMessage_isRequest" "', argument " "1"" of type '" "MsrpMessage *""'");
- }
- arg1 = reinterpret_cast< MsrpMessage * >(argp1);
- result = (bool)(arg1)->isRequest();
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MsrpMessage_getCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- short result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:MsrpMessage_getCode",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MsrpMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpMessage_getCode" "', argument " "1"" of type '" "MsrpMessage *""'");
- }
- arg1 = reinterpret_cast< MsrpMessage * >(argp1);
- result = (short)(arg1)->getCode();
- resultobj = SWIG_From_short(static_cast< short >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MsrpMessage_getPhrase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- char *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:MsrpMessage_getPhrase",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MsrpMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpMessage_getPhrase" "', argument " "1"" of type '" "MsrpMessage *""'");
- }
- arg1 = reinterpret_cast< MsrpMessage * >(argp1);
- result = (char *)(arg1)->getPhrase();
- resultobj = SWIG_FromCharPtr((const char *)result);
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MsrpMessage_getRequestType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- tmsrp_request_type_t result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:MsrpMessage_getRequestType",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MsrpMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpMessage_getRequestType" "', argument " "1"" of type '" "MsrpMessage *""'");
- }
- arg1 = reinterpret_cast< MsrpMessage * >(argp1);
- result = (tmsrp_request_type_t)(arg1)->getRequestType();
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MsrpMessage_getByteRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- int64_t *arg2 = (int64_t *) 0 ;
- int64_t *arg3 = (int64_t *) 0 ;
- int64_t *arg4 = (int64_t *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int64_t temp2 ;
- int res2 = SWIG_TMPOBJ ;
- int64_t temp3 ;
- int res3 = SWIG_TMPOBJ ;
- int64_t temp4 ;
- int res4 = SWIG_TMPOBJ ;
- PyObject * obj0 = 0 ;
-
- arg2 = &temp2;
- arg3 = &temp3;
- arg4 = &temp4;
- if (!PyArg_ParseTuple(args,(char *)"O:MsrpMessage_getByteRange",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MsrpMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpMessage_getByteRange" "', argument " "1"" of type '" "MsrpMessage *""'");
- }
- arg1 = reinterpret_cast< MsrpMessage * >(argp1);
- (arg1)->getByteRange(arg2,arg3,arg4);
- resultobj = SWIG_Py_Void();
- if (SWIG_IsTmpObj(res2)) {
- resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long_SS_long((*arg2)));
- } else {
- int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
- resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long_long, new_flags));
- }
- if (SWIG_IsTmpObj(res3)) {
- resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long_SS_long((*arg3)));
- } else {
- int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
- resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long_long, new_flags));
- }
- if (SWIG_IsTmpObj(res4)) {
- resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long_SS_long((*arg4)));
- } else {
- int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
- resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long_long, new_flags));
- }
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MsrpMessage_isLastChunck(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:MsrpMessage_isLastChunck",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MsrpMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpMessage_isLastChunck" "', argument " "1"" of type '" "MsrpMessage *""'");
- }
- arg1 = reinterpret_cast< MsrpMessage * >(argp1);
- result = (bool)(arg1)->isLastChunck();
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MsrpMessage_isFirstChunck(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- bool result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:MsrpMessage_isFirstChunck",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MsrpMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpMessage_isFirstChunck" "', argument " "1"" of type '" "MsrpMessage *""'");
- }
- arg1 = reinterpret_cast< MsrpMessage * >(argp1);
- result = (bool)(arg1)->isFirstChunck();
- resultobj = SWIG_From_bool(static_cast< bool >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MsrpMessage_getMsrpHeaderValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- char *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:MsrpMessage_getMsrpHeaderValue",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MsrpMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpMessage_getMsrpHeaderValue" "', argument " "1"" of type '" "MsrpMessage *""'");
- }
- arg1 = reinterpret_cast< MsrpMessage * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MsrpMessage_getMsrpHeaderValue" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (char *)(arg1)->getMsrpHeaderValue((char const *)arg2);
- resultobj = SWIG_FromCharPtr((const char *)result);
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- delete[] result;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MsrpMessage_getMsrpHeaderParamValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- char *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:MsrpMessage_getMsrpHeaderParamValue",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MsrpMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpMessage_getMsrpHeaderParamValue" "', argument " "1"" of type '" "MsrpMessage *""'");
- }
- arg1 = reinterpret_cast< MsrpMessage * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MsrpMessage_getMsrpHeaderParamValue" "', argument " "2"" of type '" "char const *""'");
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "MsrpMessage_getMsrpHeaderParamValue" "', argument " "3"" of type '" "char const *""'");
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (char *)(arg1)->getMsrpHeaderParamValue((char const *)arg2,(char const *)arg3);
- resultobj = SWIG_FromCharPtr((const char *)result);
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- delete[] result;
- return resultobj;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MsrpMessage_getMsrpContentLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- unsigned int result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:MsrpMessage_getMsrpContentLength",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MsrpMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpMessage_getMsrpContentLength" "', argument " "1"" of type '" "MsrpMessage *""'");
- }
- arg1 = reinterpret_cast< MsrpMessage * >(argp1);
- result = (unsigned int)(arg1)->getMsrpContentLength();
- resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MsrpMessage_getMsrpContent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MsrpMessage *arg1 = (MsrpMessage *) 0 ;
- void *arg2 = (void *) 0 ;
- unsigned int arg3 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- PyObject * obj2 = 0 ;
- unsigned int result;
-
- if (!PyArg_ParseTuple(args,(char *)"OOO:MsrpMessage_getMsrpContent",&obj0,&obj1,&obj2)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MsrpMessage, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpMessage_getMsrpContent" "', argument " "1"" of type '" "MsrpMessage *""'");
- }
- arg1 = reinterpret_cast< MsrpMessage * >(argp1);
- res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MsrpMessage_getMsrpContent" "', argument " "2"" of type '" "void *""'");
- }
- ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MsrpMessage_getMsrpContent" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- result = (unsigned int)(arg1)->getMsrpContent(arg2,arg3);
- resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *MsrpMessage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_MsrpMessage, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_delete_MsrpEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MsrpEvent *arg1 = (MsrpEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_MsrpEvent",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MsrpEvent, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MsrpEvent" "', argument " "1"" of type '" "MsrpEvent *""'");
- }
- arg1 = reinterpret_cast< MsrpEvent * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MsrpEvent_getType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MsrpEvent *arg1 = (MsrpEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- tmsrp_event_type_t result;
-
- if (!PyArg_ParseTuple(args,(char *)"O:MsrpEvent_getType",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MsrpEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpEvent_getType" "', argument " "1"" of type '" "MsrpEvent *""'");
- }
- arg1 = reinterpret_cast< MsrpEvent * >(argp1);
- result = (tmsrp_event_type_t)(arg1)->getType();
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MsrpEvent_getSipSession(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MsrpEvent *arg1 = (MsrpEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- MsrpSession *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:MsrpEvent_getSipSession",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MsrpEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpEvent_getSipSession" "', argument " "1"" of type '" "MsrpEvent *""'");
- }
- arg1 = reinterpret_cast< MsrpEvent * >(argp1);
- result = (MsrpSession *)(arg1)->getSipSession();
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_MsrpSession, 0 | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MsrpEvent_getMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MsrpEvent *arg1 = (MsrpEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
- MsrpMessage *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:MsrpEvent_getMessage",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MsrpEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpEvent_getMessage" "', argument " "1"" of type '" "MsrpEvent const *""'");
- }
- arg1 = reinterpret_cast< MsrpEvent * >(argp1);
- result = (MsrpMessage *)((MsrpEvent const *)arg1)->getMessage();
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_MsrpMessage, 0 | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *MsrpEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_MsrpEvent, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-SWIGINTERN PyObject *_wrap_new_MsrpCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- PyObject *arg1 = (PyObject *) 0 ;
- PyObject * obj0 = 0 ;
- MsrpCallback *result = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:new_MsrpCallback",&obj0)) SWIG_fail;
- arg1 = obj0;
- if ( arg1 != Py_None ) {
- /* subclassed */
- result = (MsrpCallback *)new SwigDirector_MsrpCallback(arg1);
- } else {
- result = (MsrpCallback *)new MsrpCallback();
- }
-
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_MsrpCallback, SWIG_POINTER_NEW | 0 );
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_delete_MsrpCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MsrpCallback *arg1 = (MsrpCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:delete_MsrpCallback",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MsrpCallback, SWIG_POINTER_DISOWN | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MsrpCallback" "', argument " "1"" of type '" "MsrpCallback *""'");
- }
- arg1 = reinterpret_cast< MsrpCallback * >(argp1);
- delete arg1;
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_MsrpCallback_OnEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MsrpCallback *arg1 = (MsrpCallback *) 0 ;
- MsrpEvent *arg2 = (MsrpEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
- Swig::Director *director = 0;
- bool upcall = false;
- int result;
-
- if (!PyArg_ParseTuple(args,(char *)"OO:MsrpCallback_OnEvent",&obj0,&obj1)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MsrpCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MsrpCallback_OnEvent" "', argument " "1"" of type '" "MsrpCallback *""'");
- }
- arg1 = reinterpret_cast< MsrpCallback * >(argp1);
- res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_MsrpEvent, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MsrpCallback_OnEvent" "', argument " "2"" of type '" "MsrpEvent const *""'");
- }
- arg2 = reinterpret_cast< MsrpEvent * >(argp2);
- director = SWIG_DIRECTOR_CAST(arg1);
- upcall = (director && (director->swig_get_self()==obj0));
- try {
- if (upcall) {
- result = (int)(arg1)->MsrpCallback::OnEvent((MsrpEvent const *)arg2);
- } else {
- result = (int)(arg1)->OnEvent((MsrpEvent const *)arg2);
- }
- } catch (Swig::DirectorException&) {
- SWIG_fail;
- }
- resultobj = SWIG_From_int(static_cast< int >(result));
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *_wrap_disown_MsrpCallback(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *resultobj = 0;
- MsrpCallback *arg1 = (MsrpCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- PyObject * obj0 = 0 ;
-
- if (!PyArg_ParseTuple(args,(char *)"O:disown_MsrpCallback",&obj0)) SWIG_fail;
- res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_MsrpCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "disown_MsrpCallback" "', argument " "1"" of type '" "MsrpCallback *""'");
- }
- arg1 = reinterpret_cast< MsrpCallback * >(argp1);
- {
- Swig::Director *director = SWIG_DIRECTOR_CAST(arg1);
- if (director) director->swig_disown();
- }
-
- resultobj = SWIG_Py_Void();
- return resultobj;
-fail:
- return NULL;
-}
-
-
-SWIGINTERN PyObject *MsrpCallback_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
- SWIG_TypeNewClientData(SWIGTYPE_p_MsrpCallback, SWIG_NewClientData(obj));
- return SWIG_Py_Void();
-}
-
-static PyMethodDef SwigMethods[] = {
- { (char *)"SWIG_PyInstanceMethod_New", (PyCFunction)SWIG_PyInstanceMethod_New, METH_O, NULL},
- { (char *)"new_DDebugCallback", _wrap_new_DDebugCallback, METH_VARARGS, NULL},
- { (char *)"delete_DDebugCallback", _wrap_delete_DDebugCallback, METH_VARARGS, NULL},
- { (char *)"DDebugCallback_OnDebugInfo", _wrap_DDebugCallback_OnDebugInfo, METH_VARARGS, NULL},
- { (char *)"DDebugCallback_OnDebugWarn", _wrap_DDebugCallback_OnDebugWarn, METH_VARARGS, NULL},
- { (char *)"DDebugCallback_OnDebugError", _wrap_DDebugCallback_OnDebugError, METH_VARARGS, NULL},
- { (char *)"DDebugCallback_OnDebugFatal", _wrap_DDebugCallback_OnDebugFatal, METH_VARARGS, NULL},
- { (char *)"disown_DDebugCallback", _wrap_disown_DDebugCallback, METH_VARARGS, NULL},
- { (char *)"DDebugCallback_swigregister", DDebugCallback_swigregister, METH_VARARGS, NULL},
- { (char *)"new_ActionConfig", _wrap_new_ActionConfig, METH_VARARGS, NULL},
- { (char *)"delete_ActionConfig", _wrap_delete_ActionConfig, METH_VARARGS, NULL},
- { (char *)"ActionConfig_addHeader", _wrap_ActionConfig_addHeader, METH_VARARGS, NULL},
- { (char *)"ActionConfig_setResponseLine", _wrap_ActionConfig_setResponseLine, METH_VARARGS, NULL},
- { (char *)"ActionConfig_setMediaString", _wrap_ActionConfig_setMediaString, METH_VARARGS, NULL},
- { (char *)"ActionConfig_setMediaInt", _wrap_ActionConfig_setMediaInt, METH_VARARGS, NULL},
- { (char *)"ActionConfig_swigregister", ActionConfig_swigregister, METH_VARARGS, NULL},
- { (char *)"delete_MediaSessionMgr", _wrap_delete_MediaSessionMgr, METH_VARARGS, NULL},
- { (char *)"MediaSessionMgr_sessionSetInt32", _wrap_MediaSessionMgr_sessionSetInt32, METH_VARARGS, NULL},
- { (char *)"MediaSessionMgr_consumerSetInt32", _wrap_MediaSessionMgr_consumerSetInt32, METH_VARARGS, NULL},
- { (char *)"MediaSessionMgr_consumerSetInt64", _wrap_MediaSessionMgr_consumerSetInt64, METH_VARARGS, NULL},
- { (char *)"MediaSessionMgr_producerSetInt32", _wrap_MediaSessionMgr_producerSetInt32, METH_VARARGS, NULL},
- { (char *)"MediaSessionMgr_producerSetInt64", _wrap_MediaSessionMgr_producerSetInt64, METH_VARARGS, NULL},
- { (char *)"MediaSessionMgr_findProxyPluginConsumer", _wrap_MediaSessionMgr_findProxyPluginConsumer, METH_VARARGS, NULL},
- { (char *)"MediaSessionMgr_findProxyPluginProducer", _wrap_MediaSessionMgr_findProxyPluginProducer, METH_VARARGS, NULL},
- { (char *)"MediaSessionMgr_swigregister", MediaSessionMgr_swigregister, METH_VARARGS, NULL},
- { (char *)"delete_MediaContent", _wrap_delete_MediaContent, METH_VARARGS, NULL},
- { (char *)"MediaContent_getType", _wrap_MediaContent_getType, METH_VARARGS, NULL},
- { (char *)"MediaContent_getDataLength", _wrap_MediaContent_getDataLength, METH_VARARGS, NULL},
- { (char *)"MediaContent_getData", _wrap_MediaContent_getData, METH_VARARGS, NULL},
- { (char *)"MediaContent_parse", _wrap_MediaContent_parse, METH_VARARGS, NULL},
- { (char *)"MediaContent_getPayloadLength", _wrap_MediaContent_getPayloadLength, METH_VARARGS, NULL},
- { (char *)"MediaContent_getPayload", _wrap_MediaContent_getPayload, METH_VARARGS, NULL},
- { (char *)"MediaContent_swigregister", MediaContent_swigregister, METH_VARARGS, NULL},
- { (char *)"delete_MediaContentCPIM", _wrap_delete_MediaContentCPIM, METH_VARARGS, NULL},
- { (char *)"MediaContentCPIM_getPayloadLength", _wrap_MediaContentCPIM_getPayloadLength, METH_VARARGS, NULL},
- { (char *)"MediaContentCPIM_getPayload", _wrap_MediaContentCPIM_getPayload, METH_VARARGS, NULL},
- { (char *)"MediaContentCPIM_getHeaderValue", _wrap_MediaContentCPIM_getHeaderValue, METH_VARARGS, NULL},
- { (char *)"MediaContentCPIM_swigregister", MediaContentCPIM_swigregister, METH_VARARGS, NULL},
- { (char *)"new_SipUri", _wrap_new_SipUri, METH_VARARGS, NULL},
- { (char *)"delete_SipUri", _wrap_delete_SipUri, METH_VARARGS, NULL},
- { (char *)"SipUri_isValid", _wrap_SipUri_isValid, METH_VARARGS, NULL},
- { (char *)"SipUri_getScheme", _wrap_SipUri_getScheme, METH_VARARGS, NULL},
- { (char *)"SipUri_getHost", _wrap_SipUri_getHost, METH_VARARGS, NULL},
- { (char *)"SipUri_getPort", _wrap_SipUri_getPort, METH_VARARGS, NULL},
- { (char *)"SipUri_getUserName", _wrap_SipUri_getUserName, METH_VARARGS, NULL},
- { (char *)"SipUri_getPassword", _wrap_SipUri_getPassword, METH_VARARGS, NULL},
- { (char *)"SipUri_getDisplayName", _wrap_SipUri_getDisplayName, METH_VARARGS, NULL},
- { (char *)"SipUri_getParamValue", _wrap_SipUri_getParamValue, METH_VARARGS, NULL},
- { (char *)"SipUri_swigregister", SipUri_swigregister, METH_VARARGS, NULL},
- { (char *)"new_SdpMessage", _wrap_new_SdpMessage, METH_VARARGS, NULL},
- { (char *)"delete_SdpMessage", _wrap_delete_SdpMessage, METH_VARARGS, NULL},
- { (char *)"SdpMessage_getSdpHeaderValue", _wrap_SdpMessage_getSdpHeaderValue, METH_VARARGS, NULL},
- { (char *)"SdpMessage_getSdpHeaderAValue", _wrap_SdpMessage_getSdpHeaderAValue, METH_VARARGS, NULL},
- { (char *)"SdpMessage_swigregister", SdpMessage_swigregister, METH_VARARGS, NULL},
- { (char *)"new_SipMessage", _wrap_new_SipMessage, METH_VARARGS, NULL},
- { (char *)"delete_SipMessage", _wrap_delete_SipMessage, METH_VARARGS, NULL},
- { (char *)"SipMessage_getSipHeaderValue", _wrap_SipMessage_getSipHeaderValue, METH_VARARGS, NULL},
- { (char *)"SipMessage_getSipHeaderParamValue", _wrap_SipMessage_getSipHeaderParamValue, METH_VARARGS, NULL},
- { (char *)"SipMessage_getSipContentLength", _wrap_SipMessage_getSipContentLength, METH_VARARGS, NULL},
- { (char *)"SipMessage_getSipContent", _wrap_SipMessage_getSipContent, METH_VARARGS, NULL},
- { (char *)"SipMessage_getSdpMessage", _wrap_SipMessage_getSdpMessage, METH_VARARGS, NULL},
- { (char *)"SipMessage_swigregister", SipMessage_swigregister, METH_VARARGS, NULL},
- { (char *)"delete_SipEvent", _wrap_delete_SipEvent, METH_VARARGS, NULL},
- { (char *)"SipEvent_getCode", _wrap_SipEvent_getCode, METH_VARARGS, NULL},
- { (char *)"SipEvent_getPhrase", _wrap_SipEvent_getPhrase, METH_VARARGS, NULL},
- { (char *)"SipEvent_getBaseSession", _wrap_SipEvent_getBaseSession, METH_VARARGS, NULL},
- { (char *)"SipEvent_getSipMessage", _wrap_SipEvent_getSipMessage, METH_VARARGS, NULL},
- { (char *)"SipEvent_swigregister", SipEvent_swigregister, METH_VARARGS, NULL},
- { (char *)"delete_DialogEvent", _wrap_delete_DialogEvent, METH_VARARGS, NULL},
- { (char *)"DialogEvent_swigregister", DialogEvent_swigregister, METH_VARARGS, NULL},
- { (char *)"delete_StackEvent", _wrap_delete_StackEvent, METH_VARARGS, NULL},
- { (char *)"StackEvent_swigregister", StackEvent_swigregister, METH_VARARGS, NULL},
- { (char *)"delete_InviteEvent", _wrap_delete_InviteEvent, METH_VARARGS, NULL},
- { (char *)"InviteEvent_getType", _wrap_InviteEvent_getType, METH_VARARGS, NULL},
- { (char *)"InviteEvent_getMediaType", _wrap_InviteEvent_getMediaType, METH_VARARGS, NULL},
- { (char *)"InviteEvent_getSession", _wrap_InviteEvent_getSession, METH_VARARGS, NULL},
- { (char *)"InviteEvent_takeCallSessionOwnership", _wrap_InviteEvent_takeCallSessionOwnership, METH_VARARGS, NULL},
- { (char *)"InviteEvent_takeMsrpSessionOwnership", _wrap_InviteEvent_takeMsrpSessionOwnership, METH_VARARGS, NULL},
- { (char *)"InviteEvent_swigregister", InviteEvent_swigregister, METH_VARARGS, NULL},
- { (char *)"delete_MessagingEvent", _wrap_delete_MessagingEvent, METH_VARARGS, NULL},
- { (char *)"MessagingEvent_getType", _wrap_MessagingEvent_getType, METH_VARARGS, NULL},
- { (char *)"MessagingEvent_getSession", _wrap_MessagingEvent_getSession, METH_VARARGS, NULL},
- { (char *)"MessagingEvent_takeSessionOwnership", _wrap_MessagingEvent_takeSessionOwnership, METH_VARARGS, NULL},
- { (char *)"MessagingEvent_swigregister", MessagingEvent_swigregister, METH_VARARGS, NULL},
- { (char *)"delete_OptionsEvent", _wrap_delete_OptionsEvent, METH_VARARGS, NULL},
- { (char *)"OptionsEvent_getType", _wrap_OptionsEvent_getType, METH_VARARGS, NULL},
- { (char *)"OptionsEvent_getSession", _wrap_OptionsEvent_getSession, METH_VARARGS, NULL},
- { (char *)"OptionsEvent_swigregister", OptionsEvent_swigregister, METH_VARARGS, NULL},
- { (char *)"delete_PublicationEvent", _wrap_delete_PublicationEvent, METH_VARARGS, NULL},
- { (char *)"PublicationEvent_getType", _wrap_PublicationEvent_getType, METH_VARARGS, NULL},
- { (char *)"PublicationEvent_getSession", _wrap_PublicationEvent_getSession, METH_VARARGS, NULL},
- { (char *)"PublicationEvent_swigregister", PublicationEvent_swigregister, METH_VARARGS, NULL},
- { (char *)"delete_RegistrationEvent", _wrap_delete_RegistrationEvent, METH_VARARGS, NULL},
- { (char *)"RegistrationEvent_getType", _wrap_RegistrationEvent_getType, METH_VARARGS, NULL},
- { (char *)"RegistrationEvent_getSession", _wrap_RegistrationEvent_getSession, METH_VARARGS, NULL},
- { (char *)"RegistrationEvent_takeSessionOwnership", _wrap_RegistrationEvent_takeSessionOwnership, METH_VARARGS, NULL},
- { (char *)"RegistrationEvent_swigregister", RegistrationEvent_swigregister, METH_VARARGS, NULL},
- { (char *)"delete_SubscriptionEvent", _wrap_delete_SubscriptionEvent, METH_VARARGS, NULL},
- { (char *)"SubscriptionEvent_getType", _wrap_SubscriptionEvent_getType, METH_VARARGS, NULL},
- { (char *)"SubscriptionEvent_getSession", _wrap_SubscriptionEvent_getSession, METH_VARARGS, NULL},
- { (char *)"SubscriptionEvent_swigregister", SubscriptionEvent_swigregister, METH_VARARGS, NULL},
- { (char *)"new_SipSession", _wrap_new_SipSession, METH_VARARGS, NULL},
- { (char *)"delete_SipSession", _wrap_delete_SipSession, METH_VARARGS, NULL},
- { (char *)"SipSession_haveOwnership", _wrap_SipSession_haveOwnership, METH_VARARGS, NULL},
- { (char *)"SipSession_addHeader", _wrap_SipSession_addHeader, METH_VARARGS, NULL},
- { (char *)"SipSession_removeHeader", _wrap_SipSession_removeHeader, METH_VARARGS, NULL},
- { (char *)"SipSession_addCaps", _wrap_SipSession_addCaps, METH_VARARGS, NULL},
- { (char *)"SipSession_removeCaps", _wrap_SipSession_removeCaps, METH_VARARGS, NULL},
- { (char *)"SipSession_setExpires", _wrap_SipSession_setExpires, METH_VARARGS, NULL},
- { (char *)"SipSession_setFromUri", _wrap_SipSession_setFromUri, METH_VARARGS, NULL},
- { (char *)"SipSession_setToUri", _wrap_SipSession_setToUri, METH_VARARGS, NULL},
- { (char *)"SipSession_setSilentHangup", _wrap_SipSession_setSilentHangup, METH_VARARGS, NULL},
- { (char *)"SipSession_addSigCompCompartment", _wrap_SipSession_addSigCompCompartment, METH_VARARGS, NULL},
- { (char *)"SipSession_removeSigCompCompartment", _wrap_SipSession_removeSigCompCompartment, METH_VARARGS, NULL},
- { (char *)"SipSession_getId", _wrap_SipSession_getId, METH_VARARGS, NULL},
- { (char *)"SipSession_swigregister", SipSession_swigregister, METH_VARARGS, NULL},
- { (char *)"new_InviteSession", _wrap_new_InviteSession, METH_VARARGS, NULL},
- { (char *)"delete_InviteSession", _wrap_delete_InviteSession, METH_VARARGS, NULL},
- { (char *)"InviteSession_accept", _wrap_InviteSession_accept, METH_VARARGS, NULL},
- { (char *)"InviteSession_hangup", _wrap_InviteSession_hangup, METH_VARARGS, NULL},
- { (char *)"InviteSession_reject", _wrap_InviteSession_reject, METH_VARARGS, NULL},
- { (char *)"InviteSession_getMediaMgr", _wrap_InviteSession_getMediaMgr, METH_VARARGS, NULL},
- { (char *)"InviteSession_swigregister", InviteSession_swigregister, METH_VARARGS, NULL},
- { (char *)"new_CallSession", _wrap_new_CallSession, METH_VARARGS, NULL},
- { (char *)"delete_CallSession", _wrap_delete_CallSession, METH_VARARGS, NULL},
- { (char *)"CallSession_callAudio", _wrap_CallSession_callAudio, METH_VARARGS, NULL},
- { (char *)"CallSession_callAudioVideo", _wrap_CallSession_callAudioVideo, METH_VARARGS, NULL},
- { (char *)"CallSession_callVideo", _wrap_CallSession_callVideo, METH_VARARGS, NULL},
- { (char *)"CallSession_setSessionTimer", _wrap_CallSession_setSessionTimer, METH_VARARGS, NULL},
- { (char *)"CallSession_set100rel", _wrap_CallSession_set100rel, METH_VARARGS, NULL},
- { (char *)"CallSession_setQoS", _wrap_CallSession_setQoS, METH_VARARGS, NULL},
- { (char *)"CallSession_hold", _wrap_CallSession_hold, METH_VARARGS, NULL},
- { (char *)"CallSession_resume", _wrap_CallSession_resume, METH_VARARGS, NULL},
- { (char *)"CallSession_sendDTMF", _wrap_CallSession_sendDTMF, METH_VARARGS, NULL},
- { (char *)"CallSession_swigregister", CallSession_swigregister, METH_VARARGS, NULL},
- { (char *)"new_MsrpSession", _wrap_new_MsrpSession, METH_VARARGS, NULL},
- { (char *)"delete_MsrpSession", _wrap_delete_MsrpSession, METH_VARARGS, NULL},
- { (char *)"MsrpSession_setCallback", _wrap_MsrpSession_setCallback, METH_VARARGS, NULL},
- { (char *)"MsrpSession_callMsrp", _wrap_MsrpSession_callMsrp, METH_VARARGS, NULL},
- { (char *)"MsrpSession_sendMessage", _wrap_MsrpSession_sendMessage, METH_VARARGS, NULL},
- { (char *)"MsrpSession_sendFile", _wrap_MsrpSession_sendFile, METH_VARARGS, NULL},
- { (char *)"MsrpSession_swigregister", MsrpSession_swigregister, METH_VARARGS, NULL},
- { (char *)"new_MessagingSession", _wrap_new_MessagingSession, METH_VARARGS, NULL},
- { (char *)"delete_MessagingSession", _wrap_delete_MessagingSession, METH_VARARGS, NULL},
- { (char *)"MessagingSession_send", _wrap_MessagingSession_send, METH_VARARGS, NULL},
- { (char *)"MessagingSession_accept", _wrap_MessagingSession_accept, METH_VARARGS, NULL},
- { (char *)"MessagingSession_reject", _wrap_MessagingSession_reject, METH_VARARGS, NULL},
- { (char *)"MessagingSession_swigregister", MessagingSession_swigregister, METH_VARARGS, NULL},
- { (char *)"new_OptionsSession", _wrap_new_OptionsSession, METH_VARARGS, NULL},
- { (char *)"delete_OptionsSession", _wrap_delete_OptionsSession, METH_VARARGS, NULL},
- { (char *)"OptionsSession_send", _wrap_OptionsSession_send, METH_VARARGS, NULL},
- { (char *)"OptionsSession_swigregister", OptionsSession_swigregister, METH_VARARGS, NULL},
- { (char *)"new_PublicationSession", _wrap_new_PublicationSession, METH_VARARGS, NULL},
- { (char *)"delete_PublicationSession", _wrap_delete_PublicationSession, METH_VARARGS, NULL},
- { (char *)"PublicationSession_publish", _wrap_PublicationSession_publish, METH_VARARGS, NULL},
- { (char *)"PublicationSession_unPublish", _wrap_PublicationSession_unPublish, METH_VARARGS, NULL},
- { (char *)"PublicationSession_swigregister", PublicationSession_swigregister, METH_VARARGS, NULL},
- { (char *)"new_RegistrationSession", _wrap_new_RegistrationSession, METH_VARARGS, NULL},
- { (char *)"delete_RegistrationSession", _wrap_delete_RegistrationSession, METH_VARARGS, NULL},
- { (char *)"RegistrationSession_register_", _wrap_RegistrationSession_register_, METH_VARARGS, NULL},
- { (char *)"RegistrationSession_unRegister", _wrap_RegistrationSession_unRegister, METH_VARARGS, NULL},
- { (char *)"RegistrationSession_accept", _wrap_RegistrationSession_accept, METH_VARARGS, NULL},
- { (char *)"RegistrationSession_reject", _wrap_RegistrationSession_reject, METH_VARARGS, NULL},
- { (char *)"RegistrationSession_swigregister", RegistrationSession_swigregister, METH_VARARGS, NULL},
- { (char *)"new_SubscriptionSession", _wrap_new_SubscriptionSession, METH_VARARGS, NULL},
- { (char *)"delete_SubscriptionSession", _wrap_delete_SubscriptionSession, METH_VARARGS, NULL},
- { (char *)"SubscriptionSession_subscribe", _wrap_SubscriptionSession_subscribe, METH_VARARGS, NULL},
- { (char *)"SubscriptionSession_unSubscribe", _wrap_SubscriptionSession_unSubscribe, METH_VARARGS, NULL},
- { (char *)"SubscriptionSession_swigregister", SubscriptionSession_swigregister, METH_VARARGS, NULL},
- { (char *)"delete_ProxyPluginMgr", _wrap_delete_ProxyPluginMgr, METH_VARARGS, NULL},
- { (char *)"ProxyPluginMgr_createInstance", _wrap_ProxyPluginMgr_createInstance, METH_VARARGS, NULL},
- { (char *)"ProxyPluginMgr_getInstance", _wrap_ProxyPluginMgr_getInstance, METH_VARARGS, NULL},
- { (char *)"ProxyPluginMgr_findAudioConsumer", _wrap_ProxyPluginMgr_findAudioConsumer, METH_VARARGS, NULL},
- { (char *)"ProxyPluginMgr_findVideoConsumer", _wrap_ProxyPluginMgr_findVideoConsumer, METH_VARARGS, NULL},
- { (char *)"ProxyPluginMgr_findAudioProducer", _wrap_ProxyPluginMgr_findAudioProducer, METH_VARARGS, NULL},
- { (char *)"ProxyPluginMgr_findVideoProducer", _wrap_ProxyPluginMgr_findVideoProducer, METH_VARARGS, NULL},
- { (char *)"ProxyPluginMgr_swigregister", ProxyPluginMgr_swigregister, METH_VARARGS, NULL},
- { (char *)"new_ProxyPluginMgrCallback", _wrap_new_ProxyPluginMgrCallback, METH_VARARGS, NULL},
- { (char *)"delete_ProxyPluginMgrCallback", _wrap_delete_ProxyPluginMgrCallback, METH_VARARGS, NULL},
- { (char *)"ProxyPluginMgrCallback_OnPluginCreated", _wrap_ProxyPluginMgrCallback_OnPluginCreated, METH_VARARGS, NULL},
- { (char *)"ProxyPluginMgrCallback_OnPluginDestroyed", _wrap_ProxyPluginMgrCallback_OnPluginDestroyed, METH_VARARGS, NULL},
- { (char *)"disown_ProxyPluginMgrCallback", _wrap_disown_ProxyPluginMgrCallback, METH_VARARGS, NULL},
- { (char *)"ProxyPluginMgrCallback_swigregister", ProxyPluginMgrCallback_swigregister, METH_VARARGS, NULL},
- { (char *)"delete_ProxyPlugin", _wrap_delete_ProxyPlugin, METH_VARARGS, NULL},
- { (char *)"ProxyPlugin_getType", _wrap_ProxyPlugin_getType, METH_VARARGS, NULL},
- { (char *)"ProxyPlugin_getId", _wrap_ProxyPlugin_getId, METH_VARARGS, NULL},
- { (char *)"ProxyPlugin_swigregister", ProxyPlugin_swigregister, METH_VARARGS, NULL},
- { (char *)"new_ProxyAudioConsumerCallback", _wrap_new_ProxyAudioConsumerCallback, METH_VARARGS, NULL},
- { (char *)"delete_ProxyAudioConsumerCallback", _wrap_delete_ProxyAudioConsumerCallback, METH_VARARGS, NULL},
- { (char *)"ProxyAudioConsumerCallback_prepare", _wrap_ProxyAudioConsumerCallback_prepare, METH_VARARGS, NULL},
- { (char *)"ProxyAudioConsumerCallback_start", _wrap_ProxyAudioConsumerCallback_start, METH_VARARGS, NULL},
- { (char *)"ProxyAudioConsumerCallback_pause", _wrap_ProxyAudioConsumerCallback_pause, METH_VARARGS, NULL},
- { (char *)"ProxyAudioConsumerCallback_stop", _wrap_ProxyAudioConsumerCallback_stop, METH_VARARGS, NULL},
- { (char *)"disown_ProxyAudioConsumerCallback", _wrap_disown_ProxyAudioConsumerCallback, METH_VARARGS, NULL},
- { (char *)"ProxyAudioConsumerCallback_swigregister", ProxyAudioConsumerCallback_swigregister, METH_VARARGS, NULL},
- { (char *)"delete_ProxyAudioConsumer", _wrap_delete_ProxyAudioConsumer, METH_VARARGS, NULL},
- { (char *)"ProxyAudioConsumer_pull", _wrap_ProxyAudioConsumer_pull, METH_VARARGS, NULL},
- { (char *)"ProxyAudioConsumer_reset", _wrap_ProxyAudioConsumer_reset, METH_VARARGS, NULL},
- { (char *)"ProxyAudioConsumer_setCallback", _wrap_ProxyAudioConsumer_setCallback, METH_VARARGS, NULL},
- { (char *)"ProxyAudioConsumer_getMediaSessionId", _wrap_ProxyAudioConsumer_getMediaSessionId, METH_VARARGS, NULL},
- { (char *)"ProxyAudioConsumer_registerPlugin", _wrap_ProxyAudioConsumer_registerPlugin, METH_VARARGS, NULL},
- { (char *)"ProxyAudioConsumer_swigregister", ProxyAudioConsumer_swigregister, METH_VARARGS, NULL},
- { (char *)"new_ProxyVideoConsumerCallback", _wrap_new_ProxyVideoConsumerCallback, METH_VARARGS, NULL},
- { (char *)"delete_ProxyVideoConsumerCallback", _wrap_delete_ProxyVideoConsumerCallback, METH_VARARGS, NULL},
- { (char *)"ProxyVideoConsumerCallback_prepare", _wrap_ProxyVideoConsumerCallback_prepare, METH_VARARGS, NULL},
- { (char *)"ProxyVideoConsumerCallback_consume", _wrap_ProxyVideoConsumerCallback_consume, METH_VARARGS, NULL},
- { (char *)"ProxyVideoConsumerCallback_start", _wrap_ProxyVideoConsumerCallback_start, METH_VARARGS, NULL},
- { (char *)"ProxyVideoConsumerCallback_pause", _wrap_ProxyVideoConsumerCallback_pause, METH_VARARGS, NULL},
- { (char *)"ProxyVideoConsumerCallback_stop", _wrap_ProxyVideoConsumerCallback_stop, METH_VARARGS, NULL},
- { (char *)"disown_ProxyVideoConsumerCallback", _wrap_disown_ProxyVideoConsumerCallback, METH_VARARGS, NULL},
- { (char *)"ProxyVideoConsumerCallback_swigregister", ProxyVideoConsumerCallback_swigregister, METH_VARARGS, NULL},
- { (char *)"delete_ProxyVideoConsumer", _wrap_delete_ProxyVideoConsumer, METH_VARARGS, NULL},
- { (char *)"ProxyVideoConsumer_setDisplaySize", _wrap_ProxyVideoConsumer_setDisplaySize, METH_VARARGS, NULL},
- { (char *)"ProxyVideoConsumer_setCallback", _wrap_ProxyVideoConsumer_setCallback, METH_VARARGS, NULL},
- { (char *)"ProxyVideoConsumer_getMediaSessionId", _wrap_ProxyVideoConsumer_getMediaSessionId, METH_VARARGS, NULL},
- { (char *)"ProxyVideoConsumer_registerPlugin", _wrap_ProxyVideoConsumer_registerPlugin, METH_VARARGS, NULL},
- { (char *)"ProxyVideoConsumer_setDefaultChroma", _wrap_ProxyVideoConsumer_setDefaultChroma, METH_VARARGS, NULL},
- { (char *)"ProxyVideoConsumer_swigregister", ProxyVideoConsumer_swigregister, METH_VARARGS, NULL},
- { (char *)"delete_ProxyVideoFrame", _wrap_delete_ProxyVideoFrame, METH_VARARGS, NULL},
- { (char *)"ProxyVideoFrame_getSize", _wrap_ProxyVideoFrame_getSize, METH_VARARGS, NULL},
- { (char *)"ProxyVideoFrame_getContent", _wrap_ProxyVideoFrame_getContent, METH_VARARGS, NULL},
- { (char *)"ProxyVideoFrame_swigregister", ProxyVideoFrame_swigregister, METH_VARARGS, NULL},
- { (char *)"new_ProxyAudioProducerCallback", _wrap_new_ProxyAudioProducerCallback, METH_VARARGS, NULL},
- { (char *)"delete_ProxyAudioProducerCallback", _wrap_delete_ProxyAudioProducerCallback, METH_VARARGS, NULL},
- { (char *)"ProxyAudioProducerCallback_prepare", _wrap_ProxyAudioProducerCallback_prepare, METH_VARARGS, NULL},
- { (char *)"ProxyAudioProducerCallback_start", _wrap_ProxyAudioProducerCallback_start, METH_VARARGS, NULL},
- { (char *)"ProxyAudioProducerCallback_pause", _wrap_ProxyAudioProducerCallback_pause, METH_VARARGS, NULL},
- { (char *)"ProxyAudioProducerCallback_stop", _wrap_ProxyAudioProducerCallback_stop, METH_VARARGS, NULL},
- { (char *)"disown_ProxyAudioProducerCallback", _wrap_disown_ProxyAudioProducerCallback, METH_VARARGS, NULL},
- { (char *)"ProxyAudioProducerCallback_swigregister", ProxyAudioProducerCallback_swigregister, METH_VARARGS, NULL},
- { (char *)"delete_ProxyAudioProducer", _wrap_delete_ProxyAudioProducer, METH_VARARGS, NULL},
- { (char *)"ProxyAudioProducer_push", _wrap_ProxyAudioProducer_push, METH_VARARGS, NULL},
- { (char *)"ProxyAudioProducer_setCallback", _wrap_ProxyAudioProducer_setCallback, METH_VARARGS, NULL},
- { (char *)"ProxyAudioProducer_getMediaSessionId", _wrap_ProxyAudioProducer_getMediaSessionId, METH_VARARGS, NULL},
- { (char *)"ProxyAudioProducer_registerPlugin", _wrap_ProxyAudioProducer_registerPlugin, METH_VARARGS, NULL},
- { (char *)"ProxyAudioProducer_swigregister", ProxyAudioProducer_swigregister, METH_VARARGS, NULL},
- { (char *)"new_ProxyVideoProducerCallback", _wrap_new_ProxyVideoProducerCallback, METH_VARARGS, NULL},
- { (char *)"delete_ProxyVideoProducerCallback", _wrap_delete_ProxyVideoProducerCallback, METH_VARARGS, NULL},
- { (char *)"ProxyVideoProducerCallback_prepare", _wrap_ProxyVideoProducerCallback_prepare, METH_VARARGS, NULL},
- { (char *)"ProxyVideoProducerCallback_start", _wrap_ProxyVideoProducerCallback_start, METH_VARARGS, NULL},
- { (char *)"ProxyVideoProducerCallback_pause", _wrap_ProxyVideoProducerCallback_pause, METH_VARARGS, NULL},
- { (char *)"ProxyVideoProducerCallback_stop", _wrap_ProxyVideoProducerCallback_stop, METH_VARARGS, NULL},
- { (char *)"disown_ProxyVideoProducerCallback", _wrap_disown_ProxyVideoProducerCallback, METH_VARARGS, NULL},
- { (char *)"ProxyVideoProducerCallback_swigregister", ProxyVideoProducerCallback_swigregister, METH_VARARGS, NULL},
- { (char *)"delete_ProxyVideoProducer", _wrap_delete_ProxyVideoProducer, METH_VARARGS, NULL},
- { (char *)"ProxyVideoProducer_getRotation", _wrap_ProxyVideoProducer_getRotation, METH_VARARGS, NULL},
- { (char *)"ProxyVideoProducer_setRotation", _wrap_ProxyVideoProducer_setRotation, METH_VARARGS, NULL},
- { (char *)"ProxyVideoProducer_push", _wrap_ProxyVideoProducer_push, METH_VARARGS, NULL},
- { (char *)"ProxyVideoProducer_send", _wrap_ProxyVideoProducer_send, METH_VARARGS, NULL},
- { (char *)"ProxyVideoProducer_setCallback", _wrap_ProxyVideoProducer_setCallback, METH_VARARGS, NULL},
- { (char *)"ProxyVideoProducer_getMediaSessionId", _wrap_ProxyVideoProducer_getMediaSessionId, METH_VARARGS, NULL},
- { (char *)"ProxyVideoProducer_registerPlugin", _wrap_ProxyVideoProducer_registerPlugin, METH_VARARGS, NULL},
- { (char *)"ProxyVideoProducer_setDefaultChroma", _wrap_ProxyVideoProducer_setDefaultChroma, METH_VARARGS, NULL},
- { (char *)"ProxyVideoProducer_swigregister", ProxyVideoProducer_swigregister, METH_VARARGS, NULL},
- { (char *)"new_SipCallback", _wrap_new_SipCallback, METH_VARARGS, NULL},
- { (char *)"delete_SipCallback", _wrap_delete_SipCallback, METH_VARARGS, NULL},
- { (char *)"SipCallback_OnDialogEvent", _wrap_SipCallback_OnDialogEvent, METH_VARARGS, NULL},
- { (char *)"SipCallback_OnStackEvent", _wrap_SipCallback_OnStackEvent, METH_VARARGS, NULL},
- { (char *)"SipCallback_OnInviteEvent", _wrap_SipCallback_OnInviteEvent, METH_VARARGS, NULL},
- { (char *)"SipCallback_OnMessagingEvent", _wrap_SipCallback_OnMessagingEvent, METH_VARARGS, NULL},
- { (char *)"SipCallback_OnOptionsEvent", _wrap_SipCallback_OnOptionsEvent, METH_VARARGS, NULL},
- { (char *)"SipCallback_OnPublicationEvent", _wrap_SipCallback_OnPublicationEvent, METH_VARARGS, NULL},
- { (char *)"SipCallback_OnRegistrationEvent", _wrap_SipCallback_OnRegistrationEvent, METH_VARARGS, NULL},
- { (char *)"SipCallback_OnSubscriptionEvent", _wrap_SipCallback_OnSubscriptionEvent, METH_VARARGS, NULL},
- { (char *)"disown_SipCallback", _wrap_disown_SipCallback, METH_VARARGS, NULL},
- { (char *)"SipCallback_swigregister", SipCallback_swigregister, METH_VARARGS, NULL},
- { (char *)"new_SafeObject", _wrap_new_SafeObject, METH_VARARGS, NULL},
- { (char *)"delete_SafeObject", _wrap_delete_SafeObject, METH_VARARGS, NULL},
- { (char *)"SafeObject_Lock", _wrap_SafeObject_Lock, METH_VARARGS, NULL},
- { (char *)"SafeObject_UnLock", _wrap_SafeObject_UnLock, METH_VARARGS, NULL},
- { (char *)"SafeObject_swigregister", SafeObject_swigregister, METH_VARARGS, NULL},
- { (char *)"new_SipStack", _wrap_new_SipStack, METH_VARARGS, NULL},
- { (char *)"delete_SipStack", _wrap_delete_SipStack, METH_VARARGS, NULL},
- { (char *)"SipStack_start", _wrap_SipStack_start, METH_VARARGS, NULL},
- { (char *)"SipStack_setDebugCallback", _wrap_SipStack_setDebugCallback, METH_VARARGS, NULL},
- { (char *)"SipStack_setRealm", _wrap_SipStack_setRealm, METH_VARARGS, NULL},
- { (char *)"SipStack_setIMPI", _wrap_SipStack_setIMPI, METH_VARARGS, NULL},
- { (char *)"SipStack_setIMPU", _wrap_SipStack_setIMPU, METH_VARARGS, NULL},
- { (char *)"SipStack_setPassword", _wrap_SipStack_setPassword, METH_VARARGS, NULL},
- { (char *)"SipStack_setAMF", _wrap_SipStack_setAMF, METH_VARARGS, NULL},
- { (char *)"SipStack_setOperatorId", _wrap_SipStack_setOperatorId, METH_VARARGS, NULL},
- { (char *)"SipStack_setProxyCSCF", _wrap_SipStack_setProxyCSCF, METH_VARARGS, NULL},
- { (char *)"SipStack_setLocalIP", _wrap_SipStack_setLocalIP, METH_VARARGS, NULL},
- { (char *)"SipStack_setLocalPort", _wrap_SipStack_setLocalPort, METH_VARARGS, NULL},
- { (char *)"SipStack_setEarlyIMS", _wrap_SipStack_setEarlyIMS, METH_VARARGS, NULL},
- { (char *)"SipStack_addHeader", _wrap_SipStack_addHeader, METH_VARARGS, NULL},
- { (char *)"SipStack_removeHeader", _wrap_SipStack_removeHeader, METH_VARARGS, NULL},
- { (char *)"SipStack_addDnsServer", _wrap_SipStack_addDnsServer, METH_VARARGS, NULL},
- { (char *)"SipStack_setDnsDiscovery", _wrap_SipStack_setDnsDiscovery, METH_VARARGS, NULL},
- { (char *)"SipStack_setAoR", _wrap_SipStack_setAoR, METH_VARARGS, NULL},
- { (char *)"SipStack_setSigCompParams", _wrap_SipStack_setSigCompParams, METH_VARARGS, NULL},
- { (char *)"SipStack_addSigCompCompartment", _wrap_SipStack_addSigCompCompartment, METH_VARARGS, NULL},
- { (char *)"SipStack_removeSigCompCompartment", _wrap_SipStack_removeSigCompCompartment, METH_VARARGS, NULL},
- { (char *)"SipStack_setSTUNServer", _wrap_SipStack_setSTUNServer, METH_VARARGS, NULL},
- { (char *)"SipStack_setSTUNCred", _wrap_SipStack_setSTUNCred, METH_VARARGS, NULL},
- { (char *)"SipStack_setTLSSecAgree", _wrap_SipStack_setTLSSecAgree, METH_VARARGS, NULL},
- { (char *)"SipStack_setSSLCretificates", _wrap_SipStack_setSSLCretificates, METH_VARARGS, NULL},
- { (char *)"SipStack_setIPSecSecAgree", _wrap_SipStack_setIPSecSecAgree, METH_VARARGS, NULL},
- { (char *)"SipStack_setIPSecParameters", _wrap_SipStack_setIPSecParameters, METH_VARARGS, NULL},
- { (char *)"SipStack_dnsENUM", _wrap_SipStack_dnsENUM, METH_VARARGS, NULL},
- { (char *)"SipStack_dnsNaptrSrv", _wrap_SipStack_dnsNaptrSrv, METH_VARARGS, NULL},
- { (char *)"SipStack_dnsSrv", _wrap_SipStack_dnsSrv, METH_VARARGS, NULL},
- { (char *)"SipStack_getLocalIPnPort", _wrap_SipStack_getLocalIPnPort, METH_VARARGS, NULL},
- { (char *)"SipStack_getPreferredIdentity", _wrap_SipStack_getPreferredIdentity, METH_VARARGS, NULL},
- { (char *)"SipStack_isValid", _wrap_SipStack_isValid, METH_VARARGS, NULL},
- { (char *)"SipStack_stop", _wrap_SipStack_stop, METH_VARARGS, NULL},
- { (char *)"SipStack_setCodecs", _wrap_SipStack_setCodecs, METH_VARARGS, NULL},
- { (char *)"SipStack_setCodecs_2", _wrap_SipStack_setCodecs_2, METH_VARARGS, NULL},
- { (char *)"SipStack_isCodecSupported", _wrap_SipStack_isCodecSupported, METH_VARARGS, NULL},
- { (char *)"SipStack_swigregister", SipStack_swigregister, METH_VARARGS, NULL},
- { (char *)"new_XcapSelector", _wrap_new_XcapSelector, METH_VARARGS, NULL},
- { (char *)"delete_XcapSelector", _wrap_delete_XcapSelector, METH_VARARGS, NULL},
- { (char *)"XcapSelector_setAUID", _wrap_XcapSelector_setAUID, METH_VARARGS, NULL},
- { (char *)"XcapSelector_setName", _wrap_XcapSelector_setName, METH_VARARGS, NULL},
- { (char *)"XcapSelector_setAttribute", _wrap_XcapSelector_setAttribute, METH_VARARGS, NULL},
- { (char *)"XcapSelector_setPos", _wrap_XcapSelector_setPos, METH_VARARGS, NULL},
- { (char *)"XcapSelector_setPosAttribute", _wrap_XcapSelector_setPosAttribute, METH_VARARGS, NULL},
- { (char *)"XcapSelector_setNamespace", _wrap_XcapSelector_setNamespace, METH_VARARGS, NULL},
- { (char *)"XcapSelector_getString", _wrap_XcapSelector_getString, METH_VARARGS, NULL},
- { (char *)"XcapSelector_reset", _wrap_XcapSelector_reset, METH_VARARGS, NULL},
- { (char *)"XcapSelector_swigregister", XcapSelector_swigregister, METH_VARARGS, NULL},
- { (char *)"new_XcapMessage", _wrap_new_XcapMessage, METH_VARARGS, NULL},
- { (char *)"delete_XcapMessage", _wrap_delete_XcapMessage, METH_VARARGS, NULL},
- { (char *)"XcapMessage_getCode", _wrap_XcapMessage_getCode, METH_VARARGS, NULL},
- { (char *)"XcapMessage_getPhrase", _wrap_XcapMessage_getPhrase, METH_VARARGS, NULL},
- { (char *)"XcapMessage_getXcapHeaderValue", _wrap_XcapMessage_getXcapHeaderValue, METH_VARARGS, NULL},
- { (char *)"XcapMessage_getXcapHeaderParamValue", _wrap_XcapMessage_getXcapHeaderParamValue, METH_VARARGS, NULL},
- { (char *)"XcapMessage_getXcapContentLength", _wrap_XcapMessage_getXcapContentLength, METH_VARARGS, NULL},
- { (char *)"XcapMessage_getXcapContent", _wrap_XcapMessage_getXcapContent, METH_VARARGS, NULL},
- { (char *)"XcapMessage_swigregister", XcapMessage_swigregister, METH_VARARGS, NULL},
- { (char *)"delete_XcapEvent", _wrap_delete_XcapEvent, METH_VARARGS, NULL},
- { (char *)"XcapEvent_getType", _wrap_XcapEvent_getType, METH_VARARGS, NULL},
- { (char *)"XcapEvent_getXcapMessage", _wrap_XcapEvent_getXcapMessage, METH_VARARGS, NULL},
- { (char *)"XcapEvent_swigregister", XcapEvent_swigregister, METH_VARARGS, NULL},
- { (char *)"new_XcapCallback", _wrap_new_XcapCallback, METH_VARARGS, NULL},
- { (char *)"delete_XcapCallback", _wrap_delete_XcapCallback, METH_VARARGS, NULL},
- { (char *)"XcapCallback_onEvent", _wrap_XcapCallback_onEvent, METH_VARARGS, NULL},
- { (char *)"disown_XcapCallback", _wrap_disown_XcapCallback, METH_VARARGS, NULL},
- { (char *)"XcapCallback_swigregister", XcapCallback_swigregister, METH_VARARGS, NULL},
- { (char *)"new_XcapStack", _wrap_new_XcapStack, METH_VARARGS, NULL},
- { (char *)"delete_XcapStack", _wrap_delete_XcapStack, METH_VARARGS, NULL},
- { (char *)"XcapStack_registerAUID", _wrap_XcapStack_registerAUID, METH_VARARGS, NULL},
- { (char *)"XcapStack_start", _wrap_XcapStack_start, METH_VARARGS, NULL},
- { (char *)"XcapStack_setCredentials", _wrap_XcapStack_setCredentials, METH_VARARGS, NULL},
- { (char *)"XcapStack_setXcapRoot", _wrap_XcapStack_setXcapRoot, METH_VARARGS, NULL},
- { (char *)"XcapStack_setLocalIP", _wrap_XcapStack_setLocalIP, METH_VARARGS, NULL},
- { (char *)"XcapStack_setLocalPort", _wrap_XcapStack_setLocalPort, METH_VARARGS, NULL},
- { (char *)"XcapStack_addHeader", _wrap_XcapStack_addHeader, METH_VARARGS, NULL},
- { (char *)"XcapStack_removeHeader", _wrap_XcapStack_removeHeader, METH_VARARGS, NULL},
- { (char *)"XcapStack_setTimeout", _wrap_XcapStack_setTimeout, METH_VARARGS, NULL},
- { (char *)"XcapStack_getDocument", _wrap_XcapStack_getDocument, METH_VARARGS, NULL},
- { (char *)"XcapStack_getElement", _wrap_XcapStack_getElement, METH_VARARGS, NULL},
- { (char *)"XcapStack_getAttribute", _wrap_XcapStack_getAttribute, METH_VARARGS, NULL},
- { (char *)"XcapStack_deleteDocument", _wrap_XcapStack_deleteDocument, METH_VARARGS, NULL},
- { (char *)"XcapStack_deleteElement", _wrap_XcapStack_deleteElement, METH_VARARGS, NULL},
- { (char *)"XcapStack_deleteAttribute", _wrap_XcapStack_deleteAttribute, METH_VARARGS, NULL},
- { (char *)"XcapStack_putDocument", _wrap_XcapStack_putDocument, METH_VARARGS, NULL},
- { (char *)"XcapStack_putElement", _wrap_XcapStack_putElement, METH_VARARGS, NULL},
- { (char *)"XcapStack_putAttribute", _wrap_XcapStack_putAttribute, METH_VARARGS, NULL},
- { (char *)"XcapStack_stop", _wrap_XcapStack_stop, METH_VARARGS, NULL},
- { (char *)"XcapStack_swigregister", XcapStack_swigregister, METH_VARARGS, NULL},
- { (char *)"new_RPMessage", _wrap_new_RPMessage, METH_VARARGS, NULL},
- { (char *)"delete_RPMessage", _wrap_delete_RPMessage, METH_VARARGS, NULL},
- { (char *)"RPMessage_getType", _wrap_RPMessage_getType, METH_VARARGS, NULL},
- { (char *)"RPMessage_getPayloadLength", _wrap_RPMessage_getPayloadLength, METH_VARARGS, NULL},
- { (char *)"RPMessage_getPayload", _wrap_RPMessage_getPayload, METH_VARARGS, NULL},
- { (char *)"RPMessage_swigregister", RPMessage_swigregister, METH_VARARGS, NULL},
- { (char *)"new_SMSData", _wrap_new_SMSData, METH_VARARGS, NULL},
- { (char *)"delete_SMSData", _wrap_delete_SMSData, METH_VARARGS, NULL},
- { (char *)"SMSData_getType", _wrap_SMSData_getType, METH_VARARGS, NULL},
- { (char *)"SMSData_getMR", _wrap_SMSData_getMR, METH_VARARGS, NULL},
- { (char *)"SMSData_getPayloadLength", _wrap_SMSData_getPayloadLength, METH_VARARGS, NULL},
- { (char *)"SMSData_getPayload", _wrap_SMSData_getPayload, METH_VARARGS, NULL},
- { (char *)"SMSData_getOA", _wrap_SMSData_getOA, METH_VARARGS, NULL},
- { (char *)"SMSData_getDA", _wrap_SMSData_getDA, METH_VARARGS, NULL},
- { (char *)"SMSData_swigregister", SMSData_swigregister, METH_VARARGS, NULL},
- { (char *)"SMSEncoder_encodeSubmit", _wrap_SMSEncoder_encodeSubmit, METH_VARARGS, NULL},
- { (char *)"SMSEncoder_encodeDeliver", _wrap_SMSEncoder_encodeDeliver, METH_VARARGS, NULL},
- { (char *)"SMSEncoder_encodeACK", _wrap_SMSEncoder_encodeACK, METH_VARARGS, NULL},
- { (char *)"SMSEncoder_encodeError", _wrap_SMSEncoder_encodeError, METH_VARARGS, NULL},
- { (char *)"SMSEncoder_decode", _wrap_SMSEncoder_decode, METH_VARARGS, NULL},
- { (char *)"delete_SMSEncoder", _wrap_delete_SMSEncoder, METH_VARARGS, NULL},
- { (char *)"SMSEncoder_swigregister", SMSEncoder_swigregister, METH_VARARGS, NULL},
- { (char *)"new_MsrpMessage", _wrap_new_MsrpMessage, METH_VARARGS, NULL},
- { (char *)"delete_MsrpMessage", _wrap_delete_MsrpMessage, METH_VARARGS, NULL},
- { (char *)"MsrpMessage_isRequest", _wrap_MsrpMessage_isRequest, METH_VARARGS, NULL},
- { (char *)"MsrpMessage_getCode", _wrap_MsrpMessage_getCode, METH_VARARGS, NULL},
- { (char *)"MsrpMessage_getPhrase", _wrap_MsrpMessage_getPhrase, METH_VARARGS, NULL},
- { (char *)"MsrpMessage_getRequestType", _wrap_MsrpMessage_getRequestType, METH_VARARGS, NULL},
- { (char *)"MsrpMessage_getByteRange", _wrap_MsrpMessage_getByteRange, METH_VARARGS, NULL},
- { (char *)"MsrpMessage_isLastChunck", _wrap_MsrpMessage_isLastChunck, METH_VARARGS, NULL},
- { (char *)"MsrpMessage_isFirstChunck", _wrap_MsrpMessage_isFirstChunck, METH_VARARGS, NULL},
- { (char *)"MsrpMessage_getMsrpHeaderValue", _wrap_MsrpMessage_getMsrpHeaderValue, METH_VARARGS, NULL},
- { (char *)"MsrpMessage_getMsrpHeaderParamValue", _wrap_MsrpMessage_getMsrpHeaderParamValue, METH_VARARGS, NULL},
- { (char *)"MsrpMessage_getMsrpContentLength", _wrap_MsrpMessage_getMsrpContentLength, METH_VARARGS, NULL},
- { (char *)"MsrpMessage_getMsrpContent", _wrap_MsrpMessage_getMsrpContent, METH_VARARGS, NULL},
- { (char *)"MsrpMessage_swigregister", MsrpMessage_swigregister, METH_VARARGS, NULL},
- { (char *)"delete_MsrpEvent", _wrap_delete_MsrpEvent, METH_VARARGS, NULL},
- { (char *)"MsrpEvent_getType", _wrap_MsrpEvent_getType, METH_VARARGS, NULL},
- { (char *)"MsrpEvent_getSipSession", _wrap_MsrpEvent_getSipSession, METH_VARARGS, NULL},
- { (char *)"MsrpEvent_getMessage", _wrap_MsrpEvent_getMessage, METH_VARARGS, NULL},
- { (char *)"MsrpEvent_swigregister", MsrpEvent_swigregister, METH_VARARGS, NULL},
- { (char *)"new_MsrpCallback", _wrap_new_MsrpCallback, METH_VARARGS, NULL},
- { (char *)"delete_MsrpCallback", _wrap_delete_MsrpCallback, METH_VARARGS, NULL},
- { (char *)"MsrpCallback_OnEvent", _wrap_MsrpCallback_OnEvent, METH_VARARGS, NULL},
- { (char *)"disown_MsrpCallback", _wrap_disown_MsrpCallback, METH_VARARGS, NULL},
- { (char *)"MsrpCallback_swigregister", MsrpCallback_swigregister, METH_VARARGS, NULL},
- { NULL, NULL, 0, NULL }
-};
-
-
-/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
-
-static void *_p_ProxyAudioConsumerTo_p_ProxyPlugin(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((ProxyPlugin *) ((ProxyAudioConsumer *) x));
-}
-static void *_p_ProxyVideoConsumerTo_p_ProxyPlugin(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((ProxyPlugin *) ((ProxyVideoConsumer *) x));
-}
-static void *_p_ProxyAudioProducerTo_p_ProxyPlugin(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((ProxyPlugin *) ((ProxyAudioProducer *) x));
-}
-static void *_p_ProxyVideoProducerTo_p_ProxyPlugin(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((ProxyPlugin *) ((ProxyVideoProducer *) x));
-}
-static void *_p_SipStackTo_p_SafeObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SafeObject *) ((SipStack *) x));
-}
-static void *_p_MediaContentCPIMTo_p_MediaContent(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((MediaContent *) ((MediaContentCPIM *) x));
-}
-static void *_p_CallSessionTo_p_InviteSession(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((InviteSession *) ((CallSession *) x));
-}
-static void *_p_MsrpSessionTo_p_InviteSession(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((InviteSession *) ((MsrpSession *) x));
-}
-static void *_p_InviteSessionTo_p_SipSession(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SipSession *) ((InviteSession *) x));
-}
-static void *_p_CallSessionTo_p_SipSession(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SipSession *) (InviteSession *) ((CallSession *) x));
-}
-static void *_p_MsrpSessionTo_p_SipSession(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SipSession *) (InviteSession *) ((MsrpSession *) x));
-}
-static void *_p_MessagingSessionTo_p_SipSession(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SipSession *) ((MessagingSession *) x));
-}
-static void *_p_OptionsSessionTo_p_SipSession(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SipSession *) ((OptionsSession *) x));
-}
-static void *_p_PublicationSessionTo_p_SipSession(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SipSession *) ((PublicationSession *) x));
-}
-static void *_p_RegistrationSessionTo_p_SipSession(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SipSession *) ((RegistrationSession *) x));
-}
-static void *_p_SubscriptionSessionTo_p_SipSession(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SipSession *) ((SubscriptionSession *) x));
-}
-static void *_p_InviteEventTo_p_SipEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SipEvent *) ((InviteEvent *) x));
-}
-static void *_p_OptionsEventTo_p_SipEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SipEvent *) ((OptionsEvent *) x));
-}
-static void *_p_DialogEventTo_p_SipEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SipEvent *) ((DialogEvent *) x));
-}
-static void *_p_PublicationEventTo_p_SipEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SipEvent *) ((PublicationEvent *) x));
-}
-static void *_p_RegistrationEventTo_p_SipEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SipEvent *) ((RegistrationEvent *) x));
-}
-static void *_p_SubscriptionEventTo_p_SipEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SipEvent *) ((SubscriptionEvent *) x));
-}
-static void *_p_StackEventTo_p_SipEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SipEvent *) ((StackEvent *) x));
-}
-static void *_p_MessagingEventTo_p_SipEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SipEvent *) ((MessagingEvent *) x));
-}
-static swig_type_info _swigt__p_ActionConfig = {"_p_ActionConfig", "ActionConfig *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_CallSession = {"_p_CallSession", "CallSession *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_DDebugCallback = {"_p_DDebugCallback", "DDebugCallback *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_DialogEvent = {"_p_DialogEvent", "DialogEvent *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_InviteEvent = {"_p_InviteEvent", "InviteEvent *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_InviteSession = {"_p_InviteSession", "InviteSession *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_MediaContent = {"_p_MediaContent", "MediaContent *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_MediaContentCPIM = {"_p_MediaContentCPIM", "MediaContentCPIM *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_MediaSessionMgr = {"_p_MediaSessionMgr", "MediaSessionMgr *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_MessagingEvent = {"_p_MessagingEvent", "MessagingEvent *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_MessagingSession = {"_p_MessagingSession", "MessagingSession *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_MsrpCallback = {"_p_MsrpCallback", "MsrpCallback *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_MsrpEvent = {"_p_MsrpEvent", "MsrpEvent *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_MsrpMessage = {"_p_MsrpMessage", "MsrpMessage *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_MsrpSession = {"_p_MsrpSession", "MsrpSession *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_OptionsEvent = {"_p_OptionsEvent", "OptionsEvent *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_OptionsSession = {"_p_OptionsSession", "OptionsSession *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_ProxyAudioConsumer = {"_p_ProxyAudioConsumer", "ProxyAudioConsumer *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_ProxyAudioConsumerCallback = {"_p_ProxyAudioConsumerCallback", "ProxyAudioConsumerCallback *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_ProxyAudioProducer = {"_p_ProxyAudioProducer", "ProxyAudioProducer *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_ProxyAudioProducerCallback = {"_p_ProxyAudioProducerCallback", "ProxyAudioProducerCallback *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_ProxyPlugin = {"_p_ProxyPlugin", "ProxyPlugin *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_ProxyPluginMgr = {"_p_ProxyPluginMgr", "ProxyPluginMgr *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_ProxyPluginMgrCallback = {"_p_ProxyPluginMgrCallback", "ProxyPluginMgrCallback *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_ProxyVideoConsumer = {"_p_ProxyVideoConsumer", "ProxyVideoConsumer *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_ProxyVideoConsumerCallback = {"_p_ProxyVideoConsumerCallback", "ProxyVideoConsumerCallback *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_ProxyVideoFrame = {"_p_ProxyVideoFrame", "ProxyVideoFrame *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_ProxyVideoProducer = {"_p_ProxyVideoProducer", "ProxyVideoProducer *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_ProxyVideoProducerCallback = {"_p_ProxyVideoProducerCallback", "ProxyVideoProducerCallback *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_PublicationEvent = {"_p_PublicationEvent", "PublicationEvent *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_PublicationSession = {"_p_PublicationSession", "PublicationSession *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_RPMessage = {"_p_RPMessage", "RPMessage *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_RegistrationEvent = {"_p_RegistrationEvent", "RegistrationEvent *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_RegistrationSession = {"_p_RegistrationSession", "RegistrationSession *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_SMSData = {"_p_SMSData", "SMSData *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_SMSEncoder = {"_p_SMSEncoder", "SMSEncoder *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_SafeObject = {"_p_SafeObject", "SafeObject *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_SdpMessage = {"_p_SdpMessage", "SdpMessage *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_SipCallback = {"_p_SipCallback", "SipCallback *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_SipEvent = {"_p_SipEvent", "SipEvent *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_SipMessage = {"_p_SipMessage", "SipMessage *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_SipSession = {"_p_SipSession", "SipSession *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_SipStack = {"_p_SipStack", "SipStack *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_SipUri = {"_p_SipUri", "SipUri *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_StackEvent = {"_p_StackEvent", "StackEvent *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_SubscriptionEvent = {"_p_SubscriptionEvent", "SubscriptionEvent *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_SubscriptionSession = {"_p_SubscriptionSession", "SubscriptionSession *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_XcapCallback = {"_p_XcapCallback", "XcapCallback *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_XcapEvent = {"_p_XcapEvent", "XcapEvent *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_XcapMessage = {"_p_XcapMessage", "XcapMessage *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_XcapSelector = {"_p_XcapSelector", "XcapSelector *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_XcapStack = {"_p_XcapStack", "XcapStack *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_int = {"_p_int", "intptr_t *|int *|int_least32_t *|int_fast32_t *|int32_t *|int_fast16_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_long_long = {"_p_long_long", "int_least64_t *|int_fast64_t *|int64_t *|long long *|intmax_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_short = {"_p_short", "short *|int_least16_t *|int16_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_signed_char = {"_p_signed_char", "signed char *|int_least8_t *|int_fast8_t *|int8_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_tdav_codec_id_e = {"_p_tdav_codec_id_e", "enum tdav_codec_id_e *|tdav_codec_id_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_thttp_event_type_e = {"_p_thttp_event_type_e", "enum thttp_event_type_e *|thttp_event_type_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_tmedia_bandwidth_level_e = {"_p_tmedia_bandwidth_level_e", "enum tmedia_bandwidth_level_e *|tmedia_bandwidth_level_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_tmedia_chroma_e = {"_p_tmedia_chroma_e", "tmedia_chroma_t *|enum tmedia_chroma_e *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_tmedia_qos_strength_e = {"_p_tmedia_qos_strength_e", "tmedia_qos_strength_t *|enum tmedia_qos_strength_e *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_tmedia_qos_stype_e = {"_p_tmedia_qos_stype_e", "enum tmedia_qos_stype_e *|tmedia_qos_stype_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_tmsrp_event_type_e = {"_p_tmsrp_event_type_e", "enum tmsrp_event_type_e *|tmsrp_event_type_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_tmsrp_request_type_e = {"_p_tmsrp_request_type_e", "enum tmsrp_request_type_e *|tmsrp_request_type_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_tsip_event_type_e = {"_p_tsip_event_type_e", "enum tsip_event_type_e *|tsip_event_type_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_tsip_invite_event_type_e = {"_p_tsip_invite_event_type_e", "enum tsip_invite_event_type_e *|tsip_invite_event_type_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_tsip_message_event_type_e = {"_p_tsip_message_event_type_e", "enum tsip_message_event_type_e *|tsip_message_event_type_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_tsip_options_event_type_e = {"_p_tsip_options_event_type_e", "enum tsip_options_event_type_e *|tsip_options_event_type_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_tsip_publish_event_type_e = {"_p_tsip_publish_event_type_e", "enum tsip_publish_event_type_e *|tsip_publish_event_type_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_tsip_register_event_type_e = {"_p_tsip_register_event_type_e", "enum tsip_register_event_type_e *|tsip_register_event_type_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_tsip_subscribe_event_type_e = {"_p_tsip_subscribe_event_type_e", "enum tsip_subscribe_event_type_e *|tsip_subscribe_event_type_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_tsk_list_t = {"_p_tsk_list_t", "twrap_xcap_steps_L_t *|twrap_proxy_plungins_L_t *|tsk_list_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_twrap_media_type_e = {"_p_twrap_media_type_e", "enum twrap_media_type_e *|twrap_media_type_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_twrap_proxy_plugin_type_e = {"_p_twrap_proxy_plugin_type_e", "enum twrap_proxy_plugin_type_e *|twrap_proxy_plugin_type_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_twrap_rpmessage_type_e = {"_p_twrap_rpmessage_type_e", "enum twrap_rpmessage_type_e *|twrap_rpmessage_type_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_twrap_sms_type_e = {"_p_twrap_sms_type_e", "enum twrap_sms_type_e *|twrap_sms_type_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|uint_least8_t *|uint_fast8_t *|uint8_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "uintptr_t *|uint_least32_t *|uint_fast32_t *|uint32_t *|unsigned int *|uint_fast16_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_unsigned_long_long = {"_p_unsigned_long_long", "uint_least64_t *|uint_fast64_t *|uint64_t *|unsigned long long *|uintmax_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "unsigned short *|uint_least16_t *|uint16_t *", 0, 0, (void*)0, 0};
-
-static swig_type_info *swig_type_initial[] = {
- &_swigt__p_ActionConfig,
- &_swigt__p_CallSession,
- &_swigt__p_DDebugCallback,
- &_swigt__p_DialogEvent,
- &_swigt__p_InviteEvent,
- &_swigt__p_InviteSession,
- &_swigt__p_MediaContent,
- &_swigt__p_MediaContentCPIM,
- &_swigt__p_MediaSessionMgr,
- &_swigt__p_MessagingEvent,
- &_swigt__p_MessagingSession,
- &_swigt__p_MsrpCallback,
- &_swigt__p_MsrpEvent,
- &_swigt__p_MsrpMessage,
- &_swigt__p_MsrpSession,
- &_swigt__p_OptionsEvent,
- &_swigt__p_OptionsSession,
- &_swigt__p_ProxyAudioConsumer,
- &_swigt__p_ProxyAudioConsumerCallback,
- &_swigt__p_ProxyAudioProducer,
- &_swigt__p_ProxyAudioProducerCallback,
- &_swigt__p_ProxyPlugin,
- &_swigt__p_ProxyPluginMgr,
- &_swigt__p_ProxyPluginMgrCallback,
- &_swigt__p_ProxyVideoConsumer,
- &_swigt__p_ProxyVideoConsumerCallback,
- &_swigt__p_ProxyVideoFrame,
- &_swigt__p_ProxyVideoProducer,
- &_swigt__p_ProxyVideoProducerCallback,
- &_swigt__p_PublicationEvent,
- &_swigt__p_PublicationSession,
- &_swigt__p_RPMessage,
- &_swigt__p_RegistrationEvent,
- &_swigt__p_RegistrationSession,
- &_swigt__p_SMSData,
- &_swigt__p_SMSEncoder,
- &_swigt__p_SafeObject,
- &_swigt__p_SdpMessage,
- &_swigt__p_SipCallback,
- &_swigt__p_SipEvent,
- &_swigt__p_SipMessage,
- &_swigt__p_SipSession,
- &_swigt__p_SipStack,
- &_swigt__p_SipUri,
- &_swigt__p_StackEvent,
- &_swigt__p_SubscriptionEvent,
- &_swigt__p_SubscriptionSession,
- &_swigt__p_XcapCallback,
- &_swigt__p_XcapEvent,
- &_swigt__p_XcapMessage,
- &_swigt__p_XcapSelector,
- &_swigt__p_XcapStack,
- &_swigt__p_char,
- &_swigt__p_int,
- &_swigt__p_long_long,
- &_swigt__p_short,
- &_swigt__p_signed_char,
- &_swigt__p_tdav_codec_id_e,
- &_swigt__p_thttp_event_type_e,
- &_swigt__p_tmedia_bandwidth_level_e,
- &_swigt__p_tmedia_chroma_e,
- &_swigt__p_tmedia_qos_strength_e,
- &_swigt__p_tmedia_qos_stype_e,
- &_swigt__p_tmsrp_event_type_e,
- &_swigt__p_tmsrp_request_type_e,
- &_swigt__p_tsip_event_type_e,
- &_swigt__p_tsip_invite_event_type_e,
- &_swigt__p_tsip_message_event_type_e,
- &_swigt__p_tsip_options_event_type_e,
- &_swigt__p_tsip_publish_event_type_e,
- &_swigt__p_tsip_register_event_type_e,
- &_swigt__p_tsip_subscribe_event_type_e,
- &_swigt__p_tsk_list_t,
- &_swigt__p_twrap_media_type_e,
- &_swigt__p_twrap_proxy_plugin_type_e,
- &_swigt__p_twrap_rpmessage_type_e,
- &_swigt__p_twrap_sms_type_e,
- &_swigt__p_unsigned_char,
- &_swigt__p_unsigned_int,
- &_swigt__p_unsigned_long_long,
- &_swigt__p_unsigned_short,
-};
-
-static swig_cast_info _swigc__p_ActionConfig[] = { {&_swigt__p_ActionConfig, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_CallSession[] = { {&_swigt__p_CallSession, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_DDebugCallback[] = { {&_swigt__p_DDebugCallback, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_DialogEvent[] = { {&_swigt__p_DialogEvent, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_InviteEvent[] = { {&_swigt__p_InviteEvent, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_InviteSession[] = { {&_swigt__p_InviteSession, 0, 0, 0}, {&_swigt__p_CallSession, _p_CallSessionTo_p_InviteSession, 0, 0}, {&_swigt__p_MsrpSession, _p_MsrpSessionTo_p_InviteSession, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_MediaContent[] = { {&_swigt__p_MediaContent, 0, 0, 0}, {&_swigt__p_MediaContentCPIM, _p_MediaContentCPIMTo_p_MediaContent, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_MediaContentCPIM[] = { {&_swigt__p_MediaContentCPIM, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_MediaSessionMgr[] = { {&_swigt__p_MediaSessionMgr, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_MessagingEvent[] = { {&_swigt__p_MessagingEvent, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_MessagingSession[] = { {&_swigt__p_MessagingSession, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_MsrpCallback[] = { {&_swigt__p_MsrpCallback, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_MsrpEvent[] = { {&_swigt__p_MsrpEvent, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_MsrpMessage[] = { {&_swigt__p_MsrpMessage, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_MsrpSession[] = { {&_swigt__p_MsrpSession, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_OptionsEvent[] = { {&_swigt__p_OptionsEvent, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_OptionsSession[] = { {&_swigt__p_OptionsSession, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_ProxyAudioConsumer[] = { {&_swigt__p_ProxyAudioConsumer, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_ProxyAudioConsumerCallback[] = { {&_swigt__p_ProxyAudioConsumerCallback, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_ProxyAudioProducer[] = { {&_swigt__p_ProxyAudioProducer, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_ProxyAudioProducerCallback[] = { {&_swigt__p_ProxyAudioProducerCallback, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_ProxyPlugin[] = { {&_swigt__p_ProxyPlugin, 0, 0, 0}, {&_swigt__p_ProxyAudioConsumer, _p_ProxyAudioConsumerTo_p_ProxyPlugin, 0, 0}, {&_swigt__p_ProxyVideoConsumer, _p_ProxyVideoConsumerTo_p_ProxyPlugin, 0, 0}, {&_swigt__p_ProxyAudioProducer, _p_ProxyAudioProducerTo_p_ProxyPlugin, 0, 0}, {&_swigt__p_ProxyVideoProducer, _p_ProxyVideoProducerTo_p_ProxyPlugin, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_ProxyPluginMgr[] = { {&_swigt__p_ProxyPluginMgr, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_ProxyPluginMgrCallback[] = { {&_swigt__p_ProxyPluginMgrCallback, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_ProxyVideoConsumer[] = { {&_swigt__p_ProxyVideoConsumer, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_ProxyVideoConsumerCallback[] = { {&_swigt__p_ProxyVideoConsumerCallback, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_ProxyVideoFrame[] = { {&_swigt__p_ProxyVideoFrame, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_ProxyVideoProducer[] = { {&_swigt__p_ProxyVideoProducer, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_ProxyVideoProducerCallback[] = { {&_swigt__p_ProxyVideoProducerCallback, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_PublicationEvent[] = { {&_swigt__p_PublicationEvent, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_PublicationSession[] = { {&_swigt__p_PublicationSession, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_RPMessage[] = { {&_swigt__p_RPMessage, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_RegistrationEvent[] = { {&_swigt__p_RegistrationEvent, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_RegistrationSession[] = { {&_swigt__p_RegistrationSession, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_SMSData[] = { {&_swigt__p_SMSData, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_SMSEncoder[] = { {&_swigt__p_SMSEncoder, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_SafeObject[] = { {&_swigt__p_SipStack, _p_SipStackTo_p_SafeObject, 0, 0}, {&_swigt__p_SafeObject, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_SdpMessage[] = { {&_swigt__p_SdpMessage, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_SipCallback[] = { {&_swigt__p_SipCallback, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_SipEvent[] = { {&_swigt__p_SipEvent, 0, 0, 0}, {&_swigt__p_InviteEvent, _p_InviteEventTo_p_SipEvent, 0, 0}, {&_swigt__p_OptionsEvent, _p_OptionsEventTo_p_SipEvent, 0, 0}, {&_swigt__p_DialogEvent, _p_DialogEventTo_p_SipEvent, 0, 0}, {&_swigt__p_PublicationEvent, _p_PublicationEventTo_p_SipEvent, 0, 0}, {&_swigt__p_RegistrationEvent, _p_RegistrationEventTo_p_SipEvent, 0, 0}, {&_swigt__p_SubscriptionEvent, _p_SubscriptionEventTo_p_SipEvent, 0, 0}, {&_swigt__p_StackEvent, _p_StackEventTo_p_SipEvent, 0, 0}, {&_swigt__p_MessagingEvent, _p_MessagingEventTo_p_SipEvent, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_SipMessage[] = { {&_swigt__p_SipMessage, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_SipSession[] = { {&_swigt__p_SipSession, 0, 0, 0}, {&_swigt__p_InviteSession, _p_InviteSessionTo_p_SipSession, 0, 0}, {&_swigt__p_CallSession, _p_CallSessionTo_p_SipSession, 0, 0}, {&_swigt__p_MsrpSession, _p_MsrpSessionTo_p_SipSession, 0, 0}, {&_swigt__p_MessagingSession, _p_MessagingSessionTo_p_SipSession, 0, 0}, {&_swigt__p_OptionsSession, _p_OptionsSessionTo_p_SipSession, 0, 0}, {&_swigt__p_PublicationSession, _p_PublicationSessionTo_p_SipSession, 0, 0}, {&_swigt__p_RegistrationSession, _p_RegistrationSessionTo_p_SipSession, 0, 0}, {&_swigt__p_SubscriptionSession, _p_SubscriptionSessionTo_p_SipSession, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_SipStack[] = { {&_swigt__p_SipStack, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_SipUri[] = { {&_swigt__p_SipUri, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_StackEvent[] = { {&_swigt__p_StackEvent, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_SubscriptionEvent[] = { {&_swigt__p_SubscriptionEvent, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_SubscriptionSession[] = { {&_swigt__p_SubscriptionSession, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_XcapCallback[] = { {&_swigt__p_XcapCallback, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_XcapEvent[] = { {&_swigt__p_XcapEvent, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_XcapMessage[] = { {&_swigt__p_XcapMessage, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_XcapSelector[] = { {&_swigt__p_XcapSelector, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_XcapStack[] = { {&_swigt__p_XcapStack, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_long_long[] = { {&_swigt__p_long_long, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_short[] = { {&_swigt__p_short, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_signed_char[] = { {&_swigt__p_signed_char, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_tdav_codec_id_e[] = { {&_swigt__p_tdav_codec_id_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_thttp_event_type_e[] = { {&_swigt__p_thttp_event_type_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_tmedia_bandwidth_level_e[] = { {&_swigt__p_tmedia_bandwidth_level_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_tmedia_chroma_e[] = { {&_swigt__p_tmedia_chroma_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_tmedia_qos_strength_e[] = { {&_swigt__p_tmedia_qos_strength_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_tmedia_qos_stype_e[] = { {&_swigt__p_tmedia_qos_stype_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_tmsrp_event_type_e[] = { {&_swigt__p_tmsrp_event_type_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_tmsrp_request_type_e[] = { {&_swigt__p_tmsrp_request_type_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_tsip_event_type_e[] = { {&_swigt__p_tsip_event_type_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_tsip_invite_event_type_e[] = { {&_swigt__p_tsip_invite_event_type_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_tsip_message_event_type_e[] = { {&_swigt__p_tsip_message_event_type_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_tsip_options_event_type_e[] = { {&_swigt__p_tsip_options_event_type_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_tsip_publish_event_type_e[] = { {&_swigt__p_tsip_publish_event_type_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_tsip_register_event_type_e[] = { {&_swigt__p_tsip_register_event_type_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_tsip_subscribe_event_type_e[] = { {&_swigt__p_tsip_subscribe_event_type_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_tsk_list_t[] = { {&_swigt__p_tsk_list_t, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_twrap_media_type_e[] = { {&_swigt__p_twrap_media_type_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_twrap_proxy_plugin_type_e[] = { {&_swigt__p_twrap_proxy_plugin_type_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_twrap_rpmessage_type_e[] = { {&_swigt__p_twrap_rpmessage_type_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_twrap_sms_type_e[] = { {&_swigt__p_twrap_sms_type_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_unsigned_long_long[] = { {&_swigt__p_unsigned_long_long, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_unsigned_short[] = { {&_swigt__p_unsigned_short, 0, 0, 0},{0, 0, 0, 0}};
-
-static swig_cast_info *swig_cast_initial[] = {
- _swigc__p_ActionConfig,
- _swigc__p_CallSession,
- _swigc__p_DDebugCallback,
- _swigc__p_DialogEvent,
- _swigc__p_InviteEvent,
- _swigc__p_InviteSession,
- _swigc__p_MediaContent,
- _swigc__p_MediaContentCPIM,
- _swigc__p_MediaSessionMgr,
- _swigc__p_MessagingEvent,
- _swigc__p_MessagingSession,
- _swigc__p_MsrpCallback,
- _swigc__p_MsrpEvent,
- _swigc__p_MsrpMessage,
- _swigc__p_MsrpSession,
- _swigc__p_OptionsEvent,
- _swigc__p_OptionsSession,
- _swigc__p_ProxyAudioConsumer,
- _swigc__p_ProxyAudioConsumerCallback,
- _swigc__p_ProxyAudioProducer,
- _swigc__p_ProxyAudioProducerCallback,
- _swigc__p_ProxyPlugin,
- _swigc__p_ProxyPluginMgr,
- _swigc__p_ProxyPluginMgrCallback,
- _swigc__p_ProxyVideoConsumer,
- _swigc__p_ProxyVideoConsumerCallback,
- _swigc__p_ProxyVideoFrame,
- _swigc__p_ProxyVideoProducer,
- _swigc__p_ProxyVideoProducerCallback,
- _swigc__p_PublicationEvent,
- _swigc__p_PublicationSession,
- _swigc__p_RPMessage,
- _swigc__p_RegistrationEvent,
- _swigc__p_RegistrationSession,
- _swigc__p_SMSData,
- _swigc__p_SMSEncoder,
- _swigc__p_SafeObject,
- _swigc__p_SdpMessage,
- _swigc__p_SipCallback,
- _swigc__p_SipEvent,
- _swigc__p_SipMessage,
- _swigc__p_SipSession,
- _swigc__p_SipStack,
- _swigc__p_SipUri,
- _swigc__p_StackEvent,
- _swigc__p_SubscriptionEvent,
- _swigc__p_SubscriptionSession,
- _swigc__p_XcapCallback,
- _swigc__p_XcapEvent,
- _swigc__p_XcapMessage,
- _swigc__p_XcapSelector,
- _swigc__p_XcapStack,
- _swigc__p_char,
- _swigc__p_int,
- _swigc__p_long_long,
- _swigc__p_short,
- _swigc__p_signed_char,
- _swigc__p_tdav_codec_id_e,
- _swigc__p_thttp_event_type_e,
- _swigc__p_tmedia_bandwidth_level_e,
- _swigc__p_tmedia_chroma_e,
- _swigc__p_tmedia_qos_strength_e,
- _swigc__p_tmedia_qos_stype_e,
- _swigc__p_tmsrp_event_type_e,
- _swigc__p_tmsrp_request_type_e,
- _swigc__p_tsip_event_type_e,
- _swigc__p_tsip_invite_event_type_e,
- _swigc__p_tsip_message_event_type_e,
- _swigc__p_tsip_options_event_type_e,
- _swigc__p_tsip_publish_event_type_e,
- _swigc__p_tsip_register_event_type_e,
- _swigc__p_tsip_subscribe_event_type_e,
- _swigc__p_tsk_list_t,
- _swigc__p_twrap_media_type_e,
- _swigc__p_twrap_proxy_plugin_type_e,
- _swigc__p_twrap_rpmessage_type_e,
- _swigc__p_twrap_sms_type_e,
- _swigc__p_unsigned_char,
- _swigc__p_unsigned_int,
- _swigc__p_unsigned_long_long,
- _swigc__p_unsigned_short,
-};
-
-
-/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
-
-static swig_const_info swig_const_table[] = {
-{0, 0, 0, 0.0, 0, 0}};
-
-#ifdef __cplusplus
-}
-#endif
-/* -----------------------------------------------------------------------------
- * Type initialization:
- * This problem is tough by the requirement that no dynamic
- * memory is used. Also, since swig_type_info structures store pointers to
- * swig_cast_info structures and swig_cast_info structures store pointers back
- * to swig_type_info structures, we need some lookup code at initialization.
- * The idea is that swig generates all the structures that are needed.
- * The runtime then collects these partially filled structures.
- * The SWIG_InitializeModule function takes these initial arrays out of
- * swig_module, and does all the lookup, filling in the swig_module.types
- * array with the correct data and linking the correct swig_cast_info
- * structures together.
- *
- * The generated swig_type_info structures are assigned staticly to an initial
- * array. We just loop through that array, and handle each type individually.
- * First we lookup if this type has been already loaded, and if so, use the
- * loaded structure instead of the generated one. Then we have to fill in the
- * cast linked list. The cast data is initially stored in something like a
- * two-dimensional array. Each row corresponds to a type (there are the same
- * number of rows as there are in the swig_type_initial array). Each entry in
- * a column is one of the swig_cast_info structures for that type.
- * The cast_initial array is actually an array of arrays, because each row has
- * a variable number of columns. So to actually build the cast linked list,
- * we find the array of casts associated with the type, and loop through it
- * adding the casts to the list. The one last trick we need to do is making
- * sure the type pointer in the swig_cast_info struct is correct.
- *
- * First off, we lookup the cast->type name to see if it is already loaded.
- * There are three cases to handle:
- * 1) If the cast->type has already been loaded AND the type we are adding
- * casting info to has not been loaded (it is in this module), THEN we
- * replace the cast->type pointer with the type pointer that has already
- * been loaded.
- * 2) If BOTH types (the one we are adding casting info to, and the
- * cast->type) are loaded, THEN the cast info has already been loaded by
- * the previous module so we just ignore it.
- * 3) Finally, if cast->type has not already been loaded, then we add that
- * swig_cast_info to the linked list (because the cast->type) pointer will
- * be correct.
- * ----------------------------------------------------------------------------- */
-
-#ifdef __cplusplus
-extern "C" {
-#if 0
-} /* c-mode */
-#endif
-#endif
-
-#if 0
-#define SWIGRUNTIME_DEBUG
-#endif
-
-
-SWIGRUNTIME void
-SWIG_InitializeModule(void *clientdata) {
- size_t i;
- swig_module_info *module_head, *iter;
- int found, init;
-
- clientdata = clientdata;
-
- /* check to see if the circular list has been setup, if not, set it up */
- if (swig_module.next==0) {
- /* Initialize the swig_module */
- swig_module.type_initial = swig_type_initial;
- swig_module.cast_initial = swig_cast_initial;
- swig_module.next = &swig_module;
- init = 1;
- } else {
- init = 0;
- }
-
- /* Try and load any already created modules */
- module_head = SWIG_GetModule(clientdata);
- if (!module_head) {
- /* This is the first module loaded for this interpreter */
- /* so set the swig module into the interpreter */
- SWIG_SetModule(clientdata, &swig_module);
- module_head = &swig_module;
- } else {
- /* the interpreter has loaded a SWIG module, but has it loaded this one? */
- found=0;
- iter=module_head;
- do {
- if (iter==&swig_module) {
- found=1;
- break;
- }
- iter=iter->next;
- } while (iter!= module_head);
-
- /* if the is found in the list, then all is done and we may leave */
- if (found) return;
- /* otherwise we must add out module into the list */
- swig_module.next = module_head->next;
- module_head->next = &swig_module;
- }
-
- /* When multiple interpeters are used, a module could have already been initialized in
- a different interpreter, but not yet have a pointer in this interpreter.
- In this case, we do not want to continue adding types... everything should be
- set up already */
- if (init == 0) return;
-
- /* Now work on filling in swig_module.types */
-#ifdef SWIGRUNTIME_DEBUG
- printf("SWIG_InitializeModule: size %d\n", swig_module.size);
-#endif
- for (i = 0; i < swig_module.size; ++i) {
- swig_type_info *type = 0;
- swig_type_info *ret;
- swig_cast_info *cast;
-
-#ifdef SWIGRUNTIME_DEBUG
- printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
-#endif
-
- /* if there is another module already loaded */
- if (swig_module.next != &swig_module) {
- type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
- }
- if (type) {
- /* Overwrite clientdata field */
-#ifdef SWIGRUNTIME_DEBUG
- printf("SWIG_InitializeModule: found type %s\n", type->name);
-#endif
- if (swig_module.type_initial[i]->clientdata) {
- type->clientdata = swig_module.type_initial[i]->clientdata;
-#ifdef SWIGRUNTIME_DEBUG
- printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
-#endif
- }
- } else {
- type = swig_module.type_initial[i];
- }
-
- /* Insert casting types */
- cast = swig_module.cast_initial[i];
- while (cast->type) {
- /* Don't need to add information already in the list */
- ret = 0;
-#ifdef SWIGRUNTIME_DEBUG
- printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
-#endif
- if (swig_module.next != &swig_module) {
- ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
-#ifdef SWIGRUNTIME_DEBUG
- if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
-#endif
- }
- if (ret) {
- if (type == swig_module.type_initial[i]) {
-#ifdef SWIGRUNTIME_DEBUG
- printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
-#endif
- cast->type = ret;
- ret = 0;
- } else {
- /* Check for casting already in the list */
- swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
-#ifdef SWIGRUNTIME_DEBUG
- if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
-#endif
- if (!ocast) ret = 0;
- }
- }
-
- if (!ret) {
-#ifdef SWIGRUNTIME_DEBUG
- printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
-#endif
- if (type->cast) {
- type->cast->prev = cast;
- cast->next = type->cast;
- }
- type->cast = cast;
- }
- cast++;
- }
- /* Set entry in modules->types array equal to the type */
- swig_module.types[i] = type;
- }
- swig_module.types[i] = 0;
-
-#ifdef SWIGRUNTIME_DEBUG
- printf("**** SWIG_InitializeModule: Cast List ******\n");
- for (i = 0; i < swig_module.size; ++i) {
- int j = 0;
- swig_cast_info *cast = swig_module.cast_initial[i];
- printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
- while (cast->type) {
- printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
- cast++;
- ++j;
- }
- printf("---- Total casts: %d\n",j);
- }
- printf("**** SWIG_InitializeModule: Cast List ******\n");
-#endif
-}
-
-/* This function will propagate the clientdata field of type to
-* any new swig_type_info structures that have been added into the list
-* of equivalent types. It is like calling
-* SWIG_TypeClientData(type, clientdata) a second time.
-*/
-SWIGRUNTIME void
-SWIG_PropagateClientData(void) {
- size_t i;
- swig_cast_info *equiv;
- static int init_run = 0;
-
- if (init_run) return;
- init_run = 1;
-
- for (i = 0; i < swig_module.size; i++) {
- if (swig_module.types[i]->clientdata) {
- equiv = swig_module.types[i]->cast;
- while (equiv) {
- if (!equiv->converter) {
- if (equiv->type && !equiv->type->clientdata)
- SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
- }
- equiv = equiv->next;
- }
- }
- }
-}
-
-#ifdef __cplusplus
-#if 0
-{
- /* c-mode */
-#endif
-}
-#endif
-
-
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
- /* Python-specific SWIG API */
-#define SWIG_newvarlink() SWIG_Python_newvarlink()
-#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
-#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
-
- /* -----------------------------------------------------------------------------
- * global variable support code.
- * ----------------------------------------------------------------------------- */
-
- typedef struct swig_globalvar {
- char *name; /* Name of global variable */
- PyObject *(*get_attr)(void); /* Return the current value */
- int (*set_attr)(PyObject *); /* Set the value */
- struct swig_globalvar *next;
- } swig_globalvar;
-
- typedef struct swig_varlinkobject {
- PyObject_HEAD
- swig_globalvar *vars;
- } swig_varlinkobject;
-
- SWIGINTERN PyObject *
- swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
-#if PY_VERSION_HEX >= 0x03000000
- return PyUnicode_InternFromString("<Swig global variables>");
-#else
- return PyString_FromString("<Swig global variables>");
-#endif
- }
-
- SWIGINTERN PyObject *
- swig_varlink_str(swig_varlinkobject *v) {
-#if PY_VERSION_HEX >= 0x03000000
- PyObject *str = PyUnicode_InternFromString("(");
- PyObject *tail;
- PyObject *joined;
- swig_globalvar *var;
- for (var = v->vars; var; var=var->next) {
- tail = PyUnicode_FromString(var->name);
- joined = PyUnicode_Concat(str, tail);
- Py_DecRef(str);
- Py_DecRef(tail);
- str = joined;
- if (var->next) {
- tail = PyUnicode_InternFromString(", ");
- joined = PyUnicode_Concat(str, tail);
- Py_DecRef(str);
- Py_DecRef(tail);
- str = joined;
- }
- }
- tail = PyUnicode_InternFromString(")");
- joined = PyUnicode_Concat(str, tail);
- Py_DecRef(str);
- Py_DecRef(tail);
- str = joined;
-#else
- PyObject *str = PyString_FromString("(");
- swig_globalvar *var;
- for (var = v->vars; var; var=var->next) {
- PyString_ConcatAndDel(&str,PyString_FromString(var->name));
- if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
- }
- PyString_ConcatAndDel(&str,PyString_FromString(")"));
-#endif
- return str;
- }
-
- SWIGINTERN int
- swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
- PyObject *str = swig_varlink_str(v);
- fprintf(fp,"Swig global variables ");
- fprintf(fp,"%s\n", SWIG_Python_str_AsChar(str));
- Py_DECREF(str);
- return 0;
- }
-
- SWIGINTERN void
- swig_varlink_dealloc(swig_varlinkobject *v) {
- swig_globalvar *var = v->vars;
- while (var) {
- swig_globalvar *n = var->next;
- free(var->name);
- free(var);
- var = n;
- }
- }
-
- SWIGINTERN PyObject *
- swig_varlink_getattr(swig_varlinkobject *v, char *n) {
- PyObject *res = NULL;
- swig_globalvar *var = v->vars;
- while (var) {
- if (strcmp(var->name,n) == 0) {
- res = (*var->get_attr)();
- break;
- }
- var = var->next;
- }
- if (res == NULL && !PyErr_Occurred()) {
- PyErr_SetString(PyExc_NameError,"Unknown C global variable");
- }
- return res;
- }
-
- SWIGINTERN int
- swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
- int res = 1;
- swig_globalvar *var = v->vars;
- while (var) {
- if (strcmp(var->name,n) == 0) {
- res = (*var->set_attr)(p);
- break;
- }
- var = var->next;
- }
- if (res == 1 && !PyErr_Occurred()) {
- PyErr_SetString(PyExc_NameError,"Unknown C global variable");
- }
- return res;
- }
-
- SWIGINTERN PyTypeObject*
- swig_varlink_type(void) {
- static char varlink__doc__[] = "Swig var link object";
- static PyTypeObject varlink_type;
- static int type_init = 0;
- if (!type_init) {
- const PyTypeObject tmp
- = {
- /* PyObject header changed in Python 3 */
-#if PY_VERSION_HEX >= 0x03000000
- PyVarObject_HEAD_INIT(&PyType_Type, 0)
-#else
- PyObject_HEAD_INIT(NULL)
- 0, /* Number of items in variable part (ob_size) */
-#endif
- (char *)"swigvarlink", /* Type name (tp_name) */
- sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
- 0, /* Itemsize (tp_itemsize) */
- (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
- (printfunc) swig_varlink_print, /* Print (tp_print) */
- (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
- (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
- 0, /* tp_compare */
- (reprfunc) swig_varlink_repr, /* tp_repr */
- 0, /* tp_as_number */
- 0, /* tp_as_sequence */
- 0, /* tp_as_mapping */
- 0, /* tp_hash */
- 0, /* tp_call */
- (reprfunc)swig_varlink_str, /* tp_str */
- 0, /* tp_getattro */
- 0, /* tp_setattro */
- 0, /* tp_as_buffer */
- 0, /* tp_flags */
- varlink__doc__, /* tp_doc */
- 0, /* tp_traverse */
- 0, /* tp_clear */
- 0, /* tp_richcompare */
- 0, /* tp_weaklistoffset */
-#if PY_VERSION_HEX >= 0x02020000
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
-#endif
-#if PY_VERSION_HEX >= 0x02030000
- 0, /* tp_del */
-#endif
-#ifdef COUNT_ALLOCS
- 0,0,0,0 /* tp_alloc -> tp_next */
-#endif
- };
- varlink_type = tmp;
- /* for Python 3 we already assigned the ob_type in PyVarObject_HEAD_INIT() */
-#if PY_VERSION_HEX < 0x03000000
- varlink_type.ob_type = &PyType_Type;
-#endif
- type_init = 1;
- }
- return &varlink_type;
- }
-
- /* Create a variable linking object for use later */
- SWIGINTERN PyObject *
- SWIG_Python_newvarlink(void) {
- swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
- if (result) {
- result->vars = 0;
- }
- return ((PyObject*) result);
- }
-
- SWIGINTERN void
- SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
- swig_varlinkobject *v = (swig_varlinkobject *) p;
- swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
- if (gv) {
- size_t size = strlen(name)+1;
- gv->name = (char *)malloc(size);
- if (gv->name) {
- strncpy(gv->name,name,size);
- gv->get_attr = get_attr;
- gv->set_attr = set_attr;
- gv->next = v->vars;
- }
- }
- v->vars = gv;
- }
-
- SWIGINTERN PyObject *
- SWIG_globals(void) {
- static PyObject *_SWIG_globals = 0;
- if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
- return _SWIG_globals;
- }
-
- /* -----------------------------------------------------------------------------
- * constants/methods manipulation
- * ----------------------------------------------------------------------------- */
-
- /* Install Constants */
- SWIGINTERN void
- SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
- PyObject *obj = 0;
- size_t i;
- for (i = 0; constants[i].type; ++i) {
- switch(constants[i].type) {
- case SWIG_PY_POINTER:
- obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
- break;
- case SWIG_PY_BINARY:
- obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
- break;
- default:
- obj = 0;
- break;
- }
- if (obj) {
- PyDict_SetItemString(d, constants[i].name, obj);
- Py_DECREF(obj);
- }
- }
- }
-
- /* -----------------------------------------------------------------------------*/
- /* Fix SwigMethods to carry the callback ptrs when needed */
- /* -----------------------------------------------------------------------------*/
-
- SWIGINTERN void
- SWIG_Python_FixMethods(PyMethodDef *methods,
- swig_const_info *const_table,
- swig_type_info **types,
- swig_type_info **types_initial) {
- size_t i;
- for (i = 0; methods[i].ml_name; ++i) {
- const char *c = methods[i].ml_doc;
- if (c && (c = strstr(c, "swig_ptr: "))) {
- int j;
- swig_const_info *ci = 0;
- const char *name = c + 10;
- for (j = 0; const_table[j].type; ++j) {
- if (strncmp(const_table[j].name, name,
- strlen(const_table[j].name)) == 0) {
- ci = &(const_table[j]);
- break;
- }
- }
- if (ci) {
- size_t shift = (ci->ptype) - types;
- swig_type_info *ty = types_initial[shift];
- size_t ldoc = (c - methods[i].ml_doc);
- size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
- char *ndoc = (char*)malloc(ldoc + lptr + 10);
- if (ndoc) {
- char *buff = ndoc;
- void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
- if (ptr) {
- strncpy(buff, methods[i].ml_doc, ldoc);
- buff += ldoc;
- strncpy(buff, "swig_ptr: ", 10);
- buff += 10;
- SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
- methods[i].ml_doc = ndoc;
- }
- }
- }
- }
- }
- }
-
-#ifdef __cplusplus
-}
-#endif
-
-/* -----------------------------------------------------------------------------*
- * Partial Init method
- * -----------------------------------------------------------------------------*/
-
-#ifdef __cplusplus
-extern "C"
-#endif
-
-SWIGEXPORT
-#if PY_VERSION_HEX >= 0x03000000
-PyObject*
-#else
-void
-#endif
-SWIG_init(void) {
- PyObject *m, *d;
-
- /* Fix SwigMethods to carry the callback ptrs when needed */
- SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
-#if PY_VERSION_HEX >= 0x03000000
- static struct PyModuleDef SWIG_module = {
- PyModuleDef_HEAD_INIT,
- (char *) SWIG_name,
- NULL,
- -1,
- SwigMethods,
- NULL,
- NULL,
- NULL,
- NULL
- };
-
- m = PyModule_Create(&SWIG_module);
-#else
- m = Py_InitModule((char *) SWIG_name, SwigMethods);
-#endif
- d = PyModule_GetDict(m);
-
- SWIG_InitializeModule(0);
- SWIG_InstallConstants(d,swig_const_table);
-
-
- SWIG_Python_SetConstant(d, "twrap_media_none",SWIG_From_int(static_cast< int >(twrap_media_none)));
- SWIG_Python_SetConstant(d, "twrap_media_audio",SWIG_From_int(static_cast< int >(twrap_media_audio)));
- SWIG_Python_SetConstant(d, "twrap_media_video",SWIG_From_int(static_cast< int >(twrap_media_video)));
- SWIG_Python_SetConstant(d, "twrap_media_audiovideo",SWIG_From_int(static_cast< int >(twrap_media_audiovideo)));
- SWIG_Python_SetConstant(d, "twrap_media_msrp",SWIG_From_int(static_cast< int >(twrap_media_msrp)));
- SWIG_Python_SetConstant(d, "twrap_proxy_plugin_audio_producer",SWIG_From_int(static_cast< int >(twrap_proxy_plugin_audio_producer)));
- SWIG_Python_SetConstant(d, "twrap_proxy_plugin_video_producer",SWIG_From_int(static_cast< int >(twrap_proxy_plugin_video_producer)));
- SWIG_Python_SetConstant(d, "twrap_proxy_plugin_audio_consumer",SWIG_From_int(static_cast< int >(twrap_proxy_plugin_audio_consumer)));
- SWIG_Python_SetConstant(d, "twrap_proxy_plugin_video_consumer",SWIG_From_int(static_cast< int >(twrap_proxy_plugin_video_consumer)));
- SWIG_Python_SetConstant(d, "tsip_event_invite",SWIG_From_int(static_cast< int >(tsip_event_invite)));
- SWIG_Python_SetConstant(d, "tsip_event_message",SWIG_From_int(static_cast< int >(tsip_event_message)));
- SWIG_Python_SetConstant(d, "tsip_event_options",SWIG_From_int(static_cast< int >(tsip_event_options)));
- SWIG_Python_SetConstant(d, "tsip_event_publish",SWIG_From_int(static_cast< int >(tsip_event_publish)));
- SWIG_Python_SetConstant(d, "tsip_event_register",SWIG_From_int(static_cast< int >(tsip_event_register)));
- SWIG_Python_SetConstant(d, "tsip_event_subscribe",SWIG_From_int(static_cast< int >(tsip_event_subscribe)));
- SWIG_Python_SetConstant(d, "tsip_event_dialog",SWIG_From_int(static_cast< int >(tsip_event_dialog)));
- SWIG_Python_SetConstant(d, "tsip_event_code_dialog_transport_error",SWIG_From_int(static_cast< int >(702)));
- SWIG_Python_SetConstant(d, "tsip_event_code_dialog_global_error",SWIG_From_int(static_cast< int >(703)));
- SWIG_Python_SetConstant(d, "tsip_event_code_dialog_message_error",SWIG_From_int(static_cast< int >(704)));
- SWIG_Python_SetConstant(d, "tsip_event_code_dialog_request_incoming",SWIG_From_int(static_cast< int >(800)));
- SWIG_Python_SetConstant(d, "tsip_event_code_dialog_request_cancelled",SWIG_From_int(static_cast< int >(801)));
- SWIG_Python_SetConstant(d, "tsip_event_code_dialog_request_sent",SWIG_From_int(static_cast< int >(802)));
- SWIG_Python_SetConstant(d, "tsip_event_code_dialog_connecting",SWIG_From_int(static_cast< int >(900)));
- SWIG_Python_SetConstant(d, "tsip_event_code_dialog_connected",SWIG_From_int(static_cast< int >(901)));
- SWIG_Python_SetConstant(d, "tsip_event_code_dialog_terminating",SWIG_From_int(static_cast< int >(902)));
- SWIG_Python_SetConstant(d, "tsip_event_code_dialog_terminated",SWIG_From_int(static_cast< int >(903)));
- SWIG_Python_SetConstant(d, "tsip_event_code_stack_started",SWIG_From_int(static_cast< int >(950)));
- SWIG_Python_SetConstant(d, "tsip_event_code_stack_stopped",SWIG_From_int(static_cast< int >(951)));
- SWIG_Python_SetConstant(d, "tsip_event_code_stack_failed_to_start",SWIG_From_int(static_cast< int >(952)));
- SWIG_Python_SetConstant(d, "tsip_event_code_stack_failed_to_stop",SWIG_From_int(static_cast< int >(953)));
- SWIG_Python_SetConstant(d, "tsip_i_newreg",SWIG_From_int(static_cast< int >(tsip_i_newreg)));
- SWIG_Python_SetConstant(d, "tsip_i_register",SWIG_From_int(static_cast< int >(tsip_i_register)));
- SWIG_Python_SetConstant(d, "tsip_ao_register",SWIG_From_int(static_cast< int >(tsip_ao_register)));
- SWIG_Python_SetConstant(d, "tsip_i_unregister",SWIG_From_int(static_cast< int >(tsip_i_unregister)));
- SWIG_Python_SetConstant(d, "tsip_ao_unregister",SWIG_From_int(static_cast< int >(tsip_ao_unregister)));
- SWIG_Python_SetConstant(d, "tsip_i_subscribe",SWIG_From_int(static_cast< int >(tsip_i_subscribe)));
- SWIG_Python_SetConstant(d, "tsip_ao_subscribe",SWIG_From_int(static_cast< int >(tsip_ao_subscribe)));
- SWIG_Python_SetConstant(d, "tsip_i_unsubscribe",SWIG_From_int(static_cast< int >(tsip_i_unsubscribe)));
- SWIG_Python_SetConstant(d, "tsip_ao_unsubscribe",SWIG_From_int(static_cast< int >(tsip_ao_unsubscribe)));
- SWIG_Python_SetConstant(d, "tsip_i_notify",SWIG_From_int(static_cast< int >(tsip_i_notify)));
- SWIG_Python_SetConstant(d, "tsip_ao_notify",SWIG_From_int(static_cast< int >(tsip_ao_notify)));
- SWIG_Python_SetConstant(d, "tsip_i_publish",SWIG_From_int(static_cast< int >(tsip_i_publish)));
- SWIG_Python_SetConstant(d, "tsip_ao_publish",SWIG_From_int(static_cast< int >(tsip_ao_publish)));
- SWIG_Python_SetConstant(d, "tsip_i_unpublish",SWIG_From_int(static_cast< int >(tsip_i_unpublish)));
- SWIG_Python_SetConstant(d, "tsip_ao_unpublish",SWIG_From_int(static_cast< int >(tsip_ao_unpublish)));
- SWIG_Python_SetConstant(d, "tsip_i_message",SWIG_From_int(static_cast< int >(tsip_i_message)));
- SWIG_Python_SetConstant(d, "tsip_ao_message",SWIG_From_int(static_cast< int >(tsip_ao_message)));
- SWIG_Python_SetConstant(d, "tsip_i_options",SWIG_From_int(static_cast< int >(tsip_i_options)));
- SWIG_Python_SetConstant(d, "tsip_ao_options",SWIG_From_int(static_cast< int >(tsip_ao_options)));
- SWIG_Python_SetConstant(d, "tsip_i_newcall",SWIG_From_int(static_cast< int >(tsip_i_newcall)));
- SWIG_Python_SetConstant(d, "tsip_i_request",SWIG_From_int(static_cast< int >(tsip_i_request)));
- SWIG_Python_SetConstant(d, "tsip_ao_request",SWIG_From_int(static_cast< int >(tsip_ao_request)));
- SWIG_Python_SetConstant(d, "tsip_o_ect_ok",SWIG_From_int(static_cast< int >(tsip_o_ect_ok)));
- SWIG_Python_SetConstant(d, "tsip_o_ect_nok",SWIG_From_int(static_cast< int >(tsip_o_ect_nok)));
- SWIG_Python_SetConstant(d, "tsip_i_ect",SWIG_From_int(static_cast< int >(tsip_i_ect)));
- SWIG_Python_SetConstant(d, "tsip_m_early_media",SWIG_From_int(static_cast< int >(tsip_m_early_media)));
- SWIG_Python_SetConstant(d, "tsip_m_local_hold_ok",SWIG_From_int(static_cast< int >(tsip_m_local_hold_ok)));
- SWIG_Python_SetConstant(d, "tsip_m_local_hold_nok",SWIG_From_int(static_cast< int >(tsip_m_local_hold_nok)));
- SWIG_Python_SetConstant(d, "tsip_m_local_resume_ok",SWIG_From_int(static_cast< int >(tsip_m_local_resume_ok)));
- SWIG_Python_SetConstant(d, "tsip_m_local_resume_nok",SWIG_From_int(static_cast< int >(tsip_m_local_resume_nok)));
- SWIG_Python_SetConstant(d, "tsip_m_remote_hold",SWIG_From_int(static_cast< int >(tsip_m_remote_hold)));
- SWIG_Python_SetConstant(d, "tsip_m_remote_resume",SWIG_From_int(static_cast< int >(tsip_m_remote_resume)));
- SWIG_Python_SetConstant(d, "tmedia_rgb24",SWIG_From_int(static_cast< int >(tmedia_rgb24)));
- SWIG_Python_SetConstant(d, "tmedia_bgr24",SWIG_From_int(static_cast< int >(tmedia_bgr24)));
- SWIG_Python_SetConstant(d, "tmedia_rgb32",SWIG_From_int(static_cast< int >(tmedia_rgb32)));
- SWIG_Python_SetConstant(d, "tmedia_rgb565le",SWIG_From_int(static_cast< int >(tmedia_rgb565le)));
- SWIG_Python_SetConstant(d, "tmedia_rgb565be",SWIG_From_int(static_cast< int >(tmedia_rgb565be)));
- SWIG_Python_SetConstant(d, "tmedia_nv12",SWIG_From_int(static_cast< int >(tmedia_nv12)));
- SWIG_Python_SetConstant(d, "tmedia_nv21",SWIG_From_int(static_cast< int >(tmedia_nv21)));
- SWIG_Python_SetConstant(d, "tmedia_yuv422p",SWIG_From_int(static_cast< int >(tmedia_yuv422p)));
- SWIG_Python_SetConstant(d, "tmedia_uyvy422",SWIG_From_int(static_cast< int >(tmedia_uyvy422)));
- SWIG_Python_SetConstant(d, "tmedia_yuv420p",SWIG_From_int(static_cast< int >(tmedia_yuv420p)));
- SWIG_Python_SetConstant(d, "tmedia_qos_stype_none",SWIG_From_int(static_cast< int >(tmedia_qos_stype_none)));
- SWIG_Python_SetConstant(d, "tmedia_qos_stype_segmented",SWIG_From_int(static_cast< int >(tmedia_qos_stype_segmented)));
- SWIG_Python_SetConstant(d, "tmedia_qos_stype_e2e",SWIG_From_int(static_cast< int >(tmedia_qos_stype_e2e)));
- SWIG_Python_SetConstant(d, "tmedia_qos_strength_none",SWIG_From_int(static_cast< int >(tmedia_qos_strength_none)));
- SWIG_Python_SetConstant(d, "tmedia_qos_strength_failure",SWIG_From_int(static_cast< int >(tmedia_qos_strength_failure)));
- SWIG_Python_SetConstant(d, "tmedia_qos_strength_unknown",SWIG_From_int(static_cast< int >(tmedia_qos_strength_unknown)));
- SWIG_Python_SetConstant(d, "tmedia_qos_strength_optional",SWIG_From_int(static_cast< int >(tmedia_qos_strength_optional)));
- SWIG_Python_SetConstant(d, "tmedia_qos_strength_mandatory",SWIG_From_int(static_cast< int >(tmedia_qos_strength_mandatory)));
- SWIG_Python_SetConstant(d, "tmedia_bl_low",SWIG_From_int(static_cast< int >(tmedia_bl_low)));
- SWIG_Python_SetConstant(d, "tmedia_bl_medium",SWIG_From_int(static_cast< int >(tmedia_bl_medium)));
- SWIG_Python_SetConstant(d, "tmedia_bl_hight",SWIG_From_int(static_cast< int >(tmedia_bl_hight)));
- SWIG_Python_SetConstant(d, "tdav_codec_id_none",SWIG_From_int(static_cast< int >(tdav_codec_id_none)));
- SWIG_Python_SetConstant(d, "tdav_codec_id_amr_nb_oa",SWIG_From_int(static_cast< int >(tdav_codec_id_amr_nb_oa)));
- SWIG_Python_SetConstant(d, "tdav_codec_id_amr_nb_be",SWIG_From_int(static_cast< int >(tdav_codec_id_amr_nb_be)));
- SWIG_Python_SetConstant(d, "tdav_codec_id_amr_wb_oa",SWIG_From_int(static_cast< int >(tdav_codec_id_amr_wb_oa)));
- SWIG_Python_SetConstant(d, "tdav_codec_id_amr_wb_be",SWIG_From_int(static_cast< int >(tdav_codec_id_amr_wb_be)));
- SWIG_Python_SetConstant(d, "tdav_codec_id_gsm",SWIG_From_int(static_cast< int >(tdav_codec_id_gsm)));
- SWIG_Python_SetConstant(d, "tdav_codec_id_pcma",SWIG_From_int(static_cast< int >(tdav_codec_id_pcma)));
- SWIG_Python_SetConstant(d, "tdav_codec_id_pcmu",SWIG_From_int(static_cast< int >(tdav_codec_id_pcmu)));
- SWIG_Python_SetConstant(d, "tdav_codec_id_ilbc",SWIG_From_int(static_cast< int >(tdav_codec_id_ilbc)));
- SWIG_Python_SetConstant(d, "tdav_codec_id_speex_nb",SWIG_From_int(static_cast< int >(tdav_codec_id_speex_nb)));
- SWIG_Python_SetConstant(d, "tdav_codec_id_speex_wb",SWIG_From_int(static_cast< int >(tdav_codec_id_speex_wb)));
- SWIG_Python_SetConstant(d, "tdav_codec_id_speex_uwb",SWIG_From_int(static_cast< int >(tdav_codec_id_speex_uwb)));
- SWIG_Python_SetConstant(d, "tdav_codec_id_bv16",SWIG_From_int(static_cast< int >(tdav_codec_id_bv16)));
- SWIG_Python_SetConstant(d, "tdav_codec_id_bv32",SWIG_From_int(static_cast< int >(tdav_codec_id_bv32)));
- SWIG_Python_SetConstant(d, "tdav_codec_id_evrc",SWIG_From_int(static_cast< int >(tdav_codec_id_evrc)));
- SWIG_Python_SetConstant(d, "tdav_codec_id_g729ab",SWIG_From_int(static_cast< int >(tdav_codec_id_g729ab)));
- SWIG_Python_SetConstant(d, "tdav_codec_id_h261",SWIG_From_int(static_cast< int >(tdav_codec_id_h261)));
- SWIG_Python_SetConstant(d, "tdav_codec_id_h263",SWIG_From_int(static_cast< int >(tdav_codec_id_h263)));
- SWIG_Python_SetConstant(d, "tdav_codec_id_h263p",SWIG_From_int(static_cast< int >(tdav_codec_id_h263p)));
- SWIG_Python_SetConstant(d, "tdav_codec_id_h263pp",SWIG_From_int(static_cast< int >(tdav_codec_id_h263pp)));
- SWIG_Python_SetConstant(d, "tdav_codec_id_h264_bp10",SWIG_From_int(static_cast< int >(tdav_codec_id_h264_bp10)));
- SWIG_Python_SetConstant(d, "tdav_codec_id_h264_bp20",SWIG_From_int(static_cast< int >(tdav_codec_id_h264_bp20)));
- SWIG_Python_SetConstant(d, "tdav_codec_id_h264_bp30",SWIG_From_int(static_cast< int >(tdav_codec_id_h264_bp30)));
- SWIG_Python_SetConstant(d, "tdav_codec_id_theora",SWIG_From_int(static_cast< int >(tdav_codec_id_theora)));
- SWIG_Python_SetConstant(d, "tdav_codec_id_mp4ves_es",SWIG_From_int(static_cast< int >(tdav_codec_id_mp4ves_es)));
- SWIG_Python_SetConstant(d, "thttp_event_dialog_started",SWIG_From_int(static_cast< int >(thttp_event_dialog_started)));
- SWIG_Python_SetConstant(d, "thttp_event_message",SWIG_From_int(static_cast< int >(thttp_event_message)));
- SWIG_Python_SetConstant(d, "thttp_event_auth_failed",SWIG_From_int(static_cast< int >(thttp_event_auth_failed)));
- SWIG_Python_SetConstant(d, "thttp_event_closed",SWIG_From_int(static_cast< int >(thttp_event_closed)));
- SWIG_Python_SetConstant(d, "thttp_event_transport_error",SWIG_From_int(static_cast< int >(thttp_event_transport_error)));
- SWIG_Python_SetConstant(d, "thttp_event_dialog_terminated",SWIG_From_int(static_cast< int >(thttp_event_dialog_terminated)));
- SWIG_Python_SetConstant(d, "twrap_rpmessage_type_sms_none",SWIG_From_int(static_cast< int >(twrap_rpmessage_type_sms_none)));
- SWIG_Python_SetConstant(d, "twrap_rpmessage_type_sms_submit",SWIG_From_int(static_cast< int >(twrap_rpmessage_type_sms_submit)));
- SWIG_Python_SetConstant(d, "twrap_rpmessage_type_sms_deliver",SWIG_From_int(static_cast< int >(twrap_rpmessage_type_sms_deliver)));
- SWIG_Python_SetConstant(d, "twrap_rpmessage_type_sms_ack",SWIG_From_int(static_cast< int >(twrap_rpmessage_type_sms_ack)));
- SWIG_Python_SetConstant(d, "twrap_rpmessage_type_sms_error",SWIG_From_int(static_cast< int >(twrap_rpmessage_type_sms_error)));
- SWIG_Python_SetConstant(d, "twrap_sms_type_none",SWIG_From_int(static_cast< int >(twrap_sms_type_none)));
- SWIG_Python_SetConstant(d, "twrap_sms_type_rpdata",SWIG_From_int(static_cast< int >(twrap_sms_type_rpdata)));
- SWIG_Python_SetConstant(d, "twrap_sms_type_smma",SWIG_From_int(static_cast< int >(twrap_sms_type_smma)));
- SWIG_Python_SetConstant(d, "twrap_sms_type_ack",SWIG_From_int(static_cast< int >(twrap_sms_type_ack)));
- SWIG_Python_SetConstant(d, "twrap_sms_type_error",SWIG_From_int(static_cast< int >(twrap_sms_type_error)));
- SWIG_Python_SetConstant(d, "tmsrp_NONE",SWIG_From_int(static_cast< int >(tmsrp_NONE)));
- SWIG_Python_SetConstant(d, "tmsrp_SEND",SWIG_From_int(static_cast< int >(tmsrp_SEND)));
- SWIG_Python_SetConstant(d, "tmsrp_REPORT",SWIG_From_int(static_cast< int >(tmsrp_REPORT)));
- SWIG_Python_SetConstant(d, "tmsrp_AUTH",SWIG_From_int(static_cast< int >(tmsrp_AUTH)));
- SWIG_Python_SetConstant(d, "tmsrp_event_type_none",SWIG_From_int(static_cast< int >(tmsrp_event_type_none)));
- SWIG_Python_SetConstant(d, "tmsrp_event_type_connected",SWIG_From_int(static_cast< int >(tmsrp_event_type_connected)));
- SWIG_Python_SetConstant(d, "tmsrp_event_type_disconnected",SWIG_From_int(static_cast< int >(tmsrp_event_type_disconnected)));
- SWIG_Python_SetConstant(d, "tmsrp_event_type_message",SWIG_From_int(static_cast< int >(tmsrp_event_type_message)));
-#if PY_VERSION_HEX >= 0x03000000
- return m;
-#else
- return;
-#endif
-}
-
diff --git a/branches/1.0/bindings/python/tinyWRAP_wrap.h b/branches/1.0/bindings/python/tinyWRAP_wrap.h
deleted file mode 100644
index ceef2e3..0000000
--- a/branches/1.0/bindings/python/tinyWRAP_wrap.h
+++ /dev/null
@@ -1,447 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.39
- *
- * This file is not intended to be easily readable and contains a number of
- * coding conventions designed to improve portability and efficiency. Do not make
- * changes to this file unless you know what you are doing--modify the SWIG
- * interface file instead.
- * ----------------------------------------------------------------------------- */
-
-#ifndef SWIG_tinyWRAP_WRAP_H_
-#define SWIG_tinyWRAP_WRAP_H_
-
-#include <map>
-#include <string>
-
-
-class SwigDirector_DDebugCallback : public DDebugCallback, public Swig::Director {
-
-public:
- SwigDirector_DDebugCallback(PyObject *self);
- virtual ~SwigDirector_DDebugCallback();
- virtual int OnDebugInfo(char const *message);
- virtual int OnDebugWarn(char const *message);
- virtual int OnDebugError(char const *message);
- virtual int OnDebugFatal(char const *message);
-
-
-/* Internal Director utilities */
-public:
- bool swig_get_inner(const char* name) const {
- std::map<std::string, bool>::const_iterator iv = inner.find(name);
- return (iv != inner.end() ? iv->second : false);
- }
-
- void swig_set_inner(const char* name, bool val) const
- { inner[name] = val;}
-
-private:
- mutable std::map<std::string, bool> inner;
-
-
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
-/* VTable implementation */
- PyObject *swig_get_method(size_t method_index, const char *method_name) const {
- PyObject *method = vtable[method_index];
- if (!method) {
- swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name);
- method = PyObject_GetAttr(swig_get_self(), name);
- if (method == NULL) {
- std::string msg = "Method in class DDebugCallback doesn't exist, undefined ";
- msg += method_name;
- Swig::DirectorMethodException::raise(msg.c_str());
- }
- vtable[method_index] = method;
- };
- return method;
- }
-private:
- mutable swig::SwigVar_PyObject vtable[4];
-#endif
-
-};
-
-
-class SwigDirector_ProxyPluginMgrCallback : public ProxyPluginMgrCallback, public Swig::Director {
-
-public:
- SwigDirector_ProxyPluginMgrCallback(PyObject *self);
- virtual ~SwigDirector_ProxyPluginMgrCallback();
- virtual int OnPluginCreated(uint64_t id, enum twrap_proxy_plugin_type_e type);
- virtual int OnPluginDestroyed(uint64_t id, enum twrap_proxy_plugin_type_e type);
-
-
-/* Internal Director utilities */
-public:
- bool swig_get_inner(const char* name) const {
- std::map<std::string, bool>::const_iterator iv = inner.find(name);
- return (iv != inner.end() ? iv->second : false);
- }
-
- void swig_set_inner(const char* name, bool val) const
- { inner[name] = val;}
-
-private:
- mutable std::map<std::string, bool> inner;
-
-
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
-/* VTable implementation */
- PyObject *swig_get_method(size_t method_index, const char *method_name) const {
- PyObject *method = vtable[method_index];
- if (!method) {
- swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name);
- method = PyObject_GetAttr(swig_get_self(), name);
- if (method == NULL) {
- std::string msg = "Method in class ProxyPluginMgrCallback doesn't exist, undefined ";
- msg += method_name;
- Swig::DirectorMethodException::raise(msg.c_str());
- }
- vtable[method_index] = method;
- };
- return method;
- }
-private:
- mutable swig::SwigVar_PyObject vtable[2];
-#endif
-
-};
-
-
-class SwigDirector_ProxyAudioConsumerCallback : public ProxyAudioConsumerCallback, public Swig::Director {
-
-public:
- SwigDirector_ProxyAudioConsumerCallback(PyObject *self);
- virtual ~SwigDirector_ProxyAudioConsumerCallback();
- virtual int prepare(int ptime, int rate, int channels);
- virtual int start();
- virtual int pause();
- virtual int stop();
-
-
-/* Internal Director utilities */
-public:
- bool swig_get_inner(const char* name) const {
- std::map<std::string, bool>::const_iterator iv = inner.find(name);
- return (iv != inner.end() ? iv->second : false);
- }
-
- void swig_set_inner(const char* name, bool val) const
- { inner[name] = val;}
-
-private:
- mutable std::map<std::string, bool> inner;
-
-
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
-/* VTable implementation */
- PyObject *swig_get_method(size_t method_index, const char *method_name) const {
- PyObject *method = vtable[method_index];
- if (!method) {
- swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name);
- method = PyObject_GetAttr(swig_get_self(), name);
- if (method == NULL) {
- std::string msg = "Method in class ProxyAudioConsumerCallback doesn't exist, undefined ";
- msg += method_name;
- Swig::DirectorMethodException::raise(msg.c_str());
- }
- vtable[method_index] = method;
- };
- return method;
- }
-private:
- mutable swig::SwigVar_PyObject vtable[4];
-#endif
-
-};
-
-
-class SwigDirector_ProxyVideoConsumerCallback : public ProxyVideoConsumerCallback, public Swig::Director {
-
-public:
- SwigDirector_ProxyVideoConsumerCallback(PyObject *self);
- virtual ~SwigDirector_ProxyVideoConsumerCallback();
- virtual int prepare(int width, int height, int fps);
- virtual int consume(ProxyVideoFrame const *frame);
- virtual int start();
- virtual int pause();
- virtual int stop();
-
-
-/* Internal Director utilities */
-public:
- bool swig_get_inner(const char* name) const {
- std::map<std::string, bool>::const_iterator iv = inner.find(name);
- return (iv != inner.end() ? iv->second : false);
- }
-
- void swig_set_inner(const char* name, bool val) const
- { inner[name] = val;}
-
-private:
- mutable std::map<std::string, bool> inner;
-
-
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
-/* VTable implementation */
- PyObject *swig_get_method(size_t method_index, const char *method_name) const {
- PyObject *method = vtable[method_index];
- if (!method) {
- swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name);
- method = PyObject_GetAttr(swig_get_self(), name);
- if (method == NULL) {
- std::string msg = "Method in class ProxyVideoConsumerCallback doesn't exist, undefined ";
- msg += method_name;
- Swig::DirectorMethodException::raise(msg.c_str());
- }
- vtable[method_index] = method;
- };
- return method;
- }
-private:
- mutable swig::SwigVar_PyObject vtable[5];
-#endif
-
-};
-
-
-class SwigDirector_ProxyAudioProducerCallback : public ProxyAudioProducerCallback, public Swig::Director {
-
-public:
- SwigDirector_ProxyAudioProducerCallback(PyObject *self);
- virtual ~SwigDirector_ProxyAudioProducerCallback();
- virtual int prepare(int ptime, int rate, int channels);
- virtual int start();
- virtual int pause();
- virtual int stop();
-
-
-/* Internal Director utilities */
-public:
- bool swig_get_inner(const char* name) const {
- std::map<std::string, bool>::const_iterator iv = inner.find(name);
- return (iv != inner.end() ? iv->second : false);
- }
-
- void swig_set_inner(const char* name, bool val) const
- { inner[name] = val;}
-
-private:
- mutable std::map<std::string, bool> inner;
-
-
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
-/* VTable implementation */
- PyObject *swig_get_method(size_t method_index, const char *method_name) const {
- PyObject *method = vtable[method_index];
- if (!method) {
- swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name);
- method = PyObject_GetAttr(swig_get_self(), name);
- if (method == NULL) {
- std::string msg = "Method in class ProxyAudioProducerCallback doesn't exist, undefined ";
- msg += method_name;
- Swig::DirectorMethodException::raise(msg.c_str());
- }
- vtable[method_index] = method;
- };
- return method;
- }
-private:
- mutable swig::SwigVar_PyObject vtable[4];
-#endif
-
-};
-
-
-class SwigDirector_ProxyVideoProducerCallback : public ProxyVideoProducerCallback, public Swig::Director {
-
-public:
- SwigDirector_ProxyVideoProducerCallback(PyObject *self);
- virtual ~SwigDirector_ProxyVideoProducerCallback();
- virtual int prepare(int width, int height, int fps);
- virtual int start();
- virtual int pause();
- virtual int stop();
-
-
-/* Internal Director utilities */
-public:
- bool swig_get_inner(const char* name) const {
- std::map<std::string, bool>::const_iterator iv = inner.find(name);
- return (iv != inner.end() ? iv->second : false);
- }
-
- void swig_set_inner(const char* name, bool val) const
- { inner[name] = val;}
-
-private:
- mutable std::map<std::string, bool> inner;
-
-
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
-/* VTable implementation */
- PyObject *swig_get_method(size_t method_index, const char *method_name) const {
- PyObject *method = vtable[method_index];
- if (!method) {
- swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name);
- method = PyObject_GetAttr(swig_get_self(), name);
- if (method == NULL) {
- std::string msg = "Method in class ProxyVideoProducerCallback doesn't exist, undefined ";
- msg += method_name;
- Swig::DirectorMethodException::raise(msg.c_str());
- }
- vtable[method_index] = method;
- };
- return method;
- }
-private:
- mutable swig::SwigVar_PyObject vtable[4];
-#endif
-
-};
-
-
-class SwigDirector_SipCallback : public SipCallback, public Swig::Director {
-
-public:
- SwigDirector_SipCallback(PyObject *self);
- virtual ~SwigDirector_SipCallback();
- virtual int OnDialogEvent(DialogEvent const *e);
- virtual int OnStackEvent(StackEvent const *e);
- virtual int OnInviteEvent(InviteEvent const *e);
- virtual int OnMessagingEvent(MessagingEvent const *e);
- virtual int OnOptionsEvent(OptionsEvent const *e);
- virtual int OnPublicationEvent(PublicationEvent const *e);
- virtual int OnRegistrationEvent(RegistrationEvent const *e);
- virtual int OnSubscriptionEvent(SubscriptionEvent const *e);
-
-
-/* Internal Director utilities */
-public:
- bool swig_get_inner(const char* name) const {
- std::map<std::string, bool>::const_iterator iv = inner.find(name);
- return (iv != inner.end() ? iv->second : false);
- }
-
- void swig_set_inner(const char* name, bool val) const
- { inner[name] = val;}
-
-private:
- mutable std::map<std::string, bool> inner;
-
-
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
-/* VTable implementation */
- PyObject *swig_get_method(size_t method_index, const char *method_name) const {
- PyObject *method = vtable[method_index];
- if (!method) {
- swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name);
- method = PyObject_GetAttr(swig_get_self(), name);
- if (method == NULL) {
- std::string msg = "Method in class SipCallback doesn't exist, undefined ";
- msg += method_name;
- Swig::DirectorMethodException::raise(msg.c_str());
- }
- vtable[method_index] = method;
- };
- return method;
- }
-private:
- mutable swig::SwigVar_PyObject vtable[8];
-#endif
-
-};
-
-
-class SwigDirector_XcapCallback : public XcapCallback, public Swig::Director {
-
-public:
- SwigDirector_XcapCallback(PyObject *self);
- virtual ~SwigDirector_XcapCallback();
- virtual int onEvent(XcapEvent const *e) const;
-
-
-/* Internal Director utilities */
-public:
- bool swig_get_inner(const char* name) const {
- std::map<std::string, bool>::const_iterator iv = inner.find(name);
- return (iv != inner.end() ? iv->second : false);
- }
-
- void swig_set_inner(const char* name, bool val) const
- { inner[name] = val;}
-
-private:
- mutable std::map<std::string, bool> inner;
-
-
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
-/* VTable implementation */
- PyObject *swig_get_method(size_t method_index, const char *method_name) const {
- PyObject *method = vtable[method_index];
- if (!method) {
- swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name);
- method = PyObject_GetAttr(swig_get_self(), name);
- if (method == NULL) {
- std::string msg = "Method in class XcapCallback doesn't exist, undefined ";
- msg += method_name;
- Swig::DirectorMethodException::raise(msg.c_str());
- }
- vtable[method_index] = method;
- };
- return method;
- }
-private:
- mutable swig::SwigVar_PyObject vtable[1];
-#endif
-
-};
-
-
-class SwigDirector_MsrpCallback : public MsrpCallback, public Swig::Director {
-
-public:
- SwigDirector_MsrpCallback(PyObject *self);
- virtual ~SwigDirector_MsrpCallback();
- virtual int OnEvent(MsrpEvent const *e);
-
-
-/* Internal Director utilities */
-public:
- bool swig_get_inner(const char* name) const {
- std::map<std::string, bool>::const_iterator iv = inner.find(name);
- return (iv != inner.end() ? iv->second : false);
- }
-
- void swig_set_inner(const char* name, bool val) const
- { inner[name] = val;}
-
-private:
- mutable std::map<std::string, bool> inner;
-
-
-#if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
-/* VTable implementation */
- PyObject *swig_get_method(size_t method_index, const char *method_name) const {
- PyObject *method = vtable[method_index];
- if (!method) {
- swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name);
- method = PyObject_GetAttr(swig_get_self(), name);
- if (method == NULL) {
- std::string msg = "Method in class MsrpCallback doesn't exist, undefined ";
- msg += method_name;
- Swig::DirectorMethodException::raise(msg.c_str());
- }
- vtable[method_index] = method;
- };
- return method;
- }
-private:
- mutable swig::SwigVar_PyObject vtable[1];
-#endif
-
-};
-
-
-#endif
diff --git a/branches/1.0/bindings/ruby/ruby.i b/branches/1.0/bindings/ruby/ruby.i
deleted file mode 100644
index 488c846..0000000
--- a/branches/1.0/bindings/ruby/ruby.i
+++ /dev/null
@@ -1,7 +0,0 @@
-/* File : ruby.i */
-
-/* http://www.swig.org/Doc1.3/Library.html#Library_carrays
-* 8.3.2 Passing binary data */
-%apply (char *STRING, int LENGTH) { (const void* buffer, int len) };
-
-%include ../_common/tinyWRAP.i
diff --git a/branches/1.0/bindings/ruby/tinyWRAP_wrap.cxx b/branches/1.0/bindings/ruby/tinyWRAP_wrap.cxx
deleted file mode 100644
index 251c638..0000000
--- a/branches/1.0/bindings/ruby/tinyWRAP_wrap.cxx
+++ /dev/null
@@ -1,4293 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.40
- *
- * This file is not intended to be easily readable and contains a number of
- * coding conventions designed to improve portability and efficiency. Do not make
- * changes to this file unless you know what you are doing--modify the SWIG
- * interface file instead.
- * ----------------------------------------------------------------------------- */
-
-#define SWIGRUBY
-#define SWIG_DIRECTORS
-
-
-#ifdef __cplusplus
-/* SwigValueWrapper is described in swig.swg */
-template<typename T> class SwigValueWrapper {
- struct SwigMovePointer {
- T *ptr;
- SwigMovePointer(T *p) : ptr(p) { }
- ~SwigMovePointer() { delete ptr; }
- SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
- } pointer;
- SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
- SwigValueWrapper(const SwigValueWrapper<T>& rhs);
-public:
- SwigValueWrapper() : pointer(0) { }
- SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
- operator T&() const { return *pointer.ptr; }
- T *operator&() { return pointer.ptr; }
-};
-
-template <typename T> T SwigValueInit() {
- return T();
-}
-#endif
-
-/* -----------------------------------------------------------------------------
- * This section contains generic SWIG labels for method/variable
- * declarations/attributes, and other compiler dependent labels.
- * ----------------------------------------------------------------------------- */
-
-/* template workaround for compilers that cannot correctly implement the C++ standard */
-#ifndef SWIGTEMPLATEDISAMBIGUATOR
-# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
-# define SWIGTEMPLATEDISAMBIGUATOR template
-# elif defined(__HP_aCC)
-/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
-/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
-# define SWIGTEMPLATEDISAMBIGUATOR template
-# else
-# define SWIGTEMPLATEDISAMBIGUATOR
-# endif
-#endif
-
-/* inline attribute */
-#ifndef SWIGINLINE
-# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
-# define SWIGINLINE inline
-# else
-# define SWIGINLINE
-# endif
-#endif
-
-/* attribute recognised by some compilers to avoid 'unused' warnings */
-#ifndef SWIGUNUSED
-# if defined(__GNUC__)
-# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
-# define SWIGUNUSED __attribute__ ((__unused__))
-# else
-# define SWIGUNUSED
-# endif
-# elif defined(__ICC)
-# define SWIGUNUSED __attribute__ ((__unused__))
-# else
-# define SWIGUNUSED
-# endif
-#endif
-
-#ifndef SWIG_MSC_UNSUPPRESS_4505
-# if defined(_MSC_VER)
-# pragma warning(disable : 4505) /* unreferenced local function has been removed */
-# endif
-#endif
-
-#ifndef SWIGUNUSEDPARM
-# ifdef __cplusplus
-# define SWIGUNUSEDPARM(p)
-# else
-# define SWIGUNUSEDPARM(p) p SWIGUNUSED
-# endif
-#endif
-
-/* internal SWIG method */
-#ifndef SWIGINTERN
-# define SWIGINTERN static SWIGUNUSED
-#endif
-
-/* internal inline SWIG method */
-#ifndef SWIGINTERNINLINE
-# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
-#endif
-
-/* exporting methods */
-#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
-# ifndef GCC_HASCLASSVISIBILITY
-# define GCC_HASCLASSVISIBILITY
-# endif
-#endif
-
-#ifndef SWIGEXPORT
-# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
-# if defined(STATIC_LINKED)
-# define SWIGEXPORT
-# else
-# define SWIGEXPORT __declspec(dllexport)
-# endif
-# else
-# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
-# define SWIGEXPORT __attribute__ ((visibility("default")))
-# else
-# define SWIGEXPORT
-# endif
-# endif
-#endif
-
-/* calling conventions for Windows */
-#ifndef SWIGSTDCALL
-# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
-# define SWIGSTDCALL __stdcall
-# else
-# define SWIGSTDCALL
-# endif
-#endif
-
-/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
-#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
-# define _CRT_SECURE_NO_DEPRECATE
-#endif
-
-/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
-#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
-# define _SCL_SECURE_NO_DEPRECATE
-#endif
-
-
-/* -----------------------------------------------------------------------------
- * This section contains generic SWIG labels for method/variable
- * declarations/attributes, and other compiler dependent labels.
- * ----------------------------------------------------------------------------- */
-
-/* template workaround for compilers that cannot correctly implement the C++ standard */
-#ifndef SWIGTEMPLATEDISAMBIGUATOR
-# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
-# define SWIGTEMPLATEDISAMBIGUATOR template
-# elif defined(__HP_aCC)
-/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
-/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
-# define SWIGTEMPLATEDISAMBIGUATOR template
-# else
-# define SWIGTEMPLATEDISAMBIGUATOR
-# endif
-#endif
-
-/* inline attribute */
-#ifndef SWIGINLINE
-# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
-# define SWIGINLINE inline
-# else
-# define SWIGINLINE
-# endif
-#endif
-
-/* attribute recognised by some compilers to avoid 'unused' warnings */
-#ifndef SWIGUNUSED
-# if defined(__GNUC__)
-# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
-# define SWIGUNUSED __attribute__ ((__unused__))
-# else
-# define SWIGUNUSED
-# endif
-# elif defined(__ICC)
-# define SWIGUNUSED __attribute__ ((__unused__))
-# else
-# define SWIGUNUSED
-# endif
-#endif
-
-#ifndef SWIG_MSC_UNSUPPRESS_4505
-# if defined(_MSC_VER)
-# pragma warning(disable : 4505) /* unreferenced local function has been removed */
-# endif
-#endif
-
-#ifndef SWIGUNUSEDPARM
-# ifdef __cplusplus
-# define SWIGUNUSEDPARM(p)
-# else
-# define SWIGUNUSEDPARM(p) p SWIGUNUSED
-# endif
-#endif
-
-/* internal SWIG method */
-#ifndef SWIGINTERN
-# define SWIGINTERN static SWIGUNUSED
-#endif
-
-/* internal inline SWIG method */
-#ifndef SWIGINTERNINLINE
-# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
-#endif
-
-/* exporting methods */
-#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
-# ifndef GCC_HASCLASSVISIBILITY
-# define GCC_HASCLASSVISIBILITY
-# endif
-#endif
-
-#ifndef SWIGEXPORT
-# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
-# if defined(STATIC_LINKED)
-# define SWIGEXPORT
-# else
-# define SWIGEXPORT __declspec(dllexport)
-# endif
-# else
-# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
-# define SWIGEXPORT __attribute__ ((visibility("default")))
-# else
-# define SWIGEXPORT
-# endif
-# endif
-#endif
-
-/* calling conventions for Windows */
-#ifndef SWIGSTDCALL
-# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
-# define SWIGSTDCALL __stdcall
-# else
-# define SWIGSTDCALL
-# endif
-#endif
-
-/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
-#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
-# define _CRT_SECURE_NO_DEPRECATE
-#endif
-
-/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
-#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
-# define _SCL_SECURE_NO_DEPRECATE
-#endif
-
-
-/* -----------------------------------------------------------------------------
- * swigrun.swg
- *
- * This file contains generic C API SWIG runtime support for pointer
- * type checking.
- * ----------------------------------------------------------------------------- */
-
-/* This should only be incremented when either the layout of swig_type_info changes,
- or for whatever reason, the runtime changes incompatibly */
-#define SWIG_RUNTIME_VERSION "4"
-
-/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
-#ifdef SWIG_TYPE_TABLE
-# define SWIG_QUOTE_STRING(x) #x
-# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
-# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
-#else
-# define SWIG_TYPE_TABLE_NAME
-#endif
-
-/*
- You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
- creating a static or dynamic library from the SWIG runtime code.
- In 99.9% of the cases, SWIG just needs to declare them as 'static'.
-
- But only do this if strictly necessary, ie, if you have problems
- with your compiler or suchlike.
-*/
-
-#ifndef SWIGRUNTIME
-# define SWIGRUNTIME SWIGINTERN
-#endif
-
-#ifndef SWIGRUNTIMEINLINE
-# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
-#endif
-
-/* Generic buffer size */
-#ifndef SWIG_BUFFER_SIZE
-# define SWIG_BUFFER_SIZE 1024
-#endif
-
-/* Flags for pointer conversions */
-#define SWIG_POINTER_DISOWN 0x1
-#define SWIG_CAST_NEW_MEMORY 0x2
-
-/* Flags for new pointer objects */
-#define SWIG_POINTER_OWN 0x1
-
-
-/*
- Flags/methods for returning states.
-
- The SWIG conversion methods, as ConvertPtr, return and integer
- that tells if the conversion was successful or not. And if not,
- an error code can be returned (see swigerrors.swg for the codes).
-
- Use the following macros/flags to set or process the returning
- states.
-
- In old versions of SWIG, code such as the following was usually written:
-
- if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
- // success code
- } else {
- //fail code
- }
-
- Now you can be more explicit:
-
- int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
- if (SWIG_IsOK(res)) {
- // success code
- } else {
- // fail code
- }
-
- which is the same really, but now you can also do
-
- Type *ptr;
- int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
- if (SWIG_IsOK(res)) {
- // success code
- if (SWIG_IsNewObj(res) {
- ...
- delete *ptr;
- } else {
- ...
- }
- } else {
- // fail code
- }
-
- I.e., now SWIG_ConvertPtr can return new objects and you can
- identify the case and take care of the deallocation. Of course that
- also requires SWIG_ConvertPtr to return new result values, such as
-
- int SWIG_ConvertPtr(obj, ptr,...) {
- if (<obj is ok>) {
- if (<need new object>) {
- *ptr = <ptr to new allocated object>;
- return SWIG_NEWOBJ;
- } else {
- *ptr = <ptr to old object>;
- return SWIG_OLDOBJ;
- }
- } else {
- return SWIG_BADOBJ;
- }
- }
-
- Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
- more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
- SWIG errors code.
-
- Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
- allows to return the 'cast rank', for example, if you have this
-
- int food(double)
- int fooi(int);
-
- and you call
-
- food(1) // cast rank '1' (1 -> 1.0)
- fooi(1) // cast rank '0'
-
- just use the SWIG_AddCast()/SWIG_CheckState()
-*/
-
-#define SWIG_OK (0)
-#define SWIG_ERROR (-1)
-#define SWIG_IsOK(r) (r >= 0)
-#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
-
-/* The CastRankLimit says how many bits are used for the cast rank */
-#define SWIG_CASTRANKLIMIT (1 << 8)
-/* The NewMask denotes the object was created (using new/malloc) */
-#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
-/* The TmpMask is for in/out typemaps that use temporal objects */
-#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
-/* Simple returning values */
-#define SWIG_BADOBJ (SWIG_ERROR)
-#define SWIG_OLDOBJ (SWIG_OK)
-#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
-#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
-/* Check, add and del mask methods */
-#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
-#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
-#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
-#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
-#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
-#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
-
-/* Cast-Rank Mode */
-#if defined(SWIG_CASTRANK_MODE)
-# ifndef SWIG_TypeRank
-# define SWIG_TypeRank unsigned long
-# endif
-# ifndef SWIG_MAXCASTRANK /* Default cast allowed */
-# define SWIG_MAXCASTRANK (2)
-# endif
-# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
-# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
-SWIGINTERNINLINE int SWIG_AddCast(int r) {
- return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
-}
-SWIGINTERNINLINE int SWIG_CheckState(int r) {
- return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
-}
-#else /* no cast-rank mode */
-# define SWIG_AddCast
-# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
-#endif
-
-
-#include <string.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-typedef void *(*swig_converter_func)(void *, int *);
-typedef struct swig_type_info *(*swig_dycast_func)(void **);
-
-/* Structure to store information on one type */
-typedef struct swig_type_info {
- const char *name; /* mangled name of this type */
- const char *str; /* human readable name of this type */
- swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
- struct swig_cast_info *cast; /* linked list of types that can cast into this type */
- void *clientdata; /* language specific type data */
- int owndata; /* flag if the structure owns the clientdata */
-} swig_type_info;
-
-/* Structure to store a type and conversion function used for casting */
-typedef struct swig_cast_info {
- swig_type_info *type; /* pointer to type that is equivalent to this type */
- swig_converter_func converter; /* function to cast the void pointers */
- struct swig_cast_info *next; /* pointer to next cast in linked list */
- struct swig_cast_info *prev; /* pointer to the previous cast */
-} swig_cast_info;
-
-/* Structure used to store module information
- * Each module generates one structure like this, and the runtime collects
- * all of these structures and stores them in a circularly linked list.*/
-typedef struct swig_module_info {
- swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
- size_t size; /* Number of types in this module */
- struct swig_module_info *next; /* Pointer to next element in circularly linked list */
- swig_type_info **type_initial; /* Array of initially generated type structures */
- swig_cast_info **cast_initial; /* Array of initially generated casting structures */
- void *clientdata; /* Language specific module data */
-} swig_module_info;
-
-/*
- Compare two type names skipping the space characters, therefore
- "char*" == "char *" and "Class<int>" == "Class<int >", etc.
-
- Return 0 when the two name types are equivalent, as in
- strncmp, but skipping ' '.
-*/
-SWIGRUNTIME int
-SWIG_TypeNameComp(const char *f1, const char *l1,
- const char *f2, const char *l2) {
- for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
- while ((*f1 == ' ') && (f1 != l1)) ++f1;
- while ((*f2 == ' ') && (f2 != l2)) ++f2;
- if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
- }
- return (int)((l1 - f1) - (l2 - f2));
-}
-
-/*
- Check type equivalence in a name list like <name1>|<name2>|...
- Return 0 if not equal, 1 if equal
-*/
-SWIGRUNTIME int
-SWIG_TypeEquiv(const char *nb, const char *tb) {
- int equiv = 0;
- const char* te = tb + strlen(tb);
- const char* ne = nb;
- while (!equiv && *ne) {
- for (nb = ne; *ne; ++ne) {
- if (*ne == '|') break;
- }
- equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
- if (*ne) ++ne;
- }
- return equiv;
-}
-
-/*
- Check type equivalence in a name list like <name1>|<name2>|...
- Return 0 if equal, -1 if nb < tb, 1 if nb > tb
-*/
-SWIGRUNTIME int
-SWIG_TypeCompare(const char *nb, const char *tb) {
- int equiv = 0;
- const char* te = tb + strlen(tb);
- const char* ne = nb;
- while (!equiv && *ne) {
- for (nb = ne; *ne; ++ne) {
- if (*ne == '|') break;
- }
- equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
- if (*ne) ++ne;
- }
- return equiv;
-}
-
-
-/*
- Check the typename
-*/
-SWIGRUNTIME swig_cast_info *
-SWIG_TypeCheck(const char *c, swig_type_info *ty) {
- if (ty) {
- swig_cast_info *iter = ty->cast;
- while (iter) {
- if (strcmp(iter->type->name, c) == 0) {
- if (iter == ty->cast)
- return iter;
- /* Move iter to the top of the linked list */
- iter->prev->next = iter->next;
- if (iter->next)
- iter->next->prev = iter->prev;
- iter->next = ty->cast;
- iter->prev = 0;
- if (ty->cast) ty->cast->prev = iter;
- ty->cast = iter;
- return iter;
- }
- iter = iter->next;
- }
- }
- return 0;
-}
-
-/*
- Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
-*/
-SWIGRUNTIME swig_cast_info *
-SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty) {
- if (ty) {
- swig_cast_info *iter = ty->cast;
- while (iter) {
- if (iter->type == from) {
- if (iter == ty->cast)
- return iter;
- /* Move iter to the top of the linked list */
- iter->prev->next = iter->next;
- if (iter->next)
- iter->next->prev = iter->prev;
- iter->next = ty->cast;
- iter->prev = 0;
- if (ty->cast) ty->cast->prev = iter;
- ty->cast = iter;
- return iter;
- }
- iter = iter->next;
- }
- }
- return 0;
-}
-
-/*
- Cast a pointer up an inheritance hierarchy
-*/
-SWIGRUNTIMEINLINE void *
-SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
- return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
-}
-
-/*
- Dynamic pointer casting. Down an inheritance hierarchy
-*/
-SWIGRUNTIME swig_type_info *
-SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
- swig_type_info *lastty = ty;
- if (!ty || !ty->dcast) return ty;
- while (ty && (ty->dcast)) {
- ty = (*ty->dcast)(ptr);
- if (ty) lastty = ty;
- }
- return lastty;
-}
-
-/*
- Return the name associated with this type
-*/
-SWIGRUNTIMEINLINE const char *
-SWIG_TypeName(const swig_type_info *ty) {
- return ty->name;
-}
-
-/*
- Return the pretty name associated with this type,
- that is an unmangled type name in a form presentable to the user.
-*/
-SWIGRUNTIME const char *
-SWIG_TypePrettyName(const swig_type_info *type) {
- /* The "str" field contains the equivalent pretty names of the
- type, separated by vertical-bar characters. We choose
- to print the last name, as it is often (?) the most
- specific. */
- if (!type) return NULL;
- if (type->str != NULL) {
- const char *last_name = type->str;
- const char *s;
- for (s = type->str; *s; s++)
- if (*s == '|') last_name = s+1;
- return last_name;
- }
- else
- return type->name;
-}
-
-/*
- Set the clientdata field for a type
-*/
-SWIGRUNTIME void
-SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
- swig_cast_info *cast = ti->cast;
- /* if (ti->clientdata == clientdata) return; */
- ti->clientdata = clientdata;
-
- while (cast) {
- if (!cast->converter) {
- swig_type_info *tc = cast->type;
- if (!tc->clientdata) {
- SWIG_TypeClientData(tc, clientdata);
- }
- }
- cast = cast->next;
- }
-}
-SWIGRUNTIME void
-SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
- SWIG_TypeClientData(ti, clientdata);
- ti->owndata = 1;
-}
-
-/*
- Search for a swig_type_info structure only by mangled name
- Search is a O(log #types)
-
- We start searching at module start, and finish searching when start == end.
- Note: if start == end at the beginning of the function, we go all the way around
- the circular list.
-*/
-SWIGRUNTIME swig_type_info *
-SWIG_MangledTypeQueryModule(swig_module_info *start,
- swig_module_info *end,
- const char *name) {
- swig_module_info *iter = start;
- do {
- if (iter->size) {
- register size_t l = 0;
- register size_t r = iter->size - 1;
- do {
- /* since l+r >= 0, we can (>> 1) instead (/ 2) */
- register size_t i = (l + r) >> 1;
- const char *iname = iter->types[i]->name;
- if (iname) {
- register int compare = strcmp(name, iname);
- if (compare == 0) {
- return iter->types[i];
- } else if (compare < 0) {
- if (i) {
- r = i - 1;
- } else {
- break;
- }
- } else if (compare > 0) {
- l = i + 1;
- }
- } else {
- break; /* should never happen */
- }
- } while (l <= r);
- }
- iter = iter->next;
- } while (iter != end);
- return 0;
-}
-
-/*
- Search for a swig_type_info structure for either a mangled name or a human readable name.
- It first searches the mangled names of the types, which is a O(log #types)
- If a type is not found it then searches the human readable names, which is O(#types).
-
- We start searching at module start, and finish searching when start == end.
- Note: if start == end at the beginning of the function, we go all the way around
- the circular list.
-*/
-SWIGRUNTIME swig_type_info *
-SWIG_TypeQueryModule(swig_module_info *start,
- swig_module_info *end,
- const char *name) {
- /* STEP 1: Search the name field using binary search */
- swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
- if (ret) {
- return ret;
- } else {
- /* STEP 2: If the type hasn't been found, do a complete search
- of the str field (the human readable name) */
- swig_module_info *iter = start;
- do {
- register size_t i = 0;
- for (; i < iter->size; ++i) {
- if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
- return iter->types[i];
- }
- iter = iter->next;
- } while (iter != end);
- }
-
- /* neither found a match */
- return 0;
-}
-
-/*
- Pack binary data into a string
-*/
-SWIGRUNTIME char *
-SWIG_PackData(char *c, void *ptr, size_t sz) {
- static const char hex[17] = "0123456789abcdef";
- register const unsigned char *u = (unsigned char *) ptr;
- register const unsigned char *eu = u + sz;
- for (; u != eu; ++u) {
- register unsigned char uu = *u;
- *(c++) = hex[(uu & 0xf0) >> 4];
- *(c++) = hex[uu & 0xf];
- }
- return c;
-}
-
-/*
- Unpack binary data from a string
-*/
-SWIGRUNTIME const char *
-SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
- register unsigned char *u = (unsigned char *) ptr;
- register const unsigned char *eu = u + sz;
- for (; u != eu; ++u) {
- register char d = *(c++);
- register unsigned char uu;
- if ((d >= '0') && (d <= '9'))
- uu = ((d - '0') << 4);
- else if ((d >= 'a') && (d <= 'f'))
- uu = ((d - ('a'-10)) << 4);
- else
- return (char *) 0;
- d = *(c++);
- if ((d >= '0') && (d <= '9'))
- uu |= (d - '0');
- else if ((d >= 'a') && (d <= 'f'))
- uu |= (d - ('a'-10));
- else
- return (char *) 0;
- *u = uu;
- }
- return c;
-}
-
-/*
- Pack 'void *' into a string buffer.
-*/
-SWIGRUNTIME char *
-SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
- char *r = buff;
- if ((2*sizeof(void *) + 2) > bsz) return 0;
- *(r++) = '_';
- r = SWIG_PackData(r,&ptr,sizeof(void *));
- if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
- strcpy(r,name);
- return buff;
-}
-
-SWIGRUNTIME const char *
-SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
- if (*c != '_') {
- if (strcmp(c,"NULL") == 0) {
- *ptr = (void *) 0;
- return name;
- } else {
- return 0;
- }
- }
- return SWIG_UnpackData(++c,ptr,sizeof(void *));
-}
-
-SWIGRUNTIME char *
-SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
- char *r = buff;
- size_t lname = (name ? strlen(name) : 0);
- if ((2*sz + 2 + lname) > bsz) return 0;
- *(r++) = '_';
- r = SWIG_PackData(r,ptr,sz);
- if (lname) {
- strncpy(r,name,lname+1);
- } else {
- *r = 0;
- }
- return buff;
-}
-
-SWIGRUNTIME const char *
-SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
- if (*c != '_') {
- if (strcmp(c,"NULL") == 0) {
- memset(ptr,0,sz);
- return name;
- } else {
- return 0;
- }
- }
- return SWIG_UnpackData(++c,ptr,sz);
-}
-
-#ifdef __cplusplus
-}
-#endif
-
-/* Errors in SWIG */
-#define SWIG_UnknownError -1
-#define SWIG_IOError -2
-#define SWIG_RuntimeError -3
-#define SWIG_IndexError -4
-#define SWIG_TypeError -5
-#define SWIG_DivisionByZero -6
-#define SWIG_OverflowError -7
-#define SWIG_SyntaxError -8
-#define SWIG_ValueError -9
-#define SWIG_SystemError -10
-#define SWIG_AttributeError -11
-#define SWIG_MemoryError -12
-#define SWIG_NullReferenceError -13
-
-
-
-#include <ruby.h>
-
-/* Remove global macros defined in Ruby's win32.h */
-#ifdef write
-# undef write
-#endif
-#ifdef read
-# undef read
-#endif
-#ifdef bind
-# undef bind
-#endif
-#ifdef close
-# undef close
-#endif
-#ifdef connect
-# undef connect
-#endif
-
-
-/* Ruby 1.7 defines NUM2LL(), LL2NUM() and ULL2NUM() macros */
-#ifndef NUM2LL
-#define NUM2LL(x) NUM2LONG((x))
-#endif
-#ifndef LL2NUM
-#define LL2NUM(x) INT2NUM((long) (x))
-#endif
-#ifndef ULL2NUM
-#define ULL2NUM(x) UINT2NUM((unsigned long) (x))
-#endif
-
-/* Ruby 1.7 doesn't (yet) define NUM2ULL() */
-#ifndef NUM2ULL
-#ifdef HAVE_LONG_LONG
-#define NUM2ULL(x) rb_num2ull((x))
-#else
-#define NUM2ULL(x) NUM2ULONG(x)
-#endif
-#endif
-
-/* RSTRING_LEN, etc are new in Ruby 1.9, but ->ptr and ->len no longer work */
-/* Define these for older versions so we can just write code the new way */
-#ifndef RSTRING_LEN
-# define RSTRING_LEN(x) RSTRING(x)->len
-#endif
-#ifndef RSTRING_PTR
-# define RSTRING_PTR(x) RSTRING(x)->ptr
-#endif
-#ifndef RSTRING_END
-# define RSTRING_END(x) (RSTRING_PTR(x) + RSTRING_LEN(x))
-#endif
-#ifndef RARRAY_LEN
-# define RARRAY_LEN(x) RARRAY(x)->len
-#endif
-#ifndef RARRAY_PTR
-# define RARRAY_PTR(x) RARRAY(x)->ptr
-#endif
-#ifndef RFLOAT_VALUE
-# define RFLOAT_VALUE(x) RFLOAT(x)->value
-#endif
-#ifndef DOUBLE2NUM
-# define DOUBLE2NUM(x) rb_float_new(x)
-#endif
-#ifndef RHASH_TBL
-# define RHASH_TBL(x) (RHASH(x)->tbl)
-#endif
-#ifndef RHASH_ITER_LEV
-# define RHASH_ITER_LEV(x) (RHASH(x)->iter_lev)
-#endif
-#ifndef RHASH_IFNONE
-# define RHASH_IFNONE(x) (RHASH(x)->ifnone)
-#endif
-#ifndef RHASH_SIZE
-# define RHASH_SIZE(x) (RHASH(x)->tbl->num_entries)
-#endif
-#ifndef RHASH_EMPTY_P
-# define RHASH_EMPTY_P(x) (RHASH_SIZE(x) == 0)
-#endif
-#ifndef RSTRUCT_LEN
-# define RSTRUCT_LEN(x) RSTRUCT(x)->len
-#endif
-#ifndef RSTRUCT_PTR
-# define RSTRUCT_PTR(x) RSTRUCT(x)->ptr
-#endif
-
-
-
-/*
- * Need to be very careful about how these macros are defined, especially
- * when compiling C++ code or C code with an ANSI C compiler.
- *
- * VALUEFUNC(f) is a macro used to typecast a C function that implements
- * a Ruby method so that it can be passed as an argument to API functions
- * like rb_define_method() and rb_define_singleton_method().
- *
- * VOIDFUNC(f) is a macro used to typecast a C function that implements
- * either the "mark" or "free" stuff for a Ruby Data object, so that it
- * can be passed as an argument to API functions like Data_Wrap_Struct()
- * and Data_Make_Struct().
- */
-
-#ifdef __cplusplus
-# ifndef RUBY_METHOD_FUNC /* These definitions should work for Ruby 1.4.6 */
-# define PROTECTFUNC(f) ((VALUE (*)()) f)
-# define VALUEFUNC(f) ((VALUE (*)()) f)
-# define VOIDFUNC(f) ((void (*)()) f)
-# else
-# ifndef ANYARGS /* These definitions should work for Ruby 1.6 */
-# define PROTECTFUNC(f) ((VALUE (*)()) f)
-# define VALUEFUNC(f) ((VALUE (*)()) f)
-# define VOIDFUNC(f) ((RUBY_DATA_FUNC) f)
-# else /* These definitions should work for Ruby 1.7+ */
-# define PROTECTFUNC(f) ((VALUE (*)(VALUE)) f)
-# define VALUEFUNC(f) ((VALUE (*)(ANYARGS)) f)
-# define VOIDFUNC(f) ((RUBY_DATA_FUNC) f)
-# endif
-# endif
-#else
-# define VALUEFUNC(f) (f)
-# define VOIDFUNC(f) (f)
-#endif
-
-/* Don't use for expressions have side effect */
-#ifndef RB_STRING_VALUE
-#define RB_STRING_VALUE(s) (TYPE(s) == T_STRING ? (s) : (*(volatile VALUE *)&(s) = rb_str_to_str(s)))
-#endif
-#ifndef StringValue
-#define StringValue(s) RB_STRING_VALUE(s)
-#endif
-#ifndef StringValuePtr
-#define StringValuePtr(s) RSTRING_PTR(RB_STRING_VALUE(s))
-#endif
-#ifndef StringValueLen
-#define StringValueLen(s) RSTRING_LEN(RB_STRING_VALUE(s))
-#endif
-#ifndef SafeStringValue
-#define SafeStringValue(v) do {\
- StringValue(v);\
- rb_check_safe_str(v);\
-} while (0)
-#endif
-
-#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
-#define rb_define_alloc_func(klass, func) rb_define_singleton_method((klass), "new", VALUEFUNC((func)), -1)
-#define rb_undef_alloc_func(klass) rb_undef_method(CLASS_OF((klass)), "new")
-#endif
-
-static VALUE _mSWIG = Qnil;
-
-/* -----------------------------------------------------------------------------
- * error manipulation
- * ----------------------------------------------------------------------------- */
-
-
-/* Define some additional error types */
-#define SWIG_ObjectPreviouslyDeletedError -100
-
-
-/* Define custom exceptions for errors that do not map to existing Ruby
- exceptions. Note this only works for C++ since a global cannot be
- initialized by a funtion in C. For C, fallback to rb_eRuntimeError.*/
-
-SWIGINTERN VALUE
-getNullReferenceError(void) {
- static int init = 0;
- static VALUE rb_eNullReferenceError ;
- if (!init) {
- init = 1;
- rb_eNullReferenceError = rb_define_class("NullReferenceError", rb_eRuntimeError);
- }
- return rb_eNullReferenceError;
-}
-
-SWIGINTERN VALUE
-getObjectPreviouslyDeletedError(void) {
- static int init = 0;
- static VALUE rb_eObjectPreviouslyDeleted ;
- if (!init) {
- init = 1;
- rb_eObjectPreviouslyDeleted = rb_define_class("ObjectPreviouslyDeleted", rb_eRuntimeError);
- }
- return rb_eObjectPreviouslyDeleted;
-}
-
-
-SWIGINTERN VALUE
-SWIG_Ruby_ErrorType(int SWIG_code) {
- VALUE type;
- switch (SWIG_code) {
- case SWIG_MemoryError:
- type = rb_eNoMemError;
- break;
- case SWIG_IOError:
- type = rb_eIOError;
- break;
- case SWIG_RuntimeError:
- type = rb_eRuntimeError;
- break;
- case SWIG_IndexError:
- type = rb_eIndexError;
- break;
- case SWIG_TypeError:
- type = rb_eTypeError;
- break;
- case SWIG_DivisionByZero:
- type = rb_eZeroDivError;
- break;
- case SWIG_OverflowError:
- type = rb_eRangeError;
- break;
- case SWIG_SyntaxError:
- type = rb_eSyntaxError;
- break;
- case SWIG_ValueError:
- type = rb_eArgError;
- break;
- case SWIG_SystemError:
- type = rb_eFatal;
- break;
- case SWIG_AttributeError:
- type = rb_eRuntimeError;
- break;
- case SWIG_NullReferenceError:
- type = getNullReferenceError();
- break;
- case SWIG_ObjectPreviouslyDeletedError:
- type = getObjectPreviouslyDeletedError();
- break;
- case SWIG_UnknownError:
- type = rb_eRuntimeError;
- break;
- default:
- type = rb_eRuntimeError;
- }
- return type;
-}
-
-
-/* This function is called when a user inputs a wrong argument to
- a method.
- */
-SWIGINTERN
-const char* Ruby_Format_TypeError( const char* msg,
- const char* type,
- const char* name,
- const int argn,
- VALUE input )
-{
- char buf[128];
- VALUE str;
- VALUE asStr;
- if ( msg && *msg )
- {
- str = rb_str_new2(msg);
- }
- else
- {
- str = rb_str_new(NULL, 0);
- }
-
- str = rb_str_cat2( str, "Expected argument " );
- sprintf( buf, "%d of type ", argn-1 );
- str = rb_str_cat2( str, buf );
- str = rb_str_cat2( str, type );
- str = rb_str_cat2( str, ", but got " );
- str = rb_str_cat2( str, rb_obj_classname(input) );
- str = rb_str_cat2( str, " " );
- asStr = rb_inspect(input);
- if ( RSTRING_LEN(asStr) > 30 )
- {
- str = rb_str_cat( str, StringValuePtr(asStr), 30 );
- str = rb_str_cat2( str, "..." );
- }
- else
- {
- str = rb_str_append( str, asStr );
- }
-
- if ( name )
- {
- str = rb_str_cat2( str, "\n\tin SWIG method '" );
- str = rb_str_cat2( str, name );
- str = rb_str_cat2( str, "'" );
- }
-
- return StringValuePtr( str );
-}
-
-/* This function is called when an overloaded method fails */
-SWIGINTERN
-void Ruby_Format_OverloadedError(
- const int argc,
- const int maxargs,
- const char* method,
- const char* prototypes
- )
-{
- const char* msg = "Wrong # of arguments";
- if ( argc <= maxargs ) msg = "Wrong arguments";
- rb_raise(rb_eArgError,"%s for overloaded method '%s'.\n"
- "Possible C/C++ prototypes are:\n%s",
- msg, method, prototypes);
-}
-
-/* -----------------------------------------------------------------------------
- * See the LICENSE file for information on copyright, usage and redistribution
- * of SWIG, and the README file for authors - http://www.swig.org/release.html.
- *
- * rubytracking.swg
- *
- * This file contains support for tracking mappings from
- * Ruby objects to C++ objects. This functionality is needed
- * to implement mark functions for Ruby's mark and sweep
- * garbage collector.
- * ----------------------------------------------------------------------------- */
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Ruby 1.8 actually assumes the first case. */
-#if SIZEOF_VOIDP == SIZEOF_LONG
-# define SWIG2NUM(v) LONG2NUM((unsigned long)v)
-# define NUM2SWIG(x) (unsigned long)NUM2LONG(x)
-#elif SIZEOF_VOIDP == SIZEOF_LONG_LONG
-# define SWIG2NUM(v) LL2NUM((unsigned long long)v)
-# define NUM2SWIG(x) (unsigned long long)NUM2LL(x)
-#else
-# error sizeof(void*) is not the same as long or long long
-#endif
-
-
-/* Global Ruby hash table to store Trackings from C/C++
- structs to Ruby Objects.
-*/
-static VALUE swig_ruby_trackings = Qnil;
-
-/* Global variable that stores a reference to the ruby
- hash table delete function. */
-static ID swig_ruby_hash_delete;
-
-/* Setup a Ruby hash table to store Trackings */
-SWIGRUNTIME void SWIG_RubyInitializeTrackings(void) {
- /* Create a ruby hash table to store Trackings from C++
- objects to Ruby objects. */
-
- /* Try to see if some other .so has already created a
- tracking hash table, which we keep hidden in an instance var
- in the SWIG module.
- This is done to allow multiple DSOs to share the same
- tracking table.
- */
- ID trackings_id = rb_intern( "@__trackings__" );
- VALUE verbose = rb_gv_get("VERBOSE");
- rb_gv_set("VERBOSE", Qfalse);
- swig_ruby_trackings = rb_ivar_get( _mSWIG, trackings_id );
- rb_gv_set("VERBOSE", verbose);
-
- /* No, it hasn't. Create one ourselves */
- if ( swig_ruby_trackings == Qnil )
- {
- swig_ruby_trackings = rb_hash_new();
- rb_ivar_set( _mSWIG, trackings_id, swig_ruby_trackings );
- }
-
- /* Now store a reference to the hash table delete function
- so that we only have to look it up once.*/
- swig_ruby_hash_delete = rb_intern("delete");
-}
-
-/* Get a Ruby number to reference a pointer */
-SWIGRUNTIME VALUE SWIG_RubyPtrToReference(void* ptr) {
- /* We cast the pointer to an unsigned long
- and then store a reference to it using
- a Ruby number object. */
-
- /* Convert the pointer to a Ruby number */
- return SWIG2NUM(ptr);
-}
-
-/* Get a Ruby number to reference an object */
-SWIGRUNTIME VALUE SWIG_RubyObjectToReference(VALUE object) {
- /* We cast the object to an unsigned long
- and then store a reference to it using
- a Ruby number object. */
-
- /* Convert the Object to a Ruby number */
- return SWIG2NUM(object);
-}
-
-/* Get a Ruby object from a previously stored reference */
-SWIGRUNTIME VALUE SWIG_RubyReferenceToObject(VALUE reference) {
- /* The provided Ruby number object is a reference
- to the Ruby object we want.*/
-
- /* Convert the Ruby number to a Ruby object */
- return NUM2SWIG(reference);
-}
-
-/* Add a Tracking from a C/C++ struct to a Ruby object */
-SWIGRUNTIME void SWIG_RubyAddTracking(void* ptr, VALUE object) {
- /* In a Ruby hash table we store the pointer and
- the associated Ruby object. The trick here is
- that we cannot store the Ruby object directly - if
- we do then it cannot be garbage collected. So
- instead we typecast it as a unsigned long and
- convert it to a Ruby number object.*/
-
- /* Get a reference to the pointer as a Ruby number */
- VALUE key = SWIG_RubyPtrToReference(ptr);
-
- /* Get a reference to the Ruby object as a Ruby number */
- VALUE value = SWIG_RubyObjectToReference(object);
-
- /* Store the mapping to the global hash table. */
- rb_hash_aset(swig_ruby_trackings, key, value);
-}
-
-/* Get the Ruby object that owns the specified C/C++ struct */
-SWIGRUNTIME VALUE SWIG_RubyInstanceFor(void* ptr) {
- /* Get a reference to the pointer as a Ruby number */
- VALUE key = SWIG_RubyPtrToReference(ptr);
-
- /* Now lookup the value stored in the global hash table */
- VALUE value = rb_hash_aref(swig_ruby_trackings, key);
-
- if (value == Qnil) {
- /* No object exists - return nil. */
- return Qnil;
- }
- else {
- /* Convert this value to Ruby object */
- return SWIG_RubyReferenceToObject(value);
- }
-}
-
-/* Remove a Tracking from a C/C++ struct to a Ruby object. It
- is very important to remove objects once they are destroyed
- since the same memory address may be reused later to create
- a new object. */
-SWIGRUNTIME void SWIG_RubyRemoveTracking(void* ptr) {
- /* Get a reference to the pointer as a Ruby number */
- VALUE key = SWIG_RubyPtrToReference(ptr);
-
- /* Delete the object from the hash table by calling Ruby's
- do this we need to call the Hash.delete method.*/
- rb_funcall(swig_ruby_trackings, swig_ruby_hash_delete, 1, key);
-}
-
-/* This is a helper method that unlinks a Ruby object from its
- underlying C++ object. This is needed if the lifetime of the
- Ruby object is longer than the C++ object */
-SWIGRUNTIME void SWIG_RubyUnlinkObjects(void* ptr) {
- VALUE object = SWIG_RubyInstanceFor(ptr);
-
- if (object != Qnil) {
- DATA_PTR(object) = 0;
- }
-}
-
-
-#ifdef __cplusplus
-}
-#endif
-
-/* -----------------------------------------------------------------------------
- * Ruby API portion that goes into the runtime
- * ----------------------------------------------------------------------------- */
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-SWIGINTERN VALUE
-SWIG_Ruby_AppendOutput(VALUE target, VALUE o) {
- if (NIL_P(target)) {
- target = o;
- } else {
- if (TYPE(target) != T_ARRAY) {
- VALUE o2 = target;
- target = rb_ary_new();
- rb_ary_push(target, o2);
- }
- rb_ary_push(target, o);
- }
- return target;
-}
-
-/* For ruby1.8.4 and earlier. */
-#ifndef RUBY_INIT_STACK
- RUBY_EXTERN void Init_stack(VALUE* addr);
-# define RUBY_INIT_STACK \
- VALUE variable_in_this_stack_frame; \
- Init_stack(&variable_in_this_stack_frame);
-#endif
-
-
-#ifdef __cplusplus
-}
-#endif
-
-
-/* -----------------------------------------------------------------------------
- * See the LICENSE file for information on copyright, usage and redistribution
- * of SWIG, and the README file for authors - http://www.swig.org/release.html.
- *
- * rubyrun.swg
- *
- * This file contains the runtime support for Ruby modules
- * and includes code for managing global variables and pointer
- * type checking.
- * ----------------------------------------------------------------------------- */
-
-/* For backward compatibility only */
-#define SWIG_POINTER_EXCEPTION 0
-
-/* for raw pointers */
-#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Ruby_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
-#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Ruby_ConvertPtrAndOwn(obj, pptr, type, flags, own)
-#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Ruby_NewPointerObj(ptr, type, flags)
-#define SWIG_AcquirePtr(ptr, own) SWIG_Ruby_AcquirePtr(ptr, own)
-#define swig_owntype ruby_owntype
-
-/* for raw packed data */
-#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Ruby_ConvertPacked(obj, ptr, sz, ty, flags)
-#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Ruby_NewPackedObj(ptr, sz, type)
-
-/* for class or struct pointers */
-#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
-#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
-
-/* for C or C++ function pointers */
-#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_ConvertPtr(obj, pptr, type, 0)
-#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_NewPointerObj(ptr, type, 0)
-
-/* for C++ member pointers, ie, member methods */
-#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Ruby_ConvertPacked(obj, ptr, sz, ty)
-#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Ruby_NewPackedObj(ptr, sz, type)
-
-
-/* Runtime API */
-
-#define SWIG_GetModule(clientdata) SWIG_Ruby_GetModule()
-#define SWIG_SetModule(clientdata, pointer) SWIG_Ruby_SetModule(pointer)
-
-
-/* Error manipulation */
-
-#define SWIG_ErrorType(code) SWIG_Ruby_ErrorType(code)
-#define SWIG_Error(code, msg) rb_raise(SWIG_Ruby_ErrorType(code), msg)
-#define SWIG_fail goto fail
-
-
-/* Ruby-specific SWIG API */
-
-#define SWIG_InitRuntime() SWIG_Ruby_InitRuntime()
-#define SWIG_define_class(ty) SWIG_Ruby_define_class(ty)
-#define SWIG_NewClassInstance(value, ty) SWIG_Ruby_NewClassInstance(value, ty)
-#define SWIG_MangleStr(value) SWIG_Ruby_MangleStr(value)
-#define SWIG_CheckConvert(value, ty) SWIG_Ruby_CheckConvert(value, ty)
-
-#include "assert.h"
-
-/* -----------------------------------------------------------------------------
- * pointers/data manipulation
- * ----------------------------------------------------------------------------- */
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-typedef struct {
- VALUE klass;
- VALUE mImpl;
- void (*mark)(void *);
- void (*destroy)(void *);
- int trackObjects;
-} swig_class;
-
-
-/* Global pointer used to keep some internal SWIG stuff */
-static VALUE _cSWIG_Pointer = Qnil;
-static VALUE swig_runtime_data_type_pointer = Qnil;
-
-/* Global IDs used to keep some internal SWIG stuff */
-static ID swig_arity_id = 0;
-static ID swig_call_id = 0;
-
-/*
- If your swig extension is to be run within an embedded ruby and has
- director callbacks, you should set -DRUBY_EMBEDDED during compilation.
- This will reset ruby's stack frame on each entry point from the main
- program the first time a virtual director function is invoked (in a
- non-recursive way).
- If this is not done, you run the risk of Ruby trashing the stack.
-*/
-
-#ifdef RUBY_EMBEDDED
-
-# define SWIG_INIT_STACK \
- if ( !swig_virtual_calls ) { RUBY_INIT_STACK } \
- ++swig_virtual_calls;
-# define SWIG_RELEASE_STACK --swig_virtual_calls;
-# define Ruby_DirectorTypeMismatchException(x) \
- rb_raise( rb_eTypeError, x ); return c_result;
-
- static unsigned int swig_virtual_calls = 0;
-
-#else /* normal non-embedded extension */
-
-# define SWIG_INIT_STACK
-# define SWIG_RELEASE_STACK
-# define Ruby_DirectorTypeMismatchException(x) \
- throw Swig::DirectorTypeMismatchException( x );
-
-#endif /* RUBY_EMBEDDED */
-
-
-SWIGRUNTIME VALUE
-getExceptionClass(void) {
- static int init = 0;
- static VALUE rubyExceptionClass ;
- if (!init) {
- init = 1;
- rubyExceptionClass = rb_const_get(_mSWIG, rb_intern("Exception"));
- }
- return rubyExceptionClass;
-}
-
-/* This code checks to see if the Ruby object being raised as part
- of an exception inherits from the Ruby class Exception. If so,
- the object is simply returned. If not, then a new Ruby exception
- object is created and that will be returned to Ruby.*/
-SWIGRUNTIME VALUE
-SWIG_Ruby_ExceptionType(swig_type_info *desc, VALUE obj) {
- VALUE exceptionClass = getExceptionClass();
- if (rb_obj_is_kind_of(obj, exceptionClass)) {
- return obj;
- } else {
- return rb_exc_new3(rb_eRuntimeError, rb_obj_as_string(obj));
- }
-}
-
-/* Initialize Ruby runtime support */
-SWIGRUNTIME void
-SWIG_Ruby_InitRuntime(void)
-{
- if (_mSWIG == Qnil) {
- _mSWIG = rb_define_module("SWIG");
- swig_call_id = rb_intern("call");
- swig_arity_id = rb_intern("arity");
- }
-}
-
-/* Define Ruby class for C type */
-SWIGRUNTIME void
-SWIG_Ruby_define_class(swig_type_info *type)
-{
- VALUE klass;
- char *klass_name = (char *) malloc(4 + strlen(type->name) + 1);
- sprintf(klass_name, "TYPE%s", type->name);
- if (NIL_P(_cSWIG_Pointer)) {
- _cSWIG_Pointer = rb_define_class_under(_mSWIG, "Pointer", rb_cObject);
- rb_undef_method(CLASS_OF(_cSWIG_Pointer), "new");
- }
- klass = rb_define_class_under(_mSWIG, klass_name, _cSWIG_Pointer);
- free((void *) klass_name);
-}
-
-/* Create a new pointer object */
-SWIGRUNTIME VALUE
-SWIG_Ruby_NewPointerObj(void *ptr, swig_type_info *type, int flags)
-{
- int own = flags & SWIG_POINTER_OWN;
- int track;
- char *klass_name;
- swig_class *sklass;
- VALUE klass;
- VALUE obj;
-
- if (!ptr)
- return Qnil;
-
- if (type->clientdata) {
- sklass = (swig_class *) type->clientdata;
-
- /* Are we tracking this class and have we already returned this Ruby object? */
- track = sklass->trackObjects;
- if (track) {
- obj = SWIG_RubyInstanceFor(ptr);
-
- /* Check the object's type and make sure it has the correct type.
- It might not in cases where methods do things like
- downcast methods. */
- if (obj != Qnil) {
- VALUE value = rb_iv_get(obj, "@__swigtype__");
- char* type_name = RSTRING_PTR(value);
-
- if (strcmp(type->name, type_name) == 0) {
- return obj;
- }
- }
- }
-
- /* Create a new Ruby object */
- obj = Data_Wrap_Struct(sklass->klass, VOIDFUNC(sklass->mark),
- ( own ? VOIDFUNC(sklass->destroy) :
- (track ? VOIDFUNC(SWIG_RubyRemoveTracking) : 0 )
- ), ptr);
-
- /* If tracking is on for this class then track this object. */
- if (track) {
- SWIG_RubyAddTracking(ptr, obj);
- }
- } else {
- klass_name = (char *) malloc(4 + strlen(type->name) + 1);
- sprintf(klass_name, "TYPE%s", type->name);
- klass = rb_const_get(_mSWIG, rb_intern(klass_name));
- free((void *) klass_name);
- obj = Data_Wrap_Struct(klass, 0, 0, ptr);
- }
- rb_iv_set(obj, "@__swigtype__", rb_str_new2(type->name));
-
- return obj;
-}
-
-/* Create a new class instance (always owned) */
-SWIGRUNTIME VALUE
-SWIG_Ruby_NewClassInstance(VALUE klass, swig_type_info *type)
-{
- VALUE obj;
- swig_class *sklass = (swig_class *) type->clientdata;
- obj = Data_Wrap_Struct(klass, VOIDFUNC(sklass->mark), VOIDFUNC(sklass->destroy), 0);
- rb_iv_set(obj, "@__swigtype__", rb_str_new2(type->name));
- return obj;
-}
-
-/* Get type mangle from class name */
-SWIGRUNTIMEINLINE char *
-SWIG_Ruby_MangleStr(VALUE obj)
-{
- VALUE stype = rb_iv_get(obj, "@__swigtype__");
- return StringValuePtr(stype);
-}
-
-/* Acquire a pointer value */
-typedef void (*ruby_owntype)(void*);
-
-SWIGRUNTIME ruby_owntype
-SWIG_Ruby_AcquirePtr(VALUE obj, ruby_owntype own) {
- if (obj) {
- ruby_owntype oldown = RDATA(obj)->dfree;
- RDATA(obj)->dfree = own;
- return oldown;
- } else {
- return 0;
- }
-}
-
-/* Convert a pointer value */
-SWIGRUNTIME int
-SWIG_Ruby_ConvertPtrAndOwn(VALUE obj, void **ptr, swig_type_info *ty, int flags, ruby_owntype *own)
-{
- char *c;
- swig_cast_info *tc;
- void *vptr = 0;
-
- /* Grab the pointer */
- if (NIL_P(obj)) {
- *ptr = 0;
- return SWIG_OK;
- } else {
- if (TYPE(obj) != T_DATA) {
- return SWIG_ERROR;
- }
- Data_Get_Struct(obj, void, vptr);
- }
-
- if (own) *own = RDATA(obj)->dfree;
-
- /* Check to see if the input object is giving up ownership
- of the underlying C struct or C++ object. If so then we
- need to reset the destructor since the Ruby object no
- longer owns the underlying C++ object.*/
- if (flags & SWIG_POINTER_DISOWN) {
- /* Is tracking on for this class? */
- int track = 0;
- if (ty && ty->clientdata) {
- swig_class *sklass = (swig_class *) ty->clientdata;
- track = sklass->trackObjects;
- }
-
- if (track) {
- /* We are tracking objects for this class. Thus we change the destructor
- * to SWIG_RubyRemoveTracking. This allows us to
- * remove the mapping from the C++ to Ruby object
- * when the Ruby object is garbage collected. If we don't
- * do this, then it is possible we will return a reference
- * to a Ruby object that no longer exists thereby crashing Ruby. */
- RDATA(obj)->dfree = SWIG_RubyRemoveTracking;
- } else {
- RDATA(obj)->dfree = 0;
- }
- }
-
- /* Do type-checking if type info was provided */
- if (ty) {
- if (ty->clientdata) {
- if (rb_obj_is_kind_of(obj, ((swig_class *) (ty->clientdata))->klass)) {
- if (vptr == 0) {
- /* The object has already been deleted */
- return SWIG_ObjectPreviouslyDeletedError;
- }
- *ptr = vptr;
- return SWIG_OK;
- }
- }
- if ((c = SWIG_MangleStr(obj)) == NULL) {
- return SWIG_ERROR;
- }
- tc = SWIG_TypeCheck(c, ty);
- if (!tc) {
- return SWIG_ERROR;
- } else {
- int newmemory = 0;
- *ptr = SWIG_TypeCast(tc, vptr, &newmemory);
- assert(!newmemory); /* newmemory handling not yet implemented */
- }
- } else {
- *ptr = vptr;
- }
-
- return SWIG_OK;
-}
-
-/* Check convert */
-SWIGRUNTIMEINLINE int
-SWIG_Ruby_CheckConvert(VALUE obj, swig_type_info *ty)
-{
- char *c = SWIG_MangleStr(obj);
- if (!c) return 0;
- return SWIG_TypeCheck(c,ty) != 0;
-}
-
-SWIGRUNTIME VALUE
-SWIG_Ruby_NewPackedObj(void *ptr, int sz, swig_type_info *type) {
- char result[1024];
- char *r = result;
- if ((2*sz + 1 + strlen(type->name)) > 1000) return 0;
- *(r++) = '_';
- r = SWIG_PackData(r, ptr, sz);
- strcpy(r, type->name);
- return rb_str_new2(result);
-}
-
-/* Convert a packed value value */
-SWIGRUNTIME int
-SWIG_Ruby_ConvertPacked(VALUE obj, void *ptr, int sz, swig_type_info *ty) {
- swig_cast_info *tc;
- const char *c;
-
- if (TYPE(obj) != T_STRING) goto type_error;
- c = StringValuePtr(obj);
- /* Pointer values must start with leading underscore */
- if (*c != '_') goto type_error;
- c++;
- c = SWIG_UnpackData(c, ptr, sz);
- if (ty) {
- tc = SWIG_TypeCheck(c, ty);
- if (!tc) goto type_error;
- }
- return SWIG_OK;
-
- type_error:
- return SWIG_ERROR;
-}
-
-SWIGRUNTIME swig_module_info *
-SWIG_Ruby_GetModule(void)
-{
- VALUE pointer;
- swig_module_info *ret = 0;
- VALUE verbose = rb_gv_get("VERBOSE");
-
- /* temporarily disable warnings, since the pointer check causes warnings with 'ruby -w' */
- rb_gv_set("VERBOSE", Qfalse);
-
- /* first check if pointer already created */
- pointer = rb_gv_get("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME);
- if (pointer != Qnil) {
- Data_Get_Struct(pointer, swig_module_info, ret);
- }
-
- /* reinstate warnings */
- rb_gv_set("VERBOSE", verbose);
- return ret;
-}
-
-SWIGRUNTIME void
-SWIG_Ruby_SetModule(swig_module_info *pointer)
-{
- /* register a new class */
- VALUE cl = rb_define_class("swig_runtime_data", rb_cObject);
- /* create and store the structure pointer to a global variable */
- swig_runtime_data_type_pointer = Data_Wrap_Struct(cl, 0, 0, pointer);
- rb_define_readonly_variable("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, &swig_runtime_data_type_pointer);
-}
-
-/* This function can be used to check whether a proc or method or similarly
- callable function has been passed. Usually used in a %typecheck, like:
-
- %typecheck(c_callback_t, precedence=SWIG_TYPECHECK_POINTER) {
- $result = SWIG_Ruby_isCallable( $input );
- }
- */
-SWIGINTERN
-int SWIG_Ruby_isCallable( VALUE proc )
-{
- if ( rb_respond_to( proc, swig_call_id ) == Qtrue )
- return 1;
- return 0;
-}
-
-/* This function can be used to check the arity (number of arguments)
- a proc or method can take. Usually used in a %typecheck.
- Valid arities will be that equal to minimal or those < 0
- which indicate a variable number of parameters at the end.
- */
-SWIGINTERN
-int SWIG_Ruby_arity( VALUE proc, int minimal )
-{
- if ( rb_respond_to( proc, swig_arity_id ) == Qtrue )
- {
- VALUE num = rb_funcall( proc, swig_arity_id, 0 );
- int arity = NUM2INT(num);
- if ( arity < 0 && (arity+1) < -minimal ) return 1;
- if ( arity == minimal ) return 1;
- return 1;
- }
- return 0;
-}
-
-
-#ifdef __cplusplus
-}
-#endif
-
-
-
-#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
-
-#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
-
-
-/* -----------------------------------------------------------------------------
- * See the LICENSE file for information on copyright, usage and redistribution
- * of SWIG, and the README file for authors - http://www.swig.org/release.html.
- *
- * director.swg
- *
- * This file contains support for director classes that proxy
- * method calls from C++ to Ruby extensions.
- * ----------------------------------------------------------------------------- */
-
-/*
- Use -DSWIG_DIRECTOR_NOUEH if you prefer to avoid the use of the
- Undefined Exception Handler provided by swift
-*/
-#ifndef SWIG_DIRECTOR_NOUEH
-#ifndef SWIG_DIRECTOR_UEH
-#define SWIG_DIRECTOR_UEH
-#endif
-#endif
-
-#ifdef __cplusplus
-
-#include <string>
-#include <iostream>
-#include <map>
-
-namespace Swig {
- /* memory handler */
- struct GCItem
- {
- virtual ~GCItem()
- {
- }
-
- virtual ruby_owntype get_own() const
- {
- return 0;
- }
- };
-
- struct GCItem_var
- {
- GCItem_var(GCItem *item = 0) : _item(item)
- {
- }
-
- GCItem_var& operator=(GCItem *item)
- {
- GCItem *tmp = _item;
- _item = item;
- delete tmp;
- return *this;
- }
-
- ~GCItem_var()
- {
- delete _item;
- }
-
- GCItem * operator->() const
- {
- return _item;
- }
-
- private:
- GCItem *_item;
- };
-
-
- template <typename Type>
- struct GCItem_T : GCItem
- {
- GCItem_T(Type *ptr) : _ptr(ptr)
- {
- }
-
- virtual ~GCItem_T()
- {
- delete _ptr;
- }
-
- private:
- Type *_ptr;
- };
-
- struct GCItem_Object : GCItem
- {
- GCItem_Object(ruby_owntype own) : _own(own)
- {
- }
-
- virtual ~GCItem_Object()
- {
- }
-
- ruby_owntype get_own() const
- {
- return _own;
- }
-
- private:
- ruby_owntype _own;
- };
-
-
- template <typename Type>
- struct GCArray_T : GCItem
- {
- GCArray_T(Type *ptr) : _ptr(ptr)
- {
- }
-
- virtual ~GCArray_T()
- {
- delete[] _ptr;
- }
-
- private:
- Type *_ptr;
- };
-
-
- /* body args */
- struct body_args {
- VALUE recv;
- ID id;
- int argc;
- VALUE *argv;
- };
-
- /* Base class for director exceptions */
- class DirectorException {
- protected:
- VALUE swig_error;
- std::string swig_msg;
- protected:
- DirectorException(VALUE error)
- : swig_error(error)
- {
- }
-
- DirectorException(VALUE error, const char* hdr, const char* msg ="")
- : swig_error(error), swig_msg(hdr) {
- if (strlen(msg)) {
- swig_msg += " ";
- swig_msg += msg;
- }
- if (swig_msg.size()) {
- VALUE str = rb_str_new(swig_msg.data(), swig_msg.size());
- swig_error = rb_exc_new3(error, str);
- } else {
- swig_error = error;
- }
- }
- public:
- VALUE getType() const {
- return CLASS_OF(swig_error);
- }
- VALUE getError() const {
- return swig_error;
- }
- const std::string& getMessage() const
- {
- return swig_msg;
- }
-
- virtual ~DirectorException() {}
- };
-
- /* unknown exception handler */
-
- class UnknownExceptionHandler
- {
-#ifdef SWIG_DIRECTOR_UEH
- static void handler() {
- try {
- throw;
- } catch (DirectorException& e) {
- std::cerr << "Swig Director exception caught:" << std::endl
- << e.getMessage() << std::endl;
- } catch (std::exception& e) {
- std::cerr << "std::exception caught: "<< e.what() << std::endl;
- } catch (...) {
- std::cerr << "Unknown exception caught." << std::endl;
- }
- std::cerr << std::endl
- << "Ruby interpreter traceback:" << std::endl;
- std::cerr << std::endl;
- std::cerr << "This exception was caught by the SWIG unexpected exception handler." << std::endl
- << "Try using %feature(\"director:except\") to avoid reaching this point." << std::endl
- << std::endl
- << "Exception is being re-thrown, program will like abort/terminate." << std::endl;
- throw;
- }
-
- public:
- std::unexpected_handler old;
- UnknownExceptionHandler(std::unexpected_handler nh = handler)
- {
- old = std::set_unexpected(nh);
- }
-
- ~UnknownExceptionHandler()
- {
- std::set_unexpected(old);
- }
-#endif
- };
-
-
- /* Type mismatch in the return value from a Ruby method call */
- class DirectorTypeMismatchException : public Swig::DirectorException {
- public:
- DirectorTypeMismatchException(VALUE error, const char *msg="")
- : Swig::DirectorException(error, "Swig director type mismatch", msg)
- {
- }
-
- DirectorTypeMismatchException(const char *msg="")
- : Swig::DirectorException(rb_eTypeError, "Swig director type mismatch", msg)
- {
- }
-
- static void raise(VALUE error, const char *msg) {
- throw DirectorTypeMismatchException(error, msg);
- }
-
- static void raise(const char *msg) {
- throw DirectorTypeMismatchException(msg);
- }
- };
-
- /* Any Ruby exception that occurs during a director method call */
- class DirectorMethodException : public Swig::DirectorException {
- public:
- DirectorMethodException(VALUE error)
- : Swig::DirectorException(error) {
- }
-
- DirectorMethodException(const char* msg = "")
- : Swig::DirectorException(rb_eRuntimeError, "Swig director method error.", msg) {
- }
-
- static void raise(VALUE error)
- {
- throw DirectorMethodException(error);
- }
- };
-
- /* Attempted to call a pure virtual method via a director method */
- class DirectorPureVirtualException : public Swig::DirectorException
- {
- public:
- DirectorPureVirtualException(const char* msg = "")
- : DirectorException(rb_eRuntimeError, "Swig director pure virtual method called", msg)
- {
- }
-
- static void raise(const char *msg)
- {
- throw DirectorPureVirtualException(msg);
- }
- };
-
- /* Simple thread abstraction for pthreads on win32 */
-#ifdef __THREAD__
-# define __PTHREAD__
-# if defined(_WIN32) || defined(__WIN32__)
-# define pthread_mutex_lock EnterCriticalSection
-# define pthread_mutex_unlock LeaveCriticalSection
-# define pthread_mutex_t CRITICAL_SECTION
-# define SWIG_MUTEX_INIT(var) var
-# else
-# include <pthread.h>
-# define SWIG_MUTEX_INIT(var) var = PTHREAD_MUTEX_INITIALIZER
-# endif
-#endif
-
-#ifdef __PTHREAD__
- struct Guard
- {
- pthread_mutex_t *_mutex;
-
- Guard(pthread_mutex_t &mutex) : _mutex(&mutex)
- {
- pthread_mutex_lock(_mutex);
- }
-
- ~Guard()
- {
- pthread_mutex_unlock(_mutex);
- }
- };
-# define SWIG_GUARD(mutex) Guard _guard(mutex)
-#else
-# define SWIG_GUARD(mutex)
-#endif
-
- /* director base class */
- class Director {
- private:
- /* pointer to the wrapped Ruby object */
- VALUE swig_self;
- /* flag indicating whether the object is owned by Ruby or c++ */
- mutable bool swig_disown_flag;
-
- public:
- /* wrap a Ruby object, optionally taking ownership */
- Director(VALUE self) : swig_self(self), swig_disown_flag(false) {
- }
-
- /* discard our reference at destruction */
- virtual ~Director() {
- }
-
- /* return a pointer to the wrapped Ruby object */
- VALUE swig_get_self() const {
- return swig_self;
- }
-
- /* acquire ownership of the wrapped Ruby object (the sense of "disown"
- * is from Ruby) */
- void swig_disown() const {
- if (!swig_disown_flag) {
- swig_disown_flag = true;
- }
- }
-
- /* ownership management */
- private:
- typedef std::map<void*, GCItem_var> ownership_map;
- mutable ownership_map owner;
-#ifdef __PTHREAD__
- static pthread_mutex_t swig_mutex_own;
-#endif
-
- public:
- template <typename Type>
- void swig_acquire_ownership_array(Type *vptr) const
- {
- if (vptr) {
- SWIG_GUARD(swig_mutex_own);
- owner[vptr] = new GCArray_T<Type>(vptr);
- }
- }
-
- template <typename Type>
- void swig_acquire_ownership(Type *vptr) const
- {
- if (vptr) {
- SWIG_GUARD(swig_mutex_own);
- owner[vptr] = new GCItem_T<Type>(vptr);
- }
- }
-
- void swig_acquire_ownership_obj(void *vptr, ruby_owntype own) const
- {
- if (vptr && own) {
- SWIG_GUARD(swig_mutex_own);
- owner[vptr] = new GCItem_Object(own);
- }
- }
-
- ruby_owntype swig_release_ownership(void *vptr) const
- {
- ruby_owntype own = 0;
- if (vptr) {
- SWIG_GUARD(swig_mutex_own);
- ownership_map::iterator iter = owner.find(vptr);
- if (iter != owner.end()) {
- own = iter->second->get_own();
- owner.erase(iter);
- }
- }
- return own;
- }
- };
-}
-
-#endif /* __cplusplus */
-
-
-
-/* -------- TYPES TABLE (BEGIN) -------- */
-
-#define SWIGTYPE_p_RegistrationEvent swig_types[0]
-#define SWIGTYPE_p_RegistrationSession swig_types[1]
-#define SWIGTYPE_p_SafeObject swig_types[2]
-#define SWIGTYPE_p_SipCallback swig_types[3]
-#define SWIGTYPE_p_SipEvent swig_types[4]
-#define SWIGTYPE_p_SipSession swig_types[5]
-#define SWIGTYPE_p_SipStack swig_types[6]
-#define SWIGTYPE_p_char swig_types[7]
-#define SWIGTYPE_p_tsip_event_type_e swig_types[8]
-#define SWIGTYPE_p_tsip_register_event_type_e swig_types[9]
-static swig_type_info *swig_types[11];
-static swig_module_info swig_module = {swig_types, 10, 0, 0, 0, 0};
-#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
-#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
-
-/* -------- TYPES TABLE (END) -------- */
-
-#define SWIG_init Init_tinyWRAP
-#define SWIG_name "TinyWRAP"
-
-static VALUE mTinyWRAP;
-
-#define SWIG_RUBY_THREAD_BEGIN_BLOCK
-#define SWIG_RUBY_THREAD_END_BLOCK
-
-
-#define SWIGVERSION 0x010340
-#define SWIG_VERSION SWIGVERSION
-
-
-#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
-#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
-
-
-#include <stdexcept>
-
-
-#include "SipEvent.h"
-#include "SipSession.h"
-#include "RegistrationEvent.h"
-#include "RegistrationSession.h"
-#include "SubscriptionEvent.h"
-#include "SubscriptionSession.h"
-#include "SipCallback.h"
-#include "SafeObject.h"
-#include "SipStack.h"
-
-
-#include <limits.h>
-#if !defined(SWIG_NO_LLONG_MAX)
-# if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
-# define LLONG_MAX __LONG_LONG_MAX__
-# define LLONG_MIN (-LLONG_MAX - 1LL)
-# define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
-# endif
-#endif
-
-
-SWIGINTERN VALUE
-SWIG_ruby_failed(void)
-{
- return Qnil;
-}
-
-
-/*@SWIG:C:/msys/1.0/local/share/swig/1.3.40\\ruby\\rubyprimtypes.swg,23,%ruby_aux_method@*/
-SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE *args)
-{
- VALUE obj = args[0];
- VALUE type = TYPE(obj);
- long *res = (long *)(args[1]);
- *res = type == T_FIXNUM ? NUM2LONG(obj) : rb_big2long(obj);
- return obj;
-}
-/*@SWIG@*/
-
-SWIGINTERN int
-SWIG_AsVal_long (VALUE obj, long* val)
-{
- VALUE type = TYPE(obj);
- if ((type == T_FIXNUM) || (type == T_BIGNUM)) {
- long v;
- VALUE a[2];
- a[0] = obj;
- a[1] = (VALUE)(&v);
- if (rb_rescue(RUBY_METHOD_FUNC(SWIG_AUX_NUM2LONG), (VALUE)a, RUBY_METHOD_FUNC(SWIG_ruby_failed), 0) != Qnil) {
- if (val) *val = v;
- return SWIG_OK;
- }
- }
- return SWIG_TypeError;
-}
-
-
-SWIGINTERN int
-SWIG_AsVal_int (VALUE obj, int *val)
-{
- long v;
- int res = SWIG_AsVal_long (obj, &v);
- if (SWIG_IsOK(res)) {
- if ((v < INT_MIN || v > INT_MAX)) {
- return SWIG_OverflowError;
- } else {
- if (val) *val = static_cast< int >(v);
- }
- }
- return res;
-}
-
-
-SWIGINTERN int
-SWIG_AsVal_short (VALUE obj, short *val)
-{
- long v;
- int res = SWIG_AsVal_long (obj, &v);
- if (SWIG_IsOK(res)) {
- if ((v < SHRT_MIN || v > SHRT_MAX)) {
- return SWIG_OverflowError;
- } else {
- if (val) *val = static_cast< short >(v);
- }
- }
- return res;
-}
-
-
-SWIGINTERN swig_type_info*
-SWIG_pchar_descriptor(void)
-{
- static int init = 0;
- static swig_type_info* info = 0;
- if (!init) {
- info = SWIG_TypeQuery("_p_char");
- init = 1;
- }
- return info;
-}
-
-
-SWIGINTERN int
-SWIG_AsCharPtrAndSize(VALUE obj, char** cptr, size_t* psize, int *alloc)
-{
- if (TYPE(obj) == T_STRING) {
- #if defined(StringValuePtr)
- char *cstr = StringValuePtr(obj);
- #else
- char *cstr = STR2CSTR(obj);
- #endif
- size_t size = RSTRING_LEN(obj) + 1;
- if (cptr) {
- if (alloc) {
- if (*alloc == SWIG_NEWOBJ) {
- *cptr = reinterpret_cast< char* >(memcpy((new char[size]), cstr, sizeof(char)*(size)));
- } else {
- *cptr = cstr;
- *alloc = SWIG_OLDOBJ;
- }
- }
- }
- if (psize) *psize = size;
- return SWIG_OK;
- } else {
- swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
- if (pchar_descriptor) {
- void* vptr = 0;
- if (SWIG_ConvertPtr(obj, &vptr, pchar_descriptor, 0) == SWIG_OK) {
- if (cptr) *cptr = (char *)vptr;
- if (psize) *psize = vptr ? (strlen((char*)vptr) + 1) : 0;
- if (alloc) *alloc = SWIG_OLDOBJ;
- return SWIG_OK;
- }
- }
- }
- return SWIG_TypeError;
-}
-
-
-
-
-
- #define SWIG_From_long LONG2NUM
-
-
-SWIGINTERNINLINE VALUE
-SWIG_From_short (short value)
-{
- return SWIG_From_long (value);
-}
-
-
-SWIGINTERNINLINE VALUE
-SWIG_FromCharPtrAndSize(const char* carray, size_t size)
-{
- if (carray) {
- if (size > LONG_MAX) {
- swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
- return pchar_descriptor ?
- SWIG_NewPointerObj(const_cast< char * >(carray), pchar_descriptor, 0) : Qnil;
- } else {
- return rb_str_new(carray, static_cast< long >(size));
- }
- } else {
- return Qnil;
- }
-}
-
-
-SWIGINTERNINLINE VALUE
-SWIG_FromCharPtr(const char *cptr)
-{
- return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
-}
-
-
-SWIGINTERNINLINE VALUE
-SWIG_From_bool (bool value)
-{
- return value ? Qtrue : Qfalse;
-}
-
-
-/*@SWIG:C:/msys/1.0/local/share/swig/1.3.40\\ruby\\rubyprimtypes.swg,23,%ruby_aux_method@*/
-SWIGINTERN VALUE SWIG_AUX_NUM2ULONG(VALUE *args)
-{
- VALUE obj = args[0];
- VALUE type = TYPE(obj);
- unsigned long *res = (unsigned long *)(args[1]);
- *res = type == T_FIXNUM ? NUM2ULONG(obj) : rb_big2ulong(obj);
- return obj;
-}
-/*@SWIG@*/
-
-SWIGINTERN int
-SWIG_AsVal_unsigned_SS_long (VALUE obj, unsigned long *val)
-{
- VALUE type = TYPE(obj);
- if ((type == T_FIXNUM) || (type == T_BIGNUM)) {
- unsigned long v;
- VALUE a[2];
- a[0] = obj;
- a[1] = (VALUE)(&v);
- if (rb_rescue(RUBY_METHOD_FUNC(SWIG_AUX_NUM2ULONG), (VALUE)a, RUBY_METHOD_FUNC(SWIG_ruby_failed), 0) != Qnil) {
- if (val) *val = v;
- return SWIG_OK;
- }
- }
- return SWIG_TypeError;
-}
-
-
-SWIGINTERN int
-SWIG_AsVal_unsigned_SS_int (VALUE obj, unsigned int *val)
-{
- unsigned long v;
- int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
- if (SWIG_IsOK(res)) {
- if ((v > UINT_MAX)) {
- return SWIG_OverflowError;
- } else {
- if (val) *val = static_cast< unsigned int >(v);
- }
- }
- return res;
-}
-
-
-SWIGINTERNINLINE VALUE
-SWIG_From_int (int value)
-{
- return SWIG_From_long (value);
-}
-
-/* ---------------------------------------------------
- * C++ director class helpers
- * --------------------------------------------------- */
-
-
-
-/* ---------------------------------------------------
- * C++ director class methods
- * --------------------------------------------------- */
-
-#include "Ruby/tinyWRAP_wrap.h"
-
-SwigDirector_SipCallback::SwigDirector_SipCallback(VALUE self): SipCallback(), Swig::Director(self) {
-
-}
-
-
-
-SwigDirector_SipCallback::~SwigDirector_SipCallback() {
-}
-
-int SwigDirector_SipCallback::OnRegistrationChanged(RegistrationEvent const *e) {
- int c_result ;
- VALUE obj0 = Qnil ;
- VALUE result;
-
- obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(e), SWIGTYPE_p_RegistrationEvent, 0 );
- result = rb_funcall(swig_get_self(), rb_intern("OnRegistrationChanged"), 1,obj0);
- int swig_val;
- int swig_res = SWIG_AsVal_int(result, &swig_val);
- if (!SWIG_IsOK(swig_res)) {
- Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""int""'");
- }
- c_result = static_cast< int >(swig_val);
- return (int) c_result;
-}
-
-
-swig_class SwigClassSipEvent;
-
-SWIGINTERN VALUE
-_wrap_new_SipEvent__SWIG_0(int argc, VALUE *argv, VALUE self) {
- const char *classname SWIGUNUSED = "TinyWRAP::SipEvent";
- SipEvent *result = 0 ;
-
- if ((argc < 0) || (argc > 0)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
- }
- result = (SipEvent *)new SipEvent();
- DATA_PTR(self) = result;
- return self;
-fail:
- return Qnil;
-}
-
-
-#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
-SWIGINTERN VALUE
-_wrap_SipEvent_allocate(VALUE self) {
-#else
- SWIGINTERN VALUE
- _wrap_SipEvent_allocate(int argc, VALUE *argv, VALUE self) {
-#endif
-
-
- VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_SipEvent);
-#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
- rb_obj_call_init(vresult, argc, argv);
-#endif
- return vresult;
- }
-
-
-SWIGINTERN VALUE
-_wrap_new_SipEvent__SWIG_1(int argc, VALUE *argv, VALUE self) {
- tsip_event_type_t arg1 ;
- short arg2 ;
- char *arg3 = (char *) 0 ;
- int val1 ;
- int ecode1 = 0 ;
- short val2 ;
- int ecode2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- const char *classname SWIGUNUSED = "TinyWRAP::SipEvent";
- SipEvent *result = 0 ;
-
- if ((argc < 3) || (argc > 3)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
- }
- ecode1 = SWIG_AsVal_int(argv[0], &val1);
- if (!SWIG_IsOK(ecode1)) {
- SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "tsip_event_type_t","SipEvent", 1, argv[0] ));
- }
- arg1 = static_cast< tsip_event_type_t >(val1);
- ecode2 = SWIG_AsVal_short(argv[1], &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "short","SipEvent", 2, argv[1] ));
- }
- arg2 = static_cast< short >(val2);
- res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","SipEvent", 3, argv[2] ));
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (SipEvent *)new SipEvent(arg1,arg2,(char const *)arg3);
- DATA_PTR(self) = result;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return self;
-fail:
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return Qnil;
-}
-
-
-SWIGINTERN VALUE _wrap_new_SipEvent(int nargs, VALUE *args, VALUE self) {
- int argc;
- VALUE argv[3];
- int ii;
-
- argc = nargs;
- if (argc > 3) SWIG_fail;
- for (ii = 0; (ii < argc); ++ii) {
- argv[ii] = args[ii];
- }
- if (argc == 0) {
- return _wrap_new_SipEvent__SWIG_0(nargs, args, self);
- }
- if (argc == 3) {
- int _v;
- {
- int res = SWIG_AsVal_int(argv[0], NULL);
- _v = SWIG_CheckState(res);
- }
- if (_v) {
- {
- int res = SWIG_AsVal_short(argv[1], NULL);
- _v = SWIG_CheckState(res);
- }
- if (_v) {
- int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_new_SipEvent__SWIG_1(nargs, args, self);
- }
- }
- }
- }
-
-fail:
- Ruby_Format_OverloadedError( argc, 3, "SipEvent.new",
- " SipEvent.new()\n"
- " SipEvent.new(tsip_event_type_t type, short code, char const *phrase)\n");
-
- return Qnil;
-}
-
-
-SWIGINTERN void
-free_SipEvent(SipEvent *arg1) {
- delete arg1;
-}
-
-SWIGINTERN VALUE
-_wrap_SipEvent_getCode(int argc, VALUE *argv, VALUE self) {
- SipEvent *arg1 = (SipEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- short result;
- VALUE vresult = Qnil;
-
- if ((argc < 0) || (argc > 0)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_SipEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "SipEvent const *","getCode", 1, self ));
- }
- arg1 = reinterpret_cast< SipEvent * >(argp1);
- result = (short)((SipEvent const *)arg1)->getCode();
- vresult = SWIG_From_short(static_cast< short >(result));
- return vresult;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_SipEvent_getPhrase(int argc, VALUE *argv, VALUE self) {
- SipEvent *arg1 = (SipEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- char *result = 0 ;
- VALUE vresult = Qnil;
-
- if ((argc < 0) || (argc > 0)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_SipEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "SipEvent const *","getPhrase", 1, self ));
- }
- arg1 = reinterpret_cast< SipEvent * >(argp1);
- result = (char *)((SipEvent const *)arg1)->getPhrase();
- vresult = SWIG_FromCharPtr((const char *)result);
- return vresult;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_SipEvent_getBaseSession(int argc, VALUE *argv, VALUE self) {
- SipEvent *arg1 = (SipEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- SipSession *result = 0 ;
- VALUE vresult = Qnil;
-
- if ((argc < 0) || (argc > 0)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_SipEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "SipEvent const *","getBaseSession", 1, self ));
- }
- arg1 = reinterpret_cast< SipEvent * >(argp1);
- result = (SipSession *)((SipEvent const *)arg1)->getBaseSession();
- vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_SipSession, 0 | 0 );
- return vresult;
-fail:
- return Qnil;
-}
-
-
-swig_class SwigClassSipSession;
-
-#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
-SWIGINTERN VALUE
-_wrap_SipSession_allocate(VALUE self) {
-#else
- SWIGINTERN VALUE
- _wrap_SipSession_allocate(int argc, VALUE *argv, VALUE self) {
-#endif
-
-
- VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_SipSession);
-#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
- rb_obj_call_init(vresult, argc, argv);
-#endif
- return vresult;
- }
-
-
-SWIGINTERN VALUE
-_wrap_new_SipSession(int argc, VALUE *argv, VALUE self) {
- SipStack *arg1 = (SipStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- const char *classname SWIGUNUSED = "TinyWRAP::SipSession";
- SipSession *result = 0 ;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "SipStack *","SipSession", 1, argv[0] ));
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- result = (SipSession *)new SipSession(arg1);
- DATA_PTR(self) = result;
- return self;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN void
-free_SipSession(SipSession *arg1) {
- delete arg1;
-}
-
-SWIGINTERN VALUE
-_wrap_SipSession_addHeader(int argc, VALUE *argv, VALUE self) {
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- bool result;
- VALUE vresult = Qnil;
-
- if ((argc < 2) || (argc > 2)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_SipSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "SipSession *","addHeader", 1, self ));
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","addHeader", 2, argv[0] ));
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","addHeader", 3, argv[1] ));
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (bool)(arg1)->addHeader((char const *)arg2,(char const *)arg3);
- vresult = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return vresult;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_SipSession_removeHeader(int argc, VALUE *argv, VALUE self) {
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- bool result;
- VALUE vresult = Qnil;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_SipSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "SipSession *","removeHeader", 1, self ));
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","removeHeader", 2, argv[0] ));
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->removeHeader((char const *)arg2);
- vresult = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return vresult;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_SipSession_addCaps__SWIG_0(int argc, VALUE *argv, VALUE self) {
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- bool result;
- VALUE vresult = Qnil;
-
- if ((argc < 2) || (argc > 2)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_SipSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "SipSession *","addCaps", 1, self ));
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","addCaps", 2, argv[0] ));
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","addCaps", 3, argv[1] ));
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (bool)(arg1)->addCaps((char const *)arg2,(char const *)arg3);
- vresult = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return vresult;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_SipSession_addCaps__SWIG_1(int argc, VALUE *argv, VALUE self) {
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- bool result;
- VALUE vresult = Qnil;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_SipSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "SipSession *","addCaps", 1, self ));
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","addCaps", 2, argv[0] ));
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->addCaps((char const *)arg2);
- vresult = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return vresult;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return Qnil;
-}
-
-
-SWIGINTERN VALUE _wrap_SipSession_addCaps(int nargs, VALUE *args, VALUE self) {
- int argc;
- VALUE argv[4];
- int ii;
-
- argc = nargs + 1;
- argv[0] = self;
- if (argc > 4) SWIG_fail;
- for (ii = 1; (ii < argc); ++ii) {
- argv[ii] = args[ii-1];
- }
- if (argc == 2) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SipSession, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_SipSession_addCaps__SWIG_1(nargs, args, self);
- }
- }
- }
- if (argc == 3) {
- int _v;
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SipSession, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_SipSession_addCaps__SWIG_0(nargs, args, self);
- }
- }
- }
- }
-
-fail:
- Ruby_Format_OverloadedError( argc, 4, "SipSession.addCaps",
- " bool SipSession.addCaps(char const *name, char const *value)\n"
- " bool SipSession.addCaps(char const *name)\n");
-
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_SipSession_removeCaps(int argc, VALUE *argv, VALUE self) {
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- bool result;
- VALUE vresult = Qnil;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_SipSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "SipSession *","removeCaps", 1, self ));
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","removeCaps", 2, argv[0] ));
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->removeCaps((char const *)arg2);
- vresult = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return vresult;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_SipSession_setExpires(int argc, VALUE *argv, VALUE self) {
- SipSession *arg1 = (SipSession *) 0 ;
- unsigned int arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- unsigned int val2 ;
- int ecode2 = 0 ;
- bool result;
- VALUE vresult = Qnil;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_SipSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "SipSession *","setExpires", 1, self ));
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned int","setExpires", 2, argv[0] ));
- }
- arg2 = static_cast< unsigned int >(val2);
- result = (bool)(arg1)->setExpires(arg2);
- vresult = SWIG_From_bool(static_cast< bool >(result));
- return vresult;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_SipSession_setFromUri(int argc, VALUE *argv, VALUE self) {
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- bool result;
- VALUE vresult = Qnil;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_SipSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "SipSession *","setFromUri", 1, self ));
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","setFromUri", 2, argv[0] ));
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->setFromUri((char const *)arg2);
- vresult = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return vresult;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_SipSession_setToUri(int argc, VALUE *argv, VALUE self) {
- SipSession *arg1 = (SipSession *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- bool result;
- VALUE vresult = Qnil;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_SipSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "SipSession *","setToUri", 1, self ));
- }
- arg1 = reinterpret_cast< SipSession * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","setToUri", 2, argv[0] ));
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->setToUri((char const *)arg2);
- vresult = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return vresult;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return Qnil;
-}
-
-
-swig_class SwigClassRegistrationEvent;
-
-#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
-SWIGINTERN VALUE
-_wrap_RegistrationEvent_allocate(VALUE self) {
-#else
- SWIGINTERN VALUE
- _wrap_RegistrationEvent_allocate(int argc, VALUE *argv, VALUE self) {
-#endif
-
-
- VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_RegistrationEvent);
-#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
- rb_obj_call_init(vresult, argc, argv);
-#endif
- return vresult;
- }
-
-
-SWIGINTERN VALUE
-_wrap_new_RegistrationEvent(int argc, VALUE *argv, VALUE self) {
- const char *classname SWIGUNUSED = "TinyWRAP::RegistrationEvent";
- RegistrationEvent *result = 0 ;
-
- if ((argc < 0) || (argc > 0)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
- }
- result = (RegistrationEvent *)new RegistrationEvent();
- DATA_PTR(self) = result;
- return self;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN void
-free_RegistrationEvent(RegistrationEvent *arg1) {
- delete arg1;
-}
-
-SWIGINTERN VALUE
-_wrap_RegistrationEvent_getType(int argc, VALUE *argv, VALUE self) {
- RegistrationEvent *arg1 = (RegistrationEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- tsip_register_event_type_t result;
- VALUE vresult = Qnil;
-
- if ((argc < 0) || (argc > 0)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_RegistrationEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "RegistrationEvent const *","getType", 1, self ));
- }
- arg1 = reinterpret_cast< RegistrationEvent * >(argp1);
- result = (tsip_register_event_type_t)((RegistrationEvent const *)arg1)->getType();
- vresult = SWIG_From_int(static_cast< int >(result));
- return vresult;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_RegistrationEvent_getSession(int argc, VALUE *argv, VALUE self) {
- RegistrationEvent *arg1 = (RegistrationEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- RegistrationSession *result = 0 ;
- VALUE vresult = Qnil;
-
- if ((argc < 0) || (argc > 0)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_RegistrationEvent, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "RegistrationEvent const *","getSession", 1, self ));
- }
- arg1 = reinterpret_cast< RegistrationEvent * >(argp1);
- result = (RegistrationSession *)((RegistrationEvent const *)arg1)->getSession();
- vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_RegistrationSession, 0 | 0 );
- return vresult;
-fail:
- return Qnil;
-}
-
-
-swig_class SwigClassRegistrationSession;
-
-#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
-SWIGINTERN VALUE
-_wrap_RegistrationSession_allocate(VALUE self) {
-#else
- SWIGINTERN VALUE
- _wrap_RegistrationSession_allocate(int argc, VALUE *argv, VALUE self) {
-#endif
-
-
- VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_RegistrationSession);
-#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
- rb_obj_call_init(vresult, argc, argv);
-#endif
- return vresult;
- }
-
-
-SWIGINTERN VALUE
-_wrap_new_RegistrationSession(int argc, VALUE *argv, VALUE self) {
- SipStack *arg1 = (SipStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- const char *classname SWIGUNUSED = "TinyWRAP::RegistrationSession";
- RegistrationSession *result = 0 ;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "SipStack *","RegistrationSession", 1, argv[0] ));
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- result = (RegistrationSession *)new RegistrationSession(arg1);
- DATA_PTR(self) = result;
- return self;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN void
-free_RegistrationSession(RegistrationSession *arg1) {
- delete arg1;
-}
-
-SWIGINTERN VALUE
-_wrap_RegistrationSession_Register(int argc, VALUE *argv, VALUE self) {
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
- unsigned int arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- unsigned int val2 ;
- int ecode2 = 0 ;
- bool result;
- VALUE vresult = Qnil;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_RegistrationSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "RegistrationSession *","Register", 1, self ));
- }
- arg1 = reinterpret_cast< RegistrationSession * >(argp1);
- ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned int","Register", 2, argv[0] ));
- }
- arg2 = static_cast< unsigned int >(val2);
- result = (bool)(arg1)->Register(arg2);
- vresult = SWIG_From_bool(static_cast< bool >(result));
- return vresult;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_RegistrationSession_UnRegister(int argc, VALUE *argv, VALUE self) {
- RegistrationSession *arg1 = (RegistrationSession *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- bool result;
- VALUE vresult = Qnil;
-
- if ((argc < 0) || (argc > 0)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_RegistrationSession, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "RegistrationSession *","UnRegister", 1, self ));
- }
- arg1 = reinterpret_cast< RegistrationSession * >(argp1);
- result = (bool)(arg1)->UnRegister();
- vresult = SWIG_From_bool(static_cast< bool >(result));
- return vresult;
-fail:
- return Qnil;
-}
-
-
-swig_class SwigClassSipCallback;
-
-#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
-SWIGINTERN VALUE
-_wrap_SipCallback_allocate(VALUE self) {
-#else
- SWIGINTERN VALUE
- _wrap_SipCallback_allocate(int argc, VALUE *argv, VALUE self) {
-#endif
-
-
- VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_SipCallback);
-#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
- rb_obj_call_init(vresult, argc, argv);
-#endif
- return vresult;
- }
-
-
-SWIGINTERN VALUE
-_wrap_new_SipCallback(int argc, VALUE *argv, VALUE self) {
- VALUE arg1 = (VALUE) 0 ;
- const char *classname SWIGUNUSED = "TinyWRAP::SipCallback";
- SipCallback *result = 0 ;
-
- if ((argc < 0) || (argc > 0)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
- }
- arg1 = self;
- if ( strcmp(rb_obj_classname(self), classname) != 0 ) {
- /* subclassed */
- result = (SipCallback *)new SwigDirector_SipCallback(arg1);
- } else {
- result = (SipCallback *)new SipCallback();
- }
-
- DATA_PTR(self) = result;
- return self;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN void
-free_SipCallback(SipCallback *arg1) {
- delete arg1;
-}
-
-SWIGINTERN VALUE
-_wrap_SipCallback_OnRegistrationChanged(int argc, VALUE *argv, VALUE self) {
- SipCallback *arg1 = (SipCallback *) 0 ;
- RegistrationEvent *arg2 = (RegistrationEvent *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- void *argp2 = 0 ;
- int res2 = 0 ;
- Swig::Director *director = 0;
- bool upcall = false;
- int result;
- VALUE vresult = Qnil;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_SipCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "SipCallback *","OnRegistrationChanged", 1, self ));
- }
- arg1 = reinterpret_cast< SipCallback * >(argp1);
- res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_RegistrationEvent, 0 | 0 );
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "RegistrationEvent const *","OnRegistrationChanged", 2, argv[0] ));
- }
- arg2 = reinterpret_cast< RegistrationEvent * >(argp2);
- director = dynamic_cast<Swig::Director *>(arg1);
- upcall = (director && (director->swig_get_self() == self));
- try {
- if (upcall) {
- result = (int)(arg1)->SipCallback::OnRegistrationChanged((RegistrationEvent const *)arg2);
- } else {
- result = (int)(arg1)->OnRegistrationChanged((RegistrationEvent const *)arg2);
- }
- } catch (Swig::DirectorException& e) {
- rb_exc_raise(e.getError());
- SWIG_fail;
- }
- vresult = SWIG_From_int(static_cast< int >(result));
- return vresult;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_disown_SipCallback(int argc, VALUE *argv, VALUE self) {
- SipCallback *arg1 = (SipCallback *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_SipCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "SipCallback *","disown_SipCallback", 1, argv[0] ));
- }
- arg1 = reinterpret_cast< SipCallback * >(argp1);
- {
- Swig::Director *director = dynamic_cast<Swig::Director *>(arg1);
- if (director) director->swig_disown();
- }
-
- return Qnil;
-fail:
- return Qnil;
-}
-
-
-swig_class SwigClassSafeObject;
-
-#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
-SWIGINTERN VALUE
-_wrap_SafeObject_allocate(VALUE self) {
-#else
- SWIGINTERN VALUE
- _wrap_SafeObject_allocate(int argc, VALUE *argv, VALUE self) {
-#endif
-
-
- VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_SafeObject);
-#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
- rb_obj_call_init(vresult, argc, argv);
-#endif
- return vresult;
- }
-
-
-SWIGINTERN VALUE
-_wrap_new_SafeObject(int argc, VALUE *argv, VALUE self) {
- const char *classname SWIGUNUSED = "TinyWRAP::SafeObject";
- SafeObject *result = 0 ;
-
- if ((argc < 0) || (argc > 0)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
- }
- result = (SafeObject *)new SafeObject();
- DATA_PTR(self) = result;
- return self;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN void
-free_SafeObject(SafeObject *arg1) {
- delete arg1;
-}
-
-SWIGINTERN VALUE
-_wrap_SafeObject_Lock(int argc, VALUE *argv, VALUE self) {
- SafeObject *arg1 = (SafeObject *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int result;
- VALUE vresult = Qnil;
-
- if ((argc < 0) || (argc > 0)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_SafeObject, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "SafeObject *","Lock", 1, self ));
- }
- arg1 = reinterpret_cast< SafeObject * >(argp1);
- result = (int)(arg1)->Lock();
- vresult = SWIG_From_int(static_cast< int >(result));
- return vresult;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_SafeObject_UnLock(int argc, VALUE *argv, VALUE self) {
- SafeObject *arg1 = (SafeObject *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int result;
- VALUE vresult = Qnil;
-
- if ((argc < 0) || (argc > 0)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_SafeObject, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "SafeObject *","UnLock", 1, self ));
- }
- arg1 = reinterpret_cast< SafeObject * >(argp1);
- result = (int)(arg1)->UnLock();
- vresult = SWIG_From_int(static_cast< int >(result));
- return vresult;
-fail:
- return Qnil;
-}
-
-
-swig_class SwigClassSipStack;
-
-#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
-SWIGINTERN VALUE
-_wrap_SipStack_allocate(VALUE self) {
-#else
- SWIGINTERN VALUE
- _wrap_SipStack_allocate(int argc, VALUE *argv, VALUE self) {
-#endif
-
-
- VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_SipStack);
-#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
- rb_obj_call_init(vresult, argc, argv);
-#endif
- return vresult;
- }
-
-
-SWIGINTERN VALUE
-_wrap_new_SipStack(int argc, VALUE *argv, VALUE self) {
- SipCallback *arg1 = (SipCallback *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- char *arg4 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- int res4 ;
- char *buf4 = 0 ;
- int alloc4 = 0 ;
- const char *classname SWIGUNUSED = "TinyWRAP::SipStack";
- SipStack *result = 0 ;
-
- if ((argc < 4) || (argc > 4)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_SipCallback, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "SipCallback *","SipStack", 1, argv[0] ));
- }
- arg1 = reinterpret_cast< SipCallback * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","SipStack", 2, argv[1] ));
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","SipStack", 3, argv[2] ));
- }
- arg3 = reinterpret_cast< char * >(buf3);
- res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
- if (!SWIG_IsOK(res4)) {
- SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","SipStack", 4, argv[3] ));
- }
- arg4 = reinterpret_cast< char * >(buf4);
- result = (SipStack *)new SipStack(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
- DATA_PTR(self) = result;
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- return self;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- return Qnil;
-}
-
-
-SWIGINTERN void
-free_SipStack(SipStack *arg1) {
- delete arg1;
-}
-
-SWIGINTERN VALUE
-_wrap_SipStack_Start(int argc, VALUE *argv, VALUE self) {
- SipStack *arg1 = (SipStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- bool result;
- VALUE vresult = Qnil;
-
- if ((argc < 0) || (argc > 0)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "SipStack *","Start", 1, self ));
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- result = (bool)(arg1)->Start();
- vresult = SWIG_From_bool(static_cast< bool >(result));
- return vresult;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_SipStack_setPassword(int argc, VALUE *argv, VALUE self) {
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- bool result;
- VALUE vresult = Qnil;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "SipStack *","setPassword", 1, self ));
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","setPassword", 2, argv[0] ));
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->setPassword((char const *)arg2);
- vresult = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return vresult;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_SipStack_setProxyCSCF(int argc, VALUE *argv, VALUE self) {
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- unsigned int arg3 ;
- char *arg4 = (char *) 0 ;
- char *arg5 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- int res4 ;
- char *buf4 = 0 ;
- int alloc4 = 0 ;
- int res5 ;
- char *buf5 = 0 ;
- int alloc5 = 0 ;
- bool result;
- VALUE vresult = Qnil;
-
- if ((argc < 4) || (argc > 4)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "SipStack *","setProxyCSCF", 1, self ));
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","setProxyCSCF", 2, argv[0] ));
- }
- arg2 = reinterpret_cast< char * >(buf2);
- ecode3 = SWIG_AsVal_unsigned_SS_int(argv[1], &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "unsigned int","setProxyCSCF", 3, argv[1] ));
- }
- arg3 = static_cast< unsigned int >(val3);
- res4 = SWIG_AsCharPtrAndSize(argv[2], &buf4, NULL, &alloc4);
- if (!SWIG_IsOK(res4)) {
- SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","setProxyCSCF", 4, argv[2] ));
- }
- arg4 = reinterpret_cast< char * >(buf4);
- res5 = SWIG_AsCharPtrAndSize(argv[3], &buf5, NULL, &alloc5);
- if (!SWIG_IsOK(res5)) {
- SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","setProxyCSCF", 5, argv[3] ));
- }
- arg5 = reinterpret_cast< char * >(buf5);
- result = (bool)(arg1)->setProxyCSCF((char const *)arg2,arg3,(char const *)arg4,(char const *)arg5);
- vresult = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
- return vresult;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
- if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_SipStack_setLocalIP(int argc, VALUE *argv, VALUE self) {
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- bool result;
- VALUE vresult = Qnil;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "SipStack *","setLocalIP", 1, self ));
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","setLocalIP", 2, argv[0] ));
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->setLocalIP((char const *)arg2);
- vresult = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return vresult;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_SipStack_setLocalPort(int argc, VALUE *argv, VALUE self) {
- SipStack *arg1 = (SipStack *) 0 ;
- unsigned int arg2 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- unsigned int val2 ;
- int ecode2 = 0 ;
- bool result;
- VALUE vresult = Qnil;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "SipStack *","setLocalPort", 1, self ));
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned int","setLocalPort", 2, argv[0] ));
- }
- arg2 = static_cast< unsigned int >(val2);
- result = (bool)(arg1)->setLocalPort(arg2);
- vresult = SWIG_From_bool(static_cast< bool >(result));
- return vresult;
-fail:
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_SipStack_addHeader(int argc, VALUE *argv, VALUE self) {
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- char *arg3 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- int res3 ;
- char *buf3 = 0 ;
- int alloc3 = 0 ;
- bool result;
- VALUE vresult = Qnil;
-
- if ((argc < 2) || (argc > 2)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "SipStack *","addHeader", 1, self ));
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","addHeader", 2, argv[0] ));
- }
- arg2 = reinterpret_cast< char * >(buf2);
- res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, NULL, &alloc3);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","addHeader", 3, argv[1] ));
- }
- arg3 = reinterpret_cast< char * >(buf3);
- result = (bool)(arg1)->addHeader((char const *)arg2,(char const *)arg3);
- vresult = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return vresult;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_SipStack_removeHeader(int argc, VALUE *argv, VALUE self) {
- SipStack *arg1 = (SipStack *) 0 ;
- char *arg2 = (char *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- int res2 ;
- char *buf2 = 0 ;
- int alloc2 = 0 ;
- bool result;
- VALUE vresult = Qnil;
-
- if ((argc < 1) || (argc > 1)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "SipStack *","removeHeader", 1, self ));
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","removeHeader", 2, argv[0] ));
- }
- arg2 = reinterpret_cast< char * >(buf2);
- result = (bool)(arg1)->removeHeader((char const *)arg2);
- vresult = SWIG_From_bool(static_cast< bool >(result));
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return vresult;
-fail:
- if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
- return Qnil;
-}
-
-
-SWIGINTERN VALUE
-_wrap_SipStack_Stop(int argc, VALUE *argv, VALUE self) {
- SipStack *arg1 = (SipStack *) 0 ;
- void *argp1 = 0 ;
- int res1 = 0 ;
- bool result;
- VALUE vresult = Qnil;
-
- if ((argc < 0) || (argc > 0)) {
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
- }
- res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_SipStack, 0 | 0 );
- if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "SipStack *","Stop", 1, self ));
- }
- arg1 = reinterpret_cast< SipStack * >(argp1);
- result = (bool)(arg1)->Stop();
- vresult = SWIG_From_bool(static_cast< bool >(result));
- return vresult;
-fail:
- return Qnil;
-}
-
-
-
-/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
-
-static void *_p_RegistrationEventTo_p_SipEvent(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SipEvent *) ((RegistrationEvent *) x));
-}
-static void *_p_SipStackTo_p_SafeObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SafeObject *) ((SipStack *) x));
-}
-static void *_p_RegistrationSessionTo_p_SipSession(void *x, int *SWIGUNUSEDPARM(newmemory)) {
- return (void *)((SipSession *) ((RegistrationSession *) x));
-}
-static swig_type_info _swigt__p_RegistrationEvent = {"_p_RegistrationEvent", "RegistrationEvent *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_RegistrationSession = {"_p_RegistrationSession", "RegistrationSession *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_SafeObject = {"_p_SafeObject", "SafeObject *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_SipCallback = {"_p_SipCallback", "SipCallback *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_SipEvent = {"_p_SipEvent", "SipEvent *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_SipSession = {"_p_SipSession", "SipSession *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_SipStack = {"_p_SipStack", "SipStack *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_tsip_event_type_e = {"_p_tsip_event_type_e", "enum tsip_event_type_e *|tsip_event_type_t *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_tsip_register_event_type_e = {"_p_tsip_register_event_type_e", "enum tsip_register_event_type_e *|tsip_register_event_type_t *", 0, 0, (void*)0, 0};
-
-static swig_type_info *swig_type_initial[] = {
- &_swigt__p_RegistrationEvent,
- &_swigt__p_RegistrationSession,
- &_swigt__p_SafeObject,
- &_swigt__p_SipCallback,
- &_swigt__p_SipEvent,
- &_swigt__p_SipSession,
- &_swigt__p_SipStack,
- &_swigt__p_char,
- &_swigt__p_tsip_event_type_e,
- &_swigt__p_tsip_register_event_type_e,
-};
-
-static swig_cast_info _swigc__p_RegistrationEvent[] = { {&_swigt__p_RegistrationEvent, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_RegistrationSession[] = { {&_swigt__p_RegistrationSession, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_SafeObject[] = { {&_swigt__p_SipStack, _p_SipStackTo_p_SafeObject, 0, 0}, {&_swigt__p_SafeObject, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_SipCallback[] = { {&_swigt__p_SipCallback, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_SipEvent[] = { {&_swigt__p_SipEvent, 0, 0, 0}, {&_swigt__p_RegistrationEvent, _p_RegistrationEventTo_p_SipEvent, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_SipSession[] = { {&_swigt__p_SipSession, 0, 0, 0}, {&_swigt__p_RegistrationSession, _p_RegistrationSessionTo_p_SipSession, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_SipStack[] = { {&_swigt__p_SipStack, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_tsip_event_type_e[] = { {&_swigt__p_tsip_event_type_e, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_tsip_register_event_type_e[] = { {&_swigt__p_tsip_register_event_type_e, 0, 0, 0},{0, 0, 0, 0}};
-
-static swig_cast_info *swig_cast_initial[] = {
- _swigc__p_RegistrationEvent,
- _swigc__p_RegistrationSession,
- _swigc__p_SafeObject,
- _swigc__p_SipCallback,
- _swigc__p_SipEvent,
- _swigc__p_SipSession,
- _swigc__p_SipStack,
- _swigc__p_char,
- _swigc__p_tsip_event_type_e,
- _swigc__p_tsip_register_event_type_e,
-};
-
-
-/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
-
-/* -----------------------------------------------------------------------------
- * Type initialization:
- * This problem is tough by the requirement that no dynamic
- * memory is used. Also, since swig_type_info structures store pointers to
- * swig_cast_info structures and swig_cast_info structures store pointers back
- * to swig_type_info structures, we need some lookup code at initialization.
- * The idea is that swig generates all the structures that are needed.
- * The runtime then collects these partially filled structures.
- * The SWIG_InitializeModule function takes these initial arrays out of
- * swig_module, and does all the lookup, filling in the swig_module.types
- * array with the correct data and linking the correct swig_cast_info
- * structures together.
- *
- * The generated swig_type_info structures are assigned staticly to an initial
- * array. We just loop through that array, and handle each type individually.
- * First we lookup if this type has been already loaded, and if so, use the
- * loaded structure instead of the generated one. Then we have to fill in the
- * cast linked list. The cast data is initially stored in something like a
- * two-dimensional array. Each row corresponds to a type (there are the same
- * number of rows as there are in the swig_type_initial array). Each entry in
- * a column is one of the swig_cast_info structures for that type.
- * The cast_initial array is actually an array of arrays, because each row has
- * a variable number of columns. So to actually build the cast linked list,
- * we find the array of casts associated with the type, and loop through it
- * adding the casts to the list. The one last trick we need to do is making
- * sure the type pointer in the swig_cast_info struct is correct.
- *
- * First off, we lookup the cast->type name to see if it is already loaded.
- * There are three cases to handle:
- * 1) If the cast->type has already been loaded AND the type we are adding
- * casting info to has not been loaded (it is in this module), THEN we
- * replace the cast->type pointer with the type pointer that has already
- * been loaded.
- * 2) If BOTH types (the one we are adding casting info to, and the
- * cast->type) are loaded, THEN the cast info has already been loaded by
- * the previous module so we just ignore it.
- * 3) Finally, if cast->type has not already been loaded, then we add that
- * swig_cast_info to the linked list (because the cast->type) pointer will
- * be correct.
- * ----------------------------------------------------------------------------- */
-
-#ifdef __cplusplus
-extern "C" {
-#if 0
-} /* c-mode */
-#endif
-#endif
-
-#if 0
-#define SWIGRUNTIME_DEBUG
-#endif
-
-
-SWIGRUNTIME void
-SWIG_InitializeModule(void *clientdata) {
- size_t i;
- swig_module_info *module_head, *iter;
- int found, init;
-
- clientdata = clientdata;
-
- /* check to see if the circular list has been setup, if not, set it up */
- if (swig_module.next==0) {
- /* Initialize the swig_module */
- swig_module.type_initial = swig_type_initial;
- swig_module.cast_initial = swig_cast_initial;
- swig_module.next = &swig_module;
- init = 1;
- } else {
- init = 0;
- }
-
- /* Try and load any already created modules */
- module_head = SWIG_GetModule(clientdata);
- if (!module_head) {
- /* This is the first module loaded for this interpreter */
- /* so set the swig module into the interpreter */
- SWIG_SetModule(clientdata, &swig_module);
- module_head = &swig_module;
- } else {
- /* the interpreter has loaded a SWIG module, but has it loaded this one? */
- found=0;
- iter=module_head;
- do {
- if (iter==&swig_module) {
- found=1;
- break;
- }
- iter=iter->next;
- } while (iter!= module_head);
-
- /* if the is found in the list, then all is done and we may leave */
- if (found) return;
- /* otherwise we must add out module into the list */
- swig_module.next = module_head->next;
- module_head->next = &swig_module;
- }
-
- /* When multiple interpeters are used, a module could have already been initialized in
- a different interpreter, but not yet have a pointer in this interpreter.
- In this case, we do not want to continue adding types... everything should be
- set up already */
- if (init == 0) return;
-
- /* Now work on filling in swig_module.types */
-#ifdef SWIGRUNTIME_DEBUG
- printf("SWIG_InitializeModule: size %d\n", swig_module.size);
-#endif
- for (i = 0; i < swig_module.size; ++i) {
- swig_type_info *type = 0;
- swig_type_info *ret;
- swig_cast_info *cast;
-
-#ifdef SWIGRUNTIME_DEBUG
- printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
-#endif
-
- /* if there is another module already loaded */
- if (swig_module.next != &swig_module) {
- type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
- }
- if (type) {
- /* Overwrite clientdata field */
-#ifdef SWIGRUNTIME_DEBUG
- printf("SWIG_InitializeModule: found type %s\n", type->name);
-#endif
- if (swig_module.type_initial[i]->clientdata) {
- type->clientdata = swig_module.type_initial[i]->clientdata;
-#ifdef SWIGRUNTIME_DEBUG
- printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
-#endif
- }
- } else {
- type = swig_module.type_initial[i];
- }
-
- /* Insert casting types */
- cast = swig_module.cast_initial[i];
- while (cast->type) {
-
- /* Don't need to add information already in the list */
- ret = 0;
-#ifdef SWIGRUNTIME_DEBUG
- printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
-#endif
- if (swig_module.next != &swig_module) {
- ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
-#ifdef SWIGRUNTIME_DEBUG
- if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
-#endif
- }
- if (ret) {
- if (type == swig_module.type_initial[i]) {
-#ifdef SWIGRUNTIME_DEBUG
- printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
-#endif
- cast->type = ret;
- ret = 0;
- } else {
- /* Check for casting already in the list */
- swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
-#ifdef SWIGRUNTIME_DEBUG
- if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
-#endif
- if (!ocast) ret = 0;
- }
- }
-
- if (!ret) {
-#ifdef SWIGRUNTIME_DEBUG
- printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
-#endif
- if (type->cast) {
- type->cast->prev = cast;
- cast->next = type->cast;
- }
- type->cast = cast;
- }
- cast++;
- }
- /* Set entry in modules->types array equal to the type */
- swig_module.types[i] = type;
- }
- swig_module.types[i] = 0;
-
-#ifdef SWIGRUNTIME_DEBUG
- printf("**** SWIG_InitializeModule: Cast List ******\n");
- for (i = 0; i < swig_module.size; ++i) {
- int j = 0;
- swig_cast_info *cast = swig_module.cast_initial[i];
- printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
- while (cast->type) {
- printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
- cast++;
- ++j;
- }
- printf("---- Total casts: %d\n",j);
- }
- printf("**** SWIG_InitializeModule: Cast List ******\n");
-#endif
-}
-
-/* This function will propagate the clientdata field of type to
-* any new swig_type_info structures that have been added into the list
-* of equivalent types. It is like calling
-* SWIG_TypeClientData(type, clientdata) a second time.
-*/
-SWIGRUNTIME void
-SWIG_PropagateClientData(void) {
- size_t i;
- swig_cast_info *equiv;
- static int init_run = 0;
-
- if (init_run) return;
- init_run = 1;
-
- for (i = 0; i < swig_module.size; i++) {
- if (swig_module.types[i]->clientdata) {
- equiv = swig_module.types[i]->cast;
- while (equiv) {
- if (!equiv->converter) {
- if (equiv->type && !equiv->type->clientdata)
- SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
- }
- equiv = equiv->next;
- }
- }
- }
-}
-
-#ifdef __cplusplus
-#if 0
-{ /* c-mode */
-#endif
-}
-#endif
-
-/*
-
-*/
-#ifdef __cplusplus
-extern "C"
-#endif
-SWIGEXPORT void Init_tinyWRAP(void) {
- size_t i;
-
- SWIG_InitRuntime();
- mTinyWRAP = rb_define_module("TinyWRAP");
-
- SWIG_InitializeModule(0);
- for (i = 0; i < swig_module.size; i++) {
- SWIG_define_class(swig_module.types[i]);
- }
-
- SWIG_RubyInitializeTrackings();
-
- SwigClassSipEvent.klass = rb_define_class_under(mTinyWRAP, "SipEvent", rb_cObject);
- SWIG_TypeClientData(SWIGTYPE_p_SipEvent, (void *) &SwigClassSipEvent);
- rb_define_alloc_func(SwigClassSipEvent.klass, _wrap_SipEvent_allocate);
- rb_define_method(SwigClassSipEvent.klass, "initialize", VALUEFUNC(_wrap_new_SipEvent), -1);
- rb_define_method(SwigClassSipEvent.klass, "getCode", VALUEFUNC(_wrap_SipEvent_getCode), -1);
- rb_define_method(SwigClassSipEvent.klass, "getPhrase", VALUEFUNC(_wrap_SipEvent_getPhrase), -1);
- rb_define_method(SwigClassSipEvent.klass, "getBaseSession", VALUEFUNC(_wrap_SipEvent_getBaseSession), -1);
- SwigClassSipEvent.mark = 0;
- SwigClassSipEvent.destroy = (void (*)(void *)) free_SipEvent;
- SwigClassSipEvent.trackObjects = 0;
-
- SwigClassSipSession.klass = rb_define_class_under(mTinyWRAP, "SipSession", rb_cObject);
- SWIG_TypeClientData(SWIGTYPE_p_SipSession, (void *) &SwigClassSipSession);
- rb_define_alloc_func(SwigClassSipSession.klass, _wrap_SipSession_allocate);
- rb_define_method(SwigClassSipSession.klass, "initialize", VALUEFUNC(_wrap_new_SipSession), -1);
- rb_define_method(SwigClassSipSession.klass, "addHeader", VALUEFUNC(_wrap_SipSession_addHeader), -1);
- rb_define_method(SwigClassSipSession.klass, "removeHeader", VALUEFUNC(_wrap_SipSession_removeHeader), -1);
- rb_define_method(SwigClassSipSession.klass, "addCaps", VALUEFUNC(_wrap_SipSession_addCaps), -1);
- rb_define_method(SwigClassSipSession.klass, "removeCaps", VALUEFUNC(_wrap_SipSession_removeCaps), -1);
- rb_define_method(SwigClassSipSession.klass, "setExpires", VALUEFUNC(_wrap_SipSession_setExpires), -1);
- rb_define_method(SwigClassSipSession.klass, "setFromUri", VALUEFUNC(_wrap_SipSession_setFromUri), -1);
- rb_define_method(SwigClassSipSession.klass, "setToUri", VALUEFUNC(_wrap_SipSession_setToUri), -1);
- SwigClassSipSession.mark = 0;
- SwigClassSipSession.destroy = (void (*)(void *)) free_SipSession;
- SwigClassSipSession.trackObjects = 0;
-
- SwigClassRegistrationEvent.klass = rb_define_class_under(mTinyWRAP, "RegistrationEvent", ((swig_class *) SWIGTYPE_p_SipEvent->clientdata)->klass);
- SWIG_TypeClientData(SWIGTYPE_p_RegistrationEvent, (void *) &SwigClassRegistrationEvent);
- rb_define_alloc_func(SwigClassRegistrationEvent.klass, _wrap_RegistrationEvent_allocate);
- rb_define_method(SwigClassRegistrationEvent.klass, "initialize", VALUEFUNC(_wrap_new_RegistrationEvent), -1);
- rb_define_method(SwigClassRegistrationEvent.klass, "getType", VALUEFUNC(_wrap_RegistrationEvent_getType), -1);
- rb_define_method(SwigClassRegistrationEvent.klass, "getSession", VALUEFUNC(_wrap_RegistrationEvent_getSession), -1);
- SwigClassRegistrationEvent.mark = 0;
- SwigClassRegistrationEvent.destroy = (void (*)(void *)) free_RegistrationEvent;
- SwigClassRegistrationEvent.trackObjects = 0;
-
- SwigClassRegistrationSession.klass = rb_define_class_under(mTinyWRAP, "RegistrationSession", ((swig_class *) SWIGTYPE_p_SipSession->clientdata)->klass);
- SWIG_TypeClientData(SWIGTYPE_p_RegistrationSession, (void *) &SwigClassRegistrationSession);
- rb_define_alloc_func(SwigClassRegistrationSession.klass, _wrap_RegistrationSession_allocate);
- rb_define_method(SwigClassRegistrationSession.klass, "initialize", VALUEFUNC(_wrap_new_RegistrationSession), -1);
- rb_define_method(SwigClassRegistrationSession.klass, "Register", VALUEFUNC(_wrap_RegistrationSession_Register), -1);
- rb_define_method(SwigClassRegistrationSession.klass, "UnRegister", VALUEFUNC(_wrap_RegistrationSession_UnRegister), -1);
- SwigClassRegistrationSession.mark = 0;
- SwigClassRegistrationSession.destroy = (void (*)(void *)) free_RegistrationSession;
- SwigClassRegistrationSession.trackObjects = 0;
- rb_define_module_function(mTinyWRAP, "disown_SipCallback", VALUEFUNC(_wrap_disown_SipCallback), -1);
-
- SwigClassSipCallback.klass = rb_define_class_under(mTinyWRAP, "SipCallback", rb_cObject);
- SWIG_TypeClientData(SWIGTYPE_p_SipCallback, (void *) &SwigClassSipCallback);
- rb_define_alloc_func(SwigClassSipCallback.klass, _wrap_SipCallback_allocate);
- rb_define_method(SwigClassSipCallback.klass, "initialize", VALUEFUNC(_wrap_new_SipCallback), -1);
- rb_define_method(SwigClassSipCallback.klass, "OnRegistrationChanged", VALUEFUNC(_wrap_SipCallback_OnRegistrationChanged), -1);
- SwigClassSipCallback.mark = 0;
- SwigClassSipCallback.destroy = (void (*)(void *)) free_SipCallback;
- SwigClassSipCallback.trackObjects = 0;
-
- SwigClassSafeObject.klass = rb_define_class_under(mTinyWRAP, "SafeObject", rb_cObject);
- SWIG_TypeClientData(SWIGTYPE_p_SafeObject, (void *) &SwigClassSafeObject);
- rb_define_alloc_func(SwigClassSafeObject.klass, _wrap_SafeObject_allocate);
- rb_define_method(SwigClassSafeObject.klass, "initialize", VALUEFUNC(_wrap_new_SafeObject), -1);
- rb_define_method(SwigClassSafeObject.klass, "Lock", VALUEFUNC(_wrap_SafeObject_Lock), -1);
- rb_define_method(SwigClassSafeObject.klass, "UnLock", VALUEFUNC(_wrap_SafeObject_UnLock), -1);
- SwigClassSafeObject.mark = 0;
- SwigClassSafeObject.destroy = (void (*)(void *)) free_SafeObject;
- SwigClassSafeObject.trackObjects = 0;
-
- SwigClassSipStack.klass = rb_define_class_under(mTinyWRAP, "SipStack", ((swig_class *) SWIGTYPE_p_SafeObject->clientdata)->klass);
- SWIG_TypeClientData(SWIGTYPE_p_SipStack, (void *) &SwigClassSipStack);
- rb_define_alloc_func(SwigClassSipStack.klass, _wrap_SipStack_allocate);
- rb_define_method(SwigClassSipStack.klass, "initialize", VALUEFUNC(_wrap_new_SipStack), -1);
- rb_define_method(SwigClassSipStack.klass, "Start", VALUEFUNC(_wrap_SipStack_Start), -1);
- rb_define_method(SwigClassSipStack.klass, "setPassword", VALUEFUNC(_wrap_SipStack_setPassword), -1);
- rb_define_method(SwigClassSipStack.klass, "setProxyCSCF", VALUEFUNC(_wrap_SipStack_setProxyCSCF), -1);
- rb_define_method(SwigClassSipStack.klass, "setLocalIP", VALUEFUNC(_wrap_SipStack_setLocalIP), -1);
- rb_define_method(SwigClassSipStack.klass, "setLocalPort", VALUEFUNC(_wrap_SipStack_setLocalPort), -1);
- rb_define_method(SwigClassSipStack.klass, "addHeader", VALUEFUNC(_wrap_SipStack_addHeader), -1);
- rb_define_method(SwigClassSipStack.klass, "removeHeader", VALUEFUNC(_wrap_SipStack_removeHeader), -1);
- rb_define_method(SwigClassSipStack.klass, "Stop", VALUEFUNC(_wrap_SipStack_Stop), -1);
- SwigClassSipStack.mark = 0;
- SwigClassSipStack.destroy = (void (*)(void *)) free_SipStack;
- SwigClassSipStack.trackObjects = 0;
- rb_define_const(mTinyWRAP, "Tsip_event_invite", SWIG_From_int(static_cast< int >(tsip_event_invite)));
- rb_define_const(mTinyWRAP, "Tsip_event_message", SWIG_From_int(static_cast< int >(tsip_event_message)));
- rb_define_const(mTinyWRAP, "Tsip_event_options", SWIG_From_int(static_cast< int >(tsip_event_options)));
- rb_define_const(mTinyWRAP, "Tsip_event_publish", SWIG_From_int(static_cast< int >(tsip_event_publish)));
- rb_define_const(mTinyWRAP, "Tsip_event_register", SWIG_From_int(static_cast< int >(tsip_event_register)));
- rb_define_const(mTinyWRAP, "Tsip_event_subscribe", SWIG_From_int(static_cast< int >(tsip_event_subscribe)));
- rb_define_const(mTinyWRAP, "Tsip_event_dialog", SWIG_From_int(static_cast< int >(tsip_event_dialog)));
- rb_define_const(mTinyWRAP, "Tsip_i_register", SWIG_From_int(static_cast< int >(tsip_i_register)));
- rb_define_const(mTinyWRAP, "Tsip_ai_register", SWIG_From_int(static_cast< int >(tsip_ai_register)));
- rb_define_const(mTinyWRAP, "Tsip_o_register", SWIG_From_int(static_cast< int >(tsip_o_register)));
- rb_define_const(mTinyWRAP, "Tsip_ao_register", SWIG_From_int(static_cast< int >(tsip_ao_register)));
- rb_define_const(mTinyWRAP, "Tsip_i_unregister", SWIG_From_int(static_cast< int >(tsip_i_unregister)));
- rb_define_const(mTinyWRAP, "Tsip_ai_unregister", SWIG_From_int(static_cast< int >(tsip_ai_unregister)));
- rb_define_const(mTinyWRAP, "Tsip_o_unregister", SWIG_From_int(static_cast< int >(tsip_o_unregister)));
- rb_define_const(mTinyWRAP, "Tsip_ao_unregister", SWIG_From_int(static_cast< int >(tsip_ao_unregister)));
-}
-
diff --git a/branches/1.0/bindings/ruby/tinyWRAP_wrap.h b/branches/1.0/bindings/ruby/tinyWRAP_wrap.h
deleted file mode 100644
index aa81b61..0000000
--- a/branches/1.0/bindings/ruby/tinyWRAP_wrap.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.40
- *
- * This file is not intended to be easily readable and contains a number of
- * coding conventions designed to improve portability and efficiency. Do not make
- * changes to this file unless you know what you are doing--modify the SWIG
- * interface file instead.
- * ----------------------------------------------------------------------------- */
-
-#ifndef SWIG_TinyWRAP_WRAP_H_
-#define SWIG_TinyWRAP_WRAP_H_
-
-namespace Swig {
- class Director;
-}
-
-
-class SwigDirector_SipCallback : public SipCallback, public Swig::Director {
-
-public:
- SwigDirector_SipCallback(VALUE self);
- virtual ~SwigDirector_SipCallback();
- virtual int OnRegistrationChanged(RegistrationEvent const *e);
-};
-
-
-#endif
diff --git a/branches/1.0/bindings/vs_2005/csharp/test/Form1.Designer.cs b/branches/1.0/bindings/vs_2005/csharp/test/Form1.Designer.cs
deleted file mode 100644
index deea482..0000000
--- a/branches/1.0/bindings/vs_2005/csharp/test/Form1.Designer.cs
+++ /dev/null
@@ -1,137 +0,0 @@
-namespace test
-{
- partial class Form1
- {
- /// <summary>
- /// Required designer variable.
- /// </summary>
- private System.ComponentModel.IContainer components = null;
-
- /// <summary>
- /// Clean up any resources being used.
- /// </summary>
- /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- /// <summary>
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- /// </summary>
- private void InitializeComponent()
- {
- this.buttonRegister = new System.Windows.Forms.Button();
- this.buttonUnRegister = new System.Windows.Forms.Button();
- this.textBoxDebug = new System.Windows.Forms.TextBox();
- this.buttonPublish = new System.Windows.Forms.Button();
- this.buttonUnPublish = new System.Windows.Forms.Button();
- this.buttonUnSub = new System.Windows.Forms.Button();
- this.buttonSub = new System.Windows.Forms.Button();
- this.SuspendLayout();
- //
- // buttonRegister
- //
- this.buttonRegister.Location = new System.Drawing.Point(12, 263);
- this.buttonRegister.Name = "buttonRegister";
- this.buttonRegister.Size = new System.Drawing.Size(75, 23);
- this.buttonRegister.TabIndex = 0;
- this.buttonRegister.Text = "Register";
- this.buttonRegister.UseVisualStyleBackColor = true;
- this.buttonRegister.Click += new System.EventHandler(this.buttonRegister_Click);
- //
- // buttonUnRegister
- //
- this.buttonUnRegister.Location = new System.Drawing.Point(199, 263);
- this.buttonUnRegister.Name = "buttonUnRegister";
- this.buttonUnRegister.Size = new System.Drawing.Size(75, 23);
- this.buttonUnRegister.TabIndex = 1;
- this.buttonUnRegister.Text = "UnRegister";
- this.buttonUnRegister.UseVisualStyleBackColor = true;
- this.buttonUnRegister.Click += new System.EventHandler(this.buttonUnRegister_Click);
- //
- // textBoxDebug
- //
- this.textBoxDebug.Location = new System.Drawing.Point(12, 292);
- this.textBoxDebug.Multiline = true;
- this.textBoxDebug.Name = "textBoxDebug";
- this.textBoxDebug.Size = new System.Drawing.Size(262, 70);
- this.textBoxDebug.TabIndex = 2;
- //
- // buttonPublish
- //
- this.buttonPublish.Location = new System.Drawing.Point(12, 234);
- this.buttonPublish.Name = "buttonPublish";
- this.buttonPublish.Size = new System.Drawing.Size(75, 23);
- this.buttonPublish.TabIndex = 3;
- this.buttonPublish.Text = "Publish";
- this.buttonPublish.UseVisualStyleBackColor = true;
- this.buttonPublish.Click += new System.EventHandler(this.buttonPublish_Click);
- //
- // buttonUnPublish
- //
- this.buttonUnPublish.Location = new System.Drawing.Point(199, 235);
- this.buttonUnPublish.Name = "buttonUnPublish";
- this.buttonUnPublish.Size = new System.Drawing.Size(75, 23);
- this.buttonUnPublish.TabIndex = 4;
- this.buttonUnPublish.Text = "UnPublish";
- this.buttonUnPublish.UseVisualStyleBackColor = true;
- this.buttonUnPublish.Click += new System.EventHandler(this.buttonUnPublish_Click);
- //
- // buttonUnSub
- //
- this.buttonUnSub.Location = new System.Drawing.Point(199, 206);
- this.buttonUnSub.Name = "buttonUnSub";
- this.buttonUnSub.Size = new System.Drawing.Size(75, 23);
- this.buttonUnSub.TabIndex = 6;
- this.buttonUnSub.Text = "UnSubscribe";
- this.buttonUnSub.UseVisualStyleBackColor = true;
- //
- // buttonSub
- //
- this.buttonSub.Location = new System.Drawing.Point(12, 205);
- this.buttonSub.Name = "buttonSub";
- this.buttonSub.Size = new System.Drawing.Size(75, 23);
- this.buttonSub.TabIndex = 5;
- this.buttonSub.Text = "Subscribe";
- this.buttonSub.UseVisualStyleBackColor = true;
- this.buttonSub.Click += new System.EventHandler(this.buttonSub_Click);
- //
- // Form1
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(286, 374);
- this.Controls.Add(this.buttonUnSub);
- this.Controls.Add(this.buttonSub);
- this.Controls.Add(this.buttonUnPublish);
- this.Controls.Add(this.buttonPublish);
- this.Controls.Add(this.textBoxDebug);
- this.Controls.Add(this.buttonUnRegister);
- this.Controls.Add(this.buttonRegister);
- this.Name = "Form1";
- this.Text = "Form1";
- this.ResumeLayout(false);
- this.PerformLayout();
-
- }
-
- #endregion
-
- private System.Windows.Forms.Button buttonRegister;
- private System.Windows.Forms.Button buttonUnRegister;
- private System.Windows.Forms.TextBox textBoxDebug;
- private System.Windows.Forms.Button buttonPublish;
- private System.Windows.Forms.Button buttonUnPublish;
- private System.Windows.Forms.Button buttonUnSub;
- private System.Windows.Forms.Button buttonSub;
- }
-}
-
diff --git a/branches/1.0/bindings/vs_2005/csharp/test/Form1.cs b/branches/1.0/bindings/vs_2005/csharp/test/Form1.cs
deleted file mode 100644
index 06dd439..0000000
--- a/branches/1.0/bindings/vs_2005/csharp/test/Form1.cs
+++ /dev/null
@@ -1,245 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Text;
-using System.Windows.Forms;
-
-namespace test
-{
- public partial class Form1 : Form
- {
- /*const String REALM = "ims.inexbee.com";
- const String USER = "mamadou";
- const String PASSWORD = "mamadou";
- const String PROXY_CSCF_IP = "192.168.16.225";
- const uint PROXY_CSCF_PORT = 4060;*/
-
- const String REALM = "micromethod.com";
- const String USER = "mamadou";
- const String PASSWORD = "mamadou";
- const String PROXY_CSCF_IP = "192.168.16.104";
- const uint PROXY_CSCF_PORT = 5060;
-
- RegistrationSession regSession = null;
- PublicationSession pubSession = null;
- SubscriptionSession subSession = null;
- MyCallback callback = null;
- SipStack stack = null;
-
- public delegate void PrintDebug(String text);
- public PrintDebug mydel;
-
- const String PUBLISH_PAYLOAD = "<?xml version=\"1.0\" encoding=\"utf-8\"?>" +
-"<presence xmlns:cp=\"urn:ietf:params:xml:ns:pidf:cipid\" xmlns:caps=\"urn:ietf:params:xml:ns:pidf:caps\" xmlns:rpid=\"urn:ietf:params:xml:ns:pidf:rpid\" xmlns:pdm=\"urn:ietf:params:xml:ns:pidf:data-model\" xmlns:p=\"urn:ietf:params:xml:ns:pidf-diff\" xmlns:op=\"urn:oma:xml:prs:pidf:oma-pres\" entity=\"sip:bob@ims.inexbee.com\" xmlns=\"urn:ietf:params:xml:ns:pidf\">" +
- "<pdm:person id=\"RPVRYNJH\">" +
- "<op:overriding-willingness>" +
- "<op:basic>open</op:basic>" +
- "</op:overriding-willingness>" +
- "<rpid:activities>" +
- "<rpid:busy />" +
- "</rpid:activities>" +
- "<rpid:mood>" +
- "<rpid:guilty />" +
- "</rpid:mood>" +
- "<cp:homepage>http://doubango.org</cp:homepage>" +
- "<pdm:note>Come share with me RCS Experience</pdm:note>" +
- "</pdm:person>" +
- "<pdm:device id=\"d0001\">" +
- "<status>" +
- "<basic>open</basic>" +
- "</status>" +
- "<caps:devcaps>" +
- "<caps:mobility>" +
- "<caps:supported>" +
- "<caps:fixed />" +
- "</caps:supported>" +
- "</caps:mobility>" +
- "</caps:devcaps>" +
- "<op:network-availability>" +
- "<op:network id=\"IMS\">" +
- "<op:active />" +
- "</op:network>" +
- "</op:network-availability>" +
- "<pdm:deviceID>urn:uuid:3ca50bcb-7a67-44f1-afd0-994a55f930f4</pdm:deviceID>" +
- "</pdm:device>" +
-"</presence>";
-
- public Form1()
- {
- InitializeComponent();
-
- bool success;
-
- mydel = new PrintDebug(PrintDebugMethod);
-
- /* Create call back */
- callback = new MyCallback(this);
- /* Create and configure the IMS/LTE stack */
- // stack = new SipStack(callback, String.Format("sip:{0}", REALM), String.Format("{0}@{1}", USER, REALM), String.Format("sip:{0}@{1}", USER, REALM));
- stack = new SipStack(callback, String.Format("sip:{0}", REALM), String.Format("{0}@{1}", USER, REALM), String.Format("sip:{0}@{1}", USER, REALM));
-
- if (!stack.isValid())
- {
- this.textBoxDebug.Text = "Invalid stack";
- return;
- }
-
- stack.addHeader("Allow", "INVITE, ACK, CANCEL, BYE, MESSAGE, OPTIONS, NOTIFY, PRACK, UPDATE, REFER");
- stack.addHeader("Privacy", "header; id");
- stack.addHeader("P-Access-Network-Info", "ADSL;utran-cell-id-3gpp=00000000");
- stack.addHeader("User-Agent", "IM-client/OMA1.0 doubango/v1.0.0");
-
- /* set password */
- success = stack.setPassword(PASSWORD);
- /* Sets Proxy-CSCF */
- success = stack.setProxyCSCF(PROXY_CSCF_IP, PROXY_CSCF_PORT, "udp", "ipv4");
- /* Starts the stack */
- success = stack.start();
- }
-
- private void buttonRegister_Click(object sender, EventArgs e)
- {
- if (this.regSession == null)
- {
- this.regSession = new RegistrationSession(stack);
- this.regSession.addCaps("+g.oma.sip-im");
- this.regSession.addCaps("+g.3gpp.smsip");
- this.regSession.addCaps("language", "\"en,fr\"");
- this.regSession.setExpires(30);
- }
- this.regSession.Register();
- }
-
- private void buttonUnRegister_Click(object sender, EventArgs e)
- {
- if (this.regSession != null)
- {
- this.regSession.UnRegister();
- }
- }
-
- private void buttonPublish_Click(object sender, EventArgs e)
- {
- if (this.pubSession == null)
- {
- this.pubSession = new PublicationSession(stack);
- this.pubSession.addHeader("Content-Type", "application/pidf+xml");
- this.pubSession.addHeader("Event", "presence");
- this.pubSession.setExpires(30);
-
- byte[] payload = Encoding.UTF8.GetBytes(PUBLISH_PAYLOAD);
- this.pubSession.Publish(payload, (uint)payload.Length);
- }
- }
-
- private void buttonUnPublish_Click(object sender, EventArgs e)
- {
- if (this.pubSession != null)
- {
- this.pubSession.UnPublish();
- }
- }
-
- void PrintDebugMethod(String text)
- {
- this.textBoxDebug.Text = text;
- }
-
- private void buttonSub_Click(object sender, EventArgs e)
- {
- if (this.subSession == null)
- {
- this.subSession = new SubscriptionSession(stack);
- this.subSession.addHeader("Accept", "application/reginfo+xml");
- this.subSession.addHeader("Event", "reg");
- this.subSession.setExpires(30);
-
- this.subSession.Subscribe();
- }
- }
- }
-
-
-
-
-
- public class MyCallback : SipCallback
- {
- Form1 form;
-
- public MyCallback(Form1 form)
- : base()
- {
- this.form = form;
- }
-
- public override int OnRegistrationEvent(RegistrationEvent e)
- {
- short code = e.getCode();
- tsip_register_event_type_t type = e.getType();
- String text;
-
- RegistrationSession session = e.getSession();
-
- switch (type)
- {
- case tsip_register_event_type_t.tsip_i_register:
- case tsip_register_event_type_t.tsip_ao_register:
- case tsip_register_event_type_t.tsip_i_unregister:
- case tsip_register_event_type_t.tsip_ao_unregister:
- break;
- }
-
- text = String.Format("OnRegistrationChanged() ==> {0}:{1}", code, e.getPhrase());
-
- if (this.form.InvokeRequired)
- {
- this.form.Invoke(this.form.mydel, new object[] { text });
- }
-
- return 0;
- }
-
- public override int OnSubscriptionEvent(SubscriptionEvent e)
- {
- switch (e.getType())
- {
- case tsip_subscribe_event_type_t.tsip_i_notify:
- String ev = e.getSipMessage().getSipHeaderValue("Event");
- Console.WriteLine("Event=%s", ev);
- break;
- default:
- break;
- }
- return base.OnSubscriptionEvent(e);
- }
-
- public override int OnPublicationEvent(PublicationEvent e)
- {
- short code = e.getCode();
- tsip_publish_event_type_t type = e.getType();
- String text;
-
- PublicationSession session = e.getSession();
-
- switch (type){
- default:
- break;
- }
-
- text = String.Format("OnPublicationChanged() ==> {0}:{1}", code, e.getPhrase());
-
- if (this.form.InvokeRequired)
- {
- this.form.Invoke(this.form.mydel, new object[] { text });
- }
-
- return 0;
- }
- }
-
-
-
-} \ No newline at end of file
diff --git a/branches/1.0/bindings/vs_2005/csharp/test/Form1.resx b/branches/1.0/bindings/vs_2005/csharp/test/Form1.resx
deleted file mode 100644
index ff31a6d..0000000
--- a/branches/1.0/bindings/vs_2005/csharp/test/Form1.resx
+++ /dev/null
@@ -1,120 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
- <!--
- Microsoft ResX Schema
-
- Version 2.0
-
- The primary goals of this format is to allow a simple XML format
- that is mostly human readable. The generation and parsing of the
- various data types are done through the TypeConverter classes
- associated with the data types.
-
- Example:
-
- ... ado.net/XML headers & schema ...
- <resheader name="resmimetype">text/microsoft-resx</resheader>
- <resheader name="version">2.0</resheader>
- <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
- <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
- <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
- <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
- <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
- <value>[base64 mime encoded serialized .NET Framework object]</value>
- </data>
- <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
- <comment>This is a comment</comment>
- </data>
-
- There are any number of "resheader" rows that contain simple
- name/value pairs.
-
- Each data row contains a name, and value. The row also contains a
- type or mimetype. Type corresponds to a .NET class that support
- text/value conversion through the TypeConverter architecture.
- Classes that don't support this are serialized and stored with the
- mimetype set.
-
- The mimetype is used for serialized objects, and tells the
- ResXResourceReader how to depersist the object. This is currently not
- extensible. For a given mimetype the value must be set accordingly:
-
- Note - application/x-microsoft.net.object.binary.base64 is the format
- that the ResXResourceWriter will generate, however the reader can
- read any of the formats listed below.
-
- mimetype: application/x-microsoft.net.object.binary.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.soap.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.bytearray.base64
- value : The object must be serialized into a byte array
- : using a System.ComponentModel.TypeConverter
- : and then encoded with base64 encoding.
- -->
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
- <xsd:element name="root" msdata:IsDataSet="true">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded">
- <xsd:element name="metadata">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" />
- </xsd:sequence>
- <xsd:attribute name="name" use="required" type="xsd:string" />
- <xsd:attribute name="type" type="xsd:string" />
- <xsd:attribute name="mimetype" type="xsd:string" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="assembly">
- <xsd:complexType>
- <xsd:attribute name="alias" type="xsd:string" />
- <xsd:attribute name="name" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="data">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="resheader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <resheader name="resmimetype">
- <value>text/microsoft-resx</value>
- </resheader>
- <resheader name="version">
- <value>2.0</value>
- </resheader>
- <resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
-</root> \ No newline at end of file
diff --git a/branches/1.0/bindings/vs_2005/csharp/test/Program.cs b/branches/1.0/bindings/vs_2005/csharp/test/Program.cs
deleted file mode 100644
index fdb9a10..0000000
--- a/branches/1.0/bindings/vs_2005/csharp/test/Program.cs
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
-* Copyright (C) 2009 Mamadou Diop.
-*
-* Contact: Mamadou Diop <diopmamadou@doubango.org>
-*
-* This file is part of Open Source Doubango Framework.
-*
-* DOUBANGO is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation, either version 3 of the License, or
-* (at your option) any later version.
-*
-* DOUBANGO is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with DOUBANGO.
-*
-*/
-
-using System;
-using System.Collections.Generic;
-using System.Windows.Forms;
-
-namespace test
-{
- static class Program
- {
- /// <summary>
- /// The main entry point for the application.
- /// </summary>
- [STAThread]
- static void Main()
- {
- Application.EnableVisualStyles();
- Application.SetCompatibleTextRenderingDefault(false);
- Application.Run(new Form1());
- }
- }
-} \ No newline at end of file
diff --git a/branches/1.0/bindings/vs_2005/csharp/test/Properties/AssemblyInfo.cs b/branches/1.0/bindings/vs_2005/csharp/test/Properties/AssemblyInfo.cs
deleted file mode 100644
index a2f5b5f..0000000
--- a/branches/1.0/bindings/vs_2005/csharp/test/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("test")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Inexbee")]
-[assembly: AssemblyProduct("test")]
-[assembly: AssemblyCopyright("Copyright © Inexbee 2010")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("a92d8157-6c95-44ef-a64a-0c4dd0c40345")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/branches/1.0/bindings/vs_2005/csharp/test/Properties/Resources.Designer.cs b/branches/1.0/bindings/vs_2005/csharp/test/Properties/Resources.Designer.cs
deleted file mode 100644
index e39d81e..0000000
--- a/branches/1.0/bindings/vs_2005/csharp/test/Properties/Resources.Designer.cs
+++ /dev/null
@@ -1,71 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-// This code was generated by a tool.
-// Runtime Version:2.0.50727.3603
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace test.Properties
-{
-
-
- /// <summary>
- /// A strongly-typed resource class, for looking up localized strings, etc.
- /// </summary>
- // This class was auto-generated by the StronglyTypedResourceBuilder
- // class via a tool like ResGen or Visual Studio.
- // To add or remove a member, edit your .ResX file then rerun ResGen
- // with the /str option, or rebuild your VS project.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- internal class Resources
- {
-
- private static global::System.Resources.ResourceManager resourceMan;
-
- private static global::System.Globalization.CultureInfo resourceCulture;
-
- [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal Resources()
- {
- }
-
- /// <summary>
- /// Returns the cached ResourceManager instance used by this class.
- /// </summary>
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Resources.ResourceManager ResourceManager
- {
- get
- {
- if ((resourceMan == null))
- {
- global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("test.Properties.Resources", typeof(Resources).Assembly);
- resourceMan = temp;
- }
- return resourceMan;
- }
- }
-
- /// <summary>
- /// Overrides the current thread's CurrentUICulture property for all
- /// resource lookups using this strongly typed resource class.
- /// </summary>
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Globalization.CultureInfo Culture
- {
- get
- {
- return resourceCulture;
- }
- set
- {
- resourceCulture = value;
- }
- }
- }
-}
diff --git a/branches/1.0/bindings/vs_2005/csharp/test/Properties/Resources.resx b/branches/1.0/bindings/vs_2005/csharp/test/Properties/Resources.resx
deleted file mode 100644
index ffecec8..0000000
--- a/branches/1.0/bindings/vs_2005/csharp/test/Properties/Resources.resx
+++ /dev/null
@@ -1,117 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
- <!--
- Microsoft ResX Schema
-
- Version 2.0
-
- The primary goals of this format is to allow a simple XML format
- that is mostly human readable. The generation and parsing of the
- various data types are done through the TypeConverter classes
- associated with the data types.
-
- Example:
-
- ... ado.net/XML headers & schema ...
- <resheader name="resmimetype">text/microsoft-resx</resheader>
- <resheader name="version">2.0</resheader>
- <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
- <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
- <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
- <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
- <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
- <value>[base64 mime encoded serialized .NET Framework object]</value>
- </data>
- <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
- <comment>This is a comment</comment>
- </data>
-
- There are any number of "resheader" rows that contain simple
- name/value pairs.
-
- Each data row contains a name, and value. The row also contains a
- type or mimetype. Type corresponds to a .NET class that support
- text/value conversion through the TypeConverter architecture.
- Classes that don't support this are serialized and stored with the
- mimetype set.
-
- The mimetype is used for serialized objects, and tells the
- ResXResourceReader how to depersist the object. This is currently not
- extensible. For a given mimetype the value must be set accordingly:
-
- Note - application/x-microsoft.net.object.binary.base64 is the format
- that the ResXResourceWriter will generate, however the reader can
- read any of the formats listed below.
-
- mimetype: application/x-microsoft.net.object.binary.base64
- value : The object must be serialized with
- : System.Serialization.Formatters.Binary.BinaryFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.soap.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.bytearray.base64
- value : The object must be serialized into a byte array
- : using a System.ComponentModel.TypeConverter
- : and then encoded with base64 encoding.
- -->
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xsd:element name="root" msdata:IsDataSet="true">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded">
- <xsd:element name="metadata">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" />
- <xsd:attribute name="type" type="xsd:string" />
- <xsd:attribute name="mimetype" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="assembly">
- <xsd:complexType>
- <xsd:attribute name="alias" type="xsd:string" />
- <xsd:attribute name="name" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="data">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="resheader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <resheader name="resmimetype">
- <value>text/microsoft-resx</value>
- </resheader>
- <resheader name="version">
- <value>2.0</value>
- </resheader>
- <resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
-</root> \ No newline at end of file
diff --git a/branches/1.0/bindings/vs_2005/csharp/test/Properties/Settings.Designer.cs b/branches/1.0/bindings/vs_2005/csharp/test/Properties/Settings.Designer.cs
deleted file mode 100644
index 40fe451..0000000
--- a/branches/1.0/bindings/vs_2005/csharp/test/Properties/Settings.Designer.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-// This code was generated by a tool.
-// Runtime Version:2.0.50727.3603
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace test.Properties
-{
-
-
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0")]
- internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
- {
-
- private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
-
- public static Settings Default
- {
- get
- {
- return defaultInstance;
- }
- }
- }
-}
diff --git a/branches/1.0/bindings/vs_2005/csharp/test/Properties/Settings.settings b/branches/1.0/bindings/vs_2005/csharp/test/Properties/Settings.settings
deleted file mode 100644
index abf36c5..0000000
--- a/branches/1.0/bindings/vs_2005/csharp/test/Properties/Settings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version='1.0' encoding='utf-8'?>
-<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
- <Profiles>
- <Profile Name="(Default)" />
- </Profiles>
- <Settings />
-</SettingsFile>
diff --git a/branches/1.0/bindings/vs_2005/csharp/test/test.csproj b/branches/1.0/bindings/vs_2005/csharp/test/test.csproj
deleted file mode 100644
index 9b59aa2..0000000
--- a/branches/1.0/bindings/vs_2005/csharp/test/test.csproj
+++ /dev/null
@@ -1,189 +0,0 @@
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>8.0.50727</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{F7834906-DC12-4FA4-9722-2F110F815266}</ProjectGuid>
- <OutputType>WinExe</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>test</RootNamespace>
- <AssemblyName>test</AssemblyName>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>bin\Debug\</OutputPath>
- <DefineConstants>DEBUG;TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>bin\Release\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="System" />
- <Reference Include="System.Data" />
- <Reference Include="System.Deployment" />
- <Reference Include="System.Drawing" />
- <Reference Include="System.Windows.Forms" />
- <Reference Include="System.Xml" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="..\..\..\csharp\CallEvent.cs">
- <Link>CallEvent.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\CallSession.cs">
- <Link>CallSession.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\DDebugCallback.cs">
- <Link>DDebugCallback.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\DialogEvent.cs">
- <Link>DialogEvent.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\MessagingEvent.cs">
- <Link>MessagingEvent.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\MessagingSession.cs">
- <Link>MessagingSession.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\OptionsEvent.cs">
- <Link>OptionsEvent.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\OptionsSession.cs">
- <Link>OptionsSession.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\ProxyAudioConsumer.cs">
- <Link>ProxyAudioConsumer.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\ProxyAudioProducer.cs">
- <Link>ProxyAudioProducer.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\ProxyVideoConsumer.cs">
- <Link>ProxyVideoConsumer.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\ProxyVideoFrame.cs">
- <Link>ProxyVideoFrame.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\ProxyVideoProducer.cs">
- <Link>ProxyVideoProducer.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\PublicationEvent.cs">
- <Link>PublicationEvent.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\PublicationSession.cs">
- <Link>PublicationSession.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\RegistrationEvent.cs">
- <Link>RegistrationEvent.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\RegistrationSession.cs">
- <Link>RegistrationSession.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\SafeObject.cs">
- <Link>SafeObject.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\SipCallback.cs">
- <Link>SipCallback.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\SipEvent.cs">
- <Link>SipEvent.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\SipMessage.cs">
- <Link>SipMessage.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\SipSession.cs">
- <Link>SipSession.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\SipStack.cs">
- <Link>SipStack.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\SipUri.cs">
- <Link>SipUri.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\StackEvent.cs">
- <Link>StackEvent.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\SubscriptionEvent.cs">
- <Link>SubscriptionEvent.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\SubscriptionSession.cs">
- <Link>SubscriptionSession.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\tinyWRAP.cs">
- <Link>tinyWRAP.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\tinyWRAPPINVOKE.cs">
- <Link>tinyWRAPPINVOKE.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\tmedia_chroma_t.cs">
- <Link>tmedia_chroma_t.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\tsip_event_type_t.cs">
- <Link>tsip_event_type_t.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\tsip_invite_event_type_t.cs">
- <Link>tsip_invite_event_type_t.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\tsip_message_event_type_t.cs">
- <Link>tsip_message_event_type_t.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\tsip_options_event_type_t.cs">
- <Link>tsip_options_event_type_t.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\tsip_publish_event_type_t.cs">
- <Link>tsip_publish_event_type_t.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\tsip_register_event_type_t.cs">
- <Link>tsip_register_event_type_t.cs</Link>
- </Compile>
- <Compile Include="..\..\..\csharp\tsip_subscribe_event_type_t.cs">
- <Link>tsip_subscribe_event_type_t.cs</Link>
- </Compile>
- <Compile Include="Form1.cs">
- <SubType>Form</SubType>
- </Compile>
- <Compile Include="Form1.Designer.cs">
- <DependentUpon>Form1.cs</DependentUpon>
- </Compile>
- <Compile Include="Program.cs" />
- <Compile Include="Properties\AssemblyInfo.cs" />
- <EmbeddedResource Include="Form1.resx">
- <SubType>Designer</SubType>
- <DependentUpon>Form1.cs</DependentUpon>
- </EmbeddedResource>
- <EmbeddedResource Include="Properties\Resources.resx">
- <Generator>ResXFileCodeGenerator</Generator>
- <LastGenOutput>Resources.Designer.cs</LastGenOutput>
- <SubType>Designer</SubType>
- </EmbeddedResource>
- <Compile Include="Properties\Resources.Designer.cs">
- <AutoGen>True</AutoGen>
- <DependentUpon>Resources.resx</DependentUpon>
- </Compile>
- <None Include="Properties\Settings.settings">
- <Generator>SettingsSingleFileGenerator</Generator>
- <LastGenOutput>Settings.Designer.cs</LastGenOutput>
- </None>
- <Compile Include="Properties\Settings.Designer.cs">
- <AutoGen>True</AutoGen>
- <DependentUpon>Settings.settings</DependentUpon>
- <DesignTimeSharedInput>True</DesignTimeSharedInput>
- </Compile>
- </ItemGroup>
- <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
- -->
-</Project> \ No newline at end of file
diff --git a/branches/1.0/bindings/vs_2005/csharp/tinyWRAP.sln b/branches/1.0/bindings/vs_2005/csharp/tinyWRAP.sln
deleted file mode 100644
index 7ec6c1a..0000000
--- a/branches/1.0/bindings/vs_2005/csharp/tinyWRAP.sln
+++ /dev/null
@@ -1,246 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 9.00
-# Visual Studio 2005
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyWRAP", "tinyWRAP.vcproj", "{6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinySAK", "..\..\..\vs_2005\tinySAK\tinySAK.vcproj", "{6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyNET", "..\..\..\vs_2005\tinyNET\tinyNET.vcproj", "{7522A458-92F4-4259-B906-E84C2A65D9F1}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinySIP", "..\..\..\vs_2005\tinySIP\tinySIP.vcproj", "{4CE20732-9978-4A88-B586-CFEFCB63E82D}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyHTTP", "..\..\..\vs_2005\tinyHTTP\tinyHTTP.vcproj", "{B3E45009-C7C3-4090-837C-2D30C9058443}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyIPSec", "..\..\..\vs_2005\tinyIPSec\tinyIPSec.vcproj", "{002FF064-588F-402E-A096-C8D033F49F40}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinySDP", "..\..\..\vs_2005\tinySDP\tinySDP.vcproj", "{E45DB518-6562-4033-80E8-60030F0B169F}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyMEDIA", "..\..\..\vs_2005\tinyMEDIA\tinyMEDIA.vcproj", "{52814B0D-7DCA-45B8-9A16-8B147040D619}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "test", "test\test.csproj", "{F7834906-DC12-4FA4-9722-2F110F815266}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyDAV", "..\..\..\vs_2005\tinyDAV\tinyDAV.vcproj", "{8E2F0B2E-2596-4010-BF4A-2F688975B5C1}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinySIGCOMP", "..\..\..\vs_2005\tinySIGCOMP\tinySIGCOMP.vcproj", "{76261DC8-25B3-43F4-9FB5-112C4AC0880E}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyRTP", "..\..\..\vs_2005\tinyRTP\tinyRTP.vcproj", "{99B7D02F-8C70-4B45-AF3C-92313C3CEE15}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyDSHOW", "..\..\..\vs_2005\tinyDSHOW\tinyDSHOW.vcproj", "{0CCC02F1-4233-424F-AD5E-A021456E6E8D}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinySMS", "..\..\..\vs_2005\tinySMS\tinySMS.vcproj", "{9A3A5AF3-2333-4477-B880-7F901F9D8972}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Debug|Mixed Platforms = Debug|Mixed Platforms
- Debug|Win32 = Debug|Win32
- Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- Release|Any CPU = Release|Any CPU
- Release|Mixed Platforms = Release|Mixed Platforms
- Release|Win32 = Release|Win32
- Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Debug|Any CPU.ActiveCfg = Debug|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Debug|Win32.ActiveCfg = Debug|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Debug|Win32.Build.0 = Debug|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Release|Any CPU.ActiveCfg = Release|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Release|Mixed Platforms.ActiveCfg = Release|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Release|Mixed Platforms.Build.0 = Release|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Release|Win32.ActiveCfg = Release|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Release|Win32.Build.0 = Release|Win32
- {6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Debug|Any CPU.ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Debug|Mixed Platforms.Deploy.0 = Debug|Win32
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Debug|Win32.ActiveCfg = Debug|Win32
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Debug|Win32.Build.0 = Debug|Win32
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Release|Any CPU.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Release|Mixed Platforms.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Release|Mixed Platforms.Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Release|Mixed Platforms.Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Release|Win32.ActiveCfg = Release|Win32
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Release|Win32.Build.0 = Release|Win32
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Debug|Any CPU.ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Debug|Mixed Platforms.Deploy.0 = Debug|Win32
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Debug|Win32.ActiveCfg = Debug|Win32
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Debug|Win32.Build.0 = Debug|Win32
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Release|Any CPU.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Release|Mixed Platforms.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Release|Mixed Platforms.Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Release|Mixed Platforms.Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Release|Win32.ActiveCfg = Release|Win32
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Release|Win32.Build.0 = Release|Win32
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {7522A458-92F4-4259-B906-E84C2A65D9F1}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Debug|Any CPU.ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Debug|Mixed Platforms.Deploy.0 = Debug|Win32
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Debug|Win32.ActiveCfg = Debug|Win32
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Debug|Win32.Build.0 = Debug|Win32
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Release|Any CPU.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Release|Mixed Platforms.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Release|Mixed Platforms.Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Release|Mixed Platforms.Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Release|Win32.ActiveCfg = Release|Win32
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Release|Win32.Build.0 = Release|Win32
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {4CE20732-9978-4A88-B586-CFEFCB63E82D}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Debug|Any CPU.ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Debug|Mixed Platforms.Deploy.0 = Debug|Win32
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Debug|Win32.ActiveCfg = Debug|Win32
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Debug|Win32.Build.0 = Debug|Win32
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Release|Any CPU.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Release|Mixed Platforms.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Release|Mixed Platforms.Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Release|Mixed Platforms.Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Release|Win32.ActiveCfg = Release|Win32
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Release|Win32.Build.0 = Release|Win32
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {B3E45009-C7C3-4090-837C-2D30C9058443}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {002FF064-588F-402E-A096-C8D033F49F40}.Debug|Any CPU.ActiveCfg = Debug|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Debug|Win32.ActiveCfg = Debug|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Debug|Win32.Build.0 = Debug|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Release|Any CPU.ActiveCfg = Release|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Release|Mixed Platforms.ActiveCfg = Release|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Release|Mixed Platforms.Build.0 = Release|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Release|Win32.ActiveCfg = Release|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Release|Win32.Build.0 = Release|Win32
- {002FF064-588F-402E-A096-C8D033F49F40}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Debug|Any CPU.ActiveCfg = Debug|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Debug|Win32.ActiveCfg = Debug|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Debug|Win32.Build.0 = Debug|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Release|Any CPU.ActiveCfg = Release|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Release|Mixed Platforms.ActiveCfg = Release|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Release|Mixed Platforms.Build.0 = Release|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Release|Win32.ActiveCfg = Release|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Release|Win32.Build.0 = Release|Win32
- {E45DB518-6562-4033-80E8-60030F0B169F}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Debug|Any CPU.ActiveCfg = Debug|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Debug|Win32.ActiveCfg = Debug|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Debug|Win32.Build.0 = Debug|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Release|Any CPU.ActiveCfg = Release|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Release|Mixed Platforms.ActiveCfg = Release|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Release|Mixed Platforms.Build.0 = Release|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Release|Win32.ActiveCfg = Release|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Release|Win32.Build.0 = Release|Win32
- {52814B0D-7DCA-45B8-9A16-8B147040D619}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {F7834906-DC12-4FA4-9722-2F110F815266}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {F7834906-DC12-4FA4-9722-2F110F815266}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {F7834906-DC12-4FA4-9722-2F110F815266}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
- {F7834906-DC12-4FA4-9722-2F110F815266}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
- {F7834906-DC12-4FA4-9722-2F110F815266}.Debug|Win32.ActiveCfg = Debug|Any CPU
- {F7834906-DC12-4FA4-9722-2F110F815266}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Any CPU
- {F7834906-DC12-4FA4-9722-2F110F815266}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {F7834906-DC12-4FA4-9722-2F110F815266}.Release|Any CPU.Build.0 = Release|Any CPU
- {F7834906-DC12-4FA4-9722-2F110F815266}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
- {F7834906-DC12-4FA4-9722-2F110F815266}.Release|Mixed Platforms.Build.0 = Release|Any CPU
- {F7834906-DC12-4FA4-9722-2F110F815266}.Release|Win32.ActiveCfg = Release|Any CPU
- {F7834906-DC12-4FA4-9722-2F110F815266}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Any CPU
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Debug|Any CPU.ActiveCfg = Debug|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Debug|Win32.ActiveCfg = Debug|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Debug|Win32.Build.0 = Debug|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Release|Any CPU.ActiveCfg = Release|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Release|Mixed Platforms.ActiveCfg = Release|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Release|Mixed Platforms.Build.0 = Release|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Release|Win32.ActiveCfg = Release|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Release|Win32.Build.0 = Release|Win32
- {8E2F0B2E-2596-4010-BF4A-2F688975B5C1}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Debug|Any CPU.ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Debug|Mixed Platforms.ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Debug|Mixed Platforms.Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Debug|Mixed Platforms.Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Debug|Win32.ActiveCfg = Debug|Win32
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Debug|Win32.Build.0 = Debug|Win32
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Release|Any CPU.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Release|Mixed Platforms.ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Release|Mixed Platforms.Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Release|Mixed Platforms.Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Release|Win32.ActiveCfg = Release|Win32
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Release|Win32.Build.0 = Release|Win32
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {76261DC8-25B3-43F4-9FB5-112C4AC0880E}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Debug|Any CPU.ActiveCfg = Debug|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Debug|Win32.ActiveCfg = Debug|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Debug|Win32.Build.0 = Debug|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Release|Any CPU.ActiveCfg = Release|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Release|Mixed Platforms.ActiveCfg = Release|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Release|Mixed Platforms.Build.0 = Release|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Release|Win32.ActiveCfg = Release|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Release|Win32.Build.0 = Release|Win32
- {99B7D02F-8C70-4B45-AF3C-92313C3CEE15}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Debug|Any CPU.ActiveCfg = Debug|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Debug|Win32.ActiveCfg = Debug|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Debug|Win32.Build.0 = Debug|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Release|Any CPU.ActiveCfg = Release|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Release|Mixed Platforms.ActiveCfg = Release|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Release|Mixed Platforms.Build.0 = Release|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Release|Win32.ActiveCfg = Release|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Release|Win32.Build.0 = Release|Win32
- {0CCC02F1-4233-424F-AD5E-A021456E6E8D}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Debug|Any CPU.ActiveCfg = Debug|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Debug|Win32.ActiveCfg = Debug|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Debug|Win32.Build.0 = Debug|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Release|Any CPU.ActiveCfg = Release|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Release|Mixed Platforms.ActiveCfg = Release|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Release|Mixed Platforms.Build.0 = Release|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Release|Win32.ActiveCfg = Release|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Release|Win32.Build.0 = Release|Win32
- {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/branches/1.0/bindings/vs_2005/csharp/tinyWRAP.vcproj b/branches/1.0/bindings/vs_2005/csharp/tinyWRAP.vcproj
deleted file mode 100644
index e61e475..0000000
--- a/branches/1.0/bindings/vs_2005/csharp/tinyWRAP.vcproj
+++ /dev/null
@@ -1,329 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="8.00"
- Name="tinyWRAP"
- ProjectGUID="{6B60DF14-D5D7-4654-B8F9-1CBC8892CFC8}"
- RootNamespace="tinyWRAP"
- Keyword="Win32Proj"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="2"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories="..\..\_common;..\..\.;..\..\..\thirdparties\win32\include;..\..\..\tinySAK\src;..\..\..\tinyNET\src;..\..\..\tinyHTTP\include;..\..\..\tinySIP\include;..\..\..\tinyMEDIA\include;..\..\..\tinySDP\include;..\..\..\tinyDAV\include;..\..\..\tinySMS\include"
- PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;TINYWRAP_EXPORTS"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- WarnAsError="true"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="$(OutDir)\tinySAK.lib $(OutDir)\tinySIP.lib $(OutDir)\tinyNET.lib $(OutDir)\tinyDAV.lib $(OutDir)\tinyMEDIA.lib $(OutDir)\tinySMS.lib"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="2"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- EnableIntrinsicFunctions="true"
- PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;TINYWRAP_EXPORTS"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="2"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="source"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath="..\..\_common\DDebug.cxx"
- >
- </File>
- <File
- RelativePath="..\..\_common\ProxyConsumer.cxx"
- >
- </File>
- <File
- RelativePath="..\..\_common\ProxyProducer.cxx"
- >
- </File>
- <File
- RelativePath="..\..\_common\SafeObject.cxx"
- >
- </File>
- <File
- RelativePath="..\..\_common\SipCallback.cxx"
- >
- </File>
- <File
- RelativePath="..\..\_common\SipEvent.cxx"
- >
- </File>
- <File
- RelativePath="..\..\_common\SipMessage.cxx"
- >
- </File>
- <File
- RelativePath="..\..\_common\SipSession.cxx"
- >
- </File>
- <File
- RelativePath="..\..\_common\SipStack.cxx"
- >
- </File>
- <File
- RelativePath="..\..\_common\SipUri.cxx"
- >
- </File>
- <File
- RelativePath="..\..\_common\SMSEncoder.cxx"
- >
- </File>
- <File
- RelativePath="..\..\csharp\tinyWRAP_wrap.cxx"
- >
- </File>
- <File
- RelativePath="..\..\_common\XcapStack.cxx"
- >
- </File>
- </Filter>
- <Filter
- Name="headers"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- <File
- RelativePath="..\..\_common\Common.h"
- >
- </File>
- <File
- RelativePath="..\..\_common\DDebug.h"
- >
- </File>
- <File
- RelativePath="..\..\_common\ProxyConsumer.h"
- >
- </File>
- <File
- RelativePath="..\..\_common\ProxyProducer.h"
- >
- </File>
- <File
- RelativePath="..\..\_common\SafeObject.h"
- >
- </File>
- <File
- RelativePath="..\..\_common\SipCallback.h"
- >
- </File>
- <File
- RelativePath="..\..\_common\SipEvent.h"
- >
- </File>
- <File
- RelativePath="..\..\_common\SipMessage.h"
- >
- </File>
- <File
- RelativePath="..\..\_common\SipSession.h"
- >
- </File>
- <File
- RelativePath="..\..\_common\SipStack.h"
- >
- </File>
- <File
- RelativePath="..\..\_common\SipUri.h"
- >
- </File>
- <File
- RelativePath="..\..\_common\SMSEncoder.h"
- >
- </File>
- <File
- RelativePath="..\..\_common\tinyWRAP_config.h"
- >
- </File>
- <File
- RelativePath="..\..\csharp\tinyWRAP_wrap.h"
- >
- </File>
- <File
- RelativePath="..\..\_common\XcapStack.h"
- >
- </File>
- </Filter>
- <Filter
- Name="interfaces"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- <File
- RelativePath="..\..\csharp\csharp.i"
- >
- </File>
- <Filter
- Name="common"
- >
- <File
- RelativePath="..\..\_common\SipStack.i"
- >
- </File>
- <File
- RelativePath="..\..\_common\tinyWRAP.i"
- >
- </File>
- <File
- RelativePath="..\..\_common\XcapStack.i"
- >
- </File>
- </Filter>
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
OpenPOWER on IntegriCloud