tinyWRAP_wrap.cxx 262 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812
  1. /* ----------------------------------------------------------------------------
  2. * This file was automatically generated by SWIG (http://www.swig.org).
  3. * Version 2.0.9
  4. *
  5. * This file is not intended to be easily readable and contains a number of
  6. * coding conventions designed to improve portability and efficiency. Do not make
  7. * changes to this file unless you know what you are doing--modify the SWIG
  8. * interface file instead.
  9. * ----------------------------------------------------------------------------- */
  10. #define SWIGCSHARP
  11. #define SWIG_DIRECTORS
  12. #ifdef __cplusplus
  13. /* SwigValueWrapper is described in swig.swg */
  14. template<typename T> class SwigValueWrapper {
  15. struct SwigMovePointer {
  16. T *ptr;
  17. SwigMovePointer(T *p) : ptr(p) { }
  18. ~SwigMovePointer() { delete ptr; }
  19. SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
  20. } pointer;
  21. SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
  22. SwigValueWrapper(const SwigValueWrapper<T>& rhs);
  23. public:
  24. SwigValueWrapper() : pointer(0) { }
  25. SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
  26. operator T&() const { return *pointer.ptr; }
  27. T *operator&() { return pointer.ptr; }
  28. };
  29. template <typename T> T SwigValueInit() {
  30. return T();
  31. }
  32. #endif
  33. /* -----------------------------------------------------------------------------
  34. * This section contains generic SWIG labels for method/variable
  35. * declarations/attributes, and other compiler dependent labels.
  36. * ----------------------------------------------------------------------------- */
  37. /* template workaround for compilers that cannot correctly implement the C++ standard */
  38. #ifndef SWIGTEMPLATEDISAMBIGUATOR
  39. # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
  40. # define SWIGTEMPLATEDISAMBIGUATOR template
  41. # elif defined(__HP_aCC)
  42. /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
  43. /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
  44. # define SWIGTEMPLATEDISAMBIGUATOR template
  45. # else
  46. # define SWIGTEMPLATEDISAMBIGUATOR
  47. # endif
  48. #endif
  49. /* inline attribute */
  50. #ifndef SWIGINLINE
  51. # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
  52. # define SWIGINLINE inline
  53. # else
  54. # define SWIGINLINE
  55. # endif
  56. #endif
  57. /* attribute recognised by some compilers to avoid 'unused' warnings */
  58. #ifndef SWIGUNUSED
  59. # if defined(__GNUC__)
  60. # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
  61. # define SWIGUNUSED __attribute__ ((__unused__))
  62. # else
  63. # define SWIGUNUSED
  64. # endif
  65. # elif defined(__ICC)
  66. # define SWIGUNUSED __attribute__ ((__unused__))
  67. # else
  68. # define SWIGUNUSED
  69. # endif
  70. #endif
  71. #ifndef SWIG_MSC_UNSUPPRESS_4505
  72. # if defined(_MSC_VER)
  73. # pragma warning(disable : 4505) /* unreferenced local function has been removed */
  74. # endif
  75. #endif
  76. #ifndef SWIGUNUSEDPARM
  77. # ifdef __cplusplus
  78. # define SWIGUNUSEDPARM(p)
  79. # else
  80. # define SWIGUNUSEDPARM(p) p SWIGUNUSED
  81. # endif
  82. #endif
  83. /* internal SWIG method */
  84. #ifndef SWIGINTERN
  85. # define SWIGINTERN static SWIGUNUSED
  86. #endif
  87. /* internal inline SWIG method */
  88. #ifndef SWIGINTERNINLINE
  89. # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
  90. #endif
  91. /* exporting methods */
  92. #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
  93. # ifndef GCC_HASCLASSVISIBILITY
  94. # define GCC_HASCLASSVISIBILITY
  95. # endif
  96. #endif
  97. #ifndef SWIGEXPORT
  98. # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
  99. # if defined(STATIC_LINKED)
  100. # define SWIGEXPORT
  101. # else
  102. # define SWIGEXPORT __declspec(dllexport)
  103. # endif
  104. # else
  105. # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
  106. # define SWIGEXPORT __attribute__ ((visibility("default")))
  107. # else
  108. # define SWIGEXPORT
  109. # endif
  110. # endif
  111. #endif
  112. /* calling conventions for Windows */
  113. #ifndef SWIGSTDCALL
  114. # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
  115. # define SWIGSTDCALL __stdcall
  116. # else
  117. # define SWIGSTDCALL
  118. # endif
  119. #endif
  120. /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
  121. #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
  122. # define _CRT_SECURE_NO_DEPRECATE
  123. #endif
  124. /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
  125. #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
  126. # define _SCL_SECURE_NO_DEPRECATE
  127. #endif
  128. #include <stdlib.h>
  129. #include <string.h>
  130. #include <stdio.h>
  131. /* Support for throwing C# exceptions from C/C++. There are two types:
  132. * Exceptions that take a message and ArgumentExceptions that take a message and a parameter name. */
  133. typedef enum {
  134. SWIG_CSharpApplicationException,
  135. SWIG_CSharpArithmeticException,
  136. SWIG_CSharpDivideByZeroException,
  137. SWIG_CSharpIndexOutOfRangeException,
  138. SWIG_CSharpInvalidCastException,
  139. SWIG_CSharpInvalidOperationException,
  140. SWIG_CSharpIOException,
  141. SWIG_CSharpNullReferenceException,
  142. SWIG_CSharpOutOfMemoryException,
  143. SWIG_CSharpOverflowException,
  144. SWIG_CSharpSystemException
  145. } SWIG_CSharpExceptionCodes;
  146. typedef enum {
  147. SWIG_CSharpArgumentException,
  148. SWIG_CSharpArgumentNullException,
  149. SWIG_CSharpArgumentOutOfRangeException
  150. } SWIG_CSharpExceptionArgumentCodes;
  151. typedef void (SWIGSTDCALL* SWIG_CSharpExceptionCallback_t)(const char *);
  152. typedef void (SWIGSTDCALL* SWIG_CSharpExceptionArgumentCallback_t)(const char *, const char *);
  153. typedef struct {
  154. SWIG_CSharpExceptionCodes code;
  155. SWIG_CSharpExceptionCallback_t callback;
  156. } SWIG_CSharpException_t;
  157. typedef struct {
  158. SWIG_CSharpExceptionArgumentCodes code;
  159. SWIG_CSharpExceptionArgumentCallback_t callback;
  160. } SWIG_CSharpExceptionArgument_t;
  161. static SWIG_CSharpException_t SWIG_csharp_exceptions[] = {
  162. { SWIG_CSharpApplicationException, NULL },
  163. { SWIG_CSharpArithmeticException, NULL },
  164. { SWIG_CSharpDivideByZeroException, NULL },
  165. { SWIG_CSharpIndexOutOfRangeException, NULL },
  166. { SWIG_CSharpInvalidCastException, NULL },
  167. { SWIG_CSharpInvalidOperationException, NULL },
  168. { SWIG_CSharpIOException, NULL },
  169. { SWIG_CSharpNullReferenceException, NULL },
  170. { SWIG_CSharpOutOfMemoryException, NULL },
  171. { SWIG_CSharpOverflowException, NULL },
  172. { SWIG_CSharpSystemException, NULL }
  173. };
  174. static SWIG_CSharpExceptionArgument_t SWIG_csharp_exceptions_argument[] = {
  175. { SWIG_CSharpArgumentException, NULL },
  176. { SWIG_CSharpArgumentNullException, NULL },
  177. { SWIG_CSharpArgumentOutOfRangeException, NULL }
  178. };
  179. static void SWIGUNUSED SWIG_CSharpSetPendingException(SWIG_CSharpExceptionCodes code, const char *msg) {
  180. SWIG_CSharpExceptionCallback_t callback = SWIG_csharp_exceptions[SWIG_CSharpApplicationException].callback;
  181. if ((size_t)code < sizeof(SWIG_csharp_exceptions)/sizeof(SWIG_CSharpException_t)) {
  182. callback = SWIG_csharp_exceptions[code].callback;
  183. }
  184. callback(msg);
  185. }
  186. static void SWIGUNUSED SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpExceptionArgumentCodes code, const char *msg, const char *param_name) {
  187. SWIG_CSharpExceptionArgumentCallback_t callback = SWIG_csharp_exceptions_argument[SWIG_CSharpArgumentException].callback;
  188. if ((size_t)code < sizeof(SWIG_csharp_exceptions_argument)/sizeof(SWIG_CSharpExceptionArgument_t)) {
  189. callback = SWIG_csharp_exceptions_argument[code].callback;
  190. }
  191. callback(msg, param_name);
  192. }
  193. #ifdef __cplusplus
  194. extern "C"
  195. #endif
  196. SWIGEXPORT void SWIGSTDCALL SWIGRegisterExceptionCallbacks_tinyWRAP(
  197. SWIG_CSharpExceptionCallback_t applicationCallback,
  198. SWIG_CSharpExceptionCallback_t arithmeticCallback,
  199. SWIG_CSharpExceptionCallback_t divideByZeroCallback,
  200. SWIG_CSharpExceptionCallback_t indexOutOfRangeCallback,
  201. SWIG_CSharpExceptionCallback_t invalidCastCallback,
  202. SWIG_CSharpExceptionCallback_t invalidOperationCallback,
  203. SWIG_CSharpExceptionCallback_t ioCallback,
  204. SWIG_CSharpExceptionCallback_t nullReferenceCallback,
  205. SWIG_CSharpExceptionCallback_t outOfMemoryCallback,
  206. SWIG_CSharpExceptionCallback_t overflowCallback,
  207. SWIG_CSharpExceptionCallback_t systemCallback) {
  208. SWIG_csharp_exceptions[SWIG_CSharpApplicationException].callback = applicationCallback;
  209. SWIG_csharp_exceptions[SWIG_CSharpArithmeticException].callback = arithmeticCallback;
  210. SWIG_csharp_exceptions[SWIG_CSharpDivideByZeroException].callback = divideByZeroCallback;
  211. SWIG_csharp_exceptions[SWIG_CSharpIndexOutOfRangeException].callback = indexOutOfRangeCallback;
  212. SWIG_csharp_exceptions[SWIG_CSharpInvalidCastException].callback = invalidCastCallback;
  213. SWIG_csharp_exceptions[SWIG_CSharpInvalidOperationException].callback = invalidOperationCallback;
  214. SWIG_csharp_exceptions[SWIG_CSharpIOException].callback = ioCallback;
  215. SWIG_csharp_exceptions[SWIG_CSharpNullReferenceException].callback = nullReferenceCallback;
  216. SWIG_csharp_exceptions[SWIG_CSharpOutOfMemoryException].callback = outOfMemoryCallback;
  217. SWIG_csharp_exceptions[SWIG_CSharpOverflowException].callback = overflowCallback;
  218. SWIG_csharp_exceptions[SWIG_CSharpSystemException].callback = systemCallback;
  219. }
  220. #ifdef __cplusplus
  221. extern "C"
  222. #endif
  223. SWIGEXPORT void SWIGSTDCALL SWIGRegisterExceptionArgumentCallbacks_tinyWRAP(
  224. SWIG_CSharpExceptionArgumentCallback_t argumentCallback,
  225. SWIG_CSharpExceptionArgumentCallback_t argumentNullCallback,
  226. SWIG_CSharpExceptionArgumentCallback_t argumentOutOfRangeCallback) {
  227. SWIG_csharp_exceptions_argument[SWIG_CSharpArgumentException].callback = argumentCallback;
  228. SWIG_csharp_exceptions_argument[SWIG_CSharpArgumentNullException].callback = argumentNullCallback;
  229. SWIG_csharp_exceptions_argument[SWIG_CSharpArgumentOutOfRangeException].callback = argumentOutOfRangeCallback;
  230. }
  231. /* Callback for returning strings to C# without leaking memory */
  232. typedef char * (SWIGSTDCALL* SWIG_CSharpStringHelperCallback)(const char *);
  233. static SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback = NULL;
  234. #ifdef __cplusplus
  235. extern "C"
  236. #endif
  237. SWIGEXPORT void SWIGSTDCALL SWIGRegisterStringCallback_tinyWRAP(SWIG_CSharpStringHelperCallback callback) {
  238. SWIG_csharp_string_callback = callback;
  239. }
  240. /* Contract support */
  241. #define SWIG_contract_assert(nullreturn, expr, msg) if (!(expr)) {SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, msg, ""); return nullreturn; } else
  242. /* -----------------------------------------------------------------------------
  243. * director.swg
  244. *
  245. * This file contains support for director classes so that C# proxy
  246. * methods can be called from C++.
  247. * ----------------------------------------------------------------------------- */
  248. #ifdef __cplusplus
  249. #if defined(DEBUG_DIRECTOR_OWNED)
  250. #include <iostream>
  251. #endif
  252. #include <string>
  253. namespace Swig {
  254. /* Director base class - not currently used in C# directors */
  255. class Director {
  256. };
  257. /* Base class for director exceptions */
  258. class DirectorException {
  259. protected:
  260. std::string swig_msg;
  261. public:
  262. DirectorException(const char* msg) : swig_msg(msg) {
  263. }
  264. DirectorException(const std::string &msg) : swig_msg(msg) {
  265. }
  266. const std::string& what() const {
  267. return swig_msg;
  268. }
  269. virtual ~DirectorException() {
  270. }
  271. };
  272. /* Pure virtual method exception */
  273. class DirectorPureVirtualException : public Swig::DirectorException {
  274. public:
  275. DirectorPureVirtualException(const char* msg) : DirectorException(std::string("Attempt to invoke pure virtual method ") + msg) {
  276. }
  277. };
  278. }
  279. #endif /* __cplusplus */
  280. #include <stdint.h> // Use the C99 official header
  281. #include "tinyWRAP_config.h"
  282. #include "DDebug.h"
  283. #include "AudioResampler.h"
  284. #include "ActionConfig.h"
  285. #include "MediaSessionMgr.h"
  286. #include "MediaContent.h"
  287. #include "SipUri.h"
  288. #include "SipMessage.h"
  289. #include "SipEvent.h"
  290. #include "SipSession.h"
  291. #include "ProxyPluginMgr.h"
  292. #include "ProxyConsumer.h"
  293. #include "ProxyProducer.h"
  294. #include "SipCallback.h"
  295. #include "SafeObject.h"
  296. #include "SipStack.h"
  297. #include "Xcap.h"
  298. #include "SMSEncoder.h"
  299. #include "Msrp.h"
  300. /* ---------------------------------------------------
  301. * C++ director class methods
  302. * --------------------------------------------------- */
  303. #include "tinyWRAP_wrap.h"
  304. SwigDirector_DDebugCallback::SwigDirector_DDebugCallback() : DDebugCallback(), Swig::Director() {
  305. swig_init_callbacks();
  306. }
  307. SwigDirector_DDebugCallback::~SwigDirector_DDebugCallback() {
  308. }
  309. int SwigDirector_DDebugCallback::OnDebugInfo(char const *message) {
  310. int c_result = SwigValueInit< int >() ;
  311. int jresult = 0 ;
  312. char * jmessage = 0 ;
  313. if (!swig_callbackOnDebugInfo) {
  314. return DDebugCallback::OnDebugInfo(message);
  315. } else {
  316. jmessage = SWIG_csharp_string_callback((const char *)message);
  317. jresult = (int) swig_callbackOnDebugInfo(jmessage);
  318. c_result = (int)jresult;
  319. }
  320. return c_result;
  321. }
  322. int SwigDirector_DDebugCallback::OnDebugWarn(char const *message) {
  323. int c_result = SwigValueInit< int >() ;
  324. int jresult = 0 ;
  325. char * jmessage = 0 ;
  326. if (!swig_callbackOnDebugWarn) {
  327. return DDebugCallback::OnDebugWarn(message);
  328. } else {
  329. jmessage = SWIG_csharp_string_callback((const char *)message);
  330. jresult = (int) swig_callbackOnDebugWarn(jmessage);
  331. c_result = (int)jresult;
  332. }
  333. return c_result;
  334. }
  335. int SwigDirector_DDebugCallback::OnDebugError(char const *message) {
  336. int c_result = SwigValueInit< int >() ;
  337. int jresult = 0 ;
  338. char * jmessage = 0 ;
  339. if (!swig_callbackOnDebugError) {
  340. return DDebugCallback::OnDebugError(message);
  341. } else {
  342. jmessage = SWIG_csharp_string_callback((const char *)message);
  343. jresult = (int) swig_callbackOnDebugError(jmessage);
  344. c_result = (int)jresult;
  345. }
  346. return c_result;
  347. }
  348. int SwigDirector_DDebugCallback::OnDebugFatal(char const *message) {
  349. int c_result = SwigValueInit< int >() ;
  350. int jresult = 0 ;
  351. char * jmessage = 0 ;
  352. if (!swig_callbackOnDebugFatal) {
  353. return DDebugCallback::OnDebugFatal(message);
  354. } else {
  355. jmessage = SWIG_csharp_string_callback((const char *)message);
  356. jresult = (int) swig_callbackOnDebugFatal(jmessage);
  357. c_result = (int)jresult;
  358. }
  359. return c_result;
  360. }
  361. void SwigDirector_DDebugCallback::swig_connect_director(SWIG_Callback0_t callbackOnDebugInfo, SWIG_Callback1_t callbackOnDebugWarn, SWIG_Callback2_t callbackOnDebugError, SWIG_Callback3_t callbackOnDebugFatal) {
  362. swig_callbackOnDebugInfo = callbackOnDebugInfo;
  363. swig_callbackOnDebugWarn = callbackOnDebugWarn;
  364. swig_callbackOnDebugError = callbackOnDebugError;
  365. swig_callbackOnDebugFatal = callbackOnDebugFatal;
  366. }
  367. void SwigDirector_DDebugCallback::swig_init_callbacks() {
  368. swig_callbackOnDebugInfo = 0;
  369. swig_callbackOnDebugWarn = 0;
  370. swig_callbackOnDebugError = 0;
  371. swig_callbackOnDebugFatal = 0;
  372. }
  373. SwigDirector_T140Callback::SwigDirector_T140Callback() : T140Callback(), Swig::Director() {
  374. swig_init_callbacks();
  375. }
  376. SwigDirector_T140Callback::~SwigDirector_T140Callback() {
  377. }
  378. int SwigDirector_T140Callback::ondata(T140CallbackData const *pData) {
  379. int c_result = SwigValueInit< int >() ;
  380. int jresult = 0 ;
  381. void * jpData = 0 ;
  382. if (!swig_callbackondata) {
  383. return T140Callback::ondata(pData);
  384. } else {
  385. jpData = (void *) pData;
  386. jresult = (int) swig_callbackondata(jpData);
  387. c_result = (int)jresult;
  388. }
  389. return c_result;
  390. }
  391. void SwigDirector_T140Callback::swig_connect_director(SWIG_Callback0_t callbackondata) {
  392. swig_callbackondata = callbackondata;
  393. }
  394. void SwigDirector_T140Callback::swig_init_callbacks() {
  395. swig_callbackondata = 0;
  396. }
  397. SwigDirector_ProxyPluginMgrCallback::SwigDirector_ProxyPluginMgrCallback() : ProxyPluginMgrCallback(), Swig::Director() {
  398. swig_init_callbacks();
  399. }
  400. SwigDirector_ProxyPluginMgrCallback::~SwigDirector_ProxyPluginMgrCallback() {
  401. }
  402. int SwigDirector_ProxyPluginMgrCallback::OnPluginCreated(uint64_t id, enum twrap_proxy_plugin_type_e type) {
  403. int c_result = SwigValueInit< int >() ;
  404. int jresult = 0 ;
  405. unsigned long long jid ;
  406. int jtype ;
  407. if (!swig_callbackOnPluginCreated) {
  408. return ProxyPluginMgrCallback::OnPluginCreated(id,type);
  409. } else {
  410. jid = id;
  411. jtype = type;
  412. jresult = (int) swig_callbackOnPluginCreated(jid, jtype);
  413. c_result = (int)jresult;
  414. }
  415. return c_result;
  416. }
  417. int SwigDirector_ProxyPluginMgrCallback::OnPluginDestroyed(uint64_t id, enum twrap_proxy_plugin_type_e type) {
  418. int c_result = SwigValueInit< int >() ;
  419. int jresult = 0 ;
  420. unsigned long long jid ;
  421. int jtype ;
  422. if (!swig_callbackOnPluginDestroyed) {
  423. return ProxyPluginMgrCallback::OnPluginDestroyed(id,type);
  424. } else {
  425. jid = id;
  426. jtype = type;
  427. jresult = (int) swig_callbackOnPluginDestroyed(jid, jtype);
  428. c_result = (int)jresult;
  429. }
  430. return c_result;
  431. }
  432. void SwigDirector_ProxyPluginMgrCallback::swig_connect_director(SWIG_Callback0_t callbackOnPluginCreated, SWIG_Callback1_t callbackOnPluginDestroyed) {
  433. swig_callbackOnPluginCreated = callbackOnPluginCreated;
  434. swig_callbackOnPluginDestroyed = callbackOnPluginDestroyed;
  435. }
  436. void SwigDirector_ProxyPluginMgrCallback::swig_init_callbacks() {
  437. swig_callbackOnPluginCreated = 0;
  438. swig_callbackOnPluginDestroyed = 0;
  439. }
  440. SwigDirector_ProxyAudioConsumerCallback::SwigDirector_ProxyAudioConsumerCallback() : ProxyAudioConsumerCallback(), Swig::Director() {
  441. swig_init_callbacks();
  442. }
  443. SwigDirector_ProxyAudioConsumerCallback::~SwigDirector_ProxyAudioConsumerCallback() {
  444. }
  445. int SwigDirector_ProxyAudioConsumerCallback::prepare(int ptime, int rate, int channels) {
  446. int c_result = SwigValueInit< int >() ;
  447. int jresult = 0 ;
  448. int jptime ;
  449. int jrate ;
  450. int jchannels ;
  451. if (!swig_callbackprepare) {
  452. return ProxyAudioConsumerCallback::prepare(ptime,rate,channels);
  453. } else {
  454. jptime = ptime;
  455. jrate = rate;
  456. jchannels = channels;
  457. jresult = (int) swig_callbackprepare(jptime, jrate, jchannels);
  458. c_result = (int)jresult;
  459. }
  460. return c_result;
  461. }
  462. int SwigDirector_ProxyAudioConsumerCallback::start() {
  463. int c_result = SwigValueInit< int >() ;
  464. int jresult = 0 ;
  465. if (!swig_callbackstart) {
  466. return ProxyAudioConsumerCallback::start();
  467. } else {
  468. jresult = (int) swig_callbackstart();
  469. c_result = (int)jresult;
  470. }
  471. return c_result;
  472. }
  473. int SwigDirector_ProxyAudioConsumerCallback::pause() {
  474. int c_result = SwigValueInit< int >() ;
  475. int jresult = 0 ;
  476. if (!swig_callbackpause) {
  477. return ProxyAudioConsumerCallback::pause();
  478. } else {
  479. jresult = (int) swig_callbackpause();
  480. c_result = (int)jresult;
  481. }
  482. return c_result;
  483. }
  484. int SwigDirector_ProxyAudioConsumerCallback::stop() {
  485. int c_result = SwigValueInit< int >() ;
  486. int jresult = 0 ;
  487. if (!swig_callbackstop) {
  488. return ProxyAudioConsumerCallback::stop();
  489. } else {
  490. jresult = (int) swig_callbackstop();
  491. c_result = (int)jresult;
  492. }
  493. return c_result;
  494. }
  495. void SwigDirector_ProxyAudioConsumerCallback::swig_connect_director(SWIG_Callback0_t callbackprepare, SWIG_Callback1_t callbackstart, SWIG_Callback2_t callbackpause, SWIG_Callback3_t callbackstop) {
  496. swig_callbackprepare = callbackprepare;
  497. swig_callbackstart = callbackstart;
  498. swig_callbackpause = callbackpause;
  499. swig_callbackstop = callbackstop;
  500. }
  501. void SwigDirector_ProxyAudioConsumerCallback::swig_init_callbacks() {
  502. swig_callbackprepare = 0;
  503. swig_callbackstart = 0;
  504. swig_callbackpause = 0;
  505. swig_callbackstop = 0;
  506. }
  507. SwigDirector_ProxyVideoConsumerCallback::SwigDirector_ProxyVideoConsumerCallback() : ProxyVideoConsumerCallback(), Swig::Director() {
  508. swig_init_callbacks();
  509. }
  510. SwigDirector_ProxyVideoConsumerCallback::~SwigDirector_ProxyVideoConsumerCallback() {
  511. }
  512. int SwigDirector_ProxyVideoConsumerCallback::prepare(int nWidth, int nHeight, int nFps) {
  513. int c_result = SwigValueInit< int >() ;
  514. int jresult = 0 ;
  515. int jnWidth ;
  516. int jnHeight ;
  517. int jnFps ;
  518. if (!swig_callbackprepare) {
  519. return ProxyVideoConsumerCallback::prepare(nWidth,nHeight,nFps);
  520. } else {
  521. jnWidth = nWidth;
  522. jnHeight = nHeight;
  523. jnFps = nFps;
  524. jresult = (int) swig_callbackprepare(jnWidth, jnHeight, jnFps);
  525. c_result = (int)jresult;
  526. }
  527. return c_result;
  528. }
  529. int SwigDirector_ProxyVideoConsumerCallback::consume(ProxyVideoFrame const *frame) {
  530. int c_result = SwigValueInit< int >() ;
  531. int jresult = 0 ;
  532. void * jframe = 0 ;
  533. if (!swig_callbackconsume) {
  534. return ProxyVideoConsumerCallback::consume(frame);
  535. } else {
  536. jframe = (void *) frame;
  537. jresult = (int) swig_callbackconsume(jframe);
  538. c_result = (int)jresult;
  539. }
  540. return c_result;
  541. }
  542. int SwigDirector_ProxyVideoConsumerCallback::bufferCopied(unsigned int nCopiedSize, unsigned int nAvailableSize) {
  543. int c_result = SwigValueInit< int >() ;
  544. int jresult = 0 ;
  545. unsigned int jnCopiedSize ;
  546. unsigned int jnAvailableSize ;
  547. if (!swig_callbackbufferCopied) {
  548. return ProxyVideoConsumerCallback::bufferCopied(nCopiedSize,nAvailableSize);
  549. } else {
  550. jnCopiedSize = nCopiedSize;
  551. jnAvailableSize = nAvailableSize;
  552. jresult = (int) swig_callbackbufferCopied(jnCopiedSize, jnAvailableSize);
  553. c_result = (int)jresult;
  554. }
  555. return c_result;
  556. }
  557. int SwigDirector_ProxyVideoConsumerCallback::start() {
  558. int c_result = SwigValueInit< int >() ;
  559. int jresult = 0 ;
  560. if (!swig_callbackstart) {
  561. return ProxyVideoConsumerCallback::start();
  562. } else {
  563. jresult = (int) swig_callbackstart();
  564. c_result = (int)jresult;
  565. }
  566. return c_result;
  567. }
  568. int SwigDirector_ProxyVideoConsumerCallback::pause() {
  569. int c_result = SwigValueInit< int >() ;
  570. int jresult = 0 ;
  571. if (!swig_callbackpause) {
  572. return ProxyVideoConsumerCallback::pause();
  573. } else {
  574. jresult = (int) swig_callbackpause();
  575. c_result = (int)jresult;
  576. }
  577. return c_result;
  578. }
  579. int SwigDirector_ProxyVideoConsumerCallback::stop() {
  580. int c_result = SwigValueInit< int >() ;
  581. int jresult = 0 ;
  582. if (!swig_callbackstop) {
  583. return ProxyVideoConsumerCallback::stop();
  584. } else {
  585. jresult = (int) swig_callbackstop();
  586. c_result = (int)jresult;
  587. }
  588. return c_result;
  589. }
  590. void SwigDirector_ProxyVideoConsumerCallback::swig_connect_director(SWIG_Callback0_t callbackprepare, SWIG_Callback1_t callbackconsume, SWIG_Callback2_t callbackbufferCopied, SWIG_Callback3_t callbackstart, SWIG_Callback4_t callbackpause, SWIG_Callback5_t callbackstop) {
  591. swig_callbackprepare = callbackprepare;
  592. swig_callbackconsume = callbackconsume;
  593. swig_callbackbufferCopied = callbackbufferCopied;
  594. swig_callbackstart = callbackstart;
  595. swig_callbackpause = callbackpause;
  596. swig_callbackstop = callbackstop;
  597. }
  598. void SwigDirector_ProxyVideoConsumerCallback::swig_init_callbacks() {
  599. swig_callbackprepare = 0;
  600. swig_callbackconsume = 0;
  601. swig_callbackbufferCopied = 0;
  602. swig_callbackstart = 0;
  603. swig_callbackpause = 0;
  604. swig_callbackstop = 0;
  605. }
  606. SwigDirector_ProxyAudioProducerCallback::SwigDirector_ProxyAudioProducerCallback() : ProxyAudioProducerCallback(), Swig::Director() {
  607. swig_init_callbacks();
  608. }
  609. SwigDirector_ProxyAudioProducerCallback::~SwigDirector_ProxyAudioProducerCallback() {
  610. }
  611. int SwigDirector_ProxyAudioProducerCallback::prepare(int ptime, int rate, int channels) {
  612. int c_result = SwigValueInit< int >() ;
  613. int jresult = 0 ;
  614. int jptime ;
  615. int jrate ;
  616. int jchannels ;
  617. if (!swig_callbackprepare) {
  618. return ProxyAudioProducerCallback::prepare(ptime,rate,channels);
  619. } else {
  620. jptime = ptime;
  621. jrate = rate;
  622. jchannels = channels;
  623. jresult = (int) swig_callbackprepare(jptime, jrate, jchannels);
  624. c_result = (int)jresult;
  625. }
  626. return c_result;
  627. }
  628. int SwigDirector_ProxyAudioProducerCallback::start() {
  629. int c_result = SwigValueInit< int >() ;
  630. int jresult = 0 ;
  631. if (!swig_callbackstart) {
  632. return ProxyAudioProducerCallback::start();
  633. } else {
  634. jresult = (int) swig_callbackstart();
  635. c_result = (int)jresult;
  636. }
  637. return c_result;
  638. }
  639. int SwigDirector_ProxyAudioProducerCallback::pause() {
  640. int c_result = SwigValueInit< int >() ;
  641. int jresult = 0 ;
  642. if (!swig_callbackpause) {
  643. return ProxyAudioProducerCallback::pause();
  644. } else {
  645. jresult = (int) swig_callbackpause();
  646. c_result = (int)jresult;
  647. }
  648. return c_result;
  649. }
  650. int SwigDirector_ProxyAudioProducerCallback::stop() {
  651. int c_result = SwigValueInit< int >() ;
  652. int jresult = 0 ;
  653. if (!swig_callbackstop) {
  654. return ProxyAudioProducerCallback::stop();
  655. } else {
  656. jresult = (int) swig_callbackstop();
  657. c_result = (int)jresult;
  658. }
  659. return c_result;
  660. }
  661. int SwigDirector_ProxyAudioProducerCallback::fillPushBuffer() {
  662. int c_result = SwigValueInit< int >() ;
  663. int jresult = 0 ;
  664. if (!swig_callbackfillPushBuffer) {
  665. return ProxyAudioProducerCallback::fillPushBuffer();
  666. } else {
  667. jresult = (int) swig_callbackfillPushBuffer();
  668. c_result = (int)jresult;
  669. }
  670. return c_result;
  671. }
  672. void SwigDirector_ProxyAudioProducerCallback::swig_connect_director(SWIG_Callback0_t callbackprepare, SWIG_Callback1_t callbackstart, SWIG_Callback2_t callbackpause, SWIG_Callback3_t callbackstop, SWIG_Callback4_t callbackfillPushBuffer) {
  673. swig_callbackprepare = callbackprepare;
  674. swig_callbackstart = callbackstart;
  675. swig_callbackpause = callbackpause;
  676. swig_callbackstop = callbackstop;
  677. swig_callbackfillPushBuffer = callbackfillPushBuffer;
  678. }
  679. void SwigDirector_ProxyAudioProducerCallback::swig_init_callbacks() {
  680. swig_callbackprepare = 0;
  681. swig_callbackstart = 0;
  682. swig_callbackpause = 0;
  683. swig_callbackstop = 0;
  684. swig_callbackfillPushBuffer = 0;
  685. }
  686. SwigDirector_ProxyVideoProducerCallback::SwigDirector_ProxyVideoProducerCallback() : ProxyVideoProducerCallback(), Swig::Director() {
  687. swig_init_callbacks();
  688. }
  689. SwigDirector_ProxyVideoProducerCallback::~SwigDirector_ProxyVideoProducerCallback() {
  690. }
  691. int SwigDirector_ProxyVideoProducerCallback::prepare(int width, int height, int fps) {
  692. int c_result = SwigValueInit< int >() ;
  693. int jresult = 0 ;
  694. int jwidth ;
  695. int jheight ;
  696. int jfps ;
  697. if (!swig_callbackprepare) {
  698. return ProxyVideoProducerCallback::prepare(width,height,fps);
  699. } else {
  700. jwidth = width;
  701. jheight = height;
  702. jfps = fps;
  703. jresult = (int) swig_callbackprepare(jwidth, jheight, jfps);
  704. c_result = (int)jresult;
  705. }
  706. return c_result;
  707. }
  708. int SwigDirector_ProxyVideoProducerCallback::start() {
  709. int c_result = SwigValueInit< int >() ;
  710. int jresult = 0 ;
  711. if (!swig_callbackstart) {
  712. return ProxyVideoProducerCallback::start();
  713. } else {
  714. jresult = (int) swig_callbackstart();
  715. c_result = (int)jresult;
  716. }
  717. return c_result;
  718. }
  719. int SwigDirector_ProxyVideoProducerCallback::pause() {
  720. int c_result = SwigValueInit< int >() ;
  721. int jresult = 0 ;
  722. if (!swig_callbackpause) {
  723. return ProxyVideoProducerCallback::pause();
  724. } else {
  725. jresult = (int) swig_callbackpause();
  726. c_result = (int)jresult;
  727. }
  728. return c_result;
  729. }
  730. int SwigDirector_ProxyVideoProducerCallback::stop() {
  731. int c_result = SwigValueInit< int >() ;
  732. int jresult = 0 ;
  733. if (!swig_callbackstop) {
  734. return ProxyVideoProducerCallback::stop();
  735. } else {
  736. jresult = (int) swig_callbackstop();
  737. c_result = (int)jresult;
  738. }
  739. return c_result;
  740. }
  741. void SwigDirector_ProxyVideoProducerCallback::swig_connect_director(SWIG_Callback0_t callbackprepare, SWIG_Callback1_t callbackstart, SWIG_Callback2_t callbackpause, SWIG_Callback3_t callbackstop) {
  742. swig_callbackprepare = callbackprepare;
  743. swig_callbackstart = callbackstart;
  744. swig_callbackpause = callbackpause;
  745. swig_callbackstop = callbackstop;
  746. }
  747. void SwigDirector_ProxyVideoProducerCallback::swig_init_callbacks() {
  748. swig_callbackprepare = 0;
  749. swig_callbackstart = 0;
  750. swig_callbackpause = 0;
  751. swig_callbackstop = 0;
  752. }
  753. SwigDirector_SipCallback::SwigDirector_SipCallback() : SipCallback(), Swig::Director() {
  754. swig_init_callbacks();
  755. }
  756. SwigDirector_SipCallback::~SwigDirector_SipCallback() {
  757. }
  758. int SwigDirector_SipCallback::OnDialogEvent(DialogEvent const *e) {
  759. int c_result = SwigValueInit< int >() ;
  760. int jresult = 0 ;
  761. void * je = 0 ;
  762. if (!swig_callbackOnDialogEvent) {
  763. return SipCallback::OnDialogEvent(e);
  764. } else {
  765. je = (void *) e;
  766. jresult = (int) swig_callbackOnDialogEvent(je);
  767. c_result = (int)jresult;
  768. }
  769. return c_result;
  770. }
  771. int SwigDirector_SipCallback::OnStackEvent(StackEvent const *e) {
  772. int c_result = SwigValueInit< int >() ;
  773. int jresult = 0 ;
  774. void * je = 0 ;
  775. if (!swig_callbackOnStackEvent) {
  776. return SipCallback::OnStackEvent(e);
  777. } else {
  778. je = (void *) e;
  779. jresult = (int) swig_callbackOnStackEvent(je);
  780. c_result = (int)jresult;
  781. }
  782. return c_result;
  783. }
  784. int SwigDirector_SipCallback::OnInviteEvent(InviteEvent const *e) {
  785. int c_result = SwigValueInit< int >() ;
  786. int jresult = 0 ;
  787. void * je = 0 ;
  788. if (!swig_callbackOnInviteEvent) {
  789. return SipCallback::OnInviteEvent(e);
  790. } else {
  791. je = (void *) e;
  792. jresult = (int) swig_callbackOnInviteEvent(je);
  793. c_result = (int)jresult;
  794. }
  795. return c_result;
  796. }
  797. int SwigDirector_SipCallback::OnMessagingEvent(MessagingEvent const *e) {
  798. int c_result = SwigValueInit< int >() ;
  799. int jresult = 0 ;
  800. void * je = 0 ;
  801. if (!swig_callbackOnMessagingEvent) {
  802. return SipCallback::OnMessagingEvent(e);
  803. } else {
  804. je = (void *) e;
  805. jresult = (int) swig_callbackOnMessagingEvent(je);
  806. c_result = (int)jresult;
  807. }
  808. return c_result;
  809. }
  810. int SwigDirector_SipCallback::OnInfoEvent(InfoEvent const *e) {
  811. int c_result = SwigValueInit< int >() ;
  812. int jresult = 0 ;
  813. void * je = 0 ;
  814. if (!swig_callbackOnInfoEvent) {
  815. return SipCallback::OnInfoEvent(e);
  816. } else {
  817. je = (void *) e;
  818. jresult = (int) swig_callbackOnInfoEvent(je);
  819. c_result = (int)jresult;
  820. }
  821. return c_result;
  822. }
  823. int SwigDirector_SipCallback::OnOptionsEvent(OptionsEvent const *e) {
  824. int c_result = SwigValueInit< int >() ;
  825. int jresult = 0 ;
  826. void * je = 0 ;
  827. if (!swig_callbackOnOptionsEvent) {
  828. return SipCallback::OnOptionsEvent(e);
  829. } else {
  830. je = (void *) e;
  831. jresult = (int) swig_callbackOnOptionsEvent(je);
  832. c_result = (int)jresult;
  833. }
  834. return c_result;
  835. }
  836. int SwigDirector_SipCallback::OnPublicationEvent(PublicationEvent const *e) {
  837. int c_result = SwigValueInit< int >() ;
  838. int jresult = 0 ;
  839. void * je = 0 ;
  840. if (!swig_callbackOnPublicationEvent) {
  841. return SipCallback::OnPublicationEvent(e);
  842. } else {
  843. je = (void *) e;
  844. jresult = (int) swig_callbackOnPublicationEvent(je);
  845. c_result = (int)jresult;
  846. }
  847. return c_result;
  848. }
  849. int SwigDirector_SipCallback::OnRegistrationEvent(RegistrationEvent const *e) {
  850. int c_result = SwigValueInit< int >() ;
  851. int jresult = 0 ;
  852. void * je = 0 ;
  853. if (!swig_callbackOnRegistrationEvent) {
  854. return SipCallback::OnRegistrationEvent(e);
  855. } else {
  856. je = (void *) e;
  857. jresult = (int) swig_callbackOnRegistrationEvent(je);
  858. c_result = (int)jresult;
  859. }
  860. return c_result;
  861. }
  862. int SwigDirector_SipCallback::OnSubscriptionEvent(SubscriptionEvent const *e) {
  863. int c_result = SwigValueInit< int >() ;
  864. int jresult = 0 ;
  865. void * je = 0 ;
  866. if (!swig_callbackOnSubscriptionEvent) {
  867. return SipCallback::OnSubscriptionEvent(e);
  868. } else {
  869. je = (void *) e;
  870. jresult = (int) swig_callbackOnSubscriptionEvent(je);
  871. c_result = (int)jresult;
  872. }
  873. return c_result;
  874. }
  875. 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 callbackOnInfoEvent, SWIG_Callback5_t callbackOnOptionsEvent, SWIG_Callback6_t callbackOnPublicationEvent, SWIG_Callback7_t callbackOnRegistrationEvent, SWIG_Callback8_t callbackOnSubscriptionEvent) {
  876. swig_callbackOnDialogEvent = callbackOnDialogEvent;
  877. swig_callbackOnStackEvent = callbackOnStackEvent;
  878. swig_callbackOnInviteEvent = callbackOnInviteEvent;
  879. swig_callbackOnMessagingEvent = callbackOnMessagingEvent;
  880. swig_callbackOnInfoEvent = callbackOnInfoEvent;
  881. swig_callbackOnOptionsEvent = callbackOnOptionsEvent;
  882. swig_callbackOnPublicationEvent = callbackOnPublicationEvent;
  883. swig_callbackOnRegistrationEvent = callbackOnRegistrationEvent;
  884. swig_callbackOnSubscriptionEvent = callbackOnSubscriptionEvent;
  885. }
  886. void SwigDirector_SipCallback::swig_init_callbacks() {
  887. swig_callbackOnDialogEvent = 0;
  888. swig_callbackOnStackEvent = 0;
  889. swig_callbackOnInviteEvent = 0;
  890. swig_callbackOnMessagingEvent = 0;
  891. swig_callbackOnInfoEvent = 0;
  892. swig_callbackOnOptionsEvent = 0;
  893. swig_callbackOnPublicationEvent = 0;
  894. swig_callbackOnRegistrationEvent = 0;
  895. swig_callbackOnSubscriptionEvent = 0;
  896. }
  897. SwigDirector_XcapCallback::SwigDirector_XcapCallback() : XcapCallback(), Swig::Director() {
  898. swig_init_callbacks();
  899. }
  900. SwigDirector_XcapCallback::~SwigDirector_XcapCallback() {
  901. }
  902. int SwigDirector_XcapCallback::onEvent(XcapEvent const *e) const {
  903. int c_result = SwigValueInit< int >() ;
  904. int jresult = 0 ;
  905. void * je = 0 ;
  906. if (!swig_callbackonEvent) {
  907. return XcapCallback::onEvent(e);
  908. } else {
  909. je = (void *) e;
  910. jresult = (int) swig_callbackonEvent(je);
  911. c_result = (int)jresult;
  912. }
  913. return c_result;
  914. }
  915. void SwigDirector_XcapCallback::swig_connect_director(SWIG_Callback0_t callbackonEvent) {
  916. swig_callbackonEvent = callbackonEvent;
  917. }
  918. void SwigDirector_XcapCallback::swig_init_callbacks() {
  919. swig_callbackonEvent = 0;
  920. }
  921. SwigDirector_MsrpCallback::SwigDirector_MsrpCallback() : MsrpCallback(), Swig::Director() {
  922. swig_init_callbacks();
  923. }
  924. SwigDirector_MsrpCallback::~SwigDirector_MsrpCallback() {
  925. }
  926. int SwigDirector_MsrpCallback::OnEvent(MsrpEvent const *e) {
  927. int c_result = SwigValueInit< int >() ;
  928. int jresult = 0 ;
  929. void * je = 0 ;
  930. if (!swig_callbackOnEvent) {
  931. return MsrpCallback::OnEvent(e);
  932. } else {
  933. je = (void *) e;
  934. jresult = (int) swig_callbackOnEvent(je);
  935. c_result = (int)jresult;
  936. }
  937. return c_result;
  938. }
  939. void SwigDirector_MsrpCallback::swig_connect_director(SWIG_Callback0_t callbackOnEvent) {
  940. swig_callbackOnEvent = callbackOnEvent;
  941. }
  942. void SwigDirector_MsrpCallback::swig_init_callbacks() {
  943. swig_callbackOnEvent = 0;
  944. }
  945. #ifdef __cplusplus
  946. extern "C" {
  947. #endif
  948. SWIGEXPORT void * SWIGSTDCALL CSharp_new_DDebugCallback() {
  949. void * jresult ;
  950. DDebugCallback *result = 0 ;
  951. result = (DDebugCallback *)new SwigDirector_DDebugCallback();
  952. jresult = (void *)result;
  953. return jresult;
  954. }
  955. SWIGEXPORT void SWIGSTDCALL CSharp_delete_DDebugCallback(void * jarg1) {
  956. DDebugCallback *arg1 = (DDebugCallback *) 0 ;
  957. arg1 = (DDebugCallback *)jarg1;
  958. delete arg1;
  959. }
  960. SWIGEXPORT int SWIGSTDCALL CSharp_DDebugCallback_OnDebugInfo(void * jarg1, char * jarg2) {
  961. int jresult ;
  962. DDebugCallback *arg1 = (DDebugCallback *) 0 ;
  963. char *arg2 = (char *) 0 ;
  964. int result;
  965. arg1 = (DDebugCallback *)jarg1;
  966. arg2 = (char *)jarg2;
  967. result = (int)(arg1)->OnDebugInfo((char const *)arg2);
  968. jresult = result;
  969. return jresult;
  970. }
  971. SWIGEXPORT int SWIGSTDCALL CSharp_DDebugCallback_OnDebugInfoSwigExplicitDDebugCallback(void * jarg1, char * jarg2) {
  972. int jresult ;
  973. DDebugCallback *arg1 = (DDebugCallback *) 0 ;
  974. char *arg2 = (char *) 0 ;
  975. int result;
  976. arg1 = (DDebugCallback *)jarg1;
  977. arg2 = (char *)jarg2;
  978. result = (int)(arg1)->DDebugCallback::OnDebugInfo((char const *)arg2);
  979. jresult = result;
  980. return jresult;
  981. }
  982. SWIGEXPORT int SWIGSTDCALL CSharp_DDebugCallback_OnDebugWarn(void * jarg1, char * jarg2) {
  983. int jresult ;
  984. DDebugCallback *arg1 = (DDebugCallback *) 0 ;
  985. char *arg2 = (char *) 0 ;
  986. int result;
  987. arg1 = (DDebugCallback *)jarg1;
  988. arg2 = (char *)jarg2;
  989. result = (int)(arg1)->OnDebugWarn((char const *)arg2);
  990. jresult = result;
  991. return jresult;
  992. }
  993. SWIGEXPORT int SWIGSTDCALL CSharp_DDebugCallback_OnDebugWarnSwigExplicitDDebugCallback(void * jarg1, char * jarg2) {
  994. int jresult ;
  995. DDebugCallback *arg1 = (DDebugCallback *) 0 ;
  996. char *arg2 = (char *) 0 ;
  997. int result;
  998. arg1 = (DDebugCallback *)jarg1;
  999. arg2 = (char *)jarg2;
  1000. result = (int)(arg1)->DDebugCallback::OnDebugWarn((char const *)arg2);
  1001. jresult = result;
  1002. return jresult;
  1003. }
  1004. SWIGEXPORT int SWIGSTDCALL CSharp_DDebugCallback_OnDebugError(void * jarg1, char * jarg2) {
  1005. int jresult ;
  1006. DDebugCallback *arg1 = (DDebugCallback *) 0 ;
  1007. char *arg2 = (char *) 0 ;
  1008. int result;
  1009. arg1 = (DDebugCallback *)jarg1;
  1010. arg2 = (char *)jarg2;
  1011. result = (int)(arg1)->OnDebugError((char const *)arg2);
  1012. jresult = result;
  1013. return jresult;
  1014. }
  1015. SWIGEXPORT int SWIGSTDCALL CSharp_DDebugCallback_OnDebugErrorSwigExplicitDDebugCallback(void * jarg1, char * jarg2) {
  1016. int jresult ;
  1017. DDebugCallback *arg1 = (DDebugCallback *) 0 ;
  1018. char *arg2 = (char *) 0 ;
  1019. int result;
  1020. arg1 = (DDebugCallback *)jarg1;
  1021. arg2 = (char *)jarg2;
  1022. result = (int)(arg1)->DDebugCallback::OnDebugError((char const *)arg2);
  1023. jresult = result;
  1024. return jresult;
  1025. }
  1026. SWIGEXPORT int SWIGSTDCALL CSharp_DDebugCallback_OnDebugFatal(void * jarg1, char * jarg2) {
  1027. int jresult ;
  1028. DDebugCallback *arg1 = (DDebugCallback *) 0 ;
  1029. char *arg2 = (char *) 0 ;
  1030. int result;
  1031. arg1 = (DDebugCallback *)jarg1;
  1032. arg2 = (char *)jarg2;
  1033. result = (int)(arg1)->OnDebugFatal((char const *)arg2);
  1034. jresult = result;
  1035. return jresult;
  1036. }
  1037. SWIGEXPORT int SWIGSTDCALL CSharp_DDebugCallback_OnDebugFatalSwigExplicitDDebugCallback(void * jarg1, char * jarg2) {
  1038. int jresult ;
  1039. DDebugCallback *arg1 = (DDebugCallback *) 0 ;
  1040. char *arg2 = (char *) 0 ;
  1041. int result;
  1042. arg1 = (DDebugCallback *)jarg1;
  1043. arg2 = (char *)jarg2;
  1044. result = (int)(arg1)->DDebugCallback::OnDebugFatal((char const *)arg2);
  1045. jresult = result;
  1046. return jresult;
  1047. }
  1048. 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) {
  1049. DDebugCallback *obj = (DDebugCallback *)objarg;
  1050. SwigDirector_DDebugCallback *director = dynamic_cast<SwigDirector_DDebugCallback *>(obj);
  1051. if (director) {
  1052. director->swig_connect_director(callback0, callback1, callback2, callback3);
  1053. }
  1054. }
  1055. SWIGEXPORT void * SWIGSTDCALL CSharp_new_AudioResampler(unsigned int jarg1, unsigned int jarg2, unsigned int jarg3, unsigned int jarg4, unsigned int jarg5) {
  1056. void * jresult ;
  1057. uint32_t arg1 ;
  1058. uint32_t arg2 ;
  1059. uint32_t arg3 ;
  1060. uint32_t arg4 ;
  1061. uint32_t arg5 ;
  1062. AudioResampler *result = 0 ;
  1063. arg1 = (uint32_t)jarg1;
  1064. arg2 = (uint32_t)jarg2;
  1065. arg3 = (uint32_t)jarg3;
  1066. arg4 = (uint32_t)jarg4;
  1067. arg5 = (uint32_t)jarg5;
  1068. result = (AudioResampler *)new AudioResampler(arg1,arg2,arg3,arg4,arg5);
  1069. jresult = (void *)result;
  1070. return jresult;
  1071. }
  1072. SWIGEXPORT void SWIGSTDCALL CSharp_delete_AudioResampler(void * jarg1) {
  1073. AudioResampler *arg1 = (AudioResampler *) 0 ;
  1074. arg1 = (AudioResampler *)jarg1;
  1075. delete arg1;
  1076. }
  1077. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_AudioResampler_isValid(void * jarg1) {
  1078. unsigned int jresult ;
  1079. AudioResampler *arg1 = (AudioResampler *) 0 ;
  1080. bool result;
  1081. arg1 = (AudioResampler *)jarg1;
  1082. result = (bool)(arg1)->isValid();
  1083. jresult = result;
  1084. return jresult;
  1085. }
  1086. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_AudioResampler_getOutputRequiredSizeInShort(void * jarg1) {
  1087. unsigned int jresult ;
  1088. AudioResampler *arg1 = (AudioResampler *) 0 ;
  1089. uint32_t result;
  1090. arg1 = (AudioResampler *)jarg1;
  1091. result = (uint32_t)(arg1)->getOutputRequiredSizeInShort();
  1092. jresult = result;
  1093. return jresult;
  1094. }
  1095. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_AudioResampler_getInputRequiredSizeInShort(void * jarg1) {
  1096. unsigned int jresult ;
  1097. AudioResampler *arg1 = (AudioResampler *) 0 ;
  1098. uint32_t result;
  1099. arg1 = (AudioResampler *)jarg1;
  1100. result = (uint32_t)(arg1)->getInputRequiredSizeInShort();
  1101. jresult = result;
  1102. return jresult;
  1103. }
  1104. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_AudioResampler_process(void * jarg1, void * jarg2, unsigned int jarg3, void * jarg4, unsigned int jarg5) {
  1105. unsigned int jresult ;
  1106. AudioResampler *arg1 = (AudioResampler *) 0 ;
  1107. void *arg2 = (void *) 0 ;
  1108. uint32_t arg3 ;
  1109. void *arg4 = (void *) 0 ;
  1110. uint32_t arg5 ;
  1111. uint32_t result;
  1112. arg1 = (AudioResampler *)jarg1;
  1113. arg2 = jarg2;
  1114. arg3 = (uint32_t)jarg3;
  1115. arg4 = jarg4;
  1116. arg5 = (uint32_t)jarg5;
  1117. result = (uint32_t)(arg1)->process((void const *)arg2,arg3,arg4,arg5);
  1118. jresult = result;
  1119. return jresult;
  1120. }
  1121. SWIGEXPORT void * SWIGSTDCALL CSharp_new_ActionConfig() {
  1122. void * jresult ;
  1123. ActionConfig *result = 0 ;
  1124. result = (ActionConfig *)new ActionConfig();
  1125. jresult = (void *)result;
  1126. return jresult;
  1127. }
  1128. SWIGEXPORT void SWIGSTDCALL CSharp_delete_ActionConfig(void * jarg1) {
  1129. ActionConfig *arg1 = (ActionConfig *) 0 ;
  1130. arg1 = (ActionConfig *)jarg1;
  1131. delete arg1;
  1132. }
  1133. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ActionConfig_addHeader(void * jarg1, char * jarg2, char * jarg3) {
  1134. unsigned int jresult ;
  1135. ActionConfig *arg1 = (ActionConfig *) 0 ;
  1136. char *arg2 = (char *) 0 ;
  1137. char *arg3 = (char *) 0 ;
  1138. bool result;
  1139. arg1 = (ActionConfig *)jarg1;
  1140. arg2 = (char *)jarg2;
  1141. arg3 = (char *)jarg3;
  1142. result = (bool)(arg1)->addHeader((char const *)arg2,(char const *)arg3);
  1143. jresult = result;
  1144. return jresult;
  1145. }
  1146. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ActionConfig_addPayload(void * jarg1, void * jarg2, unsigned int jarg3) {
  1147. unsigned int jresult ;
  1148. ActionConfig *arg1 = (ActionConfig *) 0 ;
  1149. void *arg2 = (void *) 0 ;
  1150. unsigned int arg3 ;
  1151. bool result;
  1152. arg1 = (ActionConfig *)jarg1;
  1153. arg2 = jarg2;
  1154. arg3 = (unsigned int)jarg3;
  1155. result = (bool)(arg1)->addPayload((void const *)arg2,arg3);
  1156. jresult = result;
  1157. return jresult;
  1158. }
  1159. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ActionConfig_setActiveMedia(void * jarg1, int jarg2) {
  1160. unsigned int jresult ;
  1161. ActionConfig *arg1 = (ActionConfig *) 0 ;
  1162. twrap_media_type_t arg2 ;
  1163. bool result;
  1164. arg1 = (ActionConfig *)jarg1;
  1165. arg2 = (twrap_media_type_t)jarg2;
  1166. result = (bool)(arg1)->setActiveMedia(arg2);
  1167. jresult = result;
  1168. return jresult;
  1169. }
  1170. SWIGEXPORT void * SWIGSTDCALL CSharp_ActionConfig_setResponseLine(void * jarg1, short jarg2, char * jarg3) {
  1171. void * jresult ;
  1172. ActionConfig *arg1 = (ActionConfig *) 0 ;
  1173. short arg2 ;
  1174. char *arg3 = (char *) 0 ;
  1175. ActionConfig *result = 0 ;
  1176. arg1 = (ActionConfig *)jarg1;
  1177. arg2 = (short)jarg2;
  1178. arg3 = (char *)jarg3;
  1179. result = (ActionConfig *)(arg1)->setResponseLine(arg2,(char const *)arg3);
  1180. jresult = (void *)result;
  1181. return jresult;
  1182. }
  1183. SWIGEXPORT void * SWIGSTDCALL CSharp_ActionConfig_setMediaString(void * jarg1, int jarg2, char * jarg3, char * jarg4) {
  1184. void * jresult ;
  1185. ActionConfig *arg1 = (ActionConfig *) 0 ;
  1186. twrap_media_type_t arg2 ;
  1187. char *arg3 = (char *) 0 ;
  1188. char *arg4 = (char *) 0 ;
  1189. ActionConfig *result = 0 ;
  1190. arg1 = (ActionConfig *)jarg1;
  1191. arg2 = (twrap_media_type_t)jarg2;
  1192. arg3 = (char *)jarg3;
  1193. arg4 = (char *)jarg4;
  1194. result = (ActionConfig *)(arg1)->setMediaString(arg2,(char const *)arg3,(char const *)arg4);
  1195. jresult = (void *)result;
  1196. return jresult;
  1197. }
  1198. SWIGEXPORT void * SWIGSTDCALL CSharp_ActionConfig_setMediaInt(void * jarg1, int jarg2, char * jarg3, int jarg4) {
  1199. void * jresult ;
  1200. ActionConfig *arg1 = (ActionConfig *) 0 ;
  1201. twrap_media_type_t arg2 ;
  1202. char *arg3 = (char *) 0 ;
  1203. int arg4 ;
  1204. ActionConfig *result = 0 ;
  1205. arg1 = (ActionConfig *)jarg1;
  1206. arg2 = (twrap_media_type_t)jarg2;
  1207. arg3 = (char *)jarg3;
  1208. arg4 = (int)jarg4;
  1209. result = (ActionConfig *)(arg1)->setMediaInt(arg2,(char const *)arg3,arg4);
  1210. jresult = (void *)result;
  1211. return jresult;
  1212. }
  1213. SWIGEXPORT void SWIGSTDCALL CSharp_delete_QoS(void * jarg1) {
  1214. QoS *arg1 = (QoS *) 0 ;
  1215. arg1 = (QoS *)jarg1;
  1216. delete arg1;
  1217. }
  1218. SWIGEXPORT float SWIGSTDCALL CSharp_QoS_getQavg(void * jarg1) {
  1219. float jresult ;
  1220. QoS *arg1 = (QoS *) 0 ;
  1221. float result;
  1222. arg1 = (QoS *)jarg1;
  1223. result = (float)(arg1)->getQavg();
  1224. jresult = result;
  1225. return jresult;
  1226. }
  1227. SWIGEXPORT float SWIGSTDCALL CSharp_QoS_getQ1(void * jarg1) {
  1228. float jresult ;
  1229. QoS *arg1 = (QoS *) 0 ;
  1230. float result;
  1231. arg1 = (QoS *)jarg1;
  1232. result = (float)(arg1)->getQ1();
  1233. jresult = result;
  1234. return jresult;
  1235. }
  1236. SWIGEXPORT float SWIGSTDCALL CSharp_QoS_getQ2(void * jarg1) {
  1237. float jresult ;
  1238. QoS *arg1 = (QoS *) 0 ;
  1239. float result;
  1240. arg1 = (QoS *)jarg1;
  1241. result = (float)(arg1)->getQ2();
  1242. jresult = result;
  1243. return jresult;
  1244. }
  1245. SWIGEXPORT float SWIGSTDCALL CSharp_QoS_getQ3(void * jarg1) {
  1246. float jresult ;
  1247. QoS *arg1 = (QoS *) 0 ;
  1248. float result;
  1249. arg1 = (QoS *)jarg1;
  1250. result = (float)(arg1)->getQ3();
  1251. jresult = result;
  1252. return jresult;
  1253. }
  1254. SWIGEXPORT float SWIGSTDCALL CSharp_QoS_getQ4(void * jarg1) {
  1255. float jresult ;
  1256. QoS *arg1 = (QoS *) 0 ;
  1257. float result;
  1258. arg1 = (QoS *)jarg1;
  1259. result = (float)(arg1)->getQ4();
  1260. jresult = result;
  1261. return jresult;
  1262. }
  1263. SWIGEXPORT float SWIGSTDCALL CSharp_QoS_getQ5(void * jarg1) {
  1264. float jresult ;
  1265. QoS *arg1 = (QoS *) 0 ;
  1266. float result;
  1267. arg1 = (QoS *)jarg1;
  1268. result = (float)(arg1)->getQ5();
  1269. jresult = result;
  1270. return jresult;
  1271. }
  1272. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_QoS_getVideoInWidth(void * jarg1) {
  1273. unsigned int jresult ;
  1274. QoS *arg1 = (QoS *) 0 ;
  1275. unsigned int result;
  1276. arg1 = (QoS *)jarg1;
  1277. result = (unsigned int)(arg1)->getVideoInWidth();
  1278. jresult = result;
  1279. return jresult;
  1280. }
  1281. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_QoS_getVideoOutWidth(void * jarg1) {
  1282. unsigned int jresult ;
  1283. QoS *arg1 = (QoS *) 0 ;
  1284. unsigned int result;
  1285. arg1 = (QoS *)jarg1;
  1286. result = (unsigned int)(arg1)->getVideoOutWidth();
  1287. jresult = result;
  1288. return jresult;
  1289. }
  1290. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_QoS_getVideoInHeight(void * jarg1) {
  1291. unsigned int jresult ;
  1292. QoS *arg1 = (QoS *) 0 ;
  1293. unsigned int result;
  1294. arg1 = (QoS *)jarg1;
  1295. result = (unsigned int)(arg1)->getVideoInHeight();
  1296. jresult = result;
  1297. return jresult;
  1298. }
  1299. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_QoS_getVideoOutHeight(void * jarg1) {
  1300. unsigned int jresult ;
  1301. QoS *arg1 = (QoS *) 0 ;
  1302. unsigned int result;
  1303. arg1 = (QoS *)jarg1;
  1304. result = (unsigned int)(arg1)->getVideoOutHeight();
  1305. jresult = result;
  1306. return jresult;
  1307. }
  1308. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_QoS_getBandwidthDownKbps(void * jarg1) {
  1309. unsigned int jresult ;
  1310. QoS *arg1 = (QoS *) 0 ;
  1311. unsigned int result;
  1312. arg1 = (QoS *)jarg1;
  1313. result = (unsigned int)(arg1)->getBandwidthDownKbps();
  1314. jresult = result;
  1315. return jresult;
  1316. }
  1317. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_QoS_getBandwidthUpKbps(void * jarg1) {
  1318. unsigned int jresult ;
  1319. QoS *arg1 = (QoS *) 0 ;
  1320. unsigned int result;
  1321. arg1 = (QoS *)jarg1;
  1322. result = (unsigned int)(arg1)->getBandwidthUpKbps();
  1323. jresult = result;
  1324. return jresult;
  1325. }
  1326. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_QoS_getVideoInAvgFps(void * jarg1) {
  1327. unsigned int jresult ;
  1328. QoS *arg1 = (QoS *) 0 ;
  1329. unsigned int result;
  1330. arg1 = (QoS *)jarg1;
  1331. result = (unsigned int)(arg1)->getVideoInAvgFps();
  1332. jresult = result;
  1333. return jresult;
  1334. }
  1335. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_QoS_getVideoDecAvgTime(void * jarg1) {
  1336. unsigned int jresult ;
  1337. QoS *arg1 = (QoS *) 0 ;
  1338. unsigned int result;
  1339. arg1 = (QoS *)jarg1;
  1340. result = (unsigned int)(arg1)->getVideoDecAvgTime();
  1341. jresult = result;
  1342. return jresult;
  1343. }
  1344. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_QoS_getVideoEncAvgTime(void * jarg1) {
  1345. unsigned int jresult ;
  1346. QoS *arg1 = (QoS *) 0 ;
  1347. unsigned int result;
  1348. arg1 = (QoS *)jarg1;
  1349. result = (unsigned int)(arg1)->getVideoEncAvgTime();
  1350. jresult = result;
  1351. return jresult;
  1352. }
  1353. SWIGEXPORT void SWIGSTDCALL CSharp_delete_Codec(void * jarg1) {
  1354. Codec *arg1 = (Codec *) 0 ;
  1355. arg1 = (Codec *)jarg1;
  1356. delete arg1;
  1357. }
  1358. SWIGEXPORT int SWIGSTDCALL CSharp_Codec_getMediaType(void * jarg1) {
  1359. int jresult ;
  1360. Codec *arg1 = (Codec *) 0 ;
  1361. twrap_media_type_t result;
  1362. arg1 = (Codec *)jarg1;
  1363. result = (twrap_media_type_t)(arg1)->getMediaType();
  1364. jresult = result;
  1365. return jresult;
  1366. }
  1367. SWIGEXPORT char * SWIGSTDCALL CSharp_Codec_getName(void * jarg1) {
  1368. char * jresult ;
  1369. Codec *arg1 = (Codec *) 0 ;
  1370. char *result = 0 ;
  1371. arg1 = (Codec *)jarg1;
  1372. result = (char *)(arg1)->getName();
  1373. jresult = SWIG_csharp_string_callback((const char *)result);
  1374. return jresult;
  1375. }
  1376. SWIGEXPORT char * SWIGSTDCALL CSharp_Codec_getDescription(void * jarg1) {
  1377. char * jresult ;
  1378. Codec *arg1 = (Codec *) 0 ;
  1379. char *result = 0 ;
  1380. arg1 = (Codec *)jarg1;
  1381. result = (char *)(arg1)->getDescription();
  1382. jresult = SWIG_csharp_string_callback((const char *)result);
  1383. return jresult;
  1384. }
  1385. SWIGEXPORT char * SWIGSTDCALL CSharp_Codec_getNegFormat(void * jarg1) {
  1386. char * jresult ;
  1387. Codec *arg1 = (Codec *) 0 ;
  1388. char *result = 0 ;
  1389. arg1 = (Codec *)jarg1;
  1390. result = (char *)(arg1)->getNegFormat();
  1391. jresult = SWIG_csharp_string_callback((const char *)result);
  1392. return jresult;
  1393. }
  1394. SWIGEXPORT int SWIGSTDCALL CSharp_Codec_getAudioSamplingRate(void * jarg1) {
  1395. int jresult ;
  1396. Codec *arg1 = (Codec *) 0 ;
  1397. int result;
  1398. arg1 = (Codec *)jarg1;
  1399. result = (int)(arg1)->getAudioSamplingRate();
  1400. jresult = result;
  1401. return jresult;
  1402. }
  1403. SWIGEXPORT int SWIGSTDCALL CSharp_Codec_getAudioChannels(void * jarg1) {
  1404. int jresult ;
  1405. Codec *arg1 = (Codec *) 0 ;
  1406. int result;
  1407. arg1 = (Codec *)jarg1;
  1408. result = (int)(arg1)->getAudioChannels();
  1409. jresult = result;
  1410. return jresult;
  1411. }
  1412. SWIGEXPORT int SWIGSTDCALL CSharp_Codec_getAudioPTime(void * jarg1) {
  1413. int jresult ;
  1414. Codec *arg1 = (Codec *) 0 ;
  1415. int result;
  1416. arg1 = (Codec *)jarg1;
  1417. result = (int)(arg1)->getAudioPTime();
  1418. jresult = result;
  1419. return jresult;
  1420. }
  1421. SWIGEXPORT void SWIGSTDCALL CSharp_delete_MediaSessionMgr(void * jarg1) {
  1422. MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
  1423. arg1 = (MediaSessionMgr *)jarg1;
  1424. delete arg1;
  1425. }
  1426. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_sessionSetInt32(void * jarg1, int jarg2, char * jarg3, int jarg4) {
  1427. unsigned int jresult ;
  1428. MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
  1429. twrap_media_type_t arg2 ;
  1430. char *arg3 = (char *) 0 ;
  1431. int32_t arg4 ;
  1432. bool result;
  1433. arg1 = (MediaSessionMgr *)jarg1;
  1434. arg2 = (twrap_media_type_t)jarg2;
  1435. arg3 = (char *)jarg3;
  1436. arg4 = (int32_t)jarg4;
  1437. result = (bool)(arg1)->sessionSetInt32(arg2,(char const *)arg3,arg4);
  1438. jresult = result;
  1439. return jresult;
  1440. }
  1441. SWIGEXPORT int SWIGSTDCALL CSharp_MediaSessionMgr_sessionGetInt32(void * jarg1, int jarg2, char * jarg3) {
  1442. int jresult ;
  1443. MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
  1444. twrap_media_type_t arg2 ;
  1445. char *arg3 = (char *) 0 ;
  1446. int32_t result;
  1447. arg1 = (MediaSessionMgr *)jarg1;
  1448. arg2 = (twrap_media_type_t)jarg2;
  1449. arg3 = (char *)jarg3;
  1450. result = (int32_t)(arg1)->sessionGetInt32(arg2,(char const *)arg3);
  1451. jresult = result;
  1452. return jresult;
  1453. }
  1454. SWIGEXPORT void * SWIGSTDCALL CSharp_MediaSessionMgr_sessionGetQoS(void * jarg1, int jarg2) {
  1455. void * jresult ;
  1456. MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
  1457. twrap_media_type_t arg2 ;
  1458. QoS *result = 0 ;
  1459. arg1 = (MediaSessionMgr *)jarg1;
  1460. arg2 = (twrap_media_type_t)jarg2;
  1461. result = (QoS *)(arg1)->sessionGetQoS(arg2);
  1462. jresult = (void *)result;
  1463. return jresult;
  1464. }
  1465. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_consumerSetInt32(void * jarg1, int jarg2, char * jarg3, int jarg4) {
  1466. unsigned int jresult ;
  1467. MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
  1468. twrap_media_type_t arg2 ;
  1469. char *arg3 = (char *) 0 ;
  1470. int32_t arg4 ;
  1471. bool result;
  1472. arg1 = (MediaSessionMgr *)jarg1;
  1473. arg2 = (twrap_media_type_t)jarg2;
  1474. arg3 = (char *)jarg3;
  1475. arg4 = (int32_t)jarg4;
  1476. result = (bool)(arg1)->consumerSetInt32(arg2,(char const *)arg3,arg4);
  1477. jresult = result;
  1478. return jresult;
  1479. }
  1480. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_consumerSetInt64(void * jarg1, int jarg2, char * jarg3, long long jarg4) {
  1481. unsigned int jresult ;
  1482. MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
  1483. twrap_media_type_t arg2 ;
  1484. char *arg3 = (char *) 0 ;
  1485. int64_t arg4 ;
  1486. bool result;
  1487. arg1 = (MediaSessionMgr *)jarg1;
  1488. arg2 = (twrap_media_type_t)jarg2;
  1489. arg3 = (char *)jarg3;
  1490. arg4 = (int64_t)jarg4;
  1491. result = (bool)(arg1)->consumerSetInt64(arg2,(char const *)arg3,arg4);
  1492. jresult = result;
  1493. return jresult;
  1494. }
  1495. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_producerSetInt32(void * jarg1, int jarg2, char * jarg3, int jarg4) {
  1496. unsigned int jresult ;
  1497. MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
  1498. twrap_media_type_t arg2 ;
  1499. char *arg3 = (char *) 0 ;
  1500. int32_t arg4 ;
  1501. bool result;
  1502. arg1 = (MediaSessionMgr *)jarg1;
  1503. arg2 = (twrap_media_type_t)jarg2;
  1504. arg3 = (char *)jarg3;
  1505. arg4 = (int32_t)jarg4;
  1506. result = (bool)(arg1)->producerSetInt32(arg2,(char const *)arg3,arg4);
  1507. jresult = result;
  1508. return jresult;
  1509. }
  1510. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_producerSetInt64(void * jarg1, int jarg2, char * jarg3, long long jarg4) {
  1511. unsigned int jresult ;
  1512. MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
  1513. twrap_media_type_t arg2 ;
  1514. char *arg3 = (char *) 0 ;
  1515. int64_t arg4 ;
  1516. bool result;
  1517. arg1 = (MediaSessionMgr *)jarg1;
  1518. arg2 = (twrap_media_type_t)jarg2;
  1519. arg3 = (char *)jarg3;
  1520. arg4 = (int64_t)jarg4;
  1521. result = (bool)(arg1)->producerSetInt64(arg2,(char const *)arg3,arg4);
  1522. jresult = result;
  1523. return jresult;
  1524. }
  1525. SWIGEXPORT void * SWIGSTDCALL CSharp_MediaSessionMgr_producerGetCodec(void * jarg1, int jarg2) {
  1526. void * jresult ;
  1527. MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
  1528. twrap_media_type_t arg2 ;
  1529. Codec *result = 0 ;
  1530. arg1 = (MediaSessionMgr *)jarg1;
  1531. arg2 = (twrap_media_type_t)jarg2;
  1532. result = (Codec *)(arg1)->producerGetCodec(arg2);
  1533. jresult = (void *)result;
  1534. return jresult;
  1535. }
  1536. SWIGEXPORT void * SWIGSTDCALL CSharp_MediaSessionMgr_findProxyPluginConsumer(void * jarg1, int jarg2) {
  1537. void * jresult ;
  1538. MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
  1539. twrap_media_type_t arg2 ;
  1540. ProxyPlugin *result = 0 ;
  1541. arg1 = (MediaSessionMgr *)jarg1;
  1542. arg2 = (twrap_media_type_t)jarg2;
  1543. result = (ProxyPlugin *)((MediaSessionMgr const *)arg1)->findProxyPluginConsumer(arg2);
  1544. jresult = (void *)result;
  1545. return jresult;
  1546. }
  1547. SWIGEXPORT void * SWIGSTDCALL CSharp_MediaSessionMgr_findProxyPluginProducer(void * jarg1, int jarg2) {
  1548. void * jresult ;
  1549. MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
  1550. twrap_media_type_t arg2 ;
  1551. ProxyPlugin *result = 0 ;
  1552. arg1 = (MediaSessionMgr *)jarg1;
  1553. arg2 = (twrap_media_type_t)jarg2;
  1554. result = (ProxyPlugin *)((MediaSessionMgr const *)arg1)->findProxyPluginProducer(arg2);
  1555. jresult = (void *)result;
  1556. return jresult;
  1557. }
  1558. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_registerAudioPluginFromFile(char * jarg1) {
  1559. unsigned int jresult ;
  1560. char *arg1 = (char *) 0 ;
  1561. unsigned int result;
  1562. arg1 = (char *)jarg1;
  1563. result = (unsigned int)MediaSessionMgr::registerAudioPluginFromFile((char const *)arg1);
  1564. jresult = result;
  1565. return jresult;
  1566. }
  1567. SWIGEXPORT unsigned long long SWIGSTDCALL CSharp_MediaSessionMgr_getSessionId(void * jarg1, int jarg2) {
  1568. unsigned long long jresult ;
  1569. MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ;
  1570. twrap_media_type_t arg2 ;
  1571. uint64_t result;
  1572. arg1 = (MediaSessionMgr *)jarg1;
  1573. arg2 = (twrap_media_type_t)jarg2;
  1574. result = (uint64_t)((MediaSessionMgr const *)arg1)->getSessionId(arg2);
  1575. jresult = result;
  1576. return jresult;
  1577. }
  1578. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetProfile(int jarg1) {
  1579. unsigned int jresult ;
  1580. tmedia_profile_t arg1 ;
  1581. bool result;
  1582. arg1 = (tmedia_profile_t)jarg1;
  1583. result = (bool)MediaSessionMgr::defaultsSetProfile(arg1);
  1584. jresult = result;
  1585. return jresult;
  1586. }
  1587. SWIGEXPORT int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsGetProfile() {
  1588. int jresult ;
  1589. tmedia_profile_t result;
  1590. result = (tmedia_profile_t)MediaSessionMgr::defaultsGetProfile();
  1591. jresult = result;
  1592. return jresult;
  1593. }
  1594. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetBandwidthLevel(int jarg1) {
  1595. unsigned int jresult ;
  1596. tmedia_bandwidth_level_t arg1 ;
  1597. bool result;
  1598. arg1 = (tmedia_bandwidth_level_t)jarg1;
  1599. result = (bool)MediaSessionMgr::defaultsSetBandwidthLevel(arg1);
  1600. jresult = result;
  1601. return jresult;
  1602. }
  1603. SWIGEXPORT int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsGetBandwidthLevel() {
  1604. int jresult ;
  1605. tmedia_bandwidth_level_t result;
  1606. result = (tmedia_bandwidth_level_t)MediaSessionMgr::defaultsGetBandwidthLevel();
  1607. jresult = result;
  1608. return jresult;
  1609. }
  1610. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetCongestionCtrlEnabled(unsigned int jarg1) {
  1611. unsigned int jresult ;
  1612. bool arg1 ;
  1613. bool result;
  1614. arg1 = jarg1 ? true : false;
  1615. result = (bool)MediaSessionMgr::defaultsSetCongestionCtrlEnabled(arg1);
  1616. jresult = result;
  1617. return jresult;
  1618. }
  1619. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetVideoMotionRank(int jarg1) {
  1620. unsigned int jresult ;
  1621. int32_t arg1 ;
  1622. bool result;
  1623. arg1 = (int32_t)jarg1;
  1624. result = (bool)MediaSessionMgr::defaultsSetVideoMotionRank(arg1);
  1625. jresult = result;
  1626. return jresult;
  1627. }
  1628. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetVideoFps(int jarg1) {
  1629. unsigned int jresult ;
  1630. int32_t arg1 ;
  1631. bool result;
  1632. arg1 = (int32_t)jarg1;
  1633. result = (bool)MediaSessionMgr::defaultsSetVideoFps(arg1);
  1634. jresult = result;
  1635. return jresult;
  1636. }
  1637. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetBandwidthVideoUploadMax(int jarg1) {
  1638. unsigned int jresult ;
  1639. int32_t arg1 ;
  1640. bool result;
  1641. arg1 = (int32_t)jarg1;
  1642. result = (bool)MediaSessionMgr::defaultsSetBandwidthVideoUploadMax(arg1);
  1643. jresult = result;
  1644. return jresult;
  1645. }
  1646. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetBandwidthVideoDownloadMax(int jarg1) {
  1647. unsigned int jresult ;
  1648. int32_t arg1 ;
  1649. bool result;
  1650. arg1 = (int32_t)jarg1;
  1651. result = (bool)MediaSessionMgr::defaultsSetBandwidthVideoDownloadMax(arg1);
  1652. jresult = result;
  1653. return jresult;
  1654. }
  1655. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetPrefVideoSize(int jarg1) {
  1656. unsigned int jresult ;
  1657. tmedia_pref_video_size_t arg1 ;
  1658. bool result;
  1659. arg1 = (tmedia_pref_video_size_t)jarg1;
  1660. result = (bool)MediaSessionMgr::defaultsSetPrefVideoSize(arg1);
  1661. jresult = result;
  1662. return jresult;
  1663. }
  1664. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetPrefVideoSizeOutRange(int jarg1, int jarg2) {
  1665. unsigned int jresult ;
  1666. tmedia_pref_video_size_t arg1 ;
  1667. tmedia_pref_video_size_t arg2 ;
  1668. bool result;
  1669. arg1 = (tmedia_pref_video_size_t)jarg1;
  1670. arg2 = (tmedia_pref_video_size_t)jarg2;
  1671. result = (bool)MediaSessionMgr::defaultsSetPrefVideoSizeOutRange(arg1,arg2);
  1672. jresult = result;
  1673. return jresult;
  1674. }
  1675. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetAdaptativeVideoSizeOutEnabled(unsigned int jarg1) {
  1676. unsigned int jresult ;
  1677. bool arg1 ;
  1678. bool result;
  1679. arg1 = jarg1 ? true : false;
  1680. result = (bool)MediaSessionMgr::defaultsSetAdaptativeVideoSizeOutEnabled(arg1);
  1681. jresult = result;
  1682. return jresult;
  1683. }
  1684. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetJbMargin(unsigned int jarg1) {
  1685. unsigned int jresult ;
  1686. uint32_t arg1 ;
  1687. bool result;
  1688. arg1 = (uint32_t)jarg1;
  1689. result = (bool)MediaSessionMgr::defaultsSetJbMargin(arg1);
  1690. jresult = result;
  1691. return jresult;
  1692. }
  1693. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetJbMaxLateRate(unsigned int jarg1) {
  1694. unsigned int jresult ;
  1695. uint32_t arg1 ;
  1696. bool result;
  1697. arg1 = (uint32_t)jarg1;
  1698. result = (bool)MediaSessionMgr::defaultsSetJbMaxLateRate(arg1);
  1699. jresult = result;
  1700. return jresult;
  1701. }
  1702. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetEchoTail(unsigned int jarg1) {
  1703. unsigned int jresult ;
  1704. uint32_t arg1 ;
  1705. bool result;
  1706. arg1 = (uint32_t)jarg1;
  1707. result = (bool)MediaSessionMgr::defaultsSetEchoTail(arg1);
  1708. jresult = result;
  1709. return jresult;
  1710. }
  1711. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsGetEchoTail() {
  1712. unsigned int jresult ;
  1713. uint32_t result;
  1714. result = (uint32_t)MediaSessionMgr::defaultsGetEchoTail();
  1715. jresult = result;
  1716. return jresult;
  1717. }
  1718. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetEchoSkew(unsigned int jarg1) {
  1719. unsigned int jresult ;
  1720. uint32_t arg1 ;
  1721. bool result;
  1722. arg1 = (uint32_t)jarg1;
  1723. result = (bool)MediaSessionMgr::defaultsSetEchoSkew(arg1);
  1724. jresult = result;
  1725. return jresult;
  1726. }
  1727. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetEchoSuppEnabled(unsigned int jarg1) {
  1728. unsigned int jresult ;
  1729. bool arg1 ;
  1730. bool result;
  1731. arg1 = jarg1 ? true : false;
  1732. result = (bool)MediaSessionMgr::defaultsSetEchoSuppEnabled(arg1);
  1733. jresult = result;
  1734. return jresult;
  1735. }
  1736. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsGetEchoSuppEnabled() {
  1737. unsigned int jresult ;
  1738. bool result;
  1739. result = (bool)MediaSessionMgr::defaultsGetEchoSuppEnabled();
  1740. jresult = result;
  1741. return jresult;
  1742. }
  1743. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetAgcEnabled(unsigned int jarg1) {
  1744. unsigned int jresult ;
  1745. bool arg1 ;
  1746. bool result;
  1747. arg1 = jarg1 ? true : false;
  1748. result = (bool)MediaSessionMgr::defaultsSetAgcEnabled(arg1);
  1749. jresult = result;
  1750. return jresult;
  1751. }
  1752. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsGetAgcEnabled() {
  1753. unsigned int jresult ;
  1754. bool result;
  1755. result = (bool)MediaSessionMgr::defaultsGetAgcEnabled();
  1756. jresult = result;
  1757. return jresult;
  1758. }
  1759. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetAgcLevel(float jarg1) {
  1760. unsigned int jresult ;
  1761. float arg1 ;
  1762. bool result;
  1763. arg1 = (float)jarg1;
  1764. result = (bool)MediaSessionMgr::defaultsSetAgcLevel(arg1);
  1765. jresult = result;
  1766. return jresult;
  1767. }
  1768. SWIGEXPORT float SWIGSTDCALL CSharp_MediaSessionMgr_defaultsGetAgcLevel() {
  1769. float jresult ;
  1770. float result;
  1771. result = (float)MediaSessionMgr::defaultsGetAgcLevel();
  1772. jresult = result;
  1773. return jresult;
  1774. }
  1775. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetVadEnabled(unsigned int jarg1) {
  1776. unsigned int jresult ;
  1777. bool arg1 ;
  1778. bool result;
  1779. arg1 = jarg1 ? true : false;
  1780. result = (bool)MediaSessionMgr::defaultsSetVadEnabled(arg1);
  1781. jresult = result;
  1782. return jresult;
  1783. }
  1784. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsGetGetVadEnabled() {
  1785. unsigned int jresult ;
  1786. bool result;
  1787. result = (bool)MediaSessionMgr::defaultsGetGetVadEnabled();
  1788. jresult = result;
  1789. return jresult;
  1790. }
  1791. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetNoiseSuppEnabled(unsigned int jarg1) {
  1792. unsigned int jresult ;
  1793. bool arg1 ;
  1794. bool result;
  1795. arg1 = jarg1 ? true : false;
  1796. result = (bool)MediaSessionMgr::defaultsSetNoiseSuppEnabled(arg1);
  1797. jresult = result;
  1798. return jresult;
  1799. }
  1800. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsGetNoiseSuppEnabled() {
  1801. unsigned int jresult ;
  1802. bool result;
  1803. result = (bool)MediaSessionMgr::defaultsGetNoiseSuppEnabled();
  1804. jresult = result;
  1805. return jresult;
  1806. }
  1807. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetNoiseSuppLevel(int jarg1) {
  1808. unsigned int jresult ;
  1809. int32_t arg1 ;
  1810. bool result;
  1811. arg1 = (int32_t)jarg1;
  1812. result = (bool)MediaSessionMgr::defaultsSetNoiseSuppLevel(arg1);
  1813. jresult = result;
  1814. return jresult;
  1815. }
  1816. SWIGEXPORT int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsGetNoiseSuppLevel() {
  1817. int jresult ;
  1818. int32_t result;
  1819. result = (int32_t)MediaSessionMgr::defaultsGetNoiseSuppLevel();
  1820. jresult = result;
  1821. return jresult;
  1822. }
  1823. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetConditionalRingingEnabled(unsigned int jarg1) {
  1824. unsigned int jresult ;
  1825. bool arg1 ;
  1826. bool result;
  1827. arg1 = jarg1 ? true : false;
  1828. result = (bool)MediaSessionMgr::defaultsSetConditionalRingingEnabled(arg1);
  1829. jresult = result;
  1830. return jresult;
  1831. }
  1832. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsGetConditionalRingingEnabled() {
  1833. unsigned int jresult ;
  1834. bool result;
  1835. result = (bool)MediaSessionMgr::defaultsGetConditionalRingingEnabled();
  1836. jresult = result;
  1837. return jresult;
  1838. }
  1839. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSet100relEnabled(unsigned int jarg1) {
  1840. unsigned int jresult ;
  1841. bool arg1 ;
  1842. bool result;
  1843. arg1 = jarg1 ? true : false;
  1844. result = (bool)MediaSessionMgr::defaultsSet100relEnabled(arg1);
  1845. jresult = result;
  1846. return jresult;
  1847. }
  1848. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsGet100relEnabled() {
  1849. unsigned int jresult ;
  1850. bool result;
  1851. result = (bool)MediaSessionMgr::defaultsGet100relEnabled();
  1852. jresult = result;
  1853. return jresult;
  1854. }
  1855. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetScreenSize(int jarg1, int jarg2) {
  1856. unsigned int jresult ;
  1857. int32_t arg1 ;
  1858. int32_t arg2 ;
  1859. bool result;
  1860. arg1 = (int32_t)jarg1;
  1861. arg2 = (int32_t)jarg2;
  1862. result = (bool)MediaSessionMgr::defaultsSetScreenSize(arg1,arg2);
  1863. jresult = result;
  1864. return jresult;
  1865. }
  1866. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetAudioGain(int jarg1, int jarg2) {
  1867. unsigned int jresult ;
  1868. int32_t arg1 ;
  1869. int32_t arg2 ;
  1870. bool result;
  1871. arg1 = (int32_t)jarg1;
  1872. arg2 = (int32_t)jarg2;
  1873. result = (bool)MediaSessionMgr::defaultsSetAudioGain(arg1,arg2);
  1874. jresult = result;
  1875. return jresult;
  1876. }
  1877. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetAudioPtime(int jarg1) {
  1878. unsigned int jresult ;
  1879. int32_t arg1 ;
  1880. bool result;
  1881. arg1 = (int32_t)jarg1;
  1882. result = (bool)MediaSessionMgr::defaultsSetAudioPtime(arg1);
  1883. jresult = result;
  1884. return jresult;
  1885. }
  1886. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetAudioChannels(int jarg1, int jarg2) {
  1887. unsigned int jresult ;
  1888. int32_t arg1 ;
  1889. int32_t arg2 ;
  1890. bool result;
  1891. arg1 = (int32_t)jarg1;
  1892. arg2 = (int32_t)jarg2;
  1893. result = (bool)MediaSessionMgr::defaultsSetAudioChannels(arg1,arg2);
  1894. jresult = result;
  1895. return jresult;
  1896. }
  1897. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetRtpPortRange(unsigned short jarg1, unsigned short jarg2) {
  1898. unsigned int jresult ;
  1899. uint16_t arg1 ;
  1900. uint16_t arg2 ;
  1901. bool result;
  1902. arg1 = (uint16_t)jarg1;
  1903. arg2 = (uint16_t)jarg2;
  1904. result = (bool)MediaSessionMgr::defaultsSetRtpPortRange(arg1,arg2);
  1905. jresult = result;
  1906. return jresult;
  1907. }
  1908. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetRtpSymetricEnabled(unsigned int jarg1) {
  1909. unsigned int jresult ;
  1910. bool arg1 ;
  1911. bool result;
  1912. arg1 = jarg1 ? true : false;
  1913. result = (bool)MediaSessionMgr::defaultsSetRtpSymetricEnabled(arg1);
  1914. jresult = result;
  1915. return jresult;
  1916. }
  1917. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetMediaType(int jarg1) {
  1918. unsigned int jresult ;
  1919. twrap_media_type_t arg1 ;
  1920. bool result;
  1921. arg1 = (twrap_media_type_t)jarg1;
  1922. result = (bool)MediaSessionMgr::defaultsSetMediaType(arg1);
  1923. jresult = result;
  1924. return jresult;
  1925. }
  1926. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetVolume(int jarg1) {
  1927. unsigned int jresult ;
  1928. int32_t arg1 ;
  1929. bool result;
  1930. arg1 = (int32_t)jarg1;
  1931. result = (bool)MediaSessionMgr::defaultsSetVolume(arg1);
  1932. jresult = result;
  1933. return jresult;
  1934. }
  1935. SWIGEXPORT int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsGetVolume() {
  1936. int jresult ;
  1937. int32_t result;
  1938. result = (int32_t)MediaSessionMgr::defaultsGetVolume();
  1939. jresult = result;
  1940. return jresult;
  1941. }
  1942. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetInviteSessionTimers(int jarg1, char * jarg2) {
  1943. unsigned int jresult ;
  1944. int32_t arg1 ;
  1945. char *arg2 = (char *) 0 ;
  1946. bool result;
  1947. arg1 = (int32_t)jarg1;
  1948. arg2 = (char *)jarg2;
  1949. result = (bool)MediaSessionMgr::defaultsSetInviteSessionTimers(arg1,(char const *)arg2);
  1950. jresult = result;
  1951. return jresult;
  1952. }
  1953. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetSRtpMode(int jarg1) {
  1954. unsigned int jresult ;
  1955. tmedia_srtp_mode_t arg1 ;
  1956. bool result;
  1957. arg1 = (tmedia_srtp_mode_t)jarg1;
  1958. result = (bool)MediaSessionMgr::defaultsSetSRtpMode(arg1);
  1959. jresult = result;
  1960. return jresult;
  1961. }
  1962. SWIGEXPORT int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsGetSRtpMode() {
  1963. int jresult ;
  1964. tmedia_srtp_mode_t result;
  1965. result = (tmedia_srtp_mode_t)MediaSessionMgr::defaultsGetSRtpMode();
  1966. jresult = result;
  1967. return jresult;
  1968. }
  1969. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetSRtpType(int jarg1) {
  1970. unsigned int jresult ;
  1971. tmedia_srtp_type_t arg1 ;
  1972. bool result;
  1973. arg1 = (tmedia_srtp_type_t)jarg1;
  1974. result = (bool)MediaSessionMgr::defaultsSetSRtpType(arg1);
  1975. jresult = result;
  1976. return jresult;
  1977. }
  1978. SWIGEXPORT int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsGetSRtpType() {
  1979. int jresult ;
  1980. tmedia_srtp_type_t result;
  1981. result = (tmedia_srtp_type_t)MediaSessionMgr::defaultsGetSRtpType();
  1982. jresult = result;
  1983. return jresult;
  1984. }
  1985. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetRtcpEnabled(unsigned int jarg1) {
  1986. unsigned int jresult ;
  1987. bool arg1 ;
  1988. bool result;
  1989. arg1 = jarg1 ? true : false;
  1990. result = (bool)MediaSessionMgr::defaultsSetRtcpEnabled(arg1);
  1991. jresult = result;
  1992. return jresult;
  1993. }
  1994. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsGetRtcpEnabled() {
  1995. unsigned int jresult ;
  1996. bool result;
  1997. result = (bool)MediaSessionMgr::defaultsGetRtcpEnabled();
  1998. jresult = result;
  1999. return jresult;
  2000. }
  2001. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetRtcpMuxEnabled(unsigned int jarg1) {
  2002. unsigned int jresult ;
  2003. bool arg1 ;
  2004. bool result;
  2005. arg1 = jarg1 ? true : false;
  2006. result = (bool)MediaSessionMgr::defaultsSetRtcpMuxEnabled(arg1);
  2007. jresult = result;
  2008. return jresult;
  2009. }
  2010. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsGetRtcpMuxEnabled() {
  2011. unsigned int jresult ;
  2012. bool result;
  2013. result = (bool)MediaSessionMgr::defaultsGetRtcpMuxEnabled();
  2014. jresult = result;
  2015. return jresult;
  2016. }
  2017. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetStunEnabled(unsigned int jarg1) {
  2018. unsigned int jresult ;
  2019. bool arg1 ;
  2020. bool result;
  2021. arg1 = jarg1 ? true : false;
  2022. result = (bool)MediaSessionMgr::defaultsSetStunEnabled(arg1);
  2023. jresult = result;
  2024. return jresult;
  2025. }
  2026. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetIceStunEnabled(unsigned int jarg1) {
  2027. unsigned int jresult ;
  2028. bool arg1 ;
  2029. bool result;
  2030. arg1 = jarg1 ? true : false;
  2031. result = (bool)MediaSessionMgr::defaultsSetIceStunEnabled(arg1);
  2032. jresult = result;
  2033. return jresult;
  2034. }
  2035. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetIceTurnEnabled(unsigned int jarg1) {
  2036. unsigned int jresult ;
  2037. bool arg1 ;
  2038. bool result;
  2039. arg1 = jarg1 ? true : false;
  2040. result = (bool)MediaSessionMgr::defaultsSetIceTurnEnabled(arg1);
  2041. jresult = result;
  2042. return jresult;
  2043. }
  2044. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetStunServer(char * jarg1, unsigned short jarg2) {
  2045. unsigned int jresult ;
  2046. char *arg1 = (char *) 0 ;
  2047. uint16_t arg2 ;
  2048. bool result;
  2049. arg1 = (char *)jarg1;
  2050. arg2 = (uint16_t)jarg2;
  2051. result = (bool)MediaSessionMgr::defaultsSetStunServer((char const *)arg1,arg2);
  2052. jresult = result;
  2053. return jresult;
  2054. }
  2055. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetStunCred(char * jarg1, char * jarg2) {
  2056. unsigned int jresult ;
  2057. char *arg1 = (char *) 0 ;
  2058. char *arg2 = (char *) 0 ;
  2059. bool result;
  2060. arg1 = (char *)jarg1;
  2061. arg2 = (char *)jarg2;
  2062. result = (bool)MediaSessionMgr::defaultsSetStunCred((char const *)arg1,(char const *)arg2);
  2063. jresult = result;
  2064. return jresult;
  2065. }
  2066. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetIceEnabled(unsigned int jarg1) {
  2067. unsigned int jresult ;
  2068. bool arg1 ;
  2069. bool result;
  2070. arg1 = jarg1 ? true : false;
  2071. result = (bool)MediaSessionMgr::defaultsSetIceEnabled(arg1);
  2072. jresult = result;
  2073. return jresult;
  2074. }
  2075. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetByPassEncoding(unsigned int jarg1) {
  2076. unsigned int jresult ;
  2077. bool arg1 ;
  2078. bool result;
  2079. arg1 = jarg1 ? true : false;
  2080. result = (bool)MediaSessionMgr::defaultsSetByPassEncoding(arg1);
  2081. jresult = result;
  2082. return jresult;
  2083. }
  2084. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsGetByPassEncoding() {
  2085. unsigned int jresult ;
  2086. bool result;
  2087. result = (bool)MediaSessionMgr::defaultsGetByPassEncoding();
  2088. jresult = result;
  2089. return jresult;
  2090. }
  2091. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetByPassDecoding(unsigned int jarg1) {
  2092. unsigned int jresult ;
  2093. bool arg1 ;
  2094. bool result;
  2095. arg1 = jarg1 ? true : false;
  2096. result = (bool)MediaSessionMgr::defaultsSetByPassDecoding(arg1);
  2097. jresult = result;
  2098. return jresult;
  2099. }
  2100. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsGetByPassDecoding() {
  2101. unsigned int jresult ;
  2102. bool result;
  2103. result = (bool)MediaSessionMgr::defaultsGetByPassDecoding();
  2104. jresult = result;
  2105. return jresult;
  2106. }
  2107. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetVideoJbEnabled(unsigned int jarg1) {
  2108. unsigned int jresult ;
  2109. bool arg1 ;
  2110. bool result;
  2111. arg1 = jarg1 ? true : false;
  2112. result = (bool)MediaSessionMgr::defaultsSetVideoJbEnabled(arg1);
  2113. jresult = result;
  2114. return jresult;
  2115. }
  2116. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsGetVideoJbEnabled() {
  2117. unsigned int jresult ;
  2118. bool result;
  2119. result = (bool)MediaSessionMgr::defaultsGetVideoJbEnabled();
  2120. jresult = result;
  2121. return jresult;
  2122. }
  2123. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetVideoZeroArtifactsEnabled(unsigned int jarg1) {
  2124. unsigned int jresult ;
  2125. bool arg1 ;
  2126. bool result;
  2127. arg1 = jarg1 ? true : false;
  2128. result = (bool)MediaSessionMgr::defaultsSetVideoZeroArtifactsEnabled(arg1);
  2129. jresult = result;
  2130. return jresult;
  2131. }
  2132. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsGetVideoZeroArtifactsEnabled() {
  2133. unsigned int jresult ;
  2134. bool result;
  2135. result = (bool)MediaSessionMgr::defaultsGetVideoZeroArtifactsEnabled();
  2136. jresult = result;
  2137. return jresult;
  2138. }
  2139. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetRtpBuffSize(unsigned int jarg1) {
  2140. unsigned int jresult ;
  2141. unsigned int arg1 ;
  2142. bool result;
  2143. arg1 = (unsigned int)jarg1;
  2144. result = (bool)MediaSessionMgr::defaultsSetRtpBuffSize(arg1);
  2145. jresult = result;
  2146. return jresult;
  2147. }
  2148. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsGetRtpBuffSize() {
  2149. unsigned int jresult ;
  2150. unsigned int result;
  2151. result = (unsigned int)MediaSessionMgr::defaultsGetRtpBuffSize();
  2152. jresult = result;
  2153. return jresult;
  2154. }
  2155. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetAvpfTail(unsigned int jarg1, unsigned int jarg2) {
  2156. unsigned int jresult ;
  2157. unsigned int arg1 ;
  2158. unsigned int arg2 ;
  2159. bool result;
  2160. arg1 = (unsigned int)jarg1;
  2161. arg2 = (unsigned int)jarg2;
  2162. result = (bool)MediaSessionMgr::defaultsSetAvpfTail(arg1,arg2);
  2163. jresult = result;
  2164. return jresult;
  2165. }
  2166. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetAvpfMode(int jarg1) {
  2167. unsigned int jresult ;
  2168. enum tmedia_mode_e arg1 ;
  2169. bool result;
  2170. arg1 = (enum tmedia_mode_e)jarg1;
  2171. result = (bool)MediaSessionMgr::defaultsSetAvpfMode(arg1);
  2172. jresult = result;
  2173. return jresult;
  2174. }
  2175. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetOpusMaxCaptureRate(unsigned int jarg1) {
  2176. unsigned int jresult ;
  2177. uint32_t arg1 ;
  2178. bool result;
  2179. arg1 = (uint32_t)jarg1;
  2180. result = (bool)MediaSessionMgr::defaultsSetOpusMaxCaptureRate(arg1);
  2181. jresult = result;
  2182. return jresult;
  2183. }
  2184. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetOpusMaxPlaybackRate(unsigned int jarg1) {
  2185. unsigned int jresult ;
  2186. uint32_t arg1 ;
  2187. bool result;
  2188. arg1 = (uint32_t)jarg1;
  2189. result = (bool)MediaSessionMgr::defaultsSetOpusMaxPlaybackRate(arg1);
  2190. jresult = result;
  2191. return jresult;
  2192. }
  2193. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaSessionMgr_defaultsSetMaxFds(int jarg1) {
  2194. unsigned int jresult ;
  2195. int32_t arg1 ;
  2196. bool result;
  2197. arg1 = (int32_t)jarg1;
  2198. result = (bool)MediaSessionMgr::defaultsSetMaxFds(arg1);
  2199. jresult = result;
  2200. return jresult;
  2201. }
  2202. SWIGEXPORT void SWIGSTDCALL CSharp_delete_MediaContent(void * jarg1) {
  2203. MediaContent *arg1 = (MediaContent *) 0 ;
  2204. arg1 = (MediaContent *)jarg1;
  2205. delete arg1;
  2206. }
  2207. SWIGEXPORT char * SWIGSTDCALL CSharp_MediaContent_getType(void * jarg1) {
  2208. char * jresult ;
  2209. MediaContent *arg1 = (MediaContent *) 0 ;
  2210. char *result = 0 ;
  2211. arg1 = (MediaContent *)jarg1;
  2212. result = (char *)(arg1)->getType();
  2213. jresult = SWIG_csharp_string_callback((const char *)result);
  2214. return jresult;
  2215. }
  2216. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaContent_getDataLength(void * jarg1) {
  2217. unsigned int jresult ;
  2218. MediaContent *arg1 = (MediaContent *) 0 ;
  2219. unsigned int result;
  2220. arg1 = (MediaContent *)jarg1;
  2221. result = (unsigned int)(arg1)->getDataLength();
  2222. jresult = result;
  2223. return jresult;
  2224. }
  2225. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaContent_getData(void * jarg1, void * jarg2, unsigned int jarg3) {
  2226. unsigned int jresult ;
  2227. MediaContent *arg1 = (MediaContent *) 0 ;
  2228. void *arg2 = (void *) 0 ;
  2229. unsigned int arg3 ;
  2230. unsigned int result;
  2231. arg1 = (MediaContent *)jarg1;
  2232. arg2 = jarg2;
  2233. arg3 = (unsigned int)jarg3;
  2234. result = (unsigned int)(arg1)->getData(arg2,arg3);
  2235. jresult = result;
  2236. return jresult;
  2237. }
  2238. SWIGEXPORT void * SWIGSTDCALL CSharp_MediaContent_parse__SWIG_0(void * jarg1, unsigned int jarg2, char * jarg3) {
  2239. void * jresult ;
  2240. void *arg1 = (void *) 0 ;
  2241. unsigned int arg2 ;
  2242. char *arg3 = (char *) 0 ;
  2243. MediaContent *result = 0 ;
  2244. arg1 = jarg1;
  2245. arg2 = (unsigned int)jarg2;
  2246. arg3 = (char *)jarg3;
  2247. result = (MediaContent *)MediaContent::parse((void const *)arg1,arg2,(char const *)arg3);
  2248. jresult = (void *)result;
  2249. return jresult;
  2250. }
  2251. SWIGEXPORT void * SWIGSTDCALL CSharp_MediaContent_parse__SWIG_1(void * jarg1, unsigned int jarg2) {
  2252. void * jresult ;
  2253. void *arg1 = (void *) 0 ;
  2254. unsigned int arg2 ;
  2255. MediaContentCPIM *result = 0 ;
  2256. arg1 = jarg1;
  2257. arg2 = (unsigned int)jarg2;
  2258. result = (MediaContentCPIM *)MediaContent::parse((void const *)arg1,arg2);
  2259. jresult = (void *)result;
  2260. return jresult;
  2261. }
  2262. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaContent_getPayloadLength(void * jarg1) {
  2263. unsigned int jresult ;
  2264. MediaContent *arg1 = (MediaContent *) 0 ;
  2265. unsigned int result;
  2266. arg1 = (MediaContent *)jarg1;
  2267. result = (unsigned int)(arg1)->getPayloadLength();
  2268. jresult = result;
  2269. return jresult;
  2270. }
  2271. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaContent_getPayload(void * jarg1, void * jarg2, unsigned int jarg3) {
  2272. unsigned int jresult ;
  2273. MediaContent *arg1 = (MediaContent *) 0 ;
  2274. void *arg2 = (void *) 0 ;
  2275. unsigned int arg3 ;
  2276. unsigned int result;
  2277. arg1 = (MediaContent *)jarg1;
  2278. arg2 = jarg2;
  2279. arg3 = (unsigned int)jarg3;
  2280. result = (unsigned int)(arg1)->getPayload(arg2,arg3);
  2281. jresult = result;
  2282. return jresult;
  2283. }
  2284. SWIGEXPORT void SWIGSTDCALL CSharp_delete_MediaContentCPIM(void * jarg1) {
  2285. MediaContentCPIM *arg1 = (MediaContentCPIM *) 0 ;
  2286. arg1 = (MediaContentCPIM *)jarg1;
  2287. delete arg1;
  2288. }
  2289. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaContentCPIM_getPayloadLength(void * jarg1) {
  2290. unsigned int jresult ;
  2291. MediaContentCPIM *arg1 = (MediaContentCPIM *) 0 ;
  2292. unsigned int result;
  2293. arg1 = (MediaContentCPIM *)jarg1;
  2294. result = (unsigned int)(arg1)->getPayloadLength();
  2295. jresult = result;
  2296. return jresult;
  2297. }
  2298. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MediaContentCPIM_getPayload(void * jarg1, void * jarg2, unsigned int jarg3) {
  2299. unsigned int jresult ;
  2300. MediaContentCPIM *arg1 = (MediaContentCPIM *) 0 ;
  2301. void *arg2 = (void *) 0 ;
  2302. unsigned int arg3 ;
  2303. unsigned int result;
  2304. arg1 = (MediaContentCPIM *)jarg1;
  2305. arg2 = jarg2;
  2306. arg3 = (unsigned int)jarg3;
  2307. result = (unsigned int)(arg1)->getPayload(arg2,arg3);
  2308. jresult = result;
  2309. return jresult;
  2310. }
  2311. SWIGEXPORT char * SWIGSTDCALL CSharp_MediaContentCPIM_getHeaderValue(void * jarg1, char * jarg2) {
  2312. char * jresult ;
  2313. MediaContentCPIM *arg1 = (MediaContentCPIM *) 0 ;
  2314. char *arg2 = (char *) 0 ;
  2315. char *result = 0 ;
  2316. arg1 = (MediaContentCPIM *)jarg1;
  2317. arg2 = (char *)jarg2;
  2318. result = (char *)(arg1)->getHeaderValue((char const *)arg2);
  2319. jresult = SWIG_csharp_string_callback((const char *)result);
  2320. return jresult;
  2321. }
  2322. SWIGEXPORT void * SWIGSTDCALL CSharp_new_SipUri__SWIG_0(char * jarg1, char * jarg2) {
  2323. void * jresult ;
  2324. char *arg1 = (char *) 0 ;
  2325. char *arg2 = (char *) 0 ;
  2326. SipUri *result = 0 ;
  2327. arg1 = (char *)jarg1;
  2328. arg2 = (char *)jarg2;
  2329. result = (SipUri *)new SipUri((char const *)arg1,(char const *)arg2);
  2330. jresult = (void *)result;
  2331. return jresult;
  2332. }
  2333. SWIGEXPORT void * SWIGSTDCALL CSharp_new_SipUri__SWIG_1(char * jarg1) {
  2334. void * jresult ;
  2335. char *arg1 = (char *) 0 ;
  2336. SipUri *result = 0 ;
  2337. arg1 = (char *)jarg1;
  2338. result = (SipUri *)new SipUri((char const *)arg1);
  2339. jresult = (void *)result;
  2340. return jresult;
  2341. }
  2342. SWIGEXPORT void SWIGSTDCALL CSharp_delete_SipUri(void * jarg1) {
  2343. SipUri *arg1 = (SipUri *) 0 ;
  2344. arg1 = (SipUri *)jarg1;
  2345. delete arg1;
  2346. }
  2347. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipUri_isValid__SWIG_0(char * jarg1) {
  2348. unsigned int jresult ;
  2349. char *arg1 = (char *) 0 ;
  2350. bool result;
  2351. arg1 = (char *)jarg1;
  2352. result = (bool)SipUri::isValid((char const *)arg1);
  2353. jresult = result;
  2354. return jresult;
  2355. }
  2356. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipUri_isValid__SWIG_1(void * jarg1) {
  2357. unsigned int jresult ;
  2358. SipUri *arg1 = (SipUri *) 0 ;
  2359. bool result;
  2360. arg1 = (SipUri *)jarg1;
  2361. result = (bool)(arg1)->isValid();
  2362. jresult = result;
  2363. return jresult;
  2364. }
  2365. SWIGEXPORT char * SWIGSTDCALL CSharp_SipUri_getScheme(void * jarg1) {
  2366. char * jresult ;
  2367. SipUri *arg1 = (SipUri *) 0 ;
  2368. char *result = 0 ;
  2369. arg1 = (SipUri *)jarg1;
  2370. result = (char *)(arg1)->getScheme();
  2371. jresult = SWIG_csharp_string_callback((const char *)result);
  2372. return jresult;
  2373. }
  2374. SWIGEXPORT char * SWIGSTDCALL CSharp_SipUri_getHost(void * jarg1) {
  2375. char * jresult ;
  2376. SipUri *arg1 = (SipUri *) 0 ;
  2377. char *result = 0 ;
  2378. arg1 = (SipUri *)jarg1;
  2379. result = (char *)(arg1)->getHost();
  2380. jresult = SWIG_csharp_string_callback((const char *)result);
  2381. return jresult;
  2382. }
  2383. SWIGEXPORT unsigned short SWIGSTDCALL CSharp_SipUri_getPort(void * jarg1) {
  2384. unsigned short jresult ;
  2385. SipUri *arg1 = (SipUri *) 0 ;
  2386. unsigned short result;
  2387. arg1 = (SipUri *)jarg1;
  2388. result = (unsigned short)(arg1)->getPort();
  2389. jresult = result;
  2390. return jresult;
  2391. }
  2392. SWIGEXPORT char * SWIGSTDCALL CSharp_SipUri_getUserName(void * jarg1) {
  2393. char * jresult ;
  2394. SipUri *arg1 = (SipUri *) 0 ;
  2395. char *result = 0 ;
  2396. arg1 = (SipUri *)jarg1;
  2397. result = (char *)(arg1)->getUserName();
  2398. jresult = SWIG_csharp_string_callback((const char *)result);
  2399. return jresult;
  2400. }
  2401. SWIGEXPORT char * SWIGSTDCALL CSharp_SipUri_getPassword(void * jarg1) {
  2402. char * jresult ;
  2403. SipUri *arg1 = (SipUri *) 0 ;
  2404. char *result = 0 ;
  2405. arg1 = (SipUri *)jarg1;
  2406. result = (char *)(arg1)->getPassword();
  2407. jresult = SWIG_csharp_string_callback((const char *)result);
  2408. return jresult;
  2409. }
  2410. SWIGEXPORT char * SWIGSTDCALL CSharp_SipUri_getDisplayName(void * jarg1) {
  2411. char * jresult ;
  2412. SipUri *arg1 = (SipUri *) 0 ;
  2413. char *result = 0 ;
  2414. arg1 = (SipUri *)jarg1;
  2415. result = (char *)(arg1)->getDisplayName();
  2416. jresult = SWIG_csharp_string_callback((const char *)result);
  2417. return jresult;
  2418. }
  2419. SWIGEXPORT char * SWIGSTDCALL CSharp_SipUri_getParamValue(void * jarg1, char * jarg2) {
  2420. char * jresult ;
  2421. SipUri *arg1 = (SipUri *) 0 ;
  2422. char *arg2 = (char *) 0 ;
  2423. char *result = 0 ;
  2424. arg1 = (SipUri *)jarg1;
  2425. arg2 = (char *)jarg2;
  2426. result = (char *)(arg1)->getParamValue((char const *)arg2);
  2427. jresult = SWIG_csharp_string_callback((const char *)result);
  2428. return jresult;
  2429. }
  2430. SWIGEXPORT void SWIGSTDCALL CSharp_SipUri_setDisplayName(void * jarg1, char * jarg2) {
  2431. SipUri *arg1 = (SipUri *) 0 ;
  2432. char *arg2 = (char *) 0 ;
  2433. arg1 = (SipUri *)jarg1;
  2434. arg2 = (char *)jarg2;
  2435. (arg1)->setDisplayName((char const *)arg2);
  2436. }
  2437. SWIGEXPORT void * SWIGSTDCALL CSharp_new_SdpMessage() {
  2438. void * jresult ;
  2439. SdpMessage *result = 0 ;
  2440. result = (SdpMessage *)new SdpMessage();
  2441. jresult = (void *)result;
  2442. return jresult;
  2443. }
  2444. SWIGEXPORT void SWIGSTDCALL CSharp_delete_SdpMessage(void * jarg1) {
  2445. SdpMessage *arg1 = (SdpMessage *) 0 ;
  2446. arg1 = (SdpMessage *)jarg1;
  2447. delete arg1;
  2448. }
  2449. SWIGEXPORT char * SWIGSTDCALL CSharp_SdpMessage_getSdpHeaderValue__SWIG_0(void * jarg1, char * jarg2, char jarg3, unsigned int jarg4) {
  2450. char * jresult ;
  2451. SdpMessage *arg1 = (SdpMessage *) 0 ;
  2452. char *arg2 = (char *) 0 ;
  2453. char arg3 ;
  2454. unsigned int arg4 ;
  2455. char *result = 0 ;
  2456. arg1 = (SdpMessage *)jarg1;
  2457. arg2 = (char *)jarg2;
  2458. arg3 = (char)jarg3;
  2459. arg4 = (unsigned int)jarg4;
  2460. result = (char *)(arg1)->getSdpHeaderValue((char const *)arg2,arg3,arg4);
  2461. jresult = SWIG_csharp_string_callback((const char *)result);
  2462. delete [] result;
  2463. return jresult;
  2464. }
  2465. SWIGEXPORT char * SWIGSTDCALL CSharp_SdpMessage_getSdpHeaderValue__SWIG_1(void * jarg1, char * jarg2, char jarg3) {
  2466. char * jresult ;
  2467. SdpMessage *arg1 = (SdpMessage *) 0 ;
  2468. char *arg2 = (char *) 0 ;
  2469. char arg3 ;
  2470. char *result = 0 ;
  2471. arg1 = (SdpMessage *)jarg1;
  2472. arg2 = (char *)jarg2;
  2473. arg3 = (char)jarg3;
  2474. result = (char *)(arg1)->getSdpHeaderValue((char const *)arg2,arg3);
  2475. jresult = SWIG_csharp_string_callback((const char *)result);
  2476. delete [] result;
  2477. return jresult;
  2478. }
  2479. SWIGEXPORT char * SWIGSTDCALL CSharp_SdpMessage_getSdpHeaderAValue(void * jarg1, char * jarg2, char * jarg3) {
  2480. char * jresult ;
  2481. SdpMessage *arg1 = (SdpMessage *) 0 ;
  2482. char *arg2 = (char *) 0 ;
  2483. char *arg3 = (char *) 0 ;
  2484. char *result = 0 ;
  2485. arg1 = (SdpMessage *)jarg1;
  2486. arg2 = (char *)jarg2;
  2487. arg3 = (char *)jarg3;
  2488. result = (char *)(arg1)->getSdpHeaderAValue((char const *)arg2,(char const *)arg3);
  2489. jresult = SWIG_csharp_string_callback((const char *)result);
  2490. delete [] result;
  2491. return jresult;
  2492. }
  2493. SWIGEXPORT void * SWIGSTDCALL CSharp_new_SipMessage() {
  2494. void * jresult ;
  2495. SipMessage *result = 0 ;
  2496. result = (SipMessage *)new SipMessage();
  2497. jresult = (void *)result;
  2498. return jresult;
  2499. }
  2500. SWIGEXPORT void SWIGSTDCALL CSharp_delete_SipMessage(void * jarg1) {
  2501. SipMessage *arg1 = (SipMessage *) 0 ;
  2502. arg1 = (SipMessage *)jarg1;
  2503. delete arg1;
  2504. }
  2505. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipMessage_isResponse(void * jarg1) {
  2506. unsigned int jresult ;
  2507. SipMessage *arg1 = (SipMessage *) 0 ;
  2508. bool result;
  2509. arg1 = (SipMessage *)jarg1;
  2510. result = (bool)(arg1)->isResponse();
  2511. jresult = result;
  2512. return jresult;
  2513. }
  2514. SWIGEXPORT int SWIGSTDCALL CSharp_SipMessage_getRequestType(void * jarg1) {
  2515. int jresult ;
  2516. SipMessage *arg1 = (SipMessage *) 0 ;
  2517. tsip_request_type_t result;
  2518. arg1 = (SipMessage *)jarg1;
  2519. result = (tsip_request_type_t)(arg1)->getRequestType();
  2520. jresult = result;
  2521. return jresult;
  2522. }
  2523. SWIGEXPORT short SWIGSTDCALL CSharp_SipMessage_getResponseCode(void * jarg1) {
  2524. short jresult ;
  2525. SipMessage *arg1 = (SipMessage *) 0 ;
  2526. short result;
  2527. arg1 = (SipMessage *)jarg1;
  2528. result = (short)(arg1)->getResponseCode();
  2529. jresult = result;
  2530. return jresult;
  2531. }
  2532. SWIGEXPORT char * SWIGSTDCALL CSharp_SipMessage_getResponsePhrase(void * jarg1) {
  2533. char * jresult ;
  2534. SipMessage *arg1 = (SipMessage *) 0 ;
  2535. char *result = 0 ;
  2536. arg1 = (SipMessage *)jarg1;
  2537. result = (char *)(arg1)->getResponsePhrase();
  2538. jresult = SWIG_csharp_string_callback((const char *)result);
  2539. return jresult;
  2540. }
  2541. SWIGEXPORT char * SWIGSTDCALL CSharp_SipMessage_getSipHeaderValue__SWIG_0(void * jarg1, char * jarg2, unsigned int jarg3) {
  2542. char * jresult ;
  2543. SipMessage *arg1 = (SipMessage *) 0 ;
  2544. char *arg2 = (char *) 0 ;
  2545. unsigned int arg3 ;
  2546. char *result = 0 ;
  2547. arg1 = (SipMessage *)jarg1;
  2548. arg2 = (char *)jarg2;
  2549. arg3 = (unsigned int)jarg3;
  2550. result = (char *)(arg1)->getSipHeaderValue((char const *)arg2,arg3);
  2551. jresult = SWIG_csharp_string_callback((const char *)result);
  2552. delete [] result;
  2553. return jresult;
  2554. }
  2555. SWIGEXPORT char * SWIGSTDCALL CSharp_SipMessage_getSipHeaderValue__SWIG_1(void * jarg1, char * jarg2) {
  2556. char * jresult ;
  2557. SipMessage *arg1 = (SipMessage *) 0 ;
  2558. char *arg2 = (char *) 0 ;
  2559. char *result = 0 ;
  2560. arg1 = (SipMessage *)jarg1;
  2561. arg2 = (char *)jarg2;
  2562. result = (char *)(arg1)->getSipHeaderValue((char const *)arg2);
  2563. jresult = SWIG_csharp_string_callback((const char *)result);
  2564. delete [] result;
  2565. return jresult;
  2566. }
  2567. SWIGEXPORT char * SWIGSTDCALL CSharp_SipMessage_getSipHeaderParamValue__SWIG_0(void * jarg1, char * jarg2, char * jarg3, unsigned int jarg4) {
  2568. char * jresult ;
  2569. SipMessage *arg1 = (SipMessage *) 0 ;
  2570. char *arg2 = (char *) 0 ;
  2571. char *arg3 = (char *) 0 ;
  2572. unsigned int arg4 ;
  2573. char *result = 0 ;
  2574. arg1 = (SipMessage *)jarg1;
  2575. arg2 = (char *)jarg2;
  2576. arg3 = (char *)jarg3;
  2577. arg4 = (unsigned int)jarg4;
  2578. result = (char *)(arg1)->getSipHeaderParamValue((char const *)arg2,(char const *)arg3,arg4);
  2579. jresult = SWIG_csharp_string_callback((const char *)result);
  2580. delete [] result;
  2581. return jresult;
  2582. }
  2583. SWIGEXPORT char * SWIGSTDCALL CSharp_SipMessage_getSipHeaderParamValue__SWIG_1(void * jarg1, char * jarg2, char * jarg3) {
  2584. char * jresult ;
  2585. SipMessage *arg1 = (SipMessage *) 0 ;
  2586. char *arg2 = (char *) 0 ;
  2587. char *arg3 = (char *) 0 ;
  2588. char *result = 0 ;
  2589. arg1 = (SipMessage *)jarg1;
  2590. arg2 = (char *)jarg2;
  2591. arg3 = (char *)jarg3;
  2592. result = (char *)(arg1)->getSipHeaderParamValue((char const *)arg2,(char const *)arg3);
  2593. jresult = SWIG_csharp_string_callback((const char *)result);
  2594. delete [] result;
  2595. return jresult;
  2596. }
  2597. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipMessage_getSipContentLength(void * jarg1) {
  2598. unsigned int jresult ;
  2599. SipMessage *arg1 = (SipMessage *) 0 ;
  2600. unsigned int result;
  2601. arg1 = (SipMessage *)jarg1;
  2602. result = (unsigned int)(arg1)->getSipContentLength();
  2603. jresult = result;
  2604. return jresult;
  2605. }
  2606. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipMessage_getSipContent(void * jarg1, void * jarg2, unsigned int jarg3) {
  2607. unsigned int jresult ;
  2608. SipMessage *arg1 = (SipMessage *) 0 ;
  2609. void *arg2 = (void *) 0 ;
  2610. unsigned int arg3 ;
  2611. unsigned int result;
  2612. arg1 = (SipMessage *)jarg1;
  2613. arg2 = jarg2;
  2614. arg3 = (unsigned int)jarg3;
  2615. result = (unsigned int)(arg1)->getSipContent(arg2,arg3);
  2616. jresult = result;
  2617. return jresult;
  2618. }
  2619. SWIGEXPORT void * SWIGSTDCALL CSharp_SipMessage_getSdpMessage(void * jarg1) {
  2620. void * jresult ;
  2621. SipMessage *arg1 = (SipMessage *) 0 ;
  2622. SdpMessage *result = 0 ;
  2623. arg1 = (SipMessage *)jarg1;
  2624. result = (SdpMessage *)(arg1)->getSdpMessage();
  2625. jresult = (void *)result;
  2626. return jresult;
  2627. }
  2628. SWIGEXPORT void SWIGSTDCALL CSharp_delete_SipEvent(void * jarg1) {
  2629. SipEvent *arg1 = (SipEvent *) 0 ;
  2630. arg1 = (SipEvent *)jarg1;
  2631. delete arg1;
  2632. }
  2633. SWIGEXPORT short SWIGSTDCALL CSharp_SipEvent_getCode(void * jarg1) {
  2634. short jresult ;
  2635. SipEvent *arg1 = (SipEvent *) 0 ;
  2636. short result;
  2637. arg1 = (SipEvent *)jarg1;
  2638. result = (short)((SipEvent const *)arg1)->getCode();
  2639. jresult = result;
  2640. return jresult;
  2641. }
  2642. SWIGEXPORT char * SWIGSTDCALL CSharp_SipEvent_getPhrase(void * jarg1) {
  2643. char * jresult ;
  2644. SipEvent *arg1 = (SipEvent *) 0 ;
  2645. char *result = 0 ;
  2646. arg1 = (SipEvent *)jarg1;
  2647. result = (char *)((SipEvent const *)arg1)->getPhrase();
  2648. jresult = SWIG_csharp_string_callback((const char *)result);
  2649. return jresult;
  2650. }
  2651. SWIGEXPORT void * SWIGSTDCALL CSharp_SipEvent_getBaseSession(void * jarg1) {
  2652. void * jresult ;
  2653. SipEvent *arg1 = (SipEvent *) 0 ;
  2654. SipSession *result = 0 ;
  2655. arg1 = (SipEvent *)jarg1;
  2656. result = (SipSession *)((SipEvent const *)arg1)->getBaseSession();
  2657. jresult = (void *)result;
  2658. return jresult;
  2659. }
  2660. SWIGEXPORT void * SWIGSTDCALL CSharp_SipEvent_getSipMessage(void * jarg1) {
  2661. void * jresult ;
  2662. SipEvent *arg1 = (SipEvent *) 0 ;
  2663. SipMessage *result = 0 ;
  2664. arg1 = (SipEvent *)jarg1;
  2665. result = (SipMessage *)((SipEvent const *)arg1)->getSipMessage();
  2666. jresult = (void *)result;
  2667. return jresult;
  2668. }
  2669. SWIGEXPORT void SWIGSTDCALL CSharp_delete_DialogEvent(void * jarg1) {
  2670. DialogEvent *arg1 = (DialogEvent *) 0 ;
  2671. arg1 = (DialogEvent *)jarg1;
  2672. delete arg1;
  2673. }
  2674. SWIGEXPORT void SWIGSTDCALL CSharp_delete_StackEvent(void * jarg1) {
  2675. StackEvent *arg1 = (StackEvent *) 0 ;
  2676. arg1 = (StackEvent *)jarg1;
  2677. delete arg1;
  2678. }
  2679. SWIGEXPORT void SWIGSTDCALL CSharp_delete_InviteEvent(void * jarg1) {
  2680. InviteEvent *arg1 = (InviteEvent *) 0 ;
  2681. arg1 = (InviteEvent *)jarg1;
  2682. delete arg1;
  2683. }
  2684. SWIGEXPORT int SWIGSTDCALL CSharp_InviteEvent_getType(void * jarg1) {
  2685. int jresult ;
  2686. InviteEvent *arg1 = (InviteEvent *) 0 ;
  2687. tsip_invite_event_type_t result;
  2688. arg1 = (InviteEvent *)jarg1;
  2689. result = (tsip_invite_event_type_t)((InviteEvent const *)arg1)->getType();
  2690. jresult = result;
  2691. return jresult;
  2692. }
  2693. SWIGEXPORT int SWIGSTDCALL CSharp_InviteEvent_getMediaType(void * jarg1) {
  2694. int jresult ;
  2695. InviteEvent *arg1 = (InviteEvent *) 0 ;
  2696. twrap_media_type_t result;
  2697. arg1 = (InviteEvent *)jarg1;
  2698. result = (twrap_media_type_t)((InviteEvent const *)arg1)->getMediaType();
  2699. jresult = result;
  2700. return jresult;
  2701. }
  2702. SWIGEXPORT void * SWIGSTDCALL CSharp_InviteEvent_getSession(void * jarg1) {
  2703. void * jresult ;
  2704. InviteEvent *arg1 = (InviteEvent *) 0 ;
  2705. InviteSession *result = 0 ;
  2706. arg1 = (InviteEvent *)jarg1;
  2707. result = (InviteSession *)((InviteEvent const *)arg1)->getSession();
  2708. jresult = (void *)result;
  2709. return jresult;
  2710. }
  2711. SWIGEXPORT void * SWIGSTDCALL CSharp_InviteEvent_takeCallSessionOwnership(void * jarg1) {
  2712. void * jresult ;
  2713. InviteEvent *arg1 = (InviteEvent *) 0 ;
  2714. CallSession *result = 0 ;
  2715. arg1 = (InviteEvent *)jarg1;
  2716. result = (CallSession *)((InviteEvent const *)arg1)->takeCallSessionOwnership();
  2717. jresult = (void *)result;
  2718. return jresult;
  2719. }
  2720. SWIGEXPORT void * SWIGSTDCALL CSharp_InviteEvent_takeMsrpSessionOwnership(void * jarg1) {
  2721. void * jresult ;
  2722. InviteEvent *arg1 = (InviteEvent *) 0 ;
  2723. MsrpSession *result = 0 ;
  2724. arg1 = (InviteEvent *)jarg1;
  2725. result = (MsrpSession *)((InviteEvent const *)arg1)->takeMsrpSessionOwnership();
  2726. jresult = (void *)result;
  2727. return jresult;
  2728. }
  2729. SWIGEXPORT void SWIGSTDCALL CSharp_delete_MessagingEvent(void * jarg1) {
  2730. MessagingEvent *arg1 = (MessagingEvent *) 0 ;
  2731. arg1 = (MessagingEvent *)jarg1;
  2732. delete arg1;
  2733. }
  2734. SWIGEXPORT int SWIGSTDCALL CSharp_MessagingEvent_getType(void * jarg1) {
  2735. int jresult ;
  2736. MessagingEvent *arg1 = (MessagingEvent *) 0 ;
  2737. tsip_message_event_type_t result;
  2738. arg1 = (MessagingEvent *)jarg1;
  2739. result = (tsip_message_event_type_t)((MessagingEvent const *)arg1)->getType();
  2740. jresult = result;
  2741. return jresult;
  2742. }
  2743. SWIGEXPORT void * SWIGSTDCALL CSharp_MessagingEvent_getSession(void * jarg1) {
  2744. void * jresult ;
  2745. MessagingEvent *arg1 = (MessagingEvent *) 0 ;
  2746. MessagingSession *result = 0 ;
  2747. arg1 = (MessagingEvent *)jarg1;
  2748. result = (MessagingSession *)((MessagingEvent const *)arg1)->getSession();
  2749. jresult = (void *)result;
  2750. return jresult;
  2751. }
  2752. SWIGEXPORT void * SWIGSTDCALL CSharp_MessagingEvent_takeSessionOwnership(void * jarg1) {
  2753. void * jresult ;
  2754. MessagingEvent *arg1 = (MessagingEvent *) 0 ;
  2755. MessagingSession *result = 0 ;
  2756. arg1 = (MessagingEvent *)jarg1;
  2757. result = (MessagingSession *)((MessagingEvent const *)arg1)->takeSessionOwnership();
  2758. jresult = (void *)result;
  2759. return jresult;
  2760. }
  2761. SWIGEXPORT void SWIGSTDCALL CSharp_delete_InfoEvent(void * jarg1) {
  2762. InfoEvent *arg1 = (InfoEvent *) 0 ;
  2763. arg1 = (InfoEvent *)jarg1;
  2764. delete arg1;
  2765. }
  2766. SWIGEXPORT int SWIGSTDCALL CSharp_InfoEvent_getType(void * jarg1) {
  2767. int jresult ;
  2768. InfoEvent *arg1 = (InfoEvent *) 0 ;
  2769. tsip_info_event_type_t result;
  2770. arg1 = (InfoEvent *)jarg1;
  2771. result = (tsip_info_event_type_t)((InfoEvent const *)arg1)->getType();
  2772. jresult = result;
  2773. return jresult;
  2774. }
  2775. SWIGEXPORT void * SWIGSTDCALL CSharp_InfoEvent_getSession(void * jarg1) {
  2776. void * jresult ;
  2777. InfoEvent *arg1 = (InfoEvent *) 0 ;
  2778. InfoSession *result = 0 ;
  2779. arg1 = (InfoEvent *)jarg1;
  2780. result = (InfoSession *)((InfoEvent const *)arg1)->getSession();
  2781. jresult = (void *)result;
  2782. return jresult;
  2783. }
  2784. SWIGEXPORT void * SWIGSTDCALL CSharp_InfoEvent_takeSessionOwnership(void * jarg1) {
  2785. void * jresult ;
  2786. InfoEvent *arg1 = (InfoEvent *) 0 ;
  2787. InfoSession *result = 0 ;
  2788. arg1 = (InfoEvent *)jarg1;
  2789. result = (InfoSession *)((InfoEvent const *)arg1)->takeSessionOwnership();
  2790. jresult = (void *)result;
  2791. return jresult;
  2792. }
  2793. SWIGEXPORT void SWIGSTDCALL CSharp_delete_OptionsEvent(void * jarg1) {
  2794. OptionsEvent *arg1 = (OptionsEvent *) 0 ;
  2795. arg1 = (OptionsEvent *)jarg1;
  2796. delete arg1;
  2797. }
  2798. SWIGEXPORT int SWIGSTDCALL CSharp_OptionsEvent_getType(void * jarg1) {
  2799. int jresult ;
  2800. OptionsEvent *arg1 = (OptionsEvent *) 0 ;
  2801. tsip_options_event_type_t result;
  2802. arg1 = (OptionsEvent *)jarg1;
  2803. result = (tsip_options_event_type_t)((OptionsEvent const *)arg1)->getType();
  2804. jresult = result;
  2805. return jresult;
  2806. }
  2807. SWIGEXPORT void * SWIGSTDCALL CSharp_OptionsEvent_getSession(void * jarg1) {
  2808. void * jresult ;
  2809. OptionsEvent *arg1 = (OptionsEvent *) 0 ;
  2810. OptionsSession *result = 0 ;
  2811. arg1 = (OptionsEvent *)jarg1;
  2812. result = (OptionsSession *)((OptionsEvent const *)arg1)->getSession();
  2813. jresult = (void *)result;
  2814. return jresult;
  2815. }
  2816. SWIGEXPORT void * SWIGSTDCALL CSharp_OptionsEvent_takeSessionOwnership(void * jarg1) {
  2817. void * jresult ;
  2818. OptionsEvent *arg1 = (OptionsEvent *) 0 ;
  2819. OptionsSession *result = 0 ;
  2820. arg1 = (OptionsEvent *)jarg1;
  2821. result = (OptionsSession *)((OptionsEvent const *)arg1)->takeSessionOwnership();
  2822. jresult = (void *)result;
  2823. return jresult;
  2824. }
  2825. SWIGEXPORT void SWIGSTDCALL CSharp_delete_PublicationEvent(void * jarg1) {
  2826. PublicationEvent *arg1 = (PublicationEvent *) 0 ;
  2827. arg1 = (PublicationEvent *)jarg1;
  2828. delete arg1;
  2829. }
  2830. SWIGEXPORT int SWIGSTDCALL CSharp_PublicationEvent_getType(void * jarg1) {
  2831. int jresult ;
  2832. PublicationEvent *arg1 = (PublicationEvent *) 0 ;
  2833. tsip_publish_event_type_t result;
  2834. arg1 = (PublicationEvent *)jarg1;
  2835. result = (tsip_publish_event_type_t)((PublicationEvent const *)arg1)->getType();
  2836. jresult = result;
  2837. return jresult;
  2838. }
  2839. SWIGEXPORT void * SWIGSTDCALL CSharp_PublicationEvent_getSession(void * jarg1) {
  2840. void * jresult ;
  2841. PublicationEvent *arg1 = (PublicationEvent *) 0 ;
  2842. PublicationSession *result = 0 ;
  2843. arg1 = (PublicationEvent *)jarg1;
  2844. result = (PublicationSession *)((PublicationEvent const *)arg1)->getSession();
  2845. jresult = (void *)result;
  2846. return jresult;
  2847. }
  2848. SWIGEXPORT void * SWIGSTDCALL CSharp_PublicationEvent_takeSessionOwnership(void * jarg1) {
  2849. void * jresult ;
  2850. PublicationEvent *arg1 = (PublicationEvent *) 0 ;
  2851. PublicationSession *result = 0 ;
  2852. arg1 = (PublicationEvent *)jarg1;
  2853. result = (PublicationSession *)((PublicationEvent const *)arg1)->takeSessionOwnership();
  2854. jresult = (void *)result;
  2855. return jresult;
  2856. }
  2857. SWIGEXPORT void SWIGSTDCALL CSharp_delete_RegistrationEvent(void * jarg1) {
  2858. RegistrationEvent *arg1 = (RegistrationEvent *) 0 ;
  2859. arg1 = (RegistrationEvent *)jarg1;
  2860. delete arg1;
  2861. }
  2862. SWIGEXPORT int SWIGSTDCALL CSharp_RegistrationEvent_getType(void * jarg1) {
  2863. int jresult ;
  2864. RegistrationEvent *arg1 = (RegistrationEvent *) 0 ;
  2865. tsip_register_event_type_t result;
  2866. arg1 = (RegistrationEvent *)jarg1;
  2867. result = (tsip_register_event_type_t)((RegistrationEvent const *)arg1)->getType();
  2868. jresult = result;
  2869. return jresult;
  2870. }
  2871. SWIGEXPORT void * SWIGSTDCALL CSharp_RegistrationEvent_getSession(void * jarg1) {
  2872. void * jresult ;
  2873. RegistrationEvent *arg1 = (RegistrationEvent *) 0 ;
  2874. RegistrationSession *result = 0 ;
  2875. arg1 = (RegistrationEvent *)jarg1;
  2876. result = (RegistrationSession *)((RegistrationEvent const *)arg1)->getSession();
  2877. jresult = (void *)result;
  2878. return jresult;
  2879. }
  2880. SWIGEXPORT void * SWIGSTDCALL CSharp_RegistrationEvent_takeSessionOwnership(void * jarg1) {
  2881. void * jresult ;
  2882. RegistrationEvent *arg1 = (RegistrationEvent *) 0 ;
  2883. RegistrationSession *result = 0 ;
  2884. arg1 = (RegistrationEvent *)jarg1;
  2885. result = (RegistrationSession *)((RegistrationEvent const *)arg1)->takeSessionOwnership();
  2886. jresult = (void *)result;
  2887. return jresult;
  2888. }
  2889. SWIGEXPORT void SWIGSTDCALL CSharp_delete_SubscriptionEvent(void * jarg1) {
  2890. SubscriptionEvent *arg1 = (SubscriptionEvent *) 0 ;
  2891. arg1 = (SubscriptionEvent *)jarg1;
  2892. delete arg1;
  2893. }
  2894. SWIGEXPORT int SWIGSTDCALL CSharp_SubscriptionEvent_getType(void * jarg1) {
  2895. int jresult ;
  2896. SubscriptionEvent *arg1 = (SubscriptionEvent *) 0 ;
  2897. tsip_subscribe_event_type_t result;
  2898. arg1 = (SubscriptionEvent *)jarg1;
  2899. result = (tsip_subscribe_event_type_t)((SubscriptionEvent const *)arg1)->getType();
  2900. jresult = result;
  2901. return jresult;
  2902. }
  2903. SWIGEXPORT void * SWIGSTDCALL CSharp_SubscriptionEvent_getSession(void * jarg1) {
  2904. void * jresult ;
  2905. SubscriptionEvent *arg1 = (SubscriptionEvent *) 0 ;
  2906. SubscriptionSession *result = 0 ;
  2907. arg1 = (SubscriptionEvent *)jarg1;
  2908. result = (SubscriptionSession *)((SubscriptionEvent const *)arg1)->getSession();
  2909. jresult = (void *)result;
  2910. return jresult;
  2911. }
  2912. SWIGEXPORT void * SWIGSTDCALL CSharp_SubscriptionEvent_takeSessionOwnership(void * jarg1) {
  2913. void * jresult ;
  2914. SubscriptionEvent *arg1 = (SubscriptionEvent *) 0 ;
  2915. SubscriptionSession *result = 0 ;
  2916. arg1 = (SubscriptionEvent *)jarg1;
  2917. result = (SubscriptionSession *)((SubscriptionEvent const *)arg1)->takeSessionOwnership();
  2918. jresult = (void *)result;
  2919. return jresult;
  2920. }
  2921. SWIGEXPORT void SWIGSTDCALL CSharp_delete_T140CallbackData(void * jarg1) {
  2922. T140CallbackData *arg1 = (T140CallbackData *) 0 ;
  2923. arg1 = (T140CallbackData *)jarg1;
  2924. delete arg1;
  2925. }
  2926. SWIGEXPORT int SWIGSTDCALL CSharp_T140CallbackData_getType(void * jarg1) {
  2927. int jresult ;
  2928. T140CallbackData *arg1 = (T140CallbackData *) 0 ;
  2929. enum tmedia_t140_data_type_e result;
  2930. arg1 = (T140CallbackData *)jarg1;
  2931. result = (enum tmedia_t140_data_type_e)((T140CallbackData const *)arg1)->getType();
  2932. jresult = result;
  2933. return jresult;
  2934. }
  2935. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_T140CallbackData_getSize(void * jarg1) {
  2936. unsigned int jresult ;
  2937. T140CallbackData *arg1 = (T140CallbackData *) 0 ;
  2938. unsigned int result;
  2939. arg1 = (T140CallbackData *)jarg1;
  2940. result = (unsigned int)((T140CallbackData const *)arg1)->getSize();
  2941. jresult = result;
  2942. return jresult;
  2943. }
  2944. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_T140CallbackData_getData(void * jarg1, void * jarg2, unsigned int jarg3) {
  2945. unsigned int jresult ;
  2946. T140CallbackData *arg1 = (T140CallbackData *) 0 ;
  2947. void *arg2 = (void *) 0 ;
  2948. unsigned int arg3 ;
  2949. unsigned int result;
  2950. arg1 = (T140CallbackData *)jarg1;
  2951. arg2 = jarg2;
  2952. arg3 = (unsigned int)jarg3;
  2953. result = (unsigned int)((T140CallbackData const *)arg1)->getData(arg2,arg3);
  2954. jresult = result;
  2955. return jresult;
  2956. }
  2957. SWIGEXPORT void * SWIGSTDCALL CSharp_new_T140Callback() {
  2958. void * jresult ;
  2959. T140Callback *result = 0 ;
  2960. result = (T140Callback *)new SwigDirector_T140Callback();
  2961. jresult = (void *)result;
  2962. return jresult;
  2963. }
  2964. SWIGEXPORT void SWIGSTDCALL CSharp_delete_T140Callback(void * jarg1) {
  2965. T140Callback *arg1 = (T140Callback *) 0 ;
  2966. arg1 = (T140Callback *)jarg1;
  2967. delete arg1;
  2968. }
  2969. SWIGEXPORT int SWIGSTDCALL CSharp_T140Callback_ondata(void * jarg1, void * jarg2) {
  2970. int jresult ;
  2971. T140Callback *arg1 = (T140Callback *) 0 ;
  2972. T140CallbackData *arg2 = (T140CallbackData *) 0 ;
  2973. int result;
  2974. arg1 = (T140Callback *)jarg1;
  2975. arg2 = (T140CallbackData *)jarg2;
  2976. result = (int)(arg1)->ondata((T140CallbackData const *)arg2);
  2977. jresult = result;
  2978. return jresult;
  2979. }
  2980. SWIGEXPORT int SWIGSTDCALL CSharp_T140Callback_ondataSwigExplicitT140Callback(void * jarg1, void * jarg2) {
  2981. int jresult ;
  2982. T140Callback *arg1 = (T140Callback *) 0 ;
  2983. T140CallbackData *arg2 = (T140CallbackData *) 0 ;
  2984. int result;
  2985. arg1 = (T140Callback *)jarg1;
  2986. arg2 = (T140CallbackData *)jarg2;
  2987. result = (int)(arg1)->T140Callback::ondata((T140CallbackData const *)arg2);
  2988. jresult = result;
  2989. return jresult;
  2990. }
  2991. SWIGEXPORT void SWIGSTDCALL CSharp_T140Callback_director_connect(void *objarg, SwigDirector_T140Callback::SWIG_Callback0_t callback0) {
  2992. T140Callback *obj = (T140Callback *)objarg;
  2993. SwigDirector_T140Callback *director = dynamic_cast<SwigDirector_T140Callback *>(obj);
  2994. if (director) {
  2995. director->swig_connect_director(callback0);
  2996. }
  2997. }
  2998. SWIGEXPORT void * SWIGSTDCALL CSharp_new_SipSession(void * jarg1) {
  2999. void * jresult ;
  3000. SipStack *arg1 = (SipStack *) 0 ;
  3001. SipSession *result = 0 ;
  3002. arg1 = (SipStack *)jarg1;
  3003. result = (SipSession *)new SipSession(arg1);
  3004. jresult = (void *)result;
  3005. return jresult;
  3006. }
  3007. SWIGEXPORT void SWIGSTDCALL CSharp_delete_SipSession(void * jarg1) {
  3008. SipSession *arg1 = (SipSession *) 0 ;
  3009. arg1 = (SipSession *)jarg1;
  3010. delete arg1;
  3011. }
  3012. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_haveOwnership(void * jarg1) {
  3013. unsigned int jresult ;
  3014. SipSession *arg1 = (SipSession *) 0 ;
  3015. bool result;
  3016. arg1 = (SipSession *)jarg1;
  3017. result = (bool)(arg1)->haveOwnership();
  3018. jresult = result;
  3019. return jresult;
  3020. }
  3021. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_addHeader(void * jarg1, char * jarg2, char * jarg3) {
  3022. unsigned int jresult ;
  3023. SipSession *arg1 = (SipSession *) 0 ;
  3024. char *arg2 = (char *) 0 ;
  3025. char *arg3 = (char *) 0 ;
  3026. bool result;
  3027. arg1 = (SipSession *)jarg1;
  3028. arg2 = (char *)jarg2;
  3029. arg3 = (char *)jarg3;
  3030. result = (bool)(arg1)->addHeader((char const *)arg2,(char const *)arg3);
  3031. jresult = result;
  3032. return jresult;
  3033. }
  3034. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_removeHeader(void * jarg1, char * jarg2) {
  3035. unsigned int jresult ;
  3036. SipSession *arg1 = (SipSession *) 0 ;
  3037. char *arg2 = (char *) 0 ;
  3038. bool result;
  3039. arg1 = (SipSession *)jarg1;
  3040. arg2 = (char *)jarg2;
  3041. result = (bool)(arg1)->removeHeader((char const *)arg2);
  3042. jresult = result;
  3043. return jresult;
  3044. }
  3045. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_addCaps__SWIG_0(void * jarg1, char * jarg2, char * jarg3) {
  3046. unsigned int jresult ;
  3047. SipSession *arg1 = (SipSession *) 0 ;
  3048. char *arg2 = (char *) 0 ;
  3049. char *arg3 = (char *) 0 ;
  3050. bool result;
  3051. arg1 = (SipSession *)jarg1;
  3052. arg2 = (char *)jarg2;
  3053. arg3 = (char *)jarg3;
  3054. result = (bool)(arg1)->addCaps((char const *)arg2,(char const *)arg3);
  3055. jresult = result;
  3056. return jresult;
  3057. }
  3058. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_addCaps__SWIG_1(void * jarg1, char * jarg2) {
  3059. unsigned int jresult ;
  3060. SipSession *arg1 = (SipSession *) 0 ;
  3061. char *arg2 = (char *) 0 ;
  3062. bool result;
  3063. arg1 = (SipSession *)jarg1;
  3064. arg2 = (char *)jarg2;
  3065. result = (bool)(arg1)->addCaps((char const *)arg2);
  3066. jresult = result;
  3067. return jresult;
  3068. }
  3069. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_removeCaps(void * jarg1, char * jarg2) {
  3070. unsigned int jresult ;
  3071. SipSession *arg1 = (SipSession *) 0 ;
  3072. char *arg2 = (char *) 0 ;
  3073. bool result;
  3074. arg1 = (SipSession *)jarg1;
  3075. arg2 = (char *)jarg2;
  3076. result = (bool)(arg1)->removeCaps((char const *)arg2);
  3077. jresult = result;
  3078. return jresult;
  3079. }
  3080. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_setExpires(void * jarg1, unsigned int jarg2) {
  3081. unsigned int jresult ;
  3082. SipSession *arg1 = (SipSession *) 0 ;
  3083. unsigned int arg2 ;
  3084. bool result;
  3085. arg1 = (SipSession *)jarg1;
  3086. arg2 = (unsigned int)jarg2;
  3087. result = (bool)(arg1)->setExpires(arg2);
  3088. jresult = result;
  3089. return jresult;
  3090. }
  3091. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_setFromUri__SWIG_0(void * jarg1, char * jarg2) {
  3092. unsigned int jresult ;
  3093. SipSession *arg1 = (SipSession *) 0 ;
  3094. char *arg2 = (char *) 0 ;
  3095. bool result;
  3096. arg1 = (SipSession *)jarg1;
  3097. arg2 = (char *)jarg2;
  3098. result = (bool)(arg1)->setFromUri((char const *)arg2);
  3099. jresult = result;
  3100. return jresult;
  3101. }
  3102. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_setFromUri__SWIG_1(void * jarg1, void * jarg2) {
  3103. unsigned int jresult ;
  3104. SipSession *arg1 = (SipSession *) 0 ;
  3105. SipUri *arg2 = (SipUri *) 0 ;
  3106. bool result;
  3107. arg1 = (SipSession *)jarg1;
  3108. arg2 = (SipUri *)jarg2;
  3109. result = (bool)(arg1)->setFromUri((SipUri const *)arg2);
  3110. jresult = result;
  3111. return jresult;
  3112. }
  3113. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_setToUri__SWIG_0(void * jarg1, char * jarg2) {
  3114. unsigned int jresult ;
  3115. SipSession *arg1 = (SipSession *) 0 ;
  3116. char *arg2 = (char *) 0 ;
  3117. bool result;
  3118. arg1 = (SipSession *)jarg1;
  3119. arg2 = (char *)jarg2;
  3120. result = (bool)(arg1)->setToUri((char const *)arg2);
  3121. jresult = result;
  3122. return jresult;
  3123. }
  3124. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_setToUri__SWIG_1(void * jarg1, void * jarg2) {
  3125. unsigned int jresult ;
  3126. SipSession *arg1 = (SipSession *) 0 ;
  3127. SipUri *arg2 = (SipUri *) 0 ;
  3128. bool result;
  3129. arg1 = (SipSession *)jarg1;
  3130. arg2 = (SipUri *)jarg2;
  3131. result = (bool)(arg1)->setToUri((SipUri const *)arg2);
  3132. jresult = result;
  3133. return jresult;
  3134. }
  3135. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_setSilentHangup(void * jarg1, unsigned int jarg2) {
  3136. unsigned int jresult ;
  3137. SipSession *arg1 = (SipSession *) 0 ;
  3138. bool arg2 ;
  3139. bool result;
  3140. arg1 = (SipSession *)jarg1;
  3141. arg2 = jarg2 ? true : false;
  3142. result = (bool)(arg1)->setSilentHangup(arg2);
  3143. jresult = result;
  3144. return jresult;
  3145. }
  3146. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_addSigCompCompartment(void * jarg1, char * jarg2) {
  3147. unsigned int jresult ;
  3148. SipSession *arg1 = (SipSession *) 0 ;
  3149. char *arg2 = (char *) 0 ;
  3150. bool result;
  3151. arg1 = (SipSession *)jarg1;
  3152. arg2 = (char *)jarg2;
  3153. result = (bool)(arg1)->addSigCompCompartment((char const *)arg2);
  3154. jresult = result;
  3155. return jresult;
  3156. }
  3157. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_removeSigCompCompartment(void * jarg1) {
  3158. unsigned int jresult ;
  3159. SipSession *arg1 = (SipSession *) 0 ;
  3160. bool result;
  3161. arg1 = (SipSession *)jarg1;
  3162. result = (bool)(arg1)->removeSigCompCompartment();
  3163. jresult = result;
  3164. return jresult;
  3165. }
  3166. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipSession_getId(void * jarg1) {
  3167. unsigned int jresult ;
  3168. SipSession *arg1 = (SipSession *) 0 ;
  3169. unsigned int result;
  3170. arg1 = (SipSession *)jarg1;
  3171. result = (unsigned int)((SipSession const *)arg1)->getId();
  3172. jresult = result;
  3173. return jresult;
  3174. }
  3175. SWIGEXPORT void * SWIGSTDCALL CSharp_new_InviteSession(void * jarg1) {
  3176. void * jresult ;
  3177. SipStack *arg1 = (SipStack *) 0 ;
  3178. InviteSession *result = 0 ;
  3179. arg1 = (SipStack *)jarg1;
  3180. result = (InviteSession *)new InviteSession(arg1);
  3181. jresult = (void *)result;
  3182. return jresult;
  3183. }
  3184. SWIGEXPORT void SWIGSTDCALL CSharp_delete_InviteSession(void * jarg1) {
  3185. InviteSession *arg1 = (InviteSession *) 0 ;
  3186. arg1 = (InviteSession *)jarg1;
  3187. delete arg1;
  3188. }
  3189. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_InviteSession_accept__SWIG_0(void * jarg1, void * jarg2) {
  3190. unsigned int jresult ;
  3191. InviteSession *arg1 = (InviteSession *) 0 ;
  3192. ActionConfig *arg2 = (ActionConfig *) 0 ;
  3193. bool result;
  3194. arg1 = (InviteSession *)jarg1;
  3195. arg2 = (ActionConfig *)jarg2;
  3196. result = (bool)(arg1)->accept(arg2);
  3197. jresult = result;
  3198. return jresult;
  3199. }
  3200. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_InviteSession_accept__SWIG_1(void * jarg1) {
  3201. unsigned int jresult ;
  3202. InviteSession *arg1 = (InviteSession *) 0 ;
  3203. bool result;
  3204. arg1 = (InviteSession *)jarg1;
  3205. result = (bool)(arg1)->accept();
  3206. jresult = result;
  3207. return jresult;
  3208. }
  3209. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_InviteSession_hangup__SWIG_0(void * jarg1, void * jarg2) {
  3210. unsigned int jresult ;
  3211. InviteSession *arg1 = (InviteSession *) 0 ;
  3212. ActionConfig *arg2 = (ActionConfig *) 0 ;
  3213. bool result;
  3214. arg1 = (InviteSession *)jarg1;
  3215. arg2 = (ActionConfig *)jarg2;
  3216. result = (bool)(arg1)->hangup(arg2);
  3217. jresult = result;
  3218. return jresult;
  3219. }
  3220. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_InviteSession_hangup__SWIG_1(void * jarg1) {
  3221. unsigned int jresult ;
  3222. InviteSession *arg1 = (InviteSession *) 0 ;
  3223. bool result;
  3224. arg1 = (InviteSession *)jarg1;
  3225. result = (bool)(arg1)->hangup();
  3226. jresult = result;
  3227. return jresult;
  3228. }
  3229. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_InviteSession_reject__SWIG_0(void * jarg1, void * jarg2) {
  3230. unsigned int jresult ;
  3231. InviteSession *arg1 = (InviteSession *) 0 ;
  3232. ActionConfig *arg2 = (ActionConfig *) 0 ;
  3233. bool result;
  3234. arg1 = (InviteSession *)jarg1;
  3235. arg2 = (ActionConfig *)jarg2;
  3236. result = (bool)(arg1)->reject(arg2);
  3237. jresult = result;
  3238. return jresult;
  3239. }
  3240. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_InviteSession_reject__SWIG_1(void * jarg1) {
  3241. unsigned int jresult ;
  3242. InviteSession *arg1 = (InviteSession *) 0 ;
  3243. bool result;
  3244. arg1 = (InviteSession *)jarg1;
  3245. result = (bool)(arg1)->reject();
  3246. jresult = result;
  3247. return jresult;
  3248. }
  3249. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_InviteSession_sendInfo__SWIG_0(void * jarg1, void * jarg2, unsigned int jarg3, void * jarg4) {
  3250. unsigned int jresult ;
  3251. InviteSession *arg1 = (InviteSession *) 0 ;
  3252. void *arg2 = (void *) 0 ;
  3253. unsigned int arg3 ;
  3254. ActionConfig *arg4 = (ActionConfig *) 0 ;
  3255. bool result;
  3256. arg1 = (InviteSession *)jarg1;
  3257. arg2 = jarg2;
  3258. arg3 = (unsigned int)jarg3;
  3259. arg4 = (ActionConfig *)jarg4;
  3260. result = (bool)(arg1)->sendInfo((void const *)arg2,arg3,arg4);
  3261. jresult = result;
  3262. return jresult;
  3263. }
  3264. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_InviteSession_sendInfo__SWIG_1(void * jarg1, void * jarg2, unsigned int jarg3) {
  3265. unsigned int jresult ;
  3266. InviteSession *arg1 = (InviteSession *) 0 ;
  3267. void *arg2 = (void *) 0 ;
  3268. unsigned int arg3 ;
  3269. bool result;
  3270. arg1 = (InviteSession *)jarg1;
  3271. arg2 = jarg2;
  3272. arg3 = (unsigned int)jarg3;
  3273. result = (bool)(arg1)->sendInfo((void const *)arg2,arg3);
  3274. jresult = result;
  3275. return jresult;
  3276. }
  3277. SWIGEXPORT void * SWIGSTDCALL CSharp_InviteSession_getMediaMgr(void * jarg1) {
  3278. void * jresult ;
  3279. InviteSession *arg1 = (InviteSession *) 0 ;
  3280. MediaSessionMgr *result = 0 ;
  3281. arg1 = (InviteSession *)jarg1;
  3282. result = (MediaSessionMgr *)(arg1)->getMediaMgr();
  3283. jresult = (void *)result;
  3284. return jresult;
  3285. }
  3286. SWIGEXPORT void * SWIGSTDCALL CSharp_new_CallSession(void * jarg1) {
  3287. void * jresult ;
  3288. SipStack *arg1 = (SipStack *) 0 ;
  3289. CallSession *result = 0 ;
  3290. arg1 = (SipStack *)jarg1;
  3291. result = (CallSession *)new CallSession(arg1);
  3292. jresult = (void *)result;
  3293. return jresult;
  3294. }
  3295. SWIGEXPORT void SWIGSTDCALL CSharp_delete_CallSession(void * jarg1) {
  3296. CallSession *arg1 = (CallSession *) 0 ;
  3297. arg1 = (CallSession *)jarg1;
  3298. delete arg1;
  3299. }
  3300. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_callAudio__SWIG_0(void * jarg1, char * jarg2, void * jarg3) {
  3301. unsigned int jresult ;
  3302. CallSession *arg1 = (CallSession *) 0 ;
  3303. char *arg2 = (char *) 0 ;
  3304. ActionConfig *arg3 = (ActionConfig *) 0 ;
  3305. bool result;
  3306. arg1 = (CallSession *)jarg1;
  3307. arg2 = (char *)jarg2;
  3308. arg3 = (ActionConfig *)jarg3;
  3309. result = (bool)(arg1)->callAudio((char const *)arg2,arg3);
  3310. jresult = result;
  3311. return jresult;
  3312. }
  3313. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_callAudio__SWIG_1(void * jarg1, char * jarg2) {
  3314. unsigned int jresult ;
  3315. CallSession *arg1 = (CallSession *) 0 ;
  3316. char *arg2 = (char *) 0 ;
  3317. bool result;
  3318. arg1 = (CallSession *)jarg1;
  3319. arg2 = (char *)jarg2;
  3320. result = (bool)(arg1)->callAudio((char const *)arg2);
  3321. jresult = result;
  3322. return jresult;
  3323. }
  3324. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_callAudio__SWIG_2(void * jarg1, void * jarg2, void * jarg3) {
  3325. unsigned int jresult ;
  3326. CallSession *arg1 = (CallSession *) 0 ;
  3327. SipUri *arg2 = (SipUri *) 0 ;
  3328. ActionConfig *arg3 = (ActionConfig *) 0 ;
  3329. bool result;
  3330. arg1 = (CallSession *)jarg1;
  3331. arg2 = (SipUri *)jarg2;
  3332. arg3 = (ActionConfig *)jarg3;
  3333. result = (bool)(arg1)->callAudio((SipUri const *)arg2,arg3);
  3334. jresult = result;
  3335. return jresult;
  3336. }
  3337. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_callAudio__SWIG_3(void * jarg1, void * jarg2) {
  3338. unsigned int jresult ;
  3339. CallSession *arg1 = (CallSession *) 0 ;
  3340. SipUri *arg2 = (SipUri *) 0 ;
  3341. bool result;
  3342. arg1 = (CallSession *)jarg1;
  3343. arg2 = (SipUri *)jarg2;
  3344. result = (bool)(arg1)->callAudio((SipUri const *)arg2);
  3345. jresult = result;
  3346. return jresult;
  3347. }
  3348. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_callAudioVideo__SWIG_0(void * jarg1, char * jarg2, void * jarg3) {
  3349. unsigned int jresult ;
  3350. CallSession *arg1 = (CallSession *) 0 ;
  3351. char *arg2 = (char *) 0 ;
  3352. ActionConfig *arg3 = (ActionConfig *) 0 ;
  3353. bool result;
  3354. arg1 = (CallSession *)jarg1;
  3355. arg2 = (char *)jarg2;
  3356. arg3 = (ActionConfig *)jarg3;
  3357. result = (bool)(arg1)->callAudioVideo((char const *)arg2,arg3);
  3358. jresult = result;
  3359. return jresult;
  3360. }
  3361. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_callAudioVideo__SWIG_1(void * jarg1, char * jarg2) {
  3362. unsigned int jresult ;
  3363. CallSession *arg1 = (CallSession *) 0 ;
  3364. char *arg2 = (char *) 0 ;
  3365. bool result;
  3366. arg1 = (CallSession *)jarg1;
  3367. arg2 = (char *)jarg2;
  3368. result = (bool)(arg1)->callAudioVideo((char const *)arg2);
  3369. jresult = result;
  3370. return jresult;
  3371. }
  3372. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_callAudioVideo__SWIG_2(void * jarg1, void * jarg2, void * jarg3) {
  3373. unsigned int jresult ;
  3374. CallSession *arg1 = (CallSession *) 0 ;
  3375. SipUri *arg2 = (SipUri *) 0 ;
  3376. ActionConfig *arg3 = (ActionConfig *) 0 ;
  3377. bool result;
  3378. arg1 = (CallSession *)jarg1;
  3379. arg2 = (SipUri *)jarg2;
  3380. arg3 = (ActionConfig *)jarg3;
  3381. result = (bool)(arg1)->callAudioVideo((SipUri const *)arg2,arg3);
  3382. jresult = result;
  3383. return jresult;
  3384. }
  3385. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_callAudioVideo__SWIG_3(void * jarg1, void * jarg2) {
  3386. unsigned int jresult ;
  3387. CallSession *arg1 = (CallSession *) 0 ;
  3388. SipUri *arg2 = (SipUri *) 0 ;
  3389. bool result;
  3390. arg1 = (CallSession *)jarg1;
  3391. arg2 = (SipUri *)jarg2;
  3392. result = (bool)(arg1)->callAudioVideo((SipUri const *)arg2);
  3393. jresult = result;
  3394. return jresult;
  3395. }
  3396. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_callVideo__SWIG_0(void * jarg1, char * jarg2, void * jarg3) {
  3397. unsigned int jresult ;
  3398. CallSession *arg1 = (CallSession *) 0 ;
  3399. char *arg2 = (char *) 0 ;
  3400. ActionConfig *arg3 = (ActionConfig *) 0 ;
  3401. bool result;
  3402. arg1 = (CallSession *)jarg1;
  3403. arg2 = (char *)jarg2;
  3404. arg3 = (ActionConfig *)jarg3;
  3405. result = (bool)(arg1)->callVideo((char const *)arg2,arg3);
  3406. jresult = result;
  3407. return jresult;
  3408. }
  3409. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_callVideo__SWIG_1(void * jarg1, char * jarg2) {
  3410. unsigned int jresult ;
  3411. CallSession *arg1 = (CallSession *) 0 ;
  3412. char *arg2 = (char *) 0 ;
  3413. bool result;
  3414. arg1 = (CallSession *)jarg1;
  3415. arg2 = (char *)jarg2;
  3416. result = (bool)(arg1)->callVideo((char const *)arg2);
  3417. jresult = result;
  3418. return jresult;
  3419. }
  3420. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_callVideo__SWIG_2(void * jarg1, void * jarg2, void * jarg3) {
  3421. unsigned int jresult ;
  3422. CallSession *arg1 = (CallSession *) 0 ;
  3423. SipUri *arg2 = (SipUri *) 0 ;
  3424. ActionConfig *arg3 = (ActionConfig *) 0 ;
  3425. bool result;
  3426. arg1 = (CallSession *)jarg1;
  3427. arg2 = (SipUri *)jarg2;
  3428. arg3 = (ActionConfig *)jarg3;
  3429. result = (bool)(arg1)->callVideo((SipUri const *)arg2,arg3);
  3430. jresult = result;
  3431. return jresult;
  3432. }
  3433. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_callVideo__SWIG_3(void * jarg1, void * jarg2) {
  3434. unsigned int jresult ;
  3435. CallSession *arg1 = (CallSession *) 0 ;
  3436. SipUri *arg2 = (SipUri *) 0 ;
  3437. bool result;
  3438. arg1 = (CallSession *)jarg1;
  3439. arg2 = (SipUri *)jarg2;
  3440. result = (bool)(arg1)->callVideo((SipUri const *)arg2);
  3441. jresult = result;
  3442. return jresult;
  3443. }
  3444. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_call__SWIG_0(void * jarg1, char * jarg2, int jarg3, void * jarg4) {
  3445. unsigned int jresult ;
  3446. CallSession *arg1 = (CallSession *) 0 ;
  3447. char *arg2 = (char *) 0 ;
  3448. twrap_media_type_t arg3 ;
  3449. ActionConfig *arg4 = (ActionConfig *) 0 ;
  3450. bool result;
  3451. arg1 = (CallSession *)jarg1;
  3452. arg2 = (char *)jarg2;
  3453. arg3 = (twrap_media_type_t)jarg3;
  3454. arg4 = (ActionConfig *)jarg4;
  3455. result = (bool)(arg1)->call((char const *)arg2,arg3,arg4);
  3456. jresult = result;
  3457. return jresult;
  3458. }
  3459. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_call__SWIG_1(void * jarg1, char * jarg2, int jarg3) {
  3460. unsigned int jresult ;
  3461. CallSession *arg1 = (CallSession *) 0 ;
  3462. char *arg2 = (char *) 0 ;
  3463. twrap_media_type_t arg3 ;
  3464. bool result;
  3465. arg1 = (CallSession *)jarg1;
  3466. arg2 = (char *)jarg2;
  3467. arg3 = (twrap_media_type_t)jarg3;
  3468. result = (bool)(arg1)->call((char const *)arg2,arg3);
  3469. jresult = result;
  3470. return jresult;
  3471. }
  3472. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_call__SWIG_2(void * jarg1, void * jarg2, int jarg3, void * jarg4) {
  3473. unsigned int jresult ;
  3474. CallSession *arg1 = (CallSession *) 0 ;
  3475. SipUri *arg2 = (SipUri *) 0 ;
  3476. twrap_media_type_t arg3 ;
  3477. ActionConfig *arg4 = (ActionConfig *) 0 ;
  3478. bool result;
  3479. arg1 = (CallSession *)jarg1;
  3480. arg2 = (SipUri *)jarg2;
  3481. arg3 = (twrap_media_type_t)jarg3;
  3482. arg4 = (ActionConfig *)jarg4;
  3483. result = (bool)(arg1)->call((SipUri const *)arg2,arg3,arg4);
  3484. jresult = result;
  3485. return jresult;
  3486. }
  3487. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_call__SWIG_3(void * jarg1, void * jarg2, int jarg3) {
  3488. unsigned int jresult ;
  3489. CallSession *arg1 = (CallSession *) 0 ;
  3490. SipUri *arg2 = (SipUri *) 0 ;
  3491. twrap_media_type_t arg3 ;
  3492. bool result;
  3493. arg1 = (CallSession *)jarg1;
  3494. arg2 = (SipUri *)jarg2;
  3495. arg3 = (twrap_media_type_t)jarg3;
  3496. result = (bool)(arg1)->call((SipUri const *)arg2,arg3);
  3497. jresult = result;
  3498. return jresult;
  3499. }
  3500. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_setSessionTimer(void * jarg1, unsigned int jarg2, char * jarg3) {
  3501. unsigned int jresult ;
  3502. CallSession *arg1 = (CallSession *) 0 ;
  3503. unsigned int arg2 ;
  3504. char *arg3 = (char *) 0 ;
  3505. bool result;
  3506. arg1 = (CallSession *)jarg1;
  3507. arg2 = (unsigned int)jarg2;
  3508. arg3 = (char *)jarg3;
  3509. result = (bool)(arg1)->setSessionTimer(arg2,(char const *)arg3);
  3510. jresult = result;
  3511. return jresult;
  3512. }
  3513. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_set100rel(void * jarg1, unsigned int jarg2) {
  3514. unsigned int jresult ;
  3515. CallSession *arg1 = (CallSession *) 0 ;
  3516. bool arg2 ;
  3517. bool result;
  3518. arg1 = (CallSession *)jarg1;
  3519. arg2 = jarg2 ? true : false;
  3520. result = (bool)(arg1)->set100rel(arg2);
  3521. jresult = result;
  3522. return jresult;
  3523. }
  3524. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_setRtcp(void * jarg1, unsigned int jarg2) {
  3525. unsigned int jresult ;
  3526. CallSession *arg1 = (CallSession *) 0 ;
  3527. bool arg2 ;
  3528. bool result;
  3529. arg1 = (CallSession *)jarg1;
  3530. arg2 = jarg2 ? true : false;
  3531. result = (bool)(arg1)->setRtcp(arg2);
  3532. jresult = result;
  3533. return jresult;
  3534. }
  3535. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_setRtcpMux(void * jarg1, unsigned int jarg2) {
  3536. unsigned int jresult ;
  3537. CallSession *arg1 = (CallSession *) 0 ;
  3538. bool arg2 ;
  3539. bool result;
  3540. arg1 = (CallSession *)jarg1;
  3541. arg2 = jarg2 ? true : false;
  3542. result = (bool)(arg1)->setRtcpMux(arg2);
  3543. jresult = result;
  3544. return jresult;
  3545. }
  3546. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_setSRtpMode(void * jarg1, int jarg2) {
  3547. unsigned int jresult ;
  3548. CallSession *arg1 = (CallSession *) 0 ;
  3549. enum tmedia_srtp_mode_e arg2 ;
  3550. bool result;
  3551. arg1 = (CallSession *)jarg1;
  3552. arg2 = (enum tmedia_srtp_mode_e)jarg2;
  3553. result = (bool)(arg1)->setSRtpMode(arg2);
  3554. jresult = result;
  3555. return jresult;
  3556. }
  3557. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_setAvpfMode(void * jarg1, int jarg2) {
  3558. unsigned int jresult ;
  3559. CallSession *arg1 = (CallSession *) 0 ;
  3560. enum tmedia_mode_e arg2 ;
  3561. bool result;
  3562. arg1 = (CallSession *)jarg1;
  3563. arg2 = (enum tmedia_mode_e)jarg2;
  3564. result = (bool)(arg1)->setAvpfMode(arg2);
  3565. jresult = result;
  3566. return jresult;
  3567. }
  3568. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_setICE(void * jarg1, unsigned int jarg2) {
  3569. unsigned int jresult ;
  3570. CallSession *arg1 = (CallSession *) 0 ;
  3571. bool arg2 ;
  3572. bool result;
  3573. arg1 = (CallSession *)jarg1;
  3574. arg2 = jarg2 ? true : false;
  3575. result = (bool)(arg1)->setICE(arg2);
  3576. jresult = result;
  3577. return jresult;
  3578. }
  3579. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_setICEStun(void * jarg1, unsigned int jarg2) {
  3580. unsigned int jresult ;
  3581. CallSession *arg1 = (CallSession *) 0 ;
  3582. bool arg2 ;
  3583. bool result;
  3584. arg1 = (CallSession *)jarg1;
  3585. arg2 = jarg2 ? true : false;
  3586. result = (bool)(arg1)->setICEStun(arg2);
  3587. jresult = result;
  3588. return jresult;
  3589. }
  3590. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_setICETurn(void * jarg1, unsigned int jarg2) {
  3591. unsigned int jresult ;
  3592. CallSession *arg1 = (CallSession *) 0 ;
  3593. bool arg2 ;
  3594. bool result;
  3595. arg1 = (CallSession *)jarg1;
  3596. arg2 = jarg2 ? true : false;
  3597. result = (bool)(arg1)->setICETurn(arg2);
  3598. jresult = result;
  3599. return jresult;
  3600. }
  3601. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_setSTUNServer(void * jarg1, char * jarg2, unsigned short jarg3) {
  3602. unsigned int jresult ;
  3603. CallSession *arg1 = (CallSession *) 0 ;
  3604. char *arg2 = (char *) 0 ;
  3605. uint16_t arg3 ;
  3606. bool result;
  3607. arg1 = (CallSession *)jarg1;
  3608. arg2 = (char *)jarg2;
  3609. arg3 = (uint16_t)jarg3;
  3610. result = (bool)(arg1)->setSTUNServer((char const *)arg2,arg3);
  3611. jresult = result;
  3612. return jresult;
  3613. }
  3614. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_setSTUNCred(void * jarg1, char * jarg2, char * jarg3) {
  3615. unsigned int jresult ;
  3616. CallSession *arg1 = (CallSession *) 0 ;
  3617. char *arg2 = (char *) 0 ;
  3618. char *arg3 = (char *) 0 ;
  3619. bool result;
  3620. arg1 = (CallSession *)jarg1;
  3621. arg2 = (char *)jarg2;
  3622. arg3 = (char *)jarg3;
  3623. result = (bool)(arg1)->setSTUNCred((char const *)arg2,(char const *)arg3);
  3624. jresult = result;
  3625. return jresult;
  3626. }
  3627. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_setVideoFps(void * jarg1, int jarg2) {
  3628. unsigned int jresult ;
  3629. CallSession *arg1 = (CallSession *) 0 ;
  3630. int32_t arg2 ;
  3631. bool result;
  3632. arg1 = (CallSession *)jarg1;
  3633. arg2 = (int32_t)jarg2;
  3634. result = (bool)(arg1)->setVideoFps(arg2);
  3635. jresult = result;
  3636. return jresult;
  3637. }
  3638. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_setVideoBandwidthUploadMax(void * jarg1, int jarg2) {
  3639. unsigned int jresult ;
  3640. CallSession *arg1 = (CallSession *) 0 ;
  3641. int32_t arg2 ;
  3642. bool result;
  3643. arg1 = (CallSession *)jarg1;
  3644. arg2 = (int32_t)jarg2;
  3645. result = (bool)(arg1)->setVideoBandwidthUploadMax(arg2);
  3646. jresult = result;
  3647. return jresult;
  3648. }
  3649. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_setVideoBandwidthDownloadMax(void * jarg1, int jarg2) {
  3650. unsigned int jresult ;
  3651. CallSession *arg1 = (CallSession *) 0 ;
  3652. int32_t arg2 ;
  3653. bool result;
  3654. arg1 = (CallSession *)jarg1;
  3655. arg2 = (int32_t)jarg2;
  3656. result = (bool)(arg1)->setVideoBandwidthDownloadMax(arg2);
  3657. jresult = result;
  3658. return jresult;
  3659. }
  3660. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_setVideoPrefSize(void * jarg1, int jarg2) {
  3661. unsigned int jresult ;
  3662. CallSession *arg1 = (CallSession *) 0 ;
  3663. tmedia_pref_video_size_t arg2 ;
  3664. bool result;
  3665. arg1 = (CallSession *)jarg1;
  3666. arg2 = (tmedia_pref_video_size_t)jarg2;
  3667. result = (bool)(arg1)->setVideoPrefSize(arg2);
  3668. jresult = result;
  3669. return jresult;
  3670. }
  3671. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_setQoS(void * jarg1, int jarg2, int jarg3) {
  3672. unsigned int jresult ;
  3673. CallSession *arg1 = (CallSession *) 0 ;
  3674. tmedia_qos_stype_t arg2 ;
  3675. tmedia_qos_strength_t arg3 ;
  3676. bool result;
  3677. arg1 = (CallSession *)jarg1;
  3678. arg2 = (tmedia_qos_stype_t)jarg2;
  3679. arg3 = (tmedia_qos_strength_t)jarg3;
  3680. result = (bool)(arg1)->setQoS(arg2,arg3);
  3681. jresult = result;
  3682. return jresult;
  3683. }
  3684. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_hold__SWIG_0(void * jarg1, void * jarg2) {
  3685. unsigned int jresult ;
  3686. CallSession *arg1 = (CallSession *) 0 ;
  3687. ActionConfig *arg2 = (ActionConfig *) 0 ;
  3688. bool result;
  3689. arg1 = (CallSession *)jarg1;
  3690. arg2 = (ActionConfig *)jarg2;
  3691. result = (bool)(arg1)->hold(arg2);
  3692. jresult = result;
  3693. return jresult;
  3694. }
  3695. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_hold__SWIG_1(void * jarg1) {
  3696. unsigned int jresult ;
  3697. CallSession *arg1 = (CallSession *) 0 ;
  3698. bool result;
  3699. arg1 = (CallSession *)jarg1;
  3700. result = (bool)(arg1)->hold();
  3701. jresult = result;
  3702. return jresult;
  3703. }
  3704. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_resume__SWIG_0(void * jarg1, void * jarg2) {
  3705. unsigned int jresult ;
  3706. CallSession *arg1 = (CallSession *) 0 ;
  3707. ActionConfig *arg2 = (ActionConfig *) 0 ;
  3708. bool result;
  3709. arg1 = (CallSession *)jarg1;
  3710. arg2 = (ActionConfig *)jarg2;
  3711. result = (bool)(arg1)->resume(arg2);
  3712. jresult = result;
  3713. return jresult;
  3714. }
  3715. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_resume__SWIG_1(void * jarg1) {
  3716. unsigned int jresult ;
  3717. CallSession *arg1 = (CallSession *) 0 ;
  3718. bool result;
  3719. arg1 = (CallSession *)jarg1;
  3720. result = (bool)(arg1)->resume();
  3721. jresult = result;
  3722. return jresult;
  3723. }
  3724. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_transfer__SWIG_0(void * jarg1, char * jarg2, void * jarg3) {
  3725. unsigned int jresult ;
  3726. CallSession *arg1 = (CallSession *) 0 ;
  3727. char *arg2 = (char *) 0 ;
  3728. ActionConfig *arg3 = (ActionConfig *) 0 ;
  3729. bool result;
  3730. arg1 = (CallSession *)jarg1;
  3731. arg2 = (char *)jarg2;
  3732. arg3 = (ActionConfig *)jarg3;
  3733. result = (bool)(arg1)->transfer((char const *)arg2,arg3);
  3734. jresult = result;
  3735. return jresult;
  3736. }
  3737. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_transfer__SWIG_1(void * jarg1, char * jarg2) {
  3738. unsigned int jresult ;
  3739. CallSession *arg1 = (CallSession *) 0 ;
  3740. char *arg2 = (char *) 0 ;
  3741. bool result;
  3742. arg1 = (CallSession *)jarg1;
  3743. arg2 = (char *)jarg2;
  3744. result = (bool)(arg1)->transfer((char const *)arg2);
  3745. jresult = result;
  3746. return jresult;
  3747. }
  3748. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_acceptTransfer__SWIG_0(void * jarg1, void * jarg2) {
  3749. unsigned int jresult ;
  3750. CallSession *arg1 = (CallSession *) 0 ;
  3751. ActionConfig *arg2 = (ActionConfig *) 0 ;
  3752. bool result;
  3753. arg1 = (CallSession *)jarg1;
  3754. arg2 = (ActionConfig *)jarg2;
  3755. result = (bool)(arg1)->acceptTransfer(arg2);
  3756. jresult = result;
  3757. return jresult;
  3758. }
  3759. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_acceptTransfer__SWIG_1(void * jarg1) {
  3760. unsigned int jresult ;
  3761. CallSession *arg1 = (CallSession *) 0 ;
  3762. bool result;
  3763. arg1 = (CallSession *)jarg1;
  3764. result = (bool)(arg1)->acceptTransfer();
  3765. jresult = result;
  3766. return jresult;
  3767. }
  3768. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_rejectTransfer__SWIG_0(void * jarg1, void * jarg2) {
  3769. unsigned int jresult ;
  3770. CallSession *arg1 = (CallSession *) 0 ;
  3771. ActionConfig *arg2 = (ActionConfig *) 0 ;
  3772. bool result;
  3773. arg1 = (CallSession *)jarg1;
  3774. arg2 = (ActionConfig *)jarg2;
  3775. result = (bool)(arg1)->rejectTransfer(arg2);
  3776. jresult = result;
  3777. return jresult;
  3778. }
  3779. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_rejectTransfer__SWIG_1(void * jarg1) {
  3780. unsigned int jresult ;
  3781. CallSession *arg1 = (CallSession *) 0 ;
  3782. bool result;
  3783. arg1 = (CallSession *)jarg1;
  3784. result = (bool)(arg1)->rejectTransfer();
  3785. jresult = result;
  3786. return jresult;
  3787. }
  3788. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_sendDTMF(void * jarg1, int jarg2) {
  3789. unsigned int jresult ;
  3790. CallSession *arg1 = (CallSession *) 0 ;
  3791. int arg2 ;
  3792. bool result;
  3793. arg1 = (CallSession *)jarg1;
  3794. arg2 = (int)jarg2;
  3795. result = (bool)(arg1)->sendDTMF(arg2);
  3796. jresult = result;
  3797. return jresult;
  3798. }
  3799. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_getSessionTransferId(void * jarg1) {
  3800. unsigned int jresult ;
  3801. CallSession *arg1 = (CallSession *) 0 ;
  3802. unsigned int result;
  3803. arg1 = (CallSession *)jarg1;
  3804. result = (unsigned int)(arg1)->getSessionTransferId();
  3805. jresult = result;
  3806. return jresult;
  3807. }
  3808. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_sendT140Data__SWIG_0(void * jarg1, int jarg2, void * jarg3, unsigned int jarg4) {
  3809. unsigned int jresult ;
  3810. CallSession *arg1 = (CallSession *) 0 ;
  3811. enum tmedia_t140_data_type_e arg2 ;
  3812. void *arg3 = (void *) 0 ;
  3813. unsigned int arg4 ;
  3814. bool result;
  3815. arg1 = (CallSession *)jarg1;
  3816. arg2 = (enum tmedia_t140_data_type_e)jarg2;
  3817. arg3 = jarg3;
  3818. arg4 = (unsigned int)jarg4;
  3819. result = (bool)(arg1)->sendT140Data(arg2,(void const *)arg3,arg4);
  3820. jresult = result;
  3821. return jresult;
  3822. }
  3823. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_sendT140Data__SWIG_1(void * jarg1, int jarg2, void * jarg3) {
  3824. unsigned int jresult ;
  3825. CallSession *arg1 = (CallSession *) 0 ;
  3826. enum tmedia_t140_data_type_e arg2 ;
  3827. void *arg3 = (void *) 0 ;
  3828. bool result;
  3829. arg1 = (CallSession *)jarg1;
  3830. arg2 = (enum tmedia_t140_data_type_e)jarg2;
  3831. arg3 = jarg3;
  3832. result = (bool)(arg1)->sendT140Data(arg2,(void const *)arg3);
  3833. jresult = result;
  3834. return jresult;
  3835. }
  3836. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_sendT140Data__SWIG_2(void * jarg1, int jarg2) {
  3837. unsigned int jresult ;
  3838. CallSession *arg1 = (CallSession *) 0 ;
  3839. enum tmedia_t140_data_type_e arg2 ;
  3840. bool result;
  3841. arg1 = (CallSession *)jarg1;
  3842. arg2 = (enum tmedia_t140_data_type_e)jarg2;
  3843. result = (bool)(arg1)->sendT140Data(arg2);
  3844. jresult = result;
  3845. return jresult;
  3846. }
  3847. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CallSession_setT140Callback(void * jarg1, void * jarg2) {
  3848. unsigned int jresult ;
  3849. CallSession *arg1 = (CallSession *) 0 ;
  3850. T140Callback *arg2 = (T140Callback *) 0 ;
  3851. bool result;
  3852. arg1 = (CallSession *)jarg1;
  3853. arg2 = (T140Callback *)jarg2;
  3854. result = (bool)(arg1)->setT140Callback((T140Callback const *)arg2);
  3855. jresult = result;
  3856. return jresult;
  3857. }
  3858. SWIGEXPORT void * SWIGSTDCALL CSharp_new_MsrpSession(void * jarg1, void * jarg2) {
  3859. void * jresult ;
  3860. SipStack *arg1 = (SipStack *) 0 ;
  3861. MsrpCallback *arg2 = (MsrpCallback *) 0 ;
  3862. MsrpSession *result = 0 ;
  3863. arg1 = (SipStack *)jarg1;
  3864. arg2 = (MsrpCallback *)jarg2;
  3865. result = (MsrpSession *)new MsrpSession(arg1,arg2);
  3866. jresult = (void *)result;
  3867. return jresult;
  3868. }
  3869. SWIGEXPORT void SWIGSTDCALL CSharp_delete_MsrpSession(void * jarg1) {
  3870. MsrpSession *arg1 = (MsrpSession *) 0 ;
  3871. arg1 = (MsrpSession *)jarg1;
  3872. delete arg1;
  3873. }
  3874. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MsrpSession_setCallback(void * jarg1, void * jarg2) {
  3875. unsigned int jresult ;
  3876. MsrpSession *arg1 = (MsrpSession *) 0 ;
  3877. MsrpCallback *arg2 = (MsrpCallback *) 0 ;
  3878. bool result;
  3879. arg1 = (MsrpSession *)jarg1;
  3880. arg2 = (MsrpCallback *)jarg2;
  3881. result = (bool)(arg1)->setCallback(arg2);
  3882. jresult = result;
  3883. return jresult;
  3884. }
  3885. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MsrpSession_callMsrp__SWIG_0(void * jarg1, char * jarg2, void * jarg3) {
  3886. unsigned int jresult ;
  3887. MsrpSession *arg1 = (MsrpSession *) 0 ;
  3888. char *arg2 = (char *) 0 ;
  3889. ActionConfig *arg3 = (ActionConfig *) 0 ;
  3890. bool result;
  3891. arg1 = (MsrpSession *)jarg1;
  3892. arg2 = (char *)jarg2;
  3893. arg3 = (ActionConfig *)jarg3;
  3894. result = (bool)(arg1)->callMsrp((char const *)arg2,arg3);
  3895. jresult = result;
  3896. return jresult;
  3897. }
  3898. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MsrpSession_callMsrp__SWIG_1(void * jarg1, char * jarg2) {
  3899. unsigned int jresult ;
  3900. MsrpSession *arg1 = (MsrpSession *) 0 ;
  3901. char *arg2 = (char *) 0 ;
  3902. bool result;
  3903. arg1 = (MsrpSession *)jarg1;
  3904. arg2 = (char *)jarg2;
  3905. result = (bool)(arg1)->callMsrp((char const *)arg2);
  3906. jresult = result;
  3907. return jresult;
  3908. }
  3909. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MsrpSession_callMsrp__SWIG_2(void * jarg1, void * jarg2, void * jarg3) {
  3910. unsigned int jresult ;
  3911. MsrpSession *arg1 = (MsrpSession *) 0 ;
  3912. SipUri *arg2 = (SipUri *) 0 ;
  3913. ActionConfig *arg3 = (ActionConfig *) 0 ;
  3914. bool result;
  3915. arg1 = (MsrpSession *)jarg1;
  3916. arg2 = (SipUri *)jarg2;
  3917. arg3 = (ActionConfig *)jarg3;
  3918. result = (bool)(arg1)->callMsrp((SipUri const *)arg2,arg3);
  3919. jresult = result;
  3920. return jresult;
  3921. }
  3922. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MsrpSession_callMsrp__SWIG_3(void * jarg1, void * jarg2) {
  3923. unsigned int jresult ;
  3924. MsrpSession *arg1 = (MsrpSession *) 0 ;
  3925. SipUri *arg2 = (SipUri *) 0 ;
  3926. bool result;
  3927. arg1 = (MsrpSession *)jarg1;
  3928. arg2 = (SipUri *)jarg2;
  3929. result = (bool)(arg1)->callMsrp((SipUri const *)arg2);
  3930. jresult = result;
  3931. return jresult;
  3932. }
  3933. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MsrpSession_sendMessage__SWIG_0(void * jarg1, void * jarg2, unsigned int jarg3, void * jarg4) {
  3934. unsigned int jresult ;
  3935. MsrpSession *arg1 = (MsrpSession *) 0 ;
  3936. void *arg2 = (void *) 0 ;
  3937. unsigned int arg3 ;
  3938. ActionConfig *arg4 = (ActionConfig *) 0 ;
  3939. bool result;
  3940. arg1 = (MsrpSession *)jarg1;
  3941. arg2 = jarg2;
  3942. arg3 = (unsigned int)jarg3;
  3943. arg4 = (ActionConfig *)jarg4;
  3944. result = (bool)(arg1)->sendMessage((void const *)arg2,arg3,arg4);
  3945. jresult = result;
  3946. return jresult;
  3947. }
  3948. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MsrpSession_sendMessage__SWIG_1(void * jarg1, void * jarg2, unsigned int jarg3) {
  3949. unsigned int jresult ;
  3950. MsrpSession *arg1 = (MsrpSession *) 0 ;
  3951. void *arg2 = (void *) 0 ;
  3952. unsigned int arg3 ;
  3953. bool result;
  3954. arg1 = (MsrpSession *)jarg1;
  3955. arg2 = jarg2;
  3956. arg3 = (unsigned int)jarg3;
  3957. result = (bool)(arg1)->sendMessage((void const *)arg2,arg3);
  3958. jresult = result;
  3959. return jresult;
  3960. }
  3961. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MsrpSession_sendFile__SWIG_0(void * jarg1, void * jarg2) {
  3962. unsigned int jresult ;
  3963. MsrpSession *arg1 = (MsrpSession *) 0 ;
  3964. ActionConfig *arg2 = (ActionConfig *) 0 ;
  3965. bool result;
  3966. arg1 = (MsrpSession *)jarg1;
  3967. arg2 = (ActionConfig *)jarg2;
  3968. result = (bool)(arg1)->sendFile(arg2);
  3969. jresult = result;
  3970. return jresult;
  3971. }
  3972. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MsrpSession_sendFile__SWIG_1(void * jarg1) {
  3973. unsigned int jresult ;
  3974. MsrpSession *arg1 = (MsrpSession *) 0 ;
  3975. bool result;
  3976. arg1 = (MsrpSession *)jarg1;
  3977. result = (bool)(arg1)->sendFile();
  3978. jresult = result;
  3979. return jresult;
  3980. }
  3981. SWIGEXPORT void * SWIGSTDCALL CSharp_new_MessagingSession(void * jarg1) {
  3982. void * jresult ;
  3983. SipStack *arg1 = (SipStack *) 0 ;
  3984. MessagingSession *result = 0 ;
  3985. arg1 = (SipStack *)jarg1;
  3986. result = (MessagingSession *)new MessagingSession(arg1);
  3987. jresult = (void *)result;
  3988. return jresult;
  3989. }
  3990. SWIGEXPORT void SWIGSTDCALL CSharp_delete_MessagingSession(void * jarg1) {
  3991. MessagingSession *arg1 = (MessagingSession *) 0 ;
  3992. arg1 = (MessagingSession *)jarg1;
  3993. delete arg1;
  3994. }
  3995. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MessagingSession_send__SWIG_0(void * jarg1, void * jarg2, unsigned int jarg3, void * jarg4) {
  3996. unsigned int jresult ;
  3997. MessagingSession *arg1 = (MessagingSession *) 0 ;
  3998. void *arg2 = (void *) 0 ;
  3999. unsigned int arg3 ;
  4000. ActionConfig *arg4 = (ActionConfig *) 0 ;
  4001. bool result;
  4002. arg1 = (MessagingSession *)jarg1;
  4003. arg2 = jarg2;
  4004. arg3 = (unsigned int)jarg3;
  4005. arg4 = (ActionConfig *)jarg4;
  4006. result = (bool)(arg1)->send((void const *)arg2,arg3,arg4);
  4007. jresult = result;
  4008. return jresult;
  4009. }
  4010. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MessagingSession_send__SWIG_1(void * jarg1, void * jarg2, unsigned int jarg3) {
  4011. unsigned int jresult ;
  4012. MessagingSession *arg1 = (MessagingSession *) 0 ;
  4013. void *arg2 = (void *) 0 ;
  4014. unsigned int arg3 ;
  4015. bool result;
  4016. arg1 = (MessagingSession *)jarg1;
  4017. arg2 = jarg2;
  4018. arg3 = (unsigned int)jarg3;
  4019. result = (bool)(arg1)->send((void const *)arg2,arg3);
  4020. jresult = result;
  4021. return jresult;
  4022. }
  4023. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MessagingSession_accept__SWIG_0(void * jarg1, void * jarg2) {
  4024. unsigned int jresult ;
  4025. MessagingSession *arg1 = (MessagingSession *) 0 ;
  4026. ActionConfig *arg2 = (ActionConfig *) 0 ;
  4027. bool result;
  4028. arg1 = (MessagingSession *)jarg1;
  4029. arg2 = (ActionConfig *)jarg2;
  4030. result = (bool)(arg1)->accept(arg2);
  4031. jresult = result;
  4032. return jresult;
  4033. }
  4034. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MessagingSession_accept__SWIG_1(void * jarg1) {
  4035. unsigned int jresult ;
  4036. MessagingSession *arg1 = (MessagingSession *) 0 ;
  4037. bool result;
  4038. arg1 = (MessagingSession *)jarg1;
  4039. result = (bool)(arg1)->accept();
  4040. jresult = result;
  4041. return jresult;
  4042. }
  4043. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MessagingSession_reject__SWIG_0(void * jarg1, void * jarg2) {
  4044. unsigned int jresult ;
  4045. MessagingSession *arg1 = (MessagingSession *) 0 ;
  4046. ActionConfig *arg2 = (ActionConfig *) 0 ;
  4047. bool result;
  4048. arg1 = (MessagingSession *)jarg1;
  4049. arg2 = (ActionConfig *)jarg2;
  4050. result = (bool)(arg1)->reject(arg2);
  4051. jresult = result;
  4052. return jresult;
  4053. }
  4054. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MessagingSession_reject__SWIG_1(void * jarg1) {
  4055. unsigned int jresult ;
  4056. MessagingSession *arg1 = (MessagingSession *) 0 ;
  4057. bool result;
  4058. arg1 = (MessagingSession *)jarg1;
  4059. result = (bool)(arg1)->reject();
  4060. jresult = result;
  4061. return jresult;
  4062. }
  4063. SWIGEXPORT void * SWIGSTDCALL CSharp_new_InfoSession(void * jarg1) {
  4064. void * jresult ;
  4065. SipStack *arg1 = (SipStack *) 0 ;
  4066. InfoSession *result = 0 ;
  4067. arg1 = (SipStack *)jarg1;
  4068. result = (InfoSession *)new InfoSession(arg1);
  4069. jresult = (void *)result;
  4070. return jresult;
  4071. }
  4072. SWIGEXPORT void SWIGSTDCALL CSharp_delete_InfoSession(void * jarg1) {
  4073. InfoSession *arg1 = (InfoSession *) 0 ;
  4074. arg1 = (InfoSession *)jarg1;
  4075. delete arg1;
  4076. }
  4077. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_InfoSession_send__SWIG_0(void * jarg1, void * jarg2, unsigned int jarg3, void * jarg4) {
  4078. unsigned int jresult ;
  4079. InfoSession *arg1 = (InfoSession *) 0 ;
  4080. void *arg2 = (void *) 0 ;
  4081. unsigned int arg3 ;
  4082. ActionConfig *arg4 = (ActionConfig *) 0 ;
  4083. bool result;
  4084. arg1 = (InfoSession *)jarg1;
  4085. arg2 = jarg2;
  4086. arg3 = (unsigned int)jarg3;
  4087. arg4 = (ActionConfig *)jarg4;
  4088. result = (bool)(arg1)->send((void const *)arg2,arg3,arg4);
  4089. jresult = result;
  4090. return jresult;
  4091. }
  4092. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_InfoSession_send__SWIG_1(void * jarg1, void * jarg2, unsigned int jarg3) {
  4093. unsigned int jresult ;
  4094. InfoSession *arg1 = (InfoSession *) 0 ;
  4095. void *arg2 = (void *) 0 ;
  4096. unsigned int arg3 ;
  4097. bool result;
  4098. arg1 = (InfoSession *)jarg1;
  4099. arg2 = jarg2;
  4100. arg3 = (unsigned int)jarg3;
  4101. result = (bool)(arg1)->send((void const *)arg2,arg3);
  4102. jresult = result;
  4103. return jresult;
  4104. }
  4105. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_InfoSession_accept__SWIG_0(void * jarg1, void * jarg2) {
  4106. unsigned int jresult ;
  4107. InfoSession *arg1 = (InfoSession *) 0 ;
  4108. ActionConfig *arg2 = (ActionConfig *) 0 ;
  4109. bool result;
  4110. arg1 = (InfoSession *)jarg1;
  4111. arg2 = (ActionConfig *)jarg2;
  4112. result = (bool)(arg1)->accept(arg2);
  4113. jresult = result;
  4114. return jresult;
  4115. }
  4116. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_InfoSession_accept__SWIG_1(void * jarg1) {
  4117. unsigned int jresult ;
  4118. InfoSession *arg1 = (InfoSession *) 0 ;
  4119. bool result;
  4120. arg1 = (InfoSession *)jarg1;
  4121. result = (bool)(arg1)->accept();
  4122. jresult = result;
  4123. return jresult;
  4124. }
  4125. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_InfoSession_reject__SWIG_0(void * jarg1, void * jarg2) {
  4126. unsigned int jresult ;
  4127. InfoSession *arg1 = (InfoSession *) 0 ;
  4128. ActionConfig *arg2 = (ActionConfig *) 0 ;
  4129. bool result;
  4130. arg1 = (InfoSession *)jarg1;
  4131. arg2 = (ActionConfig *)jarg2;
  4132. result = (bool)(arg1)->reject(arg2);
  4133. jresult = result;
  4134. return jresult;
  4135. }
  4136. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_InfoSession_reject__SWIG_1(void * jarg1) {
  4137. unsigned int jresult ;
  4138. InfoSession *arg1 = (InfoSession *) 0 ;
  4139. bool result;
  4140. arg1 = (InfoSession *)jarg1;
  4141. result = (bool)(arg1)->reject();
  4142. jresult = result;
  4143. return jresult;
  4144. }
  4145. SWIGEXPORT void * SWIGSTDCALL CSharp_new_OptionsSession(void * jarg1) {
  4146. void * jresult ;
  4147. SipStack *arg1 = (SipStack *) 0 ;
  4148. OptionsSession *result = 0 ;
  4149. arg1 = (SipStack *)jarg1;
  4150. result = (OptionsSession *)new OptionsSession(arg1);
  4151. jresult = (void *)result;
  4152. return jresult;
  4153. }
  4154. SWIGEXPORT void SWIGSTDCALL CSharp_delete_OptionsSession(void * jarg1) {
  4155. OptionsSession *arg1 = (OptionsSession *) 0 ;
  4156. arg1 = (OptionsSession *)jarg1;
  4157. delete arg1;
  4158. }
  4159. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_OptionsSession_send__SWIG_0(void * jarg1, void * jarg2) {
  4160. unsigned int jresult ;
  4161. OptionsSession *arg1 = (OptionsSession *) 0 ;
  4162. ActionConfig *arg2 = (ActionConfig *) 0 ;
  4163. bool result;
  4164. arg1 = (OptionsSession *)jarg1;
  4165. arg2 = (ActionConfig *)jarg2;
  4166. result = (bool)(arg1)->send(arg2);
  4167. jresult = result;
  4168. return jresult;
  4169. }
  4170. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_OptionsSession_send__SWIG_1(void * jarg1) {
  4171. unsigned int jresult ;
  4172. OptionsSession *arg1 = (OptionsSession *) 0 ;
  4173. bool result;
  4174. arg1 = (OptionsSession *)jarg1;
  4175. result = (bool)(arg1)->send();
  4176. jresult = result;
  4177. return jresult;
  4178. }
  4179. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_OptionsSession_accept__SWIG_0(void * jarg1, void * jarg2) {
  4180. unsigned int jresult ;
  4181. OptionsSession *arg1 = (OptionsSession *) 0 ;
  4182. ActionConfig *arg2 = (ActionConfig *) 0 ;
  4183. bool result;
  4184. arg1 = (OptionsSession *)jarg1;
  4185. arg2 = (ActionConfig *)jarg2;
  4186. result = (bool)(arg1)->accept(arg2);
  4187. jresult = result;
  4188. return jresult;
  4189. }
  4190. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_OptionsSession_accept__SWIG_1(void * jarg1) {
  4191. unsigned int jresult ;
  4192. OptionsSession *arg1 = (OptionsSession *) 0 ;
  4193. bool result;
  4194. arg1 = (OptionsSession *)jarg1;
  4195. result = (bool)(arg1)->accept();
  4196. jresult = result;
  4197. return jresult;
  4198. }
  4199. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_OptionsSession_reject__SWIG_0(void * jarg1, void * jarg2) {
  4200. unsigned int jresult ;
  4201. OptionsSession *arg1 = (OptionsSession *) 0 ;
  4202. ActionConfig *arg2 = (ActionConfig *) 0 ;
  4203. bool result;
  4204. arg1 = (OptionsSession *)jarg1;
  4205. arg2 = (ActionConfig *)jarg2;
  4206. result = (bool)(arg1)->reject(arg2);
  4207. jresult = result;
  4208. return jresult;
  4209. }
  4210. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_OptionsSession_reject__SWIG_1(void * jarg1) {
  4211. unsigned int jresult ;
  4212. OptionsSession *arg1 = (OptionsSession *) 0 ;
  4213. bool result;
  4214. arg1 = (OptionsSession *)jarg1;
  4215. result = (bool)(arg1)->reject();
  4216. jresult = result;
  4217. return jresult;
  4218. }
  4219. SWIGEXPORT void * SWIGSTDCALL CSharp_new_PublicationSession(void * jarg1) {
  4220. void * jresult ;
  4221. SipStack *arg1 = (SipStack *) 0 ;
  4222. PublicationSession *result = 0 ;
  4223. arg1 = (SipStack *)jarg1;
  4224. result = (PublicationSession *)new PublicationSession(arg1);
  4225. jresult = (void *)result;
  4226. return jresult;
  4227. }
  4228. SWIGEXPORT void SWIGSTDCALL CSharp_delete_PublicationSession(void * jarg1) {
  4229. PublicationSession *arg1 = (PublicationSession *) 0 ;
  4230. arg1 = (PublicationSession *)jarg1;
  4231. delete arg1;
  4232. }
  4233. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_PublicationSession_publish__SWIG_0(void * jarg1, void * jarg2, unsigned int jarg3, void * jarg4) {
  4234. unsigned int jresult ;
  4235. PublicationSession *arg1 = (PublicationSession *) 0 ;
  4236. void *arg2 = (void *) 0 ;
  4237. unsigned int arg3 ;
  4238. ActionConfig *arg4 = (ActionConfig *) 0 ;
  4239. bool result;
  4240. arg1 = (PublicationSession *)jarg1;
  4241. arg2 = jarg2;
  4242. arg3 = (unsigned int)jarg3;
  4243. arg4 = (ActionConfig *)jarg4;
  4244. result = (bool)(arg1)->publish((void const *)arg2,arg3,arg4);
  4245. jresult = result;
  4246. return jresult;
  4247. }
  4248. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_PublicationSession_publish__SWIG_1(void * jarg1, void * jarg2, unsigned int jarg3) {
  4249. unsigned int jresult ;
  4250. PublicationSession *arg1 = (PublicationSession *) 0 ;
  4251. void *arg2 = (void *) 0 ;
  4252. unsigned int arg3 ;
  4253. bool result;
  4254. arg1 = (PublicationSession *)jarg1;
  4255. arg2 = jarg2;
  4256. arg3 = (unsigned int)jarg3;
  4257. result = (bool)(arg1)->publish((void const *)arg2,arg3);
  4258. jresult = result;
  4259. return jresult;
  4260. }
  4261. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_PublicationSession_unPublish__SWIG_0(void * jarg1, void * jarg2) {
  4262. unsigned int jresult ;
  4263. PublicationSession *arg1 = (PublicationSession *) 0 ;
  4264. ActionConfig *arg2 = (ActionConfig *) 0 ;
  4265. bool result;
  4266. arg1 = (PublicationSession *)jarg1;
  4267. arg2 = (ActionConfig *)jarg2;
  4268. result = (bool)(arg1)->unPublish(arg2);
  4269. jresult = result;
  4270. return jresult;
  4271. }
  4272. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_PublicationSession_unPublish__SWIG_1(void * jarg1) {
  4273. unsigned int jresult ;
  4274. PublicationSession *arg1 = (PublicationSession *) 0 ;
  4275. bool result;
  4276. arg1 = (PublicationSession *)jarg1;
  4277. result = (bool)(arg1)->unPublish();
  4278. jresult = result;
  4279. return jresult;
  4280. }
  4281. SWIGEXPORT void * SWIGSTDCALL CSharp_new_RegistrationSession(void * jarg1) {
  4282. void * jresult ;
  4283. SipStack *arg1 = (SipStack *) 0 ;
  4284. RegistrationSession *result = 0 ;
  4285. arg1 = (SipStack *)jarg1;
  4286. result = (RegistrationSession *)new RegistrationSession(arg1);
  4287. jresult = (void *)result;
  4288. return jresult;
  4289. }
  4290. SWIGEXPORT void SWIGSTDCALL CSharp_delete_RegistrationSession(void * jarg1) {
  4291. RegistrationSession *arg1 = (RegistrationSession *) 0 ;
  4292. arg1 = (RegistrationSession *)jarg1;
  4293. delete arg1;
  4294. }
  4295. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_RegistrationSession_register___SWIG_0(void * jarg1, void * jarg2) {
  4296. unsigned int jresult ;
  4297. RegistrationSession *arg1 = (RegistrationSession *) 0 ;
  4298. ActionConfig *arg2 = (ActionConfig *) 0 ;
  4299. bool result;
  4300. arg1 = (RegistrationSession *)jarg1;
  4301. arg2 = (ActionConfig *)jarg2;
  4302. result = (bool)(arg1)->register_(arg2);
  4303. jresult = result;
  4304. return jresult;
  4305. }
  4306. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_RegistrationSession_register___SWIG_1(void * jarg1) {
  4307. unsigned int jresult ;
  4308. RegistrationSession *arg1 = (RegistrationSession *) 0 ;
  4309. bool result;
  4310. arg1 = (RegistrationSession *)jarg1;
  4311. result = (bool)(arg1)->register_();
  4312. jresult = result;
  4313. return jresult;
  4314. }
  4315. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_RegistrationSession_unRegister__SWIG_0(void * jarg1, void * jarg2) {
  4316. unsigned int jresult ;
  4317. RegistrationSession *arg1 = (RegistrationSession *) 0 ;
  4318. ActionConfig *arg2 = (ActionConfig *) 0 ;
  4319. bool result;
  4320. arg1 = (RegistrationSession *)jarg1;
  4321. arg2 = (ActionConfig *)jarg2;
  4322. result = (bool)(arg1)->unRegister(arg2);
  4323. jresult = result;
  4324. return jresult;
  4325. }
  4326. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_RegistrationSession_unRegister__SWIG_1(void * jarg1) {
  4327. unsigned int jresult ;
  4328. RegistrationSession *arg1 = (RegistrationSession *) 0 ;
  4329. bool result;
  4330. arg1 = (RegistrationSession *)jarg1;
  4331. result = (bool)(arg1)->unRegister();
  4332. jresult = result;
  4333. return jresult;
  4334. }
  4335. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_RegistrationSession_accept__SWIG_0(void * jarg1, void * jarg2) {
  4336. unsigned int jresult ;
  4337. RegistrationSession *arg1 = (RegistrationSession *) 0 ;
  4338. ActionConfig *arg2 = (ActionConfig *) 0 ;
  4339. bool result;
  4340. arg1 = (RegistrationSession *)jarg1;
  4341. arg2 = (ActionConfig *)jarg2;
  4342. result = (bool)(arg1)->accept(arg2);
  4343. jresult = result;
  4344. return jresult;
  4345. }
  4346. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_RegistrationSession_accept__SWIG_1(void * jarg1) {
  4347. unsigned int jresult ;
  4348. RegistrationSession *arg1 = (RegistrationSession *) 0 ;
  4349. bool result;
  4350. arg1 = (RegistrationSession *)jarg1;
  4351. result = (bool)(arg1)->accept();
  4352. jresult = result;
  4353. return jresult;
  4354. }
  4355. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_RegistrationSession_reject__SWIG_0(void * jarg1, void * jarg2) {
  4356. unsigned int jresult ;
  4357. RegistrationSession *arg1 = (RegistrationSession *) 0 ;
  4358. ActionConfig *arg2 = (ActionConfig *) 0 ;
  4359. bool result;
  4360. arg1 = (RegistrationSession *)jarg1;
  4361. arg2 = (ActionConfig *)jarg2;
  4362. result = (bool)(arg1)->reject(arg2);
  4363. jresult = result;
  4364. return jresult;
  4365. }
  4366. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_RegistrationSession_reject__SWIG_1(void * jarg1) {
  4367. unsigned int jresult ;
  4368. RegistrationSession *arg1 = (RegistrationSession *) 0 ;
  4369. bool result;
  4370. arg1 = (RegistrationSession *)jarg1;
  4371. result = (bool)(arg1)->reject();
  4372. jresult = result;
  4373. return jresult;
  4374. }
  4375. SWIGEXPORT void * SWIGSTDCALL CSharp_new_SubscriptionSession(void * jarg1) {
  4376. void * jresult ;
  4377. SipStack *arg1 = (SipStack *) 0 ;
  4378. SubscriptionSession *result = 0 ;
  4379. arg1 = (SipStack *)jarg1;
  4380. result = (SubscriptionSession *)new SubscriptionSession(arg1);
  4381. jresult = (void *)result;
  4382. return jresult;
  4383. }
  4384. SWIGEXPORT void SWIGSTDCALL CSharp_delete_SubscriptionSession(void * jarg1) {
  4385. SubscriptionSession *arg1 = (SubscriptionSession *) 0 ;
  4386. arg1 = (SubscriptionSession *)jarg1;
  4387. delete arg1;
  4388. }
  4389. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SubscriptionSession_subscribe(void * jarg1) {
  4390. unsigned int jresult ;
  4391. SubscriptionSession *arg1 = (SubscriptionSession *) 0 ;
  4392. bool result;
  4393. arg1 = (SubscriptionSession *)jarg1;
  4394. result = (bool)(arg1)->subscribe();
  4395. jresult = result;
  4396. return jresult;
  4397. }
  4398. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SubscriptionSession_unSubscribe(void * jarg1) {
  4399. unsigned int jresult ;
  4400. SubscriptionSession *arg1 = (SubscriptionSession *) 0 ;
  4401. bool result;
  4402. arg1 = (SubscriptionSession *)jarg1;
  4403. result = (bool)(arg1)->unSubscribe();
  4404. jresult = result;
  4405. return jresult;
  4406. }
  4407. SWIGEXPORT void SWIGSTDCALL CSharp_delete_ProxyPluginMgr(void * jarg1) {
  4408. ProxyPluginMgr *arg1 = (ProxyPluginMgr *) 0 ;
  4409. arg1 = (ProxyPluginMgr *)jarg1;
  4410. delete arg1;
  4411. }
  4412. SWIGEXPORT void * SWIGSTDCALL CSharp_ProxyPluginMgr_createInstance(void * jarg1) {
  4413. void * jresult ;
  4414. ProxyPluginMgrCallback *arg1 = (ProxyPluginMgrCallback *) 0 ;
  4415. ProxyPluginMgr *result = 0 ;
  4416. arg1 = (ProxyPluginMgrCallback *)jarg1;
  4417. result = (ProxyPluginMgr *)ProxyPluginMgr::createInstance(arg1);
  4418. jresult = (void *)result;
  4419. return jresult;
  4420. }
  4421. SWIGEXPORT void * SWIGSTDCALL CSharp_ProxyPluginMgr_getInstance() {
  4422. void * jresult ;
  4423. ProxyPluginMgr *result = 0 ;
  4424. result = (ProxyPluginMgr *)ProxyPluginMgr::getInstance();
  4425. jresult = (void *)result;
  4426. return jresult;
  4427. }
  4428. SWIGEXPORT void * SWIGSTDCALL CSharp_ProxyPluginMgr_findPlugin(void * jarg1, unsigned long long jarg2) {
  4429. void * jresult ;
  4430. ProxyPluginMgr *arg1 = (ProxyPluginMgr *) 0 ;
  4431. uint64_t arg2 ;
  4432. ProxyPlugin *result = 0 ;
  4433. arg1 = (ProxyPluginMgr *)jarg1;
  4434. arg2 = (uint64_t)jarg2;
  4435. result = (ProxyPlugin *)(arg1)->findPlugin(arg2);
  4436. jresult = (void *)result;
  4437. return jresult;
  4438. }
  4439. SWIGEXPORT void * SWIGSTDCALL CSharp_ProxyPluginMgr_findAudioConsumer(void * jarg1, unsigned long long jarg2) {
  4440. void * jresult ;
  4441. ProxyPluginMgr *arg1 = (ProxyPluginMgr *) 0 ;
  4442. uint64_t arg2 ;
  4443. ProxyAudioConsumer *result = 0 ;
  4444. arg1 = (ProxyPluginMgr *)jarg1;
  4445. arg2 = (uint64_t)jarg2;
  4446. result = (ProxyAudioConsumer *)(arg1)->findAudioConsumer(arg2);
  4447. jresult = (void *)result;
  4448. return jresult;
  4449. }
  4450. SWIGEXPORT void * SWIGSTDCALL CSharp_ProxyPluginMgr_findVideoConsumer(void * jarg1, unsigned long long jarg2) {
  4451. void * jresult ;
  4452. ProxyPluginMgr *arg1 = (ProxyPluginMgr *) 0 ;
  4453. uint64_t arg2 ;
  4454. ProxyVideoConsumer *result = 0 ;
  4455. arg1 = (ProxyPluginMgr *)jarg1;
  4456. arg2 = (uint64_t)jarg2;
  4457. result = (ProxyVideoConsumer *)(arg1)->findVideoConsumer(arg2);
  4458. jresult = (void *)result;
  4459. return jresult;
  4460. }
  4461. SWIGEXPORT void * SWIGSTDCALL CSharp_ProxyPluginMgr_findAudioProducer(void * jarg1, unsigned long long jarg2) {
  4462. void * jresult ;
  4463. ProxyPluginMgr *arg1 = (ProxyPluginMgr *) 0 ;
  4464. uint64_t arg2 ;
  4465. ProxyAudioProducer *result = 0 ;
  4466. arg1 = (ProxyPluginMgr *)jarg1;
  4467. arg2 = (uint64_t)jarg2;
  4468. result = (ProxyAudioProducer *)(arg1)->findAudioProducer(arg2);
  4469. jresult = (void *)result;
  4470. return jresult;
  4471. }
  4472. SWIGEXPORT void * SWIGSTDCALL CSharp_ProxyPluginMgr_findVideoProducer(void * jarg1, unsigned long long jarg2) {
  4473. void * jresult ;
  4474. ProxyPluginMgr *arg1 = (ProxyPluginMgr *) 0 ;
  4475. uint64_t arg2 ;
  4476. ProxyVideoProducer *result = 0 ;
  4477. arg1 = (ProxyPluginMgr *)jarg1;
  4478. arg2 = (uint64_t)jarg2;
  4479. result = (ProxyVideoProducer *)(arg1)->findVideoProducer(arg2);
  4480. jresult = (void *)result;
  4481. return jresult;
  4482. }
  4483. SWIGEXPORT void * SWIGSTDCALL CSharp_new_ProxyPluginMgrCallback() {
  4484. void * jresult ;
  4485. ProxyPluginMgrCallback *result = 0 ;
  4486. result = (ProxyPluginMgrCallback *)new SwigDirector_ProxyPluginMgrCallback();
  4487. jresult = (void *)result;
  4488. return jresult;
  4489. }
  4490. SWIGEXPORT void SWIGSTDCALL CSharp_delete_ProxyPluginMgrCallback(void * jarg1) {
  4491. ProxyPluginMgrCallback *arg1 = (ProxyPluginMgrCallback *) 0 ;
  4492. arg1 = (ProxyPluginMgrCallback *)jarg1;
  4493. delete arg1;
  4494. }
  4495. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyPluginMgrCallback_OnPluginCreated(void * jarg1, unsigned long long jarg2, int jarg3) {
  4496. int jresult ;
  4497. ProxyPluginMgrCallback *arg1 = (ProxyPluginMgrCallback *) 0 ;
  4498. uint64_t arg2 ;
  4499. enum twrap_proxy_plugin_type_e arg3 ;
  4500. int result;
  4501. arg1 = (ProxyPluginMgrCallback *)jarg1;
  4502. arg2 = (uint64_t)jarg2;
  4503. arg3 = (enum twrap_proxy_plugin_type_e)jarg3;
  4504. result = (int)(arg1)->OnPluginCreated(arg2,arg3);
  4505. jresult = result;
  4506. return jresult;
  4507. }
  4508. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyPluginMgrCallback_OnPluginCreatedSwigExplicitProxyPluginMgrCallback(void * jarg1, unsigned long long jarg2, int jarg3) {
  4509. int jresult ;
  4510. ProxyPluginMgrCallback *arg1 = (ProxyPluginMgrCallback *) 0 ;
  4511. uint64_t arg2 ;
  4512. enum twrap_proxy_plugin_type_e arg3 ;
  4513. int result;
  4514. arg1 = (ProxyPluginMgrCallback *)jarg1;
  4515. arg2 = (uint64_t)jarg2;
  4516. arg3 = (enum twrap_proxy_plugin_type_e)jarg3;
  4517. result = (int)(arg1)->ProxyPluginMgrCallback::OnPluginCreated(arg2,arg3);
  4518. jresult = result;
  4519. return jresult;
  4520. }
  4521. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyPluginMgrCallback_OnPluginDestroyed(void * jarg1, unsigned long long jarg2, int jarg3) {
  4522. int jresult ;
  4523. ProxyPluginMgrCallback *arg1 = (ProxyPluginMgrCallback *) 0 ;
  4524. uint64_t arg2 ;
  4525. enum twrap_proxy_plugin_type_e arg3 ;
  4526. int result;
  4527. arg1 = (ProxyPluginMgrCallback *)jarg1;
  4528. arg2 = (uint64_t)jarg2;
  4529. arg3 = (enum twrap_proxy_plugin_type_e)jarg3;
  4530. result = (int)(arg1)->OnPluginDestroyed(arg2,arg3);
  4531. jresult = result;
  4532. return jresult;
  4533. }
  4534. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyPluginMgrCallback_OnPluginDestroyedSwigExplicitProxyPluginMgrCallback(void * jarg1, unsigned long long jarg2, int jarg3) {
  4535. int jresult ;
  4536. ProxyPluginMgrCallback *arg1 = (ProxyPluginMgrCallback *) 0 ;
  4537. uint64_t arg2 ;
  4538. enum twrap_proxy_plugin_type_e arg3 ;
  4539. int result;
  4540. arg1 = (ProxyPluginMgrCallback *)jarg1;
  4541. arg2 = (uint64_t)jarg2;
  4542. arg3 = (enum twrap_proxy_plugin_type_e)jarg3;
  4543. result = (int)(arg1)->ProxyPluginMgrCallback::OnPluginDestroyed(arg2,arg3);
  4544. jresult = result;
  4545. return jresult;
  4546. }
  4547. SWIGEXPORT void SWIGSTDCALL CSharp_ProxyPluginMgrCallback_director_connect(void *objarg, SwigDirector_ProxyPluginMgrCallback::SWIG_Callback0_t callback0, SwigDirector_ProxyPluginMgrCallback::SWIG_Callback1_t callback1) {
  4548. ProxyPluginMgrCallback *obj = (ProxyPluginMgrCallback *)objarg;
  4549. SwigDirector_ProxyPluginMgrCallback *director = dynamic_cast<SwigDirector_ProxyPluginMgrCallback *>(obj);
  4550. if (director) {
  4551. director->swig_connect_director(callback0, callback1);
  4552. }
  4553. }
  4554. SWIGEXPORT void SWIGSTDCALL CSharp_delete_ProxyPlugin(void * jarg1) {
  4555. ProxyPlugin *arg1 = (ProxyPlugin *) 0 ;
  4556. arg1 = (ProxyPlugin *)jarg1;
  4557. delete arg1;
  4558. }
  4559. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyPlugin_getType(void * jarg1) {
  4560. int jresult ;
  4561. ProxyPlugin *arg1 = (ProxyPlugin *) 0 ;
  4562. twrap_proxy_plugin_type_t result;
  4563. arg1 = (ProxyPlugin *)jarg1;
  4564. result = (twrap_proxy_plugin_type_t)((ProxyPlugin const *)arg1)->getType();
  4565. jresult = result;
  4566. return jresult;
  4567. }
  4568. SWIGEXPORT unsigned long long SWIGSTDCALL CSharp_ProxyPlugin_getId(void * jarg1) {
  4569. unsigned long long jresult ;
  4570. ProxyPlugin *arg1 = (ProxyPlugin *) 0 ;
  4571. uint64_t result;
  4572. arg1 = (ProxyPlugin *)jarg1;
  4573. result = (uint64_t)((ProxyPlugin const *)arg1)->getId();
  4574. jresult = result;
  4575. return jresult;
  4576. }
  4577. SWIGEXPORT void * SWIGSTDCALL CSharp_new_ProxyAudioConsumerCallback() {
  4578. void * jresult ;
  4579. ProxyAudioConsumerCallback *result = 0 ;
  4580. result = (ProxyAudioConsumerCallback *)new SwigDirector_ProxyAudioConsumerCallback();
  4581. jresult = (void *)result;
  4582. return jresult;
  4583. }
  4584. SWIGEXPORT void SWIGSTDCALL CSharp_delete_ProxyAudioConsumerCallback(void * jarg1) {
  4585. ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
  4586. arg1 = (ProxyAudioConsumerCallback *)jarg1;
  4587. delete arg1;
  4588. }
  4589. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioConsumerCallback_prepare(void * jarg1, int jarg2, int jarg3, int jarg4) {
  4590. int jresult ;
  4591. ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
  4592. int arg2 ;
  4593. int arg3 ;
  4594. int arg4 ;
  4595. int result;
  4596. arg1 = (ProxyAudioConsumerCallback *)jarg1;
  4597. arg2 = (int)jarg2;
  4598. arg3 = (int)jarg3;
  4599. arg4 = (int)jarg4;
  4600. result = (int)(arg1)->prepare(arg2,arg3,arg4);
  4601. jresult = result;
  4602. return jresult;
  4603. }
  4604. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioConsumerCallback_prepareSwigExplicitProxyAudioConsumerCallback(void * jarg1, int jarg2, int jarg3, int jarg4) {
  4605. int jresult ;
  4606. ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
  4607. int arg2 ;
  4608. int arg3 ;
  4609. int arg4 ;
  4610. int result;
  4611. arg1 = (ProxyAudioConsumerCallback *)jarg1;
  4612. arg2 = (int)jarg2;
  4613. arg3 = (int)jarg3;
  4614. arg4 = (int)jarg4;
  4615. result = (int)(arg1)->ProxyAudioConsumerCallback::prepare(arg2,arg3,arg4);
  4616. jresult = result;
  4617. return jresult;
  4618. }
  4619. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioConsumerCallback_start(void * jarg1) {
  4620. int jresult ;
  4621. ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
  4622. int result;
  4623. arg1 = (ProxyAudioConsumerCallback *)jarg1;
  4624. result = (int)(arg1)->start();
  4625. jresult = result;
  4626. return jresult;
  4627. }
  4628. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioConsumerCallback_startSwigExplicitProxyAudioConsumerCallback(void * jarg1) {
  4629. int jresult ;
  4630. ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
  4631. int result;
  4632. arg1 = (ProxyAudioConsumerCallback *)jarg1;
  4633. result = (int)(arg1)->ProxyAudioConsumerCallback::start();
  4634. jresult = result;
  4635. return jresult;
  4636. }
  4637. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioConsumerCallback_pause(void * jarg1) {
  4638. int jresult ;
  4639. ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
  4640. int result;
  4641. arg1 = (ProxyAudioConsumerCallback *)jarg1;
  4642. result = (int)(arg1)->pause();
  4643. jresult = result;
  4644. return jresult;
  4645. }
  4646. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioConsumerCallback_pauseSwigExplicitProxyAudioConsumerCallback(void * jarg1) {
  4647. int jresult ;
  4648. ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
  4649. int result;
  4650. arg1 = (ProxyAudioConsumerCallback *)jarg1;
  4651. result = (int)(arg1)->ProxyAudioConsumerCallback::pause();
  4652. jresult = result;
  4653. return jresult;
  4654. }
  4655. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioConsumerCallback_stop(void * jarg1) {
  4656. int jresult ;
  4657. ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
  4658. int result;
  4659. arg1 = (ProxyAudioConsumerCallback *)jarg1;
  4660. result = (int)(arg1)->stop();
  4661. jresult = result;
  4662. return jresult;
  4663. }
  4664. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioConsumerCallback_stopSwigExplicitProxyAudioConsumerCallback(void * jarg1) {
  4665. int jresult ;
  4666. ProxyAudioConsumerCallback *arg1 = (ProxyAudioConsumerCallback *) 0 ;
  4667. int result;
  4668. arg1 = (ProxyAudioConsumerCallback *)jarg1;
  4669. result = (int)(arg1)->ProxyAudioConsumerCallback::stop();
  4670. jresult = result;
  4671. return jresult;
  4672. }
  4673. 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) {
  4674. ProxyAudioConsumerCallback *obj = (ProxyAudioConsumerCallback *)objarg;
  4675. SwigDirector_ProxyAudioConsumerCallback *director = dynamic_cast<SwigDirector_ProxyAudioConsumerCallback *>(obj);
  4676. if (director) {
  4677. director->swig_connect_director(callback0, callback1, callback2, callback3);
  4678. }
  4679. }
  4680. SWIGEXPORT void SWIGSTDCALL CSharp_delete_ProxyAudioConsumer(void * jarg1) {
  4681. ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
  4682. arg1 = (ProxyAudioConsumer *)jarg1;
  4683. delete arg1;
  4684. }
  4685. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyAudioConsumer_setActualSndCardPlaybackParams(void * jarg1, int jarg2, int jarg3, int jarg4) {
  4686. unsigned int jresult ;
  4687. ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
  4688. int arg2 ;
  4689. int arg3 ;
  4690. int arg4 ;
  4691. bool result;
  4692. arg1 = (ProxyAudioConsumer *)jarg1;
  4693. arg2 = (int)jarg2;
  4694. arg3 = (int)jarg3;
  4695. arg4 = (int)jarg4;
  4696. result = (bool)(arg1)->setActualSndCardPlaybackParams(arg2,arg3,arg4);
  4697. jresult = result;
  4698. return jresult;
  4699. }
  4700. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyAudioConsumer_queryForResampler(void * jarg1, unsigned short jarg2, unsigned short jarg3, unsigned short jarg4, unsigned short jarg5, unsigned short jarg6) {
  4701. unsigned int jresult ;
  4702. ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
  4703. uint16_t arg2 ;
  4704. uint16_t arg3 ;
  4705. uint16_t arg4 ;
  4706. uint16_t arg5 ;
  4707. uint16_t arg6 ;
  4708. bool result;
  4709. arg1 = (ProxyAudioConsumer *)jarg1;
  4710. arg2 = (uint16_t)jarg2;
  4711. arg3 = (uint16_t)jarg3;
  4712. arg4 = (uint16_t)jarg4;
  4713. arg5 = (uint16_t)jarg5;
  4714. arg6 = (uint16_t)jarg6;
  4715. result = (bool)(arg1)->queryForResampler(arg2,arg3,arg4,arg5,arg6);
  4716. jresult = result;
  4717. return jresult;
  4718. }
  4719. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyAudioConsumer_setPullBuffer(void * jarg1, void * jarg2, unsigned int jarg3) {
  4720. unsigned int jresult ;
  4721. ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
  4722. void *arg2 = (void *) 0 ;
  4723. unsigned int arg3 ;
  4724. bool result;
  4725. arg1 = (ProxyAudioConsumer *)jarg1;
  4726. arg2 = jarg2;
  4727. arg3 = (unsigned int)jarg3;
  4728. result = (bool)(arg1)->setPullBuffer((void const *)arg2,arg3);
  4729. jresult = result;
  4730. return jresult;
  4731. }
  4732. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyAudioConsumer_pull__SWIG_0(void * jarg1, void * jarg2, unsigned int jarg3) {
  4733. unsigned int jresult ;
  4734. ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
  4735. void *arg2 = (void *) 0 ;
  4736. unsigned int arg3 ;
  4737. unsigned int result;
  4738. arg1 = (ProxyAudioConsumer *)jarg1;
  4739. arg2 = jarg2;
  4740. arg3 = (unsigned int)jarg3;
  4741. result = (unsigned int)(arg1)->pull(arg2,arg3);
  4742. jresult = result;
  4743. return jresult;
  4744. }
  4745. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyAudioConsumer_pull__SWIG_1(void * jarg1, void * jarg2) {
  4746. unsigned int jresult ;
  4747. ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
  4748. void *arg2 = (void *) 0 ;
  4749. unsigned int result;
  4750. arg1 = (ProxyAudioConsumer *)jarg1;
  4751. arg2 = jarg2;
  4752. result = (unsigned int)(arg1)->pull(arg2);
  4753. jresult = result;
  4754. return jresult;
  4755. }
  4756. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyAudioConsumer_pull__SWIG_2(void * jarg1) {
  4757. unsigned int jresult ;
  4758. ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
  4759. unsigned int result;
  4760. arg1 = (ProxyAudioConsumer *)jarg1;
  4761. result = (unsigned int)(arg1)->pull();
  4762. jresult = result;
  4763. return jresult;
  4764. }
  4765. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyAudioConsumer_setGain(void * jarg1, unsigned int jarg2) {
  4766. unsigned int jresult ;
  4767. ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
  4768. unsigned int arg2 ;
  4769. bool result;
  4770. arg1 = (ProxyAudioConsumer *)jarg1;
  4771. arg2 = (unsigned int)jarg2;
  4772. result = (bool)(arg1)->setGain(arg2);
  4773. jresult = result;
  4774. return jresult;
  4775. }
  4776. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyAudioConsumer_getGain(void * jarg1) {
  4777. unsigned int jresult ;
  4778. ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
  4779. unsigned int result;
  4780. arg1 = (ProxyAudioConsumer *)jarg1;
  4781. result = (unsigned int)(arg1)->getGain();
  4782. jresult = result;
  4783. return jresult;
  4784. }
  4785. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyAudioConsumer_reset(void * jarg1) {
  4786. unsigned int jresult ;
  4787. ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
  4788. bool result;
  4789. arg1 = (ProxyAudioConsumer *)jarg1;
  4790. result = (bool)(arg1)->reset();
  4791. jresult = result;
  4792. return jresult;
  4793. }
  4794. SWIGEXPORT void SWIGSTDCALL CSharp_ProxyAudioConsumer_setCallback(void * jarg1, void * jarg2) {
  4795. ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
  4796. ProxyAudioConsumerCallback *arg2 = (ProxyAudioConsumerCallback *) 0 ;
  4797. arg1 = (ProxyAudioConsumer *)jarg1;
  4798. arg2 = (ProxyAudioConsumerCallback *)jarg2;
  4799. (arg1)->setCallback(arg2);
  4800. }
  4801. SWIGEXPORT unsigned long long SWIGSTDCALL CSharp_ProxyAudioConsumer_getMediaSessionId(void * jarg1) {
  4802. unsigned long long jresult ;
  4803. ProxyAudioConsumer *arg1 = (ProxyAudioConsumer *) 0 ;
  4804. uint64_t result;
  4805. arg1 = (ProxyAudioConsumer *)jarg1;
  4806. result = (uint64_t)(arg1)->getMediaSessionId();
  4807. jresult = result;
  4808. return jresult;
  4809. }
  4810. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyAudioConsumer_registerPlugin() {
  4811. unsigned int jresult ;
  4812. bool result;
  4813. result = (bool)ProxyAudioConsumer::registerPlugin();
  4814. jresult = result;
  4815. return jresult;
  4816. }
  4817. SWIGEXPORT void * SWIGSTDCALL CSharp_new_ProxyVideoConsumerCallback() {
  4818. void * jresult ;
  4819. ProxyVideoConsumerCallback *result = 0 ;
  4820. result = (ProxyVideoConsumerCallback *)new SwigDirector_ProxyVideoConsumerCallback();
  4821. jresult = (void *)result;
  4822. return jresult;
  4823. }
  4824. SWIGEXPORT void SWIGSTDCALL CSharp_delete_ProxyVideoConsumerCallback(void * jarg1) {
  4825. ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
  4826. arg1 = (ProxyVideoConsumerCallback *)jarg1;
  4827. delete arg1;
  4828. }
  4829. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoConsumerCallback_prepare(void * jarg1, int jarg2, int jarg3, int jarg4) {
  4830. int jresult ;
  4831. ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
  4832. int arg2 ;
  4833. int arg3 ;
  4834. int arg4 ;
  4835. int result;
  4836. arg1 = (ProxyVideoConsumerCallback *)jarg1;
  4837. arg2 = (int)jarg2;
  4838. arg3 = (int)jarg3;
  4839. arg4 = (int)jarg4;
  4840. result = (int)(arg1)->prepare(arg2,arg3,arg4);
  4841. jresult = result;
  4842. return jresult;
  4843. }
  4844. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoConsumerCallback_prepareSwigExplicitProxyVideoConsumerCallback(void * jarg1, int jarg2, int jarg3, int jarg4) {
  4845. int jresult ;
  4846. ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
  4847. int arg2 ;
  4848. int arg3 ;
  4849. int arg4 ;
  4850. int result;
  4851. arg1 = (ProxyVideoConsumerCallback *)jarg1;
  4852. arg2 = (int)jarg2;
  4853. arg3 = (int)jarg3;
  4854. arg4 = (int)jarg4;
  4855. result = (int)(arg1)->ProxyVideoConsumerCallback::prepare(arg2,arg3,arg4);
  4856. jresult = result;
  4857. return jresult;
  4858. }
  4859. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoConsumerCallback_consume(void * jarg1, void * jarg2) {
  4860. int jresult ;
  4861. ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
  4862. ProxyVideoFrame *arg2 = (ProxyVideoFrame *) 0 ;
  4863. int result;
  4864. arg1 = (ProxyVideoConsumerCallback *)jarg1;
  4865. arg2 = (ProxyVideoFrame *)jarg2;
  4866. result = (int)(arg1)->consume((ProxyVideoFrame const *)arg2);
  4867. jresult = result;
  4868. return jresult;
  4869. }
  4870. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoConsumerCallback_consumeSwigExplicitProxyVideoConsumerCallback(void * jarg1, void * jarg2) {
  4871. int jresult ;
  4872. ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
  4873. ProxyVideoFrame *arg2 = (ProxyVideoFrame *) 0 ;
  4874. int result;
  4875. arg1 = (ProxyVideoConsumerCallback *)jarg1;
  4876. arg2 = (ProxyVideoFrame *)jarg2;
  4877. result = (int)(arg1)->ProxyVideoConsumerCallback::consume((ProxyVideoFrame const *)arg2);
  4878. jresult = result;
  4879. return jresult;
  4880. }
  4881. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoConsumerCallback_bufferCopied(void * jarg1, unsigned int jarg2, unsigned int jarg3) {
  4882. int jresult ;
  4883. ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
  4884. unsigned int arg2 ;
  4885. unsigned int arg3 ;
  4886. int result;
  4887. arg1 = (ProxyVideoConsumerCallback *)jarg1;
  4888. arg2 = (unsigned int)jarg2;
  4889. arg3 = (unsigned int)jarg3;
  4890. result = (int)(arg1)->bufferCopied(arg2,arg3);
  4891. jresult = result;
  4892. return jresult;
  4893. }
  4894. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoConsumerCallback_bufferCopiedSwigExplicitProxyVideoConsumerCallback(void * jarg1, unsigned int jarg2, unsigned int jarg3) {
  4895. int jresult ;
  4896. ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
  4897. unsigned int arg2 ;
  4898. unsigned int arg3 ;
  4899. int result;
  4900. arg1 = (ProxyVideoConsumerCallback *)jarg1;
  4901. arg2 = (unsigned int)jarg2;
  4902. arg3 = (unsigned int)jarg3;
  4903. result = (int)(arg1)->ProxyVideoConsumerCallback::bufferCopied(arg2,arg3);
  4904. jresult = result;
  4905. return jresult;
  4906. }
  4907. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoConsumerCallback_start(void * jarg1) {
  4908. int jresult ;
  4909. ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
  4910. int result;
  4911. arg1 = (ProxyVideoConsumerCallback *)jarg1;
  4912. result = (int)(arg1)->start();
  4913. jresult = result;
  4914. return jresult;
  4915. }
  4916. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoConsumerCallback_startSwigExplicitProxyVideoConsumerCallback(void * jarg1) {
  4917. int jresult ;
  4918. ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
  4919. int result;
  4920. arg1 = (ProxyVideoConsumerCallback *)jarg1;
  4921. result = (int)(arg1)->ProxyVideoConsumerCallback::start();
  4922. jresult = result;
  4923. return jresult;
  4924. }
  4925. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoConsumerCallback_pause(void * jarg1) {
  4926. int jresult ;
  4927. ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
  4928. int result;
  4929. arg1 = (ProxyVideoConsumerCallback *)jarg1;
  4930. result = (int)(arg1)->pause();
  4931. jresult = result;
  4932. return jresult;
  4933. }
  4934. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoConsumerCallback_pauseSwigExplicitProxyVideoConsumerCallback(void * jarg1) {
  4935. int jresult ;
  4936. ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
  4937. int result;
  4938. arg1 = (ProxyVideoConsumerCallback *)jarg1;
  4939. result = (int)(arg1)->ProxyVideoConsumerCallback::pause();
  4940. jresult = result;
  4941. return jresult;
  4942. }
  4943. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoConsumerCallback_stop(void * jarg1) {
  4944. int jresult ;
  4945. ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
  4946. int result;
  4947. arg1 = (ProxyVideoConsumerCallback *)jarg1;
  4948. result = (int)(arg1)->stop();
  4949. jresult = result;
  4950. return jresult;
  4951. }
  4952. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoConsumerCallback_stopSwigExplicitProxyVideoConsumerCallback(void * jarg1) {
  4953. int jresult ;
  4954. ProxyVideoConsumerCallback *arg1 = (ProxyVideoConsumerCallback *) 0 ;
  4955. int result;
  4956. arg1 = (ProxyVideoConsumerCallback *)jarg1;
  4957. result = (int)(arg1)->ProxyVideoConsumerCallback::stop();
  4958. jresult = result;
  4959. return jresult;
  4960. }
  4961. 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, SwigDirector_ProxyVideoConsumerCallback::SWIG_Callback5_t callback5) {
  4962. ProxyVideoConsumerCallback *obj = (ProxyVideoConsumerCallback *)objarg;
  4963. SwigDirector_ProxyVideoConsumerCallback *director = dynamic_cast<SwigDirector_ProxyVideoConsumerCallback *>(obj);
  4964. if (director) {
  4965. director->swig_connect_director(callback0, callback1, callback2, callback3, callback4, callback5);
  4966. }
  4967. }
  4968. SWIGEXPORT void SWIGSTDCALL CSharp_delete_ProxyVideoConsumer(void * jarg1) {
  4969. ProxyVideoConsumer *arg1 = (ProxyVideoConsumer *) 0 ;
  4970. arg1 = (ProxyVideoConsumer *)jarg1;
  4971. delete arg1;
  4972. }
  4973. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyVideoConsumer_setDisplaySize(void * jarg1, unsigned int jarg2, unsigned int jarg3) {
  4974. unsigned int jresult ;
  4975. ProxyVideoConsumer *arg1 = (ProxyVideoConsumer *) 0 ;
  4976. unsigned int arg2 ;
  4977. unsigned int arg3 ;
  4978. bool result;
  4979. arg1 = (ProxyVideoConsumer *)jarg1;
  4980. arg2 = (unsigned int)jarg2;
  4981. arg3 = (unsigned int)jarg3;
  4982. result = (bool)(arg1)->setDisplaySize(arg2,arg3);
  4983. jresult = result;
  4984. return jresult;
  4985. }
  4986. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyVideoConsumer_getDisplayWidth(void * jarg1) {
  4987. unsigned int jresult ;
  4988. ProxyVideoConsumer *arg1 = (ProxyVideoConsumer *) 0 ;
  4989. unsigned int result;
  4990. arg1 = (ProxyVideoConsumer *)jarg1;
  4991. result = (unsigned int)(arg1)->getDisplayWidth();
  4992. jresult = result;
  4993. return jresult;
  4994. }
  4995. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyVideoConsumer_getDisplayHeight(void * jarg1) {
  4996. unsigned int jresult ;
  4997. ProxyVideoConsumer *arg1 = (ProxyVideoConsumer *) 0 ;
  4998. unsigned int result;
  4999. arg1 = (ProxyVideoConsumer *)jarg1;
  5000. result = (unsigned int)(arg1)->getDisplayHeight();
  5001. jresult = result;
  5002. return jresult;
  5003. }
  5004. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyVideoConsumer_getDecodedWidth(void * jarg1) {
  5005. unsigned int jresult ;
  5006. ProxyVideoConsumer *arg1 = (ProxyVideoConsumer *) 0 ;
  5007. unsigned int result;
  5008. arg1 = (ProxyVideoConsumer *)jarg1;
  5009. result = (unsigned int)(arg1)->getDecodedWidth();
  5010. jresult = result;
  5011. return jresult;
  5012. }
  5013. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyVideoConsumer_getDecodedHeight(void * jarg1) {
  5014. unsigned int jresult ;
  5015. ProxyVideoConsumer *arg1 = (ProxyVideoConsumer *) 0 ;
  5016. unsigned int result;
  5017. arg1 = (ProxyVideoConsumer *)jarg1;
  5018. result = (unsigned int)(arg1)->getDecodedHeight();
  5019. jresult = result;
  5020. return jresult;
  5021. }
  5022. SWIGEXPORT void SWIGSTDCALL CSharp_ProxyVideoConsumer_setCallback(void * jarg1, void * jarg2) {
  5023. ProxyVideoConsumer *arg1 = (ProxyVideoConsumer *) 0 ;
  5024. ProxyVideoConsumerCallback *arg2 = (ProxyVideoConsumerCallback *) 0 ;
  5025. arg1 = (ProxyVideoConsumer *)jarg1;
  5026. arg2 = (ProxyVideoConsumerCallback *)jarg2;
  5027. (arg1)->setCallback(arg2);
  5028. }
  5029. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyVideoConsumer_setAutoResizeDisplay(void * jarg1, unsigned int jarg2) {
  5030. unsigned int jresult ;
  5031. ProxyVideoConsumer *arg1 = (ProxyVideoConsumer *) 0 ;
  5032. bool arg2 ;
  5033. bool result;
  5034. arg1 = (ProxyVideoConsumer *)jarg1;
  5035. arg2 = jarg2 ? true : false;
  5036. result = (bool)(arg1)->setAutoResizeDisplay(arg2);
  5037. jresult = result;
  5038. return jresult;
  5039. }
  5040. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyVideoConsumer_getAutoResizeDisplay(void * jarg1) {
  5041. unsigned int jresult ;
  5042. ProxyVideoConsumer *arg1 = (ProxyVideoConsumer *) 0 ;
  5043. bool result;
  5044. arg1 = (ProxyVideoConsumer *)jarg1;
  5045. result = (bool)((ProxyVideoConsumer const *)arg1)->getAutoResizeDisplay();
  5046. jresult = result;
  5047. return jresult;
  5048. }
  5049. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyVideoConsumer_setConsumeBuffer(void * jarg1, void * jarg2, unsigned int jarg3) {
  5050. unsigned int jresult ;
  5051. ProxyVideoConsumer *arg1 = (ProxyVideoConsumer *) 0 ;
  5052. void *arg2 = (void *) 0 ;
  5053. unsigned int arg3 ;
  5054. bool result;
  5055. arg1 = (ProxyVideoConsumer *)jarg1;
  5056. arg2 = jarg2;
  5057. arg3 = (unsigned int)jarg3;
  5058. result = (bool)(arg1)->setConsumeBuffer((void const *)arg2,arg3);
  5059. jresult = result;
  5060. return jresult;
  5061. }
  5062. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyVideoConsumer_pull(void * jarg1, void * jarg2, unsigned int jarg3) {
  5063. unsigned int jresult ;
  5064. ProxyVideoConsumer *arg1 = (ProxyVideoConsumer *) 0 ;
  5065. void *arg2 = (void *) 0 ;
  5066. unsigned int arg3 ;
  5067. unsigned int result;
  5068. arg1 = (ProxyVideoConsumer *)jarg1;
  5069. arg2 = jarg2;
  5070. arg3 = (unsigned int)jarg3;
  5071. result = (unsigned int)(arg1)->pull(arg2,arg3);
  5072. jresult = result;
  5073. return jresult;
  5074. }
  5075. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyVideoConsumer_reset(void * jarg1) {
  5076. unsigned int jresult ;
  5077. ProxyVideoConsumer *arg1 = (ProxyVideoConsumer *) 0 ;
  5078. bool result;
  5079. arg1 = (ProxyVideoConsumer *)jarg1;
  5080. result = (bool)(arg1)->reset();
  5081. jresult = result;
  5082. return jresult;
  5083. }
  5084. SWIGEXPORT unsigned long long SWIGSTDCALL CSharp_ProxyVideoConsumer_getMediaSessionId(void * jarg1) {
  5085. unsigned long long jresult ;
  5086. ProxyVideoConsumer *arg1 = (ProxyVideoConsumer *) 0 ;
  5087. uint64_t result;
  5088. arg1 = (ProxyVideoConsumer *)jarg1;
  5089. result = (uint64_t)(arg1)->getMediaSessionId();
  5090. jresult = result;
  5091. return jresult;
  5092. }
  5093. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyVideoConsumer_registerPlugin() {
  5094. unsigned int jresult ;
  5095. bool result;
  5096. result = (bool)ProxyVideoConsumer::registerPlugin();
  5097. jresult = result;
  5098. return jresult;
  5099. }
  5100. SWIGEXPORT void SWIGSTDCALL CSharp_ProxyVideoConsumer_setDefaultChroma(int jarg1) {
  5101. tmedia_chroma_t arg1 ;
  5102. arg1 = (tmedia_chroma_t)jarg1;
  5103. ProxyVideoConsumer::setDefaultChroma(arg1);
  5104. }
  5105. SWIGEXPORT void SWIGSTDCALL CSharp_ProxyVideoConsumer_setDefaultAutoResizeDisplay(unsigned int jarg1) {
  5106. bool arg1 ;
  5107. arg1 = jarg1 ? true : false;
  5108. ProxyVideoConsumer::setDefaultAutoResizeDisplay(arg1);
  5109. }
  5110. SWIGEXPORT void SWIGSTDCALL CSharp_delete_ProxyVideoFrame(void * jarg1) {
  5111. ProxyVideoFrame *arg1 = (ProxyVideoFrame *) 0 ;
  5112. arg1 = (ProxyVideoFrame *)jarg1;
  5113. delete arg1;
  5114. }
  5115. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyVideoFrame_getSize(void * jarg1) {
  5116. unsigned int jresult ;
  5117. ProxyVideoFrame *arg1 = (ProxyVideoFrame *) 0 ;
  5118. unsigned int result;
  5119. arg1 = (ProxyVideoFrame *)jarg1;
  5120. result = (unsigned int)(arg1)->getSize();
  5121. jresult = result;
  5122. return jresult;
  5123. }
  5124. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyVideoFrame_getContent(void * jarg1, void * jarg2, unsigned int jarg3) {
  5125. unsigned int jresult ;
  5126. ProxyVideoFrame *arg1 = (ProxyVideoFrame *) 0 ;
  5127. void *arg2 = (void *) 0 ;
  5128. unsigned int arg3 ;
  5129. unsigned int result;
  5130. arg1 = (ProxyVideoFrame *)jarg1;
  5131. arg2 = jarg2;
  5132. arg3 = (unsigned int)jarg3;
  5133. result = (unsigned int)(arg1)->getContent(arg2,arg3);
  5134. jresult = result;
  5135. return jresult;
  5136. }
  5137. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyVideoFrame_getFrameWidth(void * jarg1) {
  5138. unsigned int jresult ;
  5139. ProxyVideoFrame *arg1 = (ProxyVideoFrame *) 0 ;
  5140. unsigned int result;
  5141. arg1 = (ProxyVideoFrame *)jarg1;
  5142. result = (unsigned int)((ProxyVideoFrame const *)arg1)->getFrameWidth();
  5143. jresult = result;
  5144. return jresult;
  5145. }
  5146. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyVideoFrame_getFrameHeight(void * jarg1) {
  5147. unsigned int jresult ;
  5148. ProxyVideoFrame *arg1 = (ProxyVideoFrame *) 0 ;
  5149. unsigned int result;
  5150. arg1 = (ProxyVideoFrame *)jarg1;
  5151. result = (unsigned int)((ProxyVideoFrame const *)arg1)->getFrameHeight();
  5152. jresult = result;
  5153. return jresult;
  5154. }
  5155. SWIGEXPORT void * SWIGSTDCALL CSharp_new_ProxyAudioProducerCallback() {
  5156. void * jresult ;
  5157. ProxyAudioProducerCallback *result = 0 ;
  5158. result = (ProxyAudioProducerCallback *)new SwigDirector_ProxyAudioProducerCallback();
  5159. jresult = (void *)result;
  5160. return jresult;
  5161. }
  5162. SWIGEXPORT void SWIGSTDCALL CSharp_delete_ProxyAudioProducerCallback(void * jarg1) {
  5163. ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
  5164. arg1 = (ProxyAudioProducerCallback *)jarg1;
  5165. delete arg1;
  5166. }
  5167. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioProducerCallback_prepare(void * jarg1, int jarg2, int jarg3, int jarg4) {
  5168. int jresult ;
  5169. ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
  5170. int arg2 ;
  5171. int arg3 ;
  5172. int arg4 ;
  5173. int result;
  5174. arg1 = (ProxyAudioProducerCallback *)jarg1;
  5175. arg2 = (int)jarg2;
  5176. arg3 = (int)jarg3;
  5177. arg4 = (int)jarg4;
  5178. result = (int)(arg1)->prepare(arg2,arg3,arg4);
  5179. jresult = result;
  5180. return jresult;
  5181. }
  5182. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioProducerCallback_prepareSwigExplicitProxyAudioProducerCallback(void * jarg1, int jarg2, int jarg3, int jarg4) {
  5183. int jresult ;
  5184. ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
  5185. int arg2 ;
  5186. int arg3 ;
  5187. int arg4 ;
  5188. int result;
  5189. arg1 = (ProxyAudioProducerCallback *)jarg1;
  5190. arg2 = (int)jarg2;
  5191. arg3 = (int)jarg3;
  5192. arg4 = (int)jarg4;
  5193. result = (int)(arg1)->ProxyAudioProducerCallback::prepare(arg2,arg3,arg4);
  5194. jresult = result;
  5195. return jresult;
  5196. }
  5197. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioProducerCallback_start(void * jarg1) {
  5198. int jresult ;
  5199. ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
  5200. int result;
  5201. arg1 = (ProxyAudioProducerCallback *)jarg1;
  5202. result = (int)(arg1)->start();
  5203. jresult = result;
  5204. return jresult;
  5205. }
  5206. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioProducerCallback_startSwigExplicitProxyAudioProducerCallback(void * jarg1) {
  5207. int jresult ;
  5208. ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
  5209. int result;
  5210. arg1 = (ProxyAudioProducerCallback *)jarg1;
  5211. result = (int)(arg1)->ProxyAudioProducerCallback::start();
  5212. jresult = result;
  5213. return jresult;
  5214. }
  5215. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioProducerCallback_pause(void * jarg1) {
  5216. int jresult ;
  5217. ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
  5218. int result;
  5219. arg1 = (ProxyAudioProducerCallback *)jarg1;
  5220. result = (int)(arg1)->pause();
  5221. jresult = result;
  5222. return jresult;
  5223. }
  5224. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioProducerCallback_pauseSwigExplicitProxyAudioProducerCallback(void * jarg1) {
  5225. int jresult ;
  5226. ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
  5227. int result;
  5228. arg1 = (ProxyAudioProducerCallback *)jarg1;
  5229. result = (int)(arg1)->ProxyAudioProducerCallback::pause();
  5230. jresult = result;
  5231. return jresult;
  5232. }
  5233. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioProducerCallback_stop(void * jarg1) {
  5234. int jresult ;
  5235. ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
  5236. int result;
  5237. arg1 = (ProxyAudioProducerCallback *)jarg1;
  5238. result = (int)(arg1)->stop();
  5239. jresult = result;
  5240. return jresult;
  5241. }
  5242. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioProducerCallback_stopSwigExplicitProxyAudioProducerCallback(void * jarg1) {
  5243. int jresult ;
  5244. ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
  5245. int result;
  5246. arg1 = (ProxyAudioProducerCallback *)jarg1;
  5247. result = (int)(arg1)->ProxyAudioProducerCallback::stop();
  5248. jresult = result;
  5249. return jresult;
  5250. }
  5251. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioProducerCallback_fillPushBuffer(void * jarg1) {
  5252. int jresult ;
  5253. ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
  5254. int result;
  5255. arg1 = (ProxyAudioProducerCallback *)jarg1;
  5256. result = (int)(arg1)->fillPushBuffer();
  5257. jresult = result;
  5258. return jresult;
  5259. }
  5260. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioProducerCallback_fillPushBufferSwigExplicitProxyAudioProducerCallback(void * jarg1) {
  5261. int jresult ;
  5262. ProxyAudioProducerCallback *arg1 = (ProxyAudioProducerCallback *) 0 ;
  5263. int result;
  5264. arg1 = (ProxyAudioProducerCallback *)jarg1;
  5265. result = (int)(arg1)->ProxyAudioProducerCallback::fillPushBuffer();
  5266. jresult = result;
  5267. return jresult;
  5268. }
  5269. 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, SwigDirector_ProxyAudioProducerCallback::SWIG_Callback4_t callback4) {
  5270. ProxyAudioProducerCallback *obj = (ProxyAudioProducerCallback *)objarg;
  5271. SwigDirector_ProxyAudioProducerCallback *director = dynamic_cast<SwigDirector_ProxyAudioProducerCallback *>(obj);
  5272. if (director) {
  5273. director->swig_connect_director(callback0, callback1, callback2, callback3, callback4);
  5274. }
  5275. }
  5276. SWIGEXPORT void SWIGSTDCALL CSharp_delete_ProxyAudioProducer(void * jarg1) {
  5277. ProxyAudioProducer *arg1 = (ProxyAudioProducer *) 0 ;
  5278. arg1 = (ProxyAudioProducer *)jarg1;
  5279. delete arg1;
  5280. }
  5281. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyAudioProducer_setActualSndCardRecordParams(void * jarg1, int jarg2, int jarg3, int jarg4) {
  5282. unsigned int jresult ;
  5283. ProxyAudioProducer *arg1 = (ProxyAudioProducer *) 0 ;
  5284. int arg2 ;
  5285. int arg3 ;
  5286. int arg4 ;
  5287. bool result;
  5288. arg1 = (ProxyAudioProducer *)jarg1;
  5289. arg2 = (int)jarg2;
  5290. arg3 = (int)jarg3;
  5291. arg4 = (int)jarg4;
  5292. result = (bool)(arg1)->setActualSndCardRecordParams(arg2,arg3,arg4);
  5293. jresult = result;
  5294. return jresult;
  5295. }
  5296. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyAudioProducer_setPushBuffer__SWIG_0(void * jarg1, void * jarg2, unsigned int jarg3, unsigned int jarg4) {
  5297. unsigned int jresult ;
  5298. ProxyAudioProducer *arg1 = (ProxyAudioProducer *) 0 ;
  5299. void *arg2 = (void *) 0 ;
  5300. unsigned int arg3 ;
  5301. bool arg4 ;
  5302. bool result;
  5303. arg1 = (ProxyAudioProducer *)jarg1;
  5304. arg2 = jarg2;
  5305. arg3 = (unsigned int)jarg3;
  5306. arg4 = jarg4 ? true : false;
  5307. result = (bool)(arg1)->setPushBuffer((void const *)arg2,arg3,arg4);
  5308. jresult = result;
  5309. return jresult;
  5310. }
  5311. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyAudioProducer_setPushBuffer__SWIG_1(void * jarg1, void * jarg2, unsigned int jarg3) {
  5312. unsigned int jresult ;
  5313. ProxyAudioProducer *arg1 = (ProxyAudioProducer *) 0 ;
  5314. void *arg2 = (void *) 0 ;
  5315. unsigned int arg3 ;
  5316. bool result;
  5317. arg1 = (ProxyAudioProducer *)jarg1;
  5318. arg2 = jarg2;
  5319. arg3 = (unsigned int)jarg3;
  5320. result = (bool)(arg1)->setPushBuffer((void const *)arg2,arg3);
  5321. jresult = result;
  5322. return jresult;
  5323. }
  5324. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioProducer_push__SWIG_0(void * jarg1, void * jarg2, unsigned int jarg3) {
  5325. int jresult ;
  5326. ProxyAudioProducer *arg1 = (ProxyAudioProducer *) 0 ;
  5327. void *arg2 = (void *) 0 ;
  5328. unsigned int arg3 ;
  5329. int result;
  5330. arg1 = (ProxyAudioProducer *)jarg1;
  5331. arg2 = jarg2;
  5332. arg3 = (unsigned int)jarg3;
  5333. result = (int)(arg1)->push((void const *)arg2,arg3);
  5334. jresult = result;
  5335. return jresult;
  5336. }
  5337. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioProducer_push__SWIG_1(void * jarg1, void * jarg2) {
  5338. int jresult ;
  5339. ProxyAudioProducer *arg1 = (ProxyAudioProducer *) 0 ;
  5340. void *arg2 = (void *) 0 ;
  5341. int result;
  5342. arg1 = (ProxyAudioProducer *)jarg1;
  5343. arg2 = jarg2;
  5344. result = (int)(arg1)->push((void const *)arg2);
  5345. jresult = result;
  5346. return jresult;
  5347. }
  5348. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyAudioProducer_push__SWIG_2(void * jarg1) {
  5349. int jresult ;
  5350. ProxyAudioProducer *arg1 = (ProxyAudioProducer *) 0 ;
  5351. int result;
  5352. arg1 = (ProxyAudioProducer *)jarg1;
  5353. result = (int)(arg1)->push();
  5354. jresult = result;
  5355. return jresult;
  5356. }
  5357. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyAudioProducer_setGain(void * jarg1, unsigned int jarg2) {
  5358. unsigned int jresult ;
  5359. ProxyAudioProducer *arg1 = (ProxyAudioProducer *) 0 ;
  5360. unsigned int arg2 ;
  5361. bool result;
  5362. arg1 = (ProxyAudioProducer *)jarg1;
  5363. arg2 = (unsigned int)jarg2;
  5364. result = (bool)(arg1)->setGain(arg2);
  5365. jresult = result;
  5366. return jresult;
  5367. }
  5368. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyAudioProducer_getGain(void * jarg1) {
  5369. unsigned int jresult ;
  5370. ProxyAudioProducer *arg1 = (ProxyAudioProducer *) 0 ;
  5371. unsigned int result;
  5372. arg1 = (ProxyAudioProducer *)jarg1;
  5373. result = (unsigned int)(arg1)->getGain();
  5374. jresult = result;
  5375. return jresult;
  5376. }
  5377. SWIGEXPORT void SWIGSTDCALL CSharp_ProxyAudioProducer_setCallback(void * jarg1, void * jarg2) {
  5378. ProxyAudioProducer *arg1 = (ProxyAudioProducer *) 0 ;
  5379. ProxyAudioProducerCallback *arg2 = (ProxyAudioProducerCallback *) 0 ;
  5380. arg1 = (ProxyAudioProducer *)jarg1;
  5381. arg2 = (ProxyAudioProducerCallback *)jarg2;
  5382. (arg1)->setCallback(arg2);
  5383. }
  5384. SWIGEXPORT unsigned long long SWIGSTDCALL CSharp_ProxyAudioProducer_getMediaSessionId(void * jarg1) {
  5385. unsigned long long jresult ;
  5386. ProxyAudioProducer *arg1 = (ProxyAudioProducer *) 0 ;
  5387. uint64_t result;
  5388. arg1 = (ProxyAudioProducer *)jarg1;
  5389. result = (uint64_t)(arg1)->getMediaSessionId();
  5390. jresult = result;
  5391. return jresult;
  5392. }
  5393. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyAudioProducer_registerPlugin() {
  5394. unsigned int jresult ;
  5395. bool result;
  5396. result = (bool)ProxyAudioProducer::registerPlugin();
  5397. jresult = result;
  5398. return jresult;
  5399. }
  5400. SWIGEXPORT void * SWIGSTDCALL CSharp_new_ProxyVideoProducerCallback() {
  5401. void * jresult ;
  5402. ProxyVideoProducerCallback *result = 0 ;
  5403. result = (ProxyVideoProducerCallback *)new SwigDirector_ProxyVideoProducerCallback();
  5404. jresult = (void *)result;
  5405. return jresult;
  5406. }
  5407. SWIGEXPORT void SWIGSTDCALL CSharp_delete_ProxyVideoProducerCallback(void * jarg1) {
  5408. ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
  5409. arg1 = (ProxyVideoProducerCallback *)jarg1;
  5410. delete arg1;
  5411. }
  5412. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoProducerCallback_prepare(void * jarg1, int jarg2, int jarg3, int jarg4) {
  5413. int jresult ;
  5414. ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
  5415. int arg2 ;
  5416. int arg3 ;
  5417. int arg4 ;
  5418. int result;
  5419. arg1 = (ProxyVideoProducerCallback *)jarg1;
  5420. arg2 = (int)jarg2;
  5421. arg3 = (int)jarg3;
  5422. arg4 = (int)jarg4;
  5423. result = (int)(arg1)->prepare(arg2,arg3,arg4);
  5424. jresult = result;
  5425. return jresult;
  5426. }
  5427. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoProducerCallback_prepareSwigExplicitProxyVideoProducerCallback(void * jarg1, int jarg2, int jarg3, int jarg4) {
  5428. int jresult ;
  5429. ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
  5430. int arg2 ;
  5431. int arg3 ;
  5432. int arg4 ;
  5433. int result;
  5434. arg1 = (ProxyVideoProducerCallback *)jarg1;
  5435. arg2 = (int)jarg2;
  5436. arg3 = (int)jarg3;
  5437. arg4 = (int)jarg4;
  5438. result = (int)(arg1)->ProxyVideoProducerCallback::prepare(arg2,arg3,arg4);
  5439. jresult = result;
  5440. return jresult;
  5441. }
  5442. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoProducerCallback_start(void * jarg1) {
  5443. int jresult ;
  5444. ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
  5445. int result;
  5446. arg1 = (ProxyVideoProducerCallback *)jarg1;
  5447. result = (int)(arg1)->start();
  5448. jresult = result;
  5449. return jresult;
  5450. }
  5451. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoProducerCallback_startSwigExplicitProxyVideoProducerCallback(void * jarg1) {
  5452. int jresult ;
  5453. ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
  5454. int result;
  5455. arg1 = (ProxyVideoProducerCallback *)jarg1;
  5456. result = (int)(arg1)->ProxyVideoProducerCallback::start();
  5457. jresult = result;
  5458. return jresult;
  5459. }
  5460. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoProducerCallback_pause(void * jarg1) {
  5461. int jresult ;
  5462. ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
  5463. int result;
  5464. arg1 = (ProxyVideoProducerCallback *)jarg1;
  5465. result = (int)(arg1)->pause();
  5466. jresult = result;
  5467. return jresult;
  5468. }
  5469. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoProducerCallback_pauseSwigExplicitProxyVideoProducerCallback(void * jarg1) {
  5470. int jresult ;
  5471. ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
  5472. int result;
  5473. arg1 = (ProxyVideoProducerCallback *)jarg1;
  5474. result = (int)(arg1)->ProxyVideoProducerCallback::pause();
  5475. jresult = result;
  5476. return jresult;
  5477. }
  5478. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoProducerCallback_stop(void * jarg1) {
  5479. int jresult ;
  5480. ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
  5481. int result;
  5482. arg1 = (ProxyVideoProducerCallback *)jarg1;
  5483. result = (int)(arg1)->stop();
  5484. jresult = result;
  5485. return jresult;
  5486. }
  5487. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoProducerCallback_stopSwigExplicitProxyVideoProducerCallback(void * jarg1) {
  5488. int jresult ;
  5489. ProxyVideoProducerCallback *arg1 = (ProxyVideoProducerCallback *) 0 ;
  5490. int result;
  5491. arg1 = (ProxyVideoProducerCallback *)jarg1;
  5492. result = (int)(arg1)->ProxyVideoProducerCallback::stop();
  5493. jresult = result;
  5494. return jresult;
  5495. }
  5496. 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) {
  5497. ProxyVideoProducerCallback *obj = (ProxyVideoProducerCallback *)objarg;
  5498. SwigDirector_ProxyVideoProducerCallback *director = dynamic_cast<SwigDirector_ProxyVideoProducerCallback *>(obj);
  5499. if (director) {
  5500. director->swig_connect_director(callback0, callback1, callback2, callback3);
  5501. }
  5502. }
  5503. SWIGEXPORT void SWIGSTDCALL CSharp_delete_ProxyVideoProducer(void * jarg1) {
  5504. ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
  5505. arg1 = (ProxyVideoProducer *)jarg1;
  5506. delete arg1;
  5507. }
  5508. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoProducer_getRotation(void * jarg1) {
  5509. int jresult ;
  5510. ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
  5511. int result;
  5512. arg1 = (ProxyVideoProducer *)jarg1;
  5513. result = (int)((ProxyVideoProducer const *)arg1)->getRotation();
  5514. jresult = result;
  5515. return jresult;
  5516. }
  5517. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyVideoProducer_setRotation(void * jarg1, int jarg2) {
  5518. unsigned int jresult ;
  5519. ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
  5520. int arg2 ;
  5521. bool result;
  5522. arg1 = (ProxyVideoProducer *)jarg1;
  5523. arg2 = (int)jarg2;
  5524. result = (bool)(arg1)->setRotation(arg2);
  5525. jresult = result;
  5526. return jresult;
  5527. }
  5528. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyVideoProducer_getMirror(void * jarg1) {
  5529. unsigned int jresult ;
  5530. ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
  5531. bool result;
  5532. arg1 = (ProxyVideoProducer *)jarg1;
  5533. result = (bool)((ProxyVideoProducer const *)arg1)->getMirror();
  5534. jresult = result;
  5535. return jresult;
  5536. }
  5537. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyVideoProducer_setMirror(void * jarg1, unsigned int jarg2) {
  5538. unsigned int jresult ;
  5539. ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
  5540. bool arg2 ;
  5541. bool result;
  5542. arg1 = (ProxyVideoProducer *)jarg1;
  5543. arg2 = jarg2 ? true : false;
  5544. result = (bool)(arg1)->setMirror(arg2);
  5545. jresult = result;
  5546. return jresult;
  5547. }
  5548. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyVideoProducer_setActualCameraOutputSize(void * jarg1, unsigned int jarg2, unsigned int jarg3) {
  5549. unsigned int jresult ;
  5550. ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
  5551. unsigned int arg2 ;
  5552. unsigned int arg3 ;
  5553. bool result;
  5554. arg1 = (ProxyVideoProducer *)jarg1;
  5555. arg2 = (unsigned int)jarg2;
  5556. arg3 = (unsigned int)jarg3;
  5557. result = (bool)(arg1)->setActualCameraOutputSize(arg2,arg3);
  5558. jresult = result;
  5559. return jresult;
  5560. }
  5561. SWIGEXPORT int SWIGSTDCALL CSharp_ProxyVideoProducer_push(void * jarg1, void * jarg2, unsigned int jarg3) {
  5562. int jresult ;
  5563. ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
  5564. void *arg2 = (void *) 0 ;
  5565. unsigned int arg3 ;
  5566. int result;
  5567. arg1 = (ProxyVideoProducer *)jarg1;
  5568. arg2 = jarg2;
  5569. arg3 = (unsigned int)jarg3;
  5570. result = (int)(arg1)->push((void const *)arg2,arg3);
  5571. jresult = result;
  5572. return jresult;
  5573. }
  5574. SWIGEXPORT void SWIGSTDCALL CSharp_ProxyVideoProducer_setCallback(void * jarg1, void * jarg2) {
  5575. ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
  5576. ProxyVideoProducerCallback *arg2 = (ProxyVideoProducerCallback *) 0 ;
  5577. arg1 = (ProxyVideoProducer *)jarg1;
  5578. arg2 = (ProxyVideoProducerCallback *)jarg2;
  5579. (arg1)->setCallback(arg2);
  5580. }
  5581. SWIGEXPORT unsigned long long SWIGSTDCALL CSharp_ProxyVideoProducer_getMediaSessionId(void * jarg1) {
  5582. unsigned long long jresult ;
  5583. ProxyVideoProducer *arg1 = (ProxyVideoProducer *) 0 ;
  5584. uint64_t result;
  5585. arg1 = (ProxyVideoProducer *)jarg1;
  5586. result = (uint64_t)(arg1)->getMediaSessionId();
  5587. jresult = result;
  5588. return jresult;
  5589. }
  5590. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ProxyVideoProducer_registerPlugin() {
  5591. unsigned int jresult ;
  5592. bool result;
  5593. result = (bool)ProxyVideoProducer::registerPlugin();
  5594. jresult = result;
  5595. return jresult;
  5596. }
  5597. SWIGEXPORT void SWIGSTDCALL CSharp_ProxyVideoProducer_setDefaultChroma(int jarg1) {
  5598. tmedia_chroma_t arg1 ;
  5599. arg1 = (tmedia_chroma_t)jarg1;
  5600. ProxyVideoProducer::setDefaultChroma(arg1);
  5601. }
  5602. SWIGEXPORT void * SWIGSTDCALL CSharp_new_SipCallback() {
  5603. void * jresult ;
  5604. SipCallback *result = 0 ;
  5605. result = (SipCallback *)new SwigDirector_SipCallback();
  5606. jresult = (void *)result;
  5607. return jresult;
  5608. }
  5609. SWIGEXPORT void SWIGSTDCALL CSharp_delete_SipCallback(void * jarg1) {
  5610. SipCallback *arg1 = (SipCallback *) 0 ;
  5611. arg1 = (SipCallback *)jarg1;
  5612. delete arg1;
  5613. }
  5614. SWIGEXPORT int SWIGSTDCALL CSharp_SipCallback_OnDialogEvent(void * jarg1, void * jarg2) {
  5615. int jresult ;
  5616. SipCallback *arg1 = (SipCallback *) 0 ;
  5617. DialogEvent *arg2 = (DialogEvent *) 0 ;
  5618. int result;
  5619. arg1 = (SipCallback *)jarg1;
  5620. arg2 = (DialogEvent *)jarg2;
  5621. result = (int)(arg1)->OnDialogEvent((DialogEvent const *)arg2);
  5622. jresult = result;
  5623. return jresult;
  5624. }
  5625. SWIGEXPORT int SWIGSTDCALL CSharp_SipCallback_OnDialogEventSwigExplicitSipCallback(void * jarg1, void * jarg2) {
  5626. int jresult ;
  5627. SipCallback *arg1 = (SipCallback *) 0 ;
  5628. DialogEvent *arg2 = (DialogEvent *) 0 ;
  5629. int result;
  5630. arg1 = (SipCallback *)jarg1;
  5631. arg2 = (DialogEvent *)jarg2;
  5632. result = (int)(arg1)->SipCallback::OnDialogEvent((DialogEvent const *)arg2);
  5633. jresult = result;
  5634. return jresult;
  5635. }
  5636. SWIGEXPORT int SWIGSTDCALL CSharp_SipCallback_OnStackEvent(void * jarg1, void * jarg2) {
  5637. int jresult ;
  5638. SipCallback *arg1 = (SipCallback *) 0 ;
  5639. StackEvent *arg2 = (StackEvent *) 0 ;
  5640. int result;
  5641. arg1 = (SipCallback *)jarg1;
  5642. arg2 = (StackEvent *)jarg2;
  5643. result = (int)(arg1)->OnStackEvent((StackEvent const *)arg2);
  5644. jresult = result;
  5645. return jresult;
  5646. }
  5647. SWIGEXPORT int SWIGSTDCALL CSharp_SipCallback_OnStackEventSwigExplicitSipCallback(void * jarg1, void * jarg2) {
  5648. int jresult ;
  5649. SipCallback *arg1 = (SipCallback *) 0 ;
  5650. StackEvent *arg2 = (StackEvent *) 0 ;
  5651. int result;
  5652. arg1 = (SipCallback *)jarg1;
  5653. arg2 = (StackEvent *)jarg2;
  5654. result = (int)(arg1)->SipCallback::OnStackEvent((StackEvent const *)arg2);
  5655. jresult = result;
  5656. return jresult;
  5657. }
  5658. SWIGEXPORT int SWIGSTDCALL CSharp_SipCallback_OnInviteEvent(void * jarg1, void * jarg2) {
  5659. int jresult ;
  5660. SipCallback *arg1 = (SipCallback *) 0 ;
  5661. InviteEvent *arg2 = (InviteEvent *) 0 ;
  5662. int result;
  5663. arg1 = (SipCallback *)jarg1;
  5664. arg2 = (InviteEvent *)jarg2;
  5665. result = (int)(arg1)->OnInviteEvent((InviteEvent const *)arg2);
  5666. jresult = result;
  5667. return jresult;
  5668. }
  5669. SWIGEXPORT int SWIGSTDCALL CSharp_SipCallback_OnInviteEventSwigExplicitSipCallback(void * jarg1, void * jarg2) {
  5670. int jresult ;
  5671. SipCallback *arg1 = (SipCallback *) 0 ;
  5672. InviteEvent *arg2 = (InviteEvent *) 0 ;
  5673. int result;
  5674. arg1 = (SipCallback *)jarg1;
  5675. arg2 = (InviteEvent *)jarg2;
  5676. result = (int)(arg1)->SipCallback::OnInviteEvent((InviteEvent const *)arg2);
  5677. jresult = result;
  5678. return jresult;
  5679. }
  5680. SWIGEXPORT int SWIGSTDCALL CSharp_SipCallback_OnMessagingEvent(void * jarg1, void * jarg2) {
  5681. int jresult ;
  5682. SipCallback *arg1 = (SipCallback *) 0 ;
  5683. MessagingEvent *arg2 = (MessagingEvent *) 0 ;
  5684. int result;
  5685. arg1 = (SipCallback *)jarg1;
  5686. arg2 = (MessagingEvent *)jarg2;
  5687. result = (int)(arg1)->OnMessagingEvent((MessagingEvent const *)arg2);
  5688. jresult = result;
  5689. return jresult;
  5690. }
  5691. SWIGEXPORT int SWIGSTDCALL CSharp_SipCallback_OnMessagingEventSwigExplicitSipCallback(void * jarg1, void * jarg2) {
  5692. int jresult ;
  5693. SipCallback *arg1 = (SipCallback *) 0 ;
  5694. MessagingEvent *arg2 = (MessagingEvent *) 0 ;
  5695. int result;
  5696. arg1 = (SipCallback *)jarg1;
  5697. arg2 = (MessagingEvent *)jarg2;
  5698. result = (int)(arg1)->SipCallback::OnMessagingEvent((MessagingEvent const *)arg2);
  5699. jresult = result;
  5700. return jresult;
  5701. }
  5702. SWIGEXPORT int SWIGSTDCALL CSharp_SipCallback_OnInfoEvent(void * jarg1, void * jarg2) {
  5703. int jresult ;
  5704. SipCallback *arg1 = (SipCallback *) 0 ;
  5705. InfoEvent *arg2 = (InfoEvent *) 0 ;
  5706. int result;
  5707. arg1 = (SipCallback *)jarg1;
  5708. arg2 = (InfoEvent *)jarg2;
  5709. result = (int)(arg1)->OnInfoEvent((InfoEvent const *)arg2);
  5710. jresult = result;
  5711. return jresult;
  5712. }
  5713. SWIGEXPORT int SWIGSTDCALL CSharp_SipCallback_OnInfoEventSwigExplicitSipCallback(void * jarg1, void * jarg2) {
  5714. int jresult ;
  5715. SipCallback *arg1 = (SipCallback *) 0 ;
  5716. InfoEvent *arg2 = (InfoEvent *) 0 ;
  5717. int result;
  5718. arg1 = (SipCallback *)jarg1;
  5719. arg2 = (InfoEvent *)jarg2;
  5720. result = (int)(arg1)->SipCallback::OnInfoEvent((InfoEvent const *)arg2);
  5721. jresult = result;
  5722. return jresult;
  5723. }
  5724. SWIGEXPORT int SWIGSTDCALL CSharp_SipCallback_OnOptionsEvent(void * jarg1, void * jarg2) {
  5725. int jresult ;
  5726. SipCallback *arg1 = (SipCallback *) 0 ;
  5727. OptionsEvent *arg2 = (OptionsEvent *) 0 ;
  5728. int result;
  5729. arg1 = (SipCallback *)jarg1;
  5730. arg2 = (OptionsEvent *)jarg2;
  5731. result = (int)(arg1)->OnOptionsEvent((OptionsEvent const *)arg2);
  5732. jresult = result;
  5733. return jresult;
  5734. }
  5735. SWIGEXPORT int SWIGSTDCALL CSharp_SipCallback_OnOptionsEventSwigExplicitSipCallback(void * jarg1, void * jarg2) {
  5736. int jresult ;
  5737. SipCallback *arg1 = (SipCallback *) 0 ;
  5738. OptionsEvent *arg2 = (OptionsEvent *) 0 ;
  5739. int result;
  5740. arg1 = (SipCallback *)jarg1;
  5741. arg2 = (OptionsEvent *)jarg2;
  5742. result = (int)(arg1)->SipCallback::OnOptionsEvent((OptionsEvent const *)arg2);
  5743. jresult = result;
  5744. return jresult;
  5745. }
  5746. SWIGEXPORT int SWIGSTDCALL CSharp_SipCallback_OnPublicationEvent(void * jarg1, void * jarg2) {
  5747. int jresult ;
  5748. SipCallback *arg1 = (SipCallback *) 0 ;
  5749. PublicationEvent *arg2 = (PublicationEvent *) 0 ;
  5750. int result;
  5751. arg1 = (SipCallback *)jarg1;
  5752. arg2 = (PublicationEvent *)jarg2;
  5753. result = (int)(arg1)->OnPublicationEvent((PublicationEvent const *)arg2);
  5754. jresult = result;
  5755. return jresult;
  5756. }
  5757. SWIGEXPORT int SWIGSTDCALL CSharp_SipCallback_OnPublicationEventSwigExplicitSipCallback(void * jarg1, void * jarg2) {
  5758. int jresult ;
  5759. SipCallback *arg1 = (SipCallback *) 0 ;
  5760. PublicationEvent *arg2 = (PublicationEvent *) 0 ;
  5761. int result;
  5762. arg1 = (SipCallback *)jarg1;
  5763. arg2 = (PublicationEvent *)jarg2;
  5764. result = (int)(arg1)->SipCallback::OnPublicationEvent((PublicationEvent const *)arg2);
  5765. jresult = result;
  5766. return jresult;
  5767. }
  5768. SWIGEXPORT int SWIGSTDCALL CSharp_SipCallback_OnRegistrationEvent(void * jarg1, void * jarg2) {
  5769. int jresult ;
  5770. SipCallback *arg1 = (SipCallback *) 0 ;
  5771. RegistrationEvent *arg2 = (RegistrationEvent *) 0 ;
  5772. int result;
  5773. arg1 = (SipCallback *)jarg1;
  5774. arg2 = (RegistrationEvent *)jarg2;
  5775. result = (int)(arg1)->OnRegistrationEvent((RegistrationEvent const *)arg2);
  5776. jresult = result;
  5777. return jresult;
  5778. }
  5779. SWIGEXPORT int SWIGSTDCALL CSharp_SipCallback_OnRegistrationEventSwigExplicitSipCallback(void * jarg1, void * jarg2) {
  5780. int jresult ;
  5781. SipCallback *arg1 = (SipCallback *) 0 ;
  5782. RegistrationEvent *arg2 = (RegistrationEvent *) 0 ;
  5783. int result;
  5784. arg1 = (SipCallback *)jarg1;
  5785. arg2 = (RegistrationEvent *)jarg2;
  5786. result = (int)(arg1)->SipCallback::OnRegistrationEvent((RegistrationEvent const *)arg2);
  5787. jresult = result;
  5788. return jresult;
  5789. }
  5790. SWIGEXPORT int SWIGSTDCALL CSharp_SipCallback_OnSubscriptionEvent(void * jarg1, void * jarg2) {
  5791. int jresult ;
  5792. SipCallback *arg1 = (SipCallback *) 0 ;
  5793. SubscriptionEvent *arg2 = (SubscriptionEvent *) 0 ;
  5794. int result;
  5795. arg1 = (SipCallback *)jarg1;
  5796. arg2 = (SubscriptionEvent *)jarg2;
  5797. result = (int)(arg1)->OnSubscriptionEvent((SubscriptionEvent const *)arg2);
  5798. jresult = result;
  5799. return jresult;
  5800. }
  5801. SWIGEXPORT int SWIGSTDCALL CSharp_SipCallback_OnSubscriptionEventSwigExplicitSipCallback(void * jarg1, void * jarg2) {
  5802. int jresult ;
  5803. SipCallback *arg1 = (SipCallback *) 0 ;
  5804. SubscriptionEvent *arg2 = (SubscriptionEvent *) 0 ;
  5805. int result;
  5806. arg1 = (SipCallback *)jarg1;
  5807. arg2 = (SubscriptionEvent *)jarg2;
  5808. result = (int)(arg1)->SipCallback::OnSubscriptionEvent((SubscriptionEvent const *)arg2);
  5809. jresult = result;
  5810. return jresult;
  5811. }
  5812. 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, SwigDirector_SipCallback::SWIG_Callback8_t callback8) {
  5813. SipCallback *obj = (SipCallback *)objarg;
  5814. SwigDirector_SipCallback *director = dynamic_cast<SwigDirector_SipCallback *>(obj);
  5815. if (director) {
  5816. director->swig_connect_director(callback0, callback1, callback2, callback3, callback4, callback5, callback6, callback7, callback8);
  5817. }
  5818. }
  5819. SWIGEXPORT void * SWIGSTDCALL CSharp_new_SafeObject() {
  5820. void * jresult ;
  5821. SafeObject *result = 0 ;
  5822. result = (SafeObject *)new SafeObject();
  5823. jresult = (void *)result;
  5824. return jresult;
  5825. }
  5826. SWIGEXPORT void SWIGSTDCALL CSharp_delete_SafeObject(void * jarg1) {
  5827. SafeObject *arg1 = (SafeObject *) 0 ;
  5828. arg1 = (SafeObject *)jarg1;
  5829. delete arg1;
  5830. }
  5831. SWIGEXPORT int SWIGSTDCALL CSharp_SafeObject_Lock(void * jarg1) {
  5832. int jresult ;
  5833. SafeObject *arg1 = (SafeObject *) 0 ;
  5834. int result;
  5835. arg1 = (SafeObject *)jarg1;
  5836. result = (int)((SafeObject const *)arg1)->Lock();
  5837. jresult = result;
  5838. return jresult;
  5839. }
  5840. SWIGEXPORT int SWIGSTDCALL CSharp_SafeObject_UnLock(void * jarg1) {
  5841. int jresult ;
  5842. SafeObject *arg1 = (SafeObject *) 0 ;
  5843. int result;
  5844. arg1 = (SafeObject *)jarg1;
  5845. result = (int)((SafeObject const *)arg1)->UnLock();
  5846. jresult = result;
  5847. return jresult;
  5848. }
  5849. SWIGEXPORT void * SWIGSTDCALL CSharp_new_SipStack(void * jarg1, char * jarg2, char * jarg3, char * jarg4) {
  5850. void * jresult ;
  5851. SipCallback *arg1 = (SipCallback *) 0 ;
  5852. char *arg2 = (char *) 0 ;
  5853. char *arg3 = (char *) 0 ;
  5854. char *arg4 = (char *) 0 ;
  5855. SipStack *result = 0 ;
  5856. arg1 = (SipCallback *)jarg1;
  5857. arg2 = (char *)jarg2;
  5858. arg3 = (char *)jarg3;
  5859. arg4 = (char *)jarg4;
  5860. result = (SipStack *)new SipStack(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
  5861. jresult = (void *)result;
  5862. return jresult;
  5863. }
  5864. SWIGEXPORT void SWIGSTDCALL CSharp_delete_SipStack(void * jarg1) {
  5865. SipStack *arg1 = (SipStack *) 0 ;
  5866. arg1 = (SipStack *)jarg1;
  5867. delete arg1;
  5868. }
  5869. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_start(void * jarg1) {
  5870. unsigned int jresult ;
  5871. SipStack *arg1 = (SipStack *) 0 ;
  5872. bool result;
  5873. arg1 = (SipStack *)jarg1;
  5874. result = (bool)(arg1)->start();
  5875. jresult = result;
  5876. return jresult;
  5877. }
  5878. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setDebugCallback(void * jarg1, void * jarg2) {
  5879. unsigned int jresult ;
  5880. SipStack *arg1 = (SipStack *) 0 ;
  5881. DDebugCallback *arg2 = (DDebugCallback *) 0 ;
  5882. bool result;
  5883. arg1 = (SipStack *)jarg1;
  5884. arg2 = (DDebugCallback *)jarg2;
  5885. result = (bool)(arg1)->setDebugCallback(arg2);
  5886. jresult = result;
  5887. return jresult;
  5888. }
  5889. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setDisplayName(void * jarg1, char * jarg2) {
  5890. unsigned int jresult ;
  5891. SipStack *arg1 = (SipStack *) 0 ;
  5892. char *arg2 = (char *) 0 ;
  5893. bool result;
  5894. arg1 = (SipStack *)jarg1;
  5895. arg2 = (char *)jarg2;
  5896. result = (bool)(arg1)->setDisplayName((char const *)arg2);
  5897. jresult = result;
  5898. return jresult;
  5899. }
  5900. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setRealm(void * jarg1, char * jarg2) {
  5901. unsigned int jresult ;
  5902. SipStack *arg1 = (SipStack *) 0 ;
  5903. char *arg2 = (char *) 0 ;
  5904. bool result;
  5905. arg1 = (SipStack *)jarg1;
  5906. arg2 = (char *)jarg2;
  5907. result = (bool)(arg1)->setRealm((char const *)arg2);
  5908. jresult = result;
  5909. return jresult;
  5910. }
  5911. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setIMPI(void * jarg1, char * jarg2) {
  5912. unsigned int jresult ;
  5913. SipStack *arg1 = (SipStack *) 0 ;
  5914. char *arg2 = (char *) 0 ;
  5915. bool result;
  5916. arg1 = (SipStack *)jarg1;
  5917. arg2 = (char *)jarg2;
  5918. result = (bool)(arg1)->setIMPI((char const *)arg2);
  5919. jresult = result;
  5920. return jresult;
  5921. }
  5922. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setIMPU(void * jarg1, char * jarg2) {
  5923. unsigned int jresult ;
  5924. SipStack *arg1 = (SipStack *) 0 ;
  5925. char *arg2 = (char *) 0 ;
  5926. bool result;
  5927. arg1 = (SipStack *)jarg1;
  5928. arg2 = (char *)jarg2;
  5929. result = (bool)(arg1)->setIMPU((char const *)arg2);
  5930. jresult = result;
  5931. return jresult;
  5932. }
  5933. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setPassword(void * jarg1, char * jarg2) {
  5934. unsigned int jresult ;
  5935. SipStack *arg1 = (SipStack *) 0 ;
  5936. char *arg2 = (char *) 0 ;
  5937. bool result;
  5938. arg1 = (SipStack *)jarg1;
  5939. arg2 = (char *)jarg2;
  5940. result = (bool)(arg1)->setPassword((char const *)arg2);
  5941. jresult = result;
  5942. return jresult;
  5943. }
  5944. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setAMF(void * jarg1, char * jarg2) {
  5945. unsigned int jresult ;
  5946. SipStack *arg1 = (SipStack *) 0 ;
  5947. char *arg2 = (char *) 0 ;
  5948. bool result;
  5949. arg1 = (SipStack *)jarg1;
  5950. arg2 = (char *)jarg2;
  5951. result = (bool)(arg1)->setAMF((char const *)arg2);
  5952. jresult = result;
  5953. return jresult;
  5954. }
  5955. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setOperatorId(void * jarg1, char * jarg2) {
  5956. unsigned int jresult ;
  5957. SipStack *arg1 = (SipStack *) 0 ;
  5958. char *arg2 = (char *) 0 ;
  5959. bool result;
  5960. arg1 = (SipStack *)jarg1;
  5961. arg2 = (char *)jarg2;
  5962. result = (bool)(arg1)->setOperatorId((char const *)arg2);
  5963. jresult = result;
  5964. return jresult;
  5965. }
  5966. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setProxyCSCF(void * jarg1, char * jarg2, unsigned short jarg3, char * jarg4, char * jarg5) {
  5967. unsigned int jresult ;
  5968. SipStack *arg1 = (SipStack *) 0 ;
  5969. char *arg2 = (char *) 0 ;
  5970. unsigned short arg3 ;
  5971. char *arg4 = (char *) 0 ;
  5972. char *arg5 = (char *) 0 ;
  5973. bool result;
  5974. arg1 = (SipStack *)jarg1;
  5975. arg2 = (char *)jarg2;
  5976. arg3 = (unsigned short)jarg3;
  5977. arg4 = (char *)jarg4;
  5978. arg5 = (char *)jarg5;
  5979. result = (bool)(arg1)->setProxyCSCF((char const *)arg2,arg3,(char const *)arg4,(char const *)arg5);
  5980. jresult = result;
  5981. return jresult;
  5982. }
  5983. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setLocalIP__SWIG_0(void * jarg1, char * jarg2, char * jarg3) {
  5984. unsigned int jresult ;
  5985. SipStack *arg1 = (SipStack *) 0 ;
  5986. char *arg2 = (char *) 0 ;
  5987. char *arg3 = (char *) 0 ;
  5988. bool result;
  5989. arg1 = (SipStack *)jarg1;
  5990. arg2 = (char *)jarg2;
  5991. arg3 = (char *)jarg3;
  5992. result = (bool)(arg1)->setLocalIP((char const *)arg2,(char const *)arg3);
  5993. jresult = result;
  5994. return jresult;
  5995. }
  5996. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setLocalIP__SWIG_1(void * jarg1, char * jarg2) {
  5997. unsigned int jresult ;
  5998. SipStack *arg1 = (SipStack *) 0 ;
  5999. char *arg2 = (char *) 0 ;
  6000. bool result;
  6001. arg1 = (SipStack *)jarg1;
  6002. arg2 = (char *)jarg2;
  6003. result = (bool)(arg1)->setLocalIP((char const *)arg2);
  6004. jresult = result;
  6005. return jresult;
  6006. }
  6007. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setLocalPort__SWIG_0(void * jarg1, unsigned short jarg2, char * jarg3) {
  6008. unsigned int jresult ;
  6009. SipStack *arg1 = (SipStack *) 0 ;
  6010. unsigned short arg2 ;
  6011. char *arg3 = (char *) 0 ;
  6012. bool result;
  6013. arg1 = (SipStack *)jarg1;
  6014. arg2 = (unsigned short)jarg2;
  6015. arg3 = (char *)jarg3;
  6016. result = (bool)(arg1)->setLocalPort(arg2,(char const *)arg3);
  6017. jresult = result;
  6018. return jresult;
  6019. }
  6020. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setLocalPort__SWIG_1(void * jarg1, unsigned short jarg2) {
  6021. unsigned int jresult ;
  6022. SipStack *arg1 = (SipStack *) 0 ;
  6023. unsigned short arg2 ;
  6024. bool result;
  6025. arg1 = (SipStack *)jarg1;
  6026. arg2 = (unsigned short)jarg2;
  6027. result = (bool)(arg1)->setLocalPort(arg2);
  6028. jresult = result;
  6029. return jresult;
  6030. }
  6031. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setEarlyIMS(void * jarg1, unsigned int jarg2) {
  6032. unsigned int jresult ;
  6033. SipStack *arg1 = (SipStack *) 0 ;
  6034. bool arg2 ;
  6035. bool result;
  6036. arg1 = (SipStack *)jarg1;
  6037. arg2 = jarg2 ? true : false;
  6038. result = (bool)(arg1)->setEarlyIMS(arg2);
  6039. jresult = result;
  6040. return jresult;
  6041. }
  6042. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_addHeader(void * jarg1, char * jarg2, char * jarg3) {
  6043. unsigned int jresult ;
  6044. SipStack *arg1 = (SipStack *) 0 ;
  6045. char *arg2 = (char *) 0 ;
  6046. char *arg3 = (char *) 0 ;
  6047. bool result;
  6048. arg1 = (SipStack *)jarg1;
  6049. arg2 = (char *)jarg2;
  6050. arg3 = (char *)jarg3;
  6051. result = (bool)(arg1)->addHeader((char const *)arg2,(char const *)arg3);
  6052. jresult = result;
  6053. return jresult;
  6054. }
  6055. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_removeHeader(void * jarg1, char * jarg2) {
  6056. unsigned int jresult ;
  6057. SipStack *arg1 = (SipStack *) 0 ;
  6058. char *arg2 = (char *) 0 ;
  6059. bool result;
  6060. arg1 = (SipStack *)jarg1;
  6061. arg2 = (char *)jarg2;
  6062. result = (bool)(arg1)->removeHeader((char const *)arg2);
  6063. jresult = result;
  6064. return jresult;
  6065. }
  6066. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_addDnsServer(void * jarg1, char * jarg2) {
  6067. unsigned int jresult ;
  6068. SipStack *arg1 = (SipStack *) 0 ;
  6069. char *arg2 = (char *) 0 ;
  6070. bool result;
  6071. arg1 = (SipStack *)jarg1;
  6072. arg2 = (char *)jarg2;
  6073. result = (bool)(arg1)->addDnsServer((char const *)arg2);
  6074. jresult = result;
  6075. return jresult;
  6076. }
  6077. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setDnsDiscovery(void * jarg1, unsigned int jarg2) {
  6078. unsigned int jresult ;
  6079. SipStack *arg1 = (SipStack *) 0 ;
  6080. bool arg2 ;
  6081. bool result;
  6082. arg1 = (SipStack *)jarg1;
  6083. arg2 = jarg2 ? true : false;
  6084. result = (bool)(arg1)->setDnsDiscovery(arg2);
  6085. jresult = result;
  6086. return jresult;
  6087. }
  6088. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setAoR(void * jarg1, char * jarg2, int jarg3) {
  6089. unsigned int jresult ;
  6090. SipStack *arg1 = (SipStack *) 0 ;
  6091. char *arg2 = (char *) 0 ;
  6092. int arg3 ;
  6093. bool result;
  6094. arg1 = (SipStack *)jarg1;
  6095. arg2 = (char *)jarg2;
  6096. arg3 = (int)jarg3;
  6097. result = (bool)(arg1)->setAoR((char const *)arg2,arg3);
  6098. jresult = result;
  6099. return jresult;
  6100. }
  6101. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setSigCompParams(void * jarg1, unsigned int jarg2, unsigned int jarg3, unsigned int jarg4, unsigned int jarg5) {
  6102. unsigned int jresult ;
  6103. SipStack *arg1 = (SipStack *) 0 ;
  6104. unsigned int arg2 ;
  6105. unsigned int arg3 ;
  6106. unsigned int arg4 ;
  6107. bool arg5 ;
  6108. bool result;
  6109. arg1 = (SipStack *)jarg1;
  6110. arg2 = (unsigned int)jarg2;
  6111. arg3 = (unsigned int)jarg3;
  6112. arg4 = (unsigned int)jarg4;
  6113. arg5 = jarg5 ? true : false;
  6114. result = (bool)(arg1)->setSigCompParams(arg2,arg3,arg4,arg5);
  6115. jresult = result;
  6116. return jresult;
  6117. }
  6118. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_addSigCompCompartment(void * jarg1, char * jarg2) {
  6119. unsigned int jresult ;
  6120. SipStack *arg1 = (SipStack *) 0 ;
  6121. char *arg2 = (char *) 0 ;
  6122. bool result;
  6123. arg1 = (SipStack *)jarg1;
  6124. arg2 = (char *)jarg2;
  6125. result = (bool)(arg1)->addSigCompCompartment((char const *)arg2);
  6126. jresult = result;
  6127. return jresult;
  6128. }
  6129. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_removeSigCompCompartment(void * jarg1, char * jarg2) {
  6130. unsigned int jresult ;
  6131. SipStack *arg1 = (SipStack *) 0 ;
  6132. char *arg2 = (char *) 0 ;
  6133. bool result;
  6134. arg1 = (SipStack *)jarg1;
  6135. arg2 = (char *)jarg2;
  6136. result = (bool)(arg1)->removeSigCompCompartment((char const *)arg2);
  6137. jresult = result;
  6138. return jresult;
  6139. }
  6140. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setSTUNEnabledForICE(void * jarg1, unsigned int jarg2) {
  6141. unsigned int jresult ;
  6142. SipStack *arg1 = (SipStack *) 0 ;
  6143. bool arg2 ;
  6144. bool result;
  6145. arg1 = (SipStack *)jarg1;
  6146. arg2 = jarg2 ? true : false;
  6147. result = (bool)(arg1)->setSTUNEnabledForICE(arg2);
  6148. jresult = result;
  6149. return jresult;
  6150. }
  6151. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setSTUNServer(void * jarg1, char * jarg2, unsigned short jarg3) {
  6152. unsigned int jresult ;
  6153. SipStack *arg1 = (SipStack *) 0 ;
  6154. char *arg2 = (char *) 0 ;
  6155. unsigned short arg3 ;
  6156. bool result;
  6157. arg1 = (SipStack *)jarg1;
  6158. arg2 = (char *)jarg2;
  6159. arg3 = (unsigned short)jarg3;
  6160. result = (bool)(arg1)->setSTUNServer((char const *)arg2,arg3);
  6161. jresult = result;
  6162. return jresult;
  6163. }
  6164. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setSTUNCred(void * jarg1, char * jarg2, char * jarg3) {
  6165. unsigned int jresult ;
  6166. SipStack *arg1 = (SipStack *) 0 ;
  6167. char *arg2 = (char *) 0 ;
  6168. char *arg3 = (char *) 0 ;
  6169. bool result;
  6170. arg1 = (SipStack *)jarg1;
  6171. arg2 = (char *)jarg2;
  6172. arg3 = (char *)jarg3;
  6173. result = (bool)(arg1)->setSTUNCred((char const *)arg2,(char const *)arg3);
  6174. jresult = result;
  6175. return jresult;
  6176. }
  6177. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setSTUNEnabled(void * jarg1, unsigned int jarg2) {
  6178. unsigned int jresult ;
  6179. SipStack *arg1 = (SipStack *) 0 ;
  6180. bool arg2 ;
  6181. bool result;
  6182. arg1 = (SipStack *)jarg1;
  6183. arg2 = jarg2 ? true : false;
  6184. result = (bool)(arg1)->setSTUNEnabled(arg2);
  6185. jresult = result;
  6186. return jresult;
  6187. }
  6188. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setTLSSecAgree(void * jarg1, unsigned int jarg2) {
  6189. unsigned int jresult ;
  6190. SipStack *arg1 = (SipStack *) 0 ;
  6191. bool arg2 ;
  6192. bool result;
  6193. arg1 = (SipStack *)jarg1;
  6194. arg2 = jarg2 ? true : false;
  6195. result = (bool)(arg1)->setTLSSecAgree(arg2);
  6196. jresult = result;
  6197. return jresult;
  6198. }
  6199. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setSSLCertificates__SWIG_0(void * jarg1, char * jarg2, char * jarg3, char * jarg4, unsigned int jarg5) {
  6200. unsigned int jresult ;
  6201. SipStack *arg1 = (SipStack *) 0 ;
  6202. char *arg2 = (char *) 0 ;
  6203. char *arg3 = (char *) 0 ;
  6204. char *arg4 = (char *) 0 ;
  6205. bool arg5 ;
  6206. bool result;
  6207. arg1 = (SipStack *)jarg1;
  6208. arg2 = (char *)jarg2;
  6209. arg3 = (char *)jarg3;
  6210. arg4 = (char *)jarg4;
  6211. arg5 = jarg5 ? true : false;
  6212. result = (bool)(arg1)->setSSLCertificates((char const *)arg2,(char const *)arg3,(char const *)arg4,arg5);
  6213. jresult = result;
  6214. return jresult;
  6215. }
  6216. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setSSLCertificates__SWIG_1(void * jarg1, char * jarg2, char * jarg3, char * jarg4) {
  6217. unsigned int jresult ;
  6218. SipStack *arg1 = (SipStack *) 0 ;
  6219. char *arg2 = (char *) 0 ;
  6220. char *arg3 = (char *) 0 ;
  6221. char *arg4 = (char *) 0 ;
  6222. bool result;
  6223. arg1 = (SipStack *)jarg1;
  6224. arg2 = (char *)jarg2;
  6225. arg3 = (char *)jarg3;
  6226. arg4 = (char *)jarg4;
  6227. result = (bool)(arg1)->setSSLCertificates((char const *)arg2,(char const *)arg3,(char const *)arg4);
  6228. jresult = result;
  6229. return jresult;
  6230. }
  6231. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setSSLCretificates__SWIG_0(void * jarg1, char * jarg2, char * jarg3, char * jarg4, unsigned int jarg5) {
  6232. unsigned int jresult ;
  6233. SipStack *arg1 = (SipStack *) 0 ;
  6234. char *arg2 = (char *) 0 ;
  6235. char *arg3 = (char *) 0 ;
  6236. char *arg4 = (char *) 0 ;
  6237. bool arg5 ;
  6238. bool result;
  6239. arg1 = (SipStack *)jarg1;
  6240. arg2 = (char *)jarg2;
  6241. arg3 = (char *)jarg3;
  6242. arg4 = (char *)jarg4;
  6243. arg5 = jarg5 ? true : false;
  6244. result = (bool)(arg1)->setSSLCretificates((char const *)arg2,(char const *)arg3,(char const *)arg4,arg5);
  6245. jresult = result;
  6246. return jresult;
  6247. }
  6248. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setSSLCretificates__SWIG_1(void * jarg1, char * jarg2, char * jarg3, char * jarg4) {
  6249. unsigned int jresult ;
  6250. SipStack *arg1 = (SipStack *) 0 ;
  6251. char *arg2 = (char *) 0 ;
  6252. char *arg3 = (char *) 0 ;
  6253. char *arg4 = (char *) 0 ;
  6254. bool result;
  6255. arg1 = (SipStack *)jarg1;
  6256. arg2 = (char *)jarg2;
  6257. arg3 = (char *)jarg3;
  6258. arg4 = (char *)jarg4;
  6259. result = (bool)(arg1)->setSSLCretificates((char const *)arg2,(char const *)arg3,(char const *)arg4);
  6260. jresult = result;
  6261. return jresult;
  6262. }
  6263. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setIPSecSecAgree(void * jarg1, unsigned int jarg2) {
  6264. unsigned int jresult ;
  6265. SipStack *arg1 = (SipStack *) 0 ;
  6266. bool arg2 ;
  6267. bool result;
  6268. arg1 = (SipStack *)jarg1;
  6269. arg2 = jarg2 ? true : false;
  6270. result = (bool)(arg1)->setIPSecSecAgree(arg2);
  6271. jresult = result;
  6272. return jresult;
  6273. }
  6274. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setIPSecParameters(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5) {
  6275. unsigned int jresult ;
  6276. SipStack *arg1 = (SipStack *) 0 ;
  6277. char *arg2 = (char *) 0 ;
  6278. char *arg3 = (char *) 0 ;
  6279. char *arg4 = (char *) 0 ;
  6280. char *arg5 = (char *) 0 ;
  6281. bool result;
  6282. arg1 = (SipStack *)jarg1;
  6283. arg2 = (char *)jarg2;
  6284. arg3 = (char *)jarg3;
  6285. arg4 = (char *)jarg4;
  6286. arg5 = (char *)jarg5;
  6287. result = (bool)(arg1)->setIPSecParameters((char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5);
  6288. jresult = result;
  6289. return jresult;
  6290. }
  6291. SWIGEXPORT char * SWIGSTDCALL CSharp_SipStack_dnsENUM(void * jarg1, char * jarg2, char * jarg3, char * jarg4) {
  6292. char * jresult ;
  6293. SipStack *arg1 = (SipStack *) 0 ;
  6294. char *arg2 = (char *) 0 ;
  6295. char *arg3 = (char *) 0 ;
  6296. char *arg4 = (char *) 0 ;
  6297. char *result = 0 ;
  6298. arg1 = (SipStack *)jarg1;
  6299. arg2 = (char *)jarg2;
  6300. arg3 = (char *)jarg3;
  6301. arg4 = (char *)jarg4;
  6302. result = (char *)(arg1)->dnsENUM((char const *)arg2,(char const *)arg3,(char const *)arg4);
  6303. jresult = SWIG_csharp_string_callback((const char *)result);
  6304. delete [] result;
  6305. return jresult;
  6306. }
  6307. SWIGEXPORT char * SWIGSTDCALL CSharp_SipStack_dnsNaptrSrv(void * jarg1, char * jarg2, char * jarg3, unsigned short * jarg4) {
  6308. char * jresult ;
  6309. SipStack *arg1 = (SipStack *) 0 ;
  6310. char *arg2 = (char *) 0 ;
  6311. char *arg3 = (char *) 0 ;
  6312. unsigned short *arg4 = (unsigned short *) 0 ;
  6313. char *result = 0 ;
  6314. arg1 = (SipStack *)jarg1;
  6315. arg2 = (char *)jarg2;
  6316. arg3 = (char *)jarg3;
  6317. arg4 = (unsigned short *)jarg4;
  6318. result = (char *)(arg1)->dnsNaptrSrv((char const *)arg2,(char const *)arg3,arg4);
  6319. jresult = SWIG_csharp_string_callback((const char *)result);
  6320. delete [] result;
  6321. return jresult;
  6322. }
  6323. SWIGEXPORT char * SWIGSTDCALL CSharp_SipStack_dnsSrv(void * jarg1, char * jarg2, unsigned short * jarg3) {
  6324. char * jresult ;
  6325. SipStack *arg1 = (SipStack *) 0 ;
  6326. char *arg2 = (char *) 0 ;
  6327. unsigned short *arg3 = (unsigned short *) 0 ;
  6328. char *result = 0 ;
  6329. arg1 = (SipStack *)jarg1;
  6330. arg2 = (char *)jarg2;
  6331. arg3 = (unsigned short *)jarg3;
  6332. result = (char *)(arg1)->dnsSrv((char const *)arg2,arg3);
  6333. jresult = SWIG_csharp_string_callback((const char *)result);
  6334. delete [] result;
  6335. return jresult;
  6336. }
  6337. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setMaxFDs(void * jarg1, unsigned int jarg2) {
  6338. unsigned int jresult ;
  6339. SipStack *arg1 = (SipStack *) 0 ;
  6340. unsigned int arg2 ;
  6341. bool result;
  6342. arg1 = (SipStack *)jarg1;
  6343. arg2 = (unsigned int)jarg2;
  6344. result = (bool)(arg1)->setMaxFDs(arg2);
  6345. jresult = result;
  6346. return jresult;
  6347. }
  6348. SWIGEXPORT char * SWIGSTDCALL CSharp_SipStack_getLocalIPnPort(void * jarg1, char * jarg2, unsigned short * jarg3) {
  6349. char * jresult ;
  6350. SipStack *arg1 = (SipStack *) 0 ;
  6351. char *arg2 = (char *) 0 ;
  6352. unsigned short *arg3 = (unsigned short *) 0 ;
  6353. char *result = 0 ;
  6354. arg1 = (SipStack *)jarg1;
  6355. arg2 = (char *)jarg2;
  6356. arg3 = (unsigned short *)jarg3;
  6357. result = (char *)(arg1)->getLocalIPnPort((char const *)arg2,arg3);
  6358. jresult = SWIG_csharp_string_callback((const char *)result);
  6359. delete [] result;
  6360. return jresult;
  6361. }
  6362. SWIGEXPORT char * SWIGSTDCALL CSharp_SipStack_getPreferredIdentity(void * jarg1) {
  6363. char * jresult ;
  6364. SipStack *arg1 = (SipStack *) 0 ;
  6365. char *result = 0 ;
  6366. arg1 = (SipStack *)jarg1;
  6367. result = (char *)(arg1)->getPreferredIdentity();
  6368. jresult = SWIG_csharp_string_callback((const char *)result);
  6369. delete [] result;
  6370. return jresult;
  6371. }
  6372. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_isValid(void * jarg1) {
  6373. unsigned int jresult ;
  6374. SipStack *arg1 = (SipStack *) 0 ;
  6375. bool result;
  6376. arg1 = (SipStack *)jarg1;
  6377. result = (bool)(arg1)->isValid();
  6378. jresult = result;
  6379. return jresult;
  6380. }
  6381. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_stop(void * jarg1) {
  6382. unsigned int jresult ;
  6383. SipStack *arg1 = (SipStack *) 0 ;
  6384. bool result;
  6385. arg1 = (SipStack *)jarg1;
  6386. result = (bool)(arg1)->stop();
  6387. jresult = result;
  6388. return jresult;
  6389. }
  6390. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_initialize() {
  6391. unsigned int jresult ;
  6392. bool result;
  6393. result = (bool)SipStack::initialize();
  6394. jresult = result;
  6395. return jresult;
  6396. }
  6397. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_deInitialize() {
  6398. unsigned int jresult ;
  6399. bool result;
  6400. result = (bool)SipStack::deInitialize();
  6401. jresult = result;
  6402. return jresult;
  6403. }
  6404. SWIGEXPORT void SWIGSTDCALL CSharp_SipStack_setCodecs(int jarg1) {
  6405. tdav_codec_id_t arg1 ;
  6406. arg1 = (tdav_codec_id_t)jarg1;
  6407. SipStack::setCodecs(arg1);
  6408. }
  6409. SWIGEXPORT void SWIGSTDCALL CSharp_SipStack_setCodecs_2(long long jarg1) {
  6410. int64_t arg1 ;
  6411. arg1 = (int64_t)jarg1;
  6412. SipStack::setCodecs_2(arg1);
  6413. }
  6414. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setCodecPriority(int jarg1, int jarg2) {
  6415. unsigned int jresult ;
  6416. tdav_codec_id_t arg1 ;
  6417. int arg2 ;
  6418. bool result;
  6419. arg1 = (tdav_codec_id_t)jarg1;
  6420. arg2 = (int)jarg2;
  6421. result = (bool)SipStack::setCodecPriority(arg1,arg2);
  6422. jresult = result;
  6423. return jresult;
  6424. }
  6425. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_setCodecPriority_2(int jarg1, int jarg2) {
  6426. unsigned int jresult ;
  6427. int arg1 ;
  6428. int arg2 ;
  6429. bool result;
  6430. arg1 = (int)jarg1;
  6431. arg2 = (int)jarg2;
  6432. result = (bool)SipStack::setCodecPriority_2(arg1,arg2);
  6433. jresult = result;
  6434. return jresult;
  6435. }
  6436. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_isCodecSupported(int jarg1) {
  6437. unsigned int jresult ;
  6438. tdav_codec_id_t arg1 ;
  6439. bool result;
  6440. arg1 = (tdav_codec_id_t)jarg1;
  6441. result = (bool)SipStack::isCodecSupported(arg1);
  6442. jresult = result;
  6443. return jresult;
  6444. }
  6445. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SipStack_isIPSecSupported() {
  6446. unsigned int jresult ;
  6447. bool result;
  6448. result = (bool)SipStack::isIPSecSupported();
  6449. jresult = result;
  6450. return jresult;
  6451. }
  6452. SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_transport_error_get() {
  6453. int jresult ;
  6454. int result;
  6455. result = (int)(702);
  6456. jresult = result;
  6457. return jresult;
  6458. }
  6459. SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_global_error_get() {
  6460. int jresult ;
  6461. int result;
  6462. result = (int)(703);
  6463. jresult = result;
  6464. return jresult;
  6465. }
  6466. SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_message_error_get() {
  6467. int jresult ;
  6468. int result;
  6469. result = (int)(704);
  6470. jresult = result;
  6471. return jresult;
  6472. }
  6473. SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_request_incoming_get() {
  6474. int jresult ;
  6475. int result;
  6476. result = (int)(800);
  6477. jresult = result;
  6478. return jresult;
  6479. }
  6480. SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_request_outgoing_get() {
  6481. int jresult ;
  6482. int result;
  6483. result = (int)(802);
  6484. jresult = result;
  6485. return jresult;
  6486. }
  6487. SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_request_cancelled_get() {
  6488. int jresult ;
  6489. int result;
  6490. result = (int)(803);
  6491. jresult = result;
  6492. return jresult;
  6493. }
  6494. SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_request_sent_get() {
  6495. int jresult ;
  6496. int result;
  6497. result = (int)(804);
  6498. jresult = result;
  6499. return jresult;
  6500. }
  6501. SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_request_prechecking_get() {
  6502. int jresult ;
  6503. int result;
  6504. result = (int)(805);
  6505. jresult = result;
  6506. return jresult;
  6507. }
  6508. SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_connecting_get() {
  6509. int jresult ;
  6510. int result;
  6511. result = (int)(900);
  6512. jresult = result;
  6513. return jresult;
  6514. }
  6515. SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_connected_get() {
  6516. int jresult ;
  6517. int result;
  6518. result = (int)(901);
  6519. jresult = result;
  6520. return jresult;
  6521. }
  6522. SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_terminating_get() {
  6523. int jresult ;
  6524. int result;
  6525. result = (int)(902);
  6526. jresult = result;
  6527. return jresult;
  6528. }
  6529. SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_dialog_terminated_get() {
  6530. int jresult ;
  6531. int result;
  6532. result = (int)(903);
  6533. jresult = result;
  6534. return jresult;
  6535. }
  6536. SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_stack_starting_get() {
  6537. int jresult ;
  6538. int result;
  6539. result = (int)(950);
  6540. jresult = result;
  6541. return jresult;
  6542. }
  6543. SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_stack_started_get() {
  6544. int jresult ;
  6545. int result;
  6546. result = (int)(951);
  6547. jresult = result;
  6548. return jresult;
  6549. }
  6550. SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_stack_stopping_get() {
  6551. int jresult ;
  6552. int result;
  6553. result = (int)(952);
  6554. jresult = result;
  6555. return jresult;
  6556. }
  6557. SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_stack_stopped_get() {
  6558. int jresult ;
  6559. int result;
  6560. result = (int)(953);
  6561. jresult = result;
  6562. return jresult;
  6563. }
  6564. SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_stack_failed_to_start_get() {
  6565. int jresult ;
  6566. int result;
  6567. result = (int)(954);
  6568. jresult = result;
  6569. return jresult;
  6570. }
  6571. SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_stack_failed_to_stop_get() {
  6572. int jresult ;
  6573. int result;
  6574. result = (int)(955);
  6575. jresult = result;
  6576. return jresult;
  6577. }
  6578. SWIGEXPORT int SWIGSTDCALL CSharp_tsip_event_code_stack_disconnected_get() {
  6579. int jresult ;
  6580. int result;
  6581. result = (int)(956);
  6582. jresult = result;
  6583. return jresult;
  6584. }
  6585. SWIGEXPORT void * SWIGSTDCALL CSharp_new_XcapSelector(void * jarg1) {
  6586. void * jresult ;
  6587. XcapStack *arg1 = (XcapStack *) 0 ;
  6588. XcapSelector *result = 0 ;
  6589. arg1 = (XcapStack *)jarg1;
  6590. result = (XcapSelector *)new XcapSelector(arg1);
  6591. jresult = (void *)result;
  6592. return jresult;
  6593. }
  6594. SWIGEXPORT void SWIGSTDCALL CSharp_delete_XcapSelector(void * jarg1) {
  6595. XcapSelector *arg1 = (XcapSelector *) 0 ;
  6596. arg1 = (XcapSelector *)jarg1;
  6597. delete arg1;
  6598. }
  6599. SWIGEXPORT void * SWIGSTDCALL CSharp_XcapSelector_setAUID(void * jarg1, char * jarg2) {
  6600. void * jresult ;
  6601. XcapSelector *arg1 = (XcapSelector *) 0 ;
  6602. char *arg2 = (char *) 0 ;
  6603. XcapSelector *result = 0 ;
  6604. arg1 = (XcapSelector *)jarg1;
  6605. arg2 = (char *)jarg2;
  6606. result = (XcapSelector *)(arg1)->setAUID((char const *)arg2);
  6607. jresult = (void *)result;
  6608. return jresult;
  6609. }
  6610. SWIGEXPORT void * SWIGSTDCALL CSharp_XcapSelector_setName(void * jarg1, char * jarg2) {
  6611. void * jresult ;
  6612. XcapSelector *arg1 = (XcapSelector *) 0 ;
  6613. char *arg2 = (char *) 0 ;
  6614. XcapSelector *result = 0 ;
  6615. arg1 = (XcapSelector *)jarg1;
  6616. arg2 = (char *)jarg2;
  6617. result = (XcapSelector *)(arg1)->setName((char const *)arg2);
  6618. jresult = (void *)result;
  6619. return jresult;
  6620. }
  6621. SWIGEXPORT void * SWIGSTDCALL CSharp_XcapSelector_setAttribute(void * jarg1, char * jarg2, char * jarg3, char * jarg4) {
  6622. void * jresult ;
  6623. XcapSelector *arg1 = (XcapSelector *) 0 ;
  6624. char *arg2 = (char *) 0 ;
  6625. char *arg3 = (char *) 0 ;
  6626. char *arg4 = (char *) 0 ;
  6627. XcapSelector *result = 0 ;
  6628. arg1 = (XcapSelector *)jarg1;
  6629. arg2 = (char *)jarg2;
  6630. arg3 = (char *)jarg3;
  6631. arg4 = (char *)jarg4;
  6632. result = (XcapSelector *)(arg1)->setAttribute((char const *)arg2,(char const *)arg3,(char const *)arg4);
  6633. jresult = (void *)result;
  6634. return jresult;
  6635. }
  6636. SWIGEXPORT void * SWIGSTDCALL CSharp_XcapSelector_setPos(void * jarg1, char * jarg2, unsigned int jarg3) {
  6637. void * jresult ;
  6638. XcapSelector *arg1 = (XcapSelector *) 0 ;
  6639. char *arg2 = (char *) 0 ;
  6640. unsigned int arg3 ;
  6641. XcapSelector *result = 0 ;
  6642. arg1 = (XcapSelector *)jarg1;
  6643. arg2 = (char *)jarg2;
  6644. arg3 = (unsigned int)jarg3;
  6645. result = (XcapSelector *)(arg1)->setPos((char const *)arg2,arg3);
  6646. jresult = (void *)result;
  6647. return jresult;
  6648. }
  6649. SWIGEXPORT void * SWIGSTDCALL CSharp_XcapSelector_setPosAttribute(void * jarg1, char * jarg2, unsigned int jarg3, char * jarg4, char * jarg5) {
  6650. void * jresult ;
  6651. XcapSelector *arg1 = (XcapSelector *) 0 ;
  6652. char *arg2 = (char *) 0 ;
  6653. unsigned int arg3 ;
  6654. char *arg4 = (char *) 0 ;
  6655. char *arg5 = (char *) 0 ;
  6656. XcapSelector *result = 0 ;
  6657. arg1 = (XcapSelector *)jarg1;
  6658. arg2 = (char *)jarg2;
  6659. arg3 = (unsigned int)jarg3;
  6660. arg4 = (char *)jarg4;
  6661. arg5 = (char *)jarg5;
  6662. result = (XcapSelector *)(arg1)->setPosAttribute((char const *)arg2,arg3,(char const *)arg4,(char const *)arg5);
  6663. jresult = (void *)result;
  6664. return jresult;
  6665. }
  6666. SWIGEXPORT void * SWIGSTDCALL CSharp_XcapSelector_setNamespace(void * jarg1, char * jarg2, char * jarg3) {
  6667. void * jresult ;
  6668. XcapSelector *arg1 = (XcapSelector *) 0 ;
  6669. char *arg2 = (char *) 0 ;
  6670. char *arg3 = (char *) 0 ;
  6671. XcapSelector *result = 0 ;
  6672. arg1 = (XcapSelector *)jarg1;
  6673. arg2 = (char *)jarg2;
  6674. arg3 = (char *)jarg3;
  6675. result = (XcapSelector *)(arg1)->setNamespace((char const *)arg2,(char const *)arg3);
  6676. jresult = (void *)result;
  6677. return jresult;
  6678. }
  6679. SWIGEXPORT char * SWIGSTDCALL CSharp_XcapSelector_getString(void * jarg1) {
  6680. char * jresult ;
  6681. XcapSelector *arg1 = (XcapSelector *) 0 ;
  6682. char *result = 0 ;
  6683. arg1 = (XcapSelector *)jarg1;
  6684. result = (char *)(arg1)->getString();
  6685. jresult = SWIG_csharp_string_callback((const char *)result);
  6686. delete [] result;
  6687. return jresult;
  6688. }
  6689. SWIGEXPORT void SWIGSTDCALL CSharp_XcapSelector_reset(void * jarg1) {
  6690. XcapSelector *arg1 = (XcapSelector *) 0 ;
  6691. arg1 = (XcapSelector *)jarg1;
  6692. (arg1)->reset();
  6693. }
  6694. SWIGEXPORT void * SWIGSTDCALL CSharp_new_XcapMessage() {
  6695. void * jresult ;
  6696. XcapMessage *result = 0 ;
  6697. result = (XcapMessage *)new XcapMessage();
  6698. jresult = (void *)result;
  6699. return jresult;
  6700. }
  6701. SWIGEXPORT void SWIGSTDCALL CSharp_delete_XcapMessage(void * jarg1) {
  6702. XcapMessage *arg1 = (XcapMessage *) 0 ;
  6703. arg1 = (XcapMessage *)jarg1;
  6704. delete arg1;
  6705. }
  6706. SWIGEXPORT short SWIGSTDCALL CSharp_XcapMessage_getCode(void * jarg1) {
  6707. short jresult ;
  6708. XcapMessage *arg1 = (XcapMessage *) 0 ;
  6709. short result;
  6710. arg1 = (XcapMessage *)jarg1;
  6711. result = (short)((XcapMessage const *)arg1)->getCode();
  6712. jresult = result;
  6713. return jresult;
  6714. }
  6715. SWIGEXPORT char * SWIGSTDCALL CSharp_XcapMessage_getPhrase(void * jarg1) {
  6716. char * jresult ;
  6717. XcapMessage *arg1 = (XcapMessage *) 0 ;
  6718. char *result = 0 ;
  6719. arg1 = (XcapMessage *)jarg1;
  6720. result = (char *)((XcapMessage const *)arg1)->getPhrase();
  6721. jresult = SWIG_csharp_string_callback((const char *)result);
  6722. return jresult;
  6723. }
  6724. SWIGEXPORT char * SWIGSTDCALL CSharp_XcapMessage_getXcapHeaderValue__SWIG_0(void * jarg1, char * jarg2, unsigned int jarg3) {
  6725. char * jresult ;
  6726. XcapMessage *arg1 = (XcapMessage *) 0 ;
  6727. char *arg2 = (char *) 0 ;
  6728. unsigned int arg3 ;
  6729. char *result = 0 ;
  6730. arg1 = (XcapMessage *)jarg1;
  6731. arg2 = (char *)jarg2;
  6732. arg3 = (unsigned int)jarg3;
  6733. result = (char *)(arg1)->getXcapHeaderValue((char const *)arg2,arg3);
  6734. jresult = SWIG_csharp_string_callback((const char *)result);
  6735. delete [] result;
  6736. return jresult;
  6737. }
  6738. SWIGEXPORT char * SWIGSTDCALL CSharp_XcapMessage_getXcapHeaderValue__SWIG_1(void * jarg1, char * jarg2) {
  6739. char * jresult ;
  6740. XcapMessage *arg1 = (XcapMessage *) 0 ;
  6741. char *arg2 = (char *) 0 ;
  6742. char *result = 0 ;
  6743. arg1 = (XcapMessage *)jarg1;
  6744. arg2 = (char *)jarg2;
  6745. result = (char *)(arg1)->getXcapHeaderValue((char const *)arg2);
  6746. jresult = SWIG_csharp_string_callback((const char *)result);
  6747. delete [] result;
  6748. return jresult;
  6749. }
  6750. SWIGEXPORT char * SWIGSTDCALL CSharp_XcapMessage_getXcapHeaderParamValue__SWIG_0(void * jarg1, char * jarg2, char * jarg3, unsigned int jarg4) {
  6751. char * jresult ;
  6752. XcapMessage *arg1 = (XcapMessage *) 0 ;
  6753. char *arg2 = (char *) 0 ;
  6754. char *arg3 = (char *) 0 ;
  6755. unsigned int arg4 ;
  6756. char *result = 0 ;
  6757. arg1 = (XcapMessage *)jarg1;
  6758. arg2 = (char *)jarg2;
  6759. arg3 = (char *)jarg3;
  6760. arg4 = (unsigned int)jarg4;
  6761. result = (char *)(arg1)->getXcapHeaderParamValue((char const *)arg2,(char const *)arg3,arg4);
  6762. jresult = SWIG_csharp_string_callback((const char *)result);
  6763. delete [] result;
  6764. return jresult;
  6765. }
  6766. SWIGEXPORT char * SWIGSTDCALL CSharp_XcapMessage_getXcapHeaderParamValue__SWIG_1(void * jarg1, char * jarg2, char * jarg3) {
  6767. char * jresult ;
  6768. XcapMessage *arg1 = (XcapMessage *) 0 ;
  6769. char *arg2 = (char *) 0 ;
  6770. char *arg3 = (char *) 0 ;
  6771. char *result = 0 ;
  6772. arg1 = (XcapMessage *)jarg1;
  6773. arg2 = (char *)jarg2;
  6774. arg3 = (char *)jarg3;
  6775. result = (char *)(arg1)->getXcapHeaderParamValue((char const *)arg2,(char const *)arg3);
  6776. jresult = SWIG_csharp_string_callback((const char *)result);
  6777. delete [] result;
  6778. return jresult;
  6779. }
  6780. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapMessage_getXcapContentLength(void * jarg1) {
  6781. unsigned int jresult ;
  6782. XcapMessage *arg1 = (XcapMessage *) 0 ;
  6783. unsigned int result;
  6784. arg1 = (XcapMessage *)jarg1;
  6785. result = (unsigned int)(arg1)->getXcapContentLength();
  6786. jresult = result;
  6787. return jresult;
  6788. }
  6789. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapMessage_getXcapContent(void * jarg1, void * jarg2, unsigned int jarg3) {
  6790. unsigned int jresult ;
  6791. XcapMessage *arg1 = (XcapMessage *) 0 ;
  6792. void *arg2 = (void *) 0 ;
  6793. unsigned int arg3 ;
  6794. unsigned int result;
  6795. arg1 = (XcapMessage *)jarg1;
  6796. arg2 = jarg2;
  6797. arg3 = (unsigned int)jarg3;
  6798. result = (unsigned int)(arg1)->getXcapContent(arg2,arg3);
  6799. jresult = result;
  6800. return jresult;
  6801. }
  6802. SWIGEXPORT void SWIGSTDCALL CSharp_delete_XcapEvent(void * jarg1) {
  6803. XcapEvent *arg1 = (XcapEvent *) 0 ;
  6804. arg1 = (XcapEvent *)jarg1;
  6805. delete arg1;
  6806. }
  6807. SWIGEXPORT int SWIGSTDCALL CSharp_XcapEvent_getType(void * jarg1) {
  6808. int jresult ;
  6809. XcapEvent *arg1 = (XcapEvent *) 0 ;
  6810. thttp_event_type_t result;
  6811. arg1 = (XcapEvent *)jarg1;
  6812. result = (thttp_event_type_t)(arg1)->getType();
  6813. jresult = result;
  6814. return jresult;
  6815. }
  6816. SWIGEXPORT void * SWIGSTDCALL CSharp_XcapEvent_getXcapMessage(void * jarg1) {
  6817. void * jresult ;
  6818. XcapEvent *arg1 = (XcapEvent *) 0 ;
  6819. XcapMessage *result = 0 ;
  6820. arg1 = (XcapEvent *)jarg1;
  6821. result = (XcapMessage *)((XcapEvent const *)arg1)->getXcapMessage();
  6822. jresult = (void *)result;
  6823. return jresult;
  6824. }
  6825. SWIGEXPORT void * SWIGSTDCALL CSharp_new_XcapCallback() {
  6826. void * jresult ;
  6827. XcapCallback *result = 0 ;
  6828. result = (XcapCallback *)new SwigDirector_XcapCallback();
  6829. jresult = (void *)result;
  6830. return jresult;
  6831. }
  6832. SWIGEXPORT void SWIGSTDCALL CSharp_delete_XcapCallback(void * jarg1) {
  6833. XcapCallback *arg1 = (XcapCallback *) 0 ;
  6834. arg1 = (XcapCallback *)jarg1;
  6835. delete arg1;
  6836. }
  6837. SWIGEXPORT int SWIGSTDCALL CSharp_XcapCallback_onEvent(void * jarg1, void * jarg2) {
  6838. int jresult ;
  6839. XcapCallback *arg1 = (XcapCallback *) 0 ;
  6840. XcapEvent *arg2 = (XcapEvent *) 0 ;
  6841. int result;
  6842. arg1 = (XcapCallback *)jarg1;
  6843. arg2 = (XcapEvent *)jarg2;
  6844. result = (int)((XcapCallback const *)arg1)->onEvent((XcapEvent const *)arg2);
  6845. jresult = result;
  6846. return jresult;
  6847. }
  6848. SWIGEXPORT int SWIGSTDCALL CSharp_XcapCallback_onEventSwigExplicitXcapCallback(void * jarg1, void * jarg2) {
  6849. int jresult ;
  6850. XcapCallback *arg1 = (XcapCallback *) 0 ;
  6851. XcapEvent *arg2 = (XcapEvent *) 0 ;
  6852. int result;
  6853. arg1 = (XcapCallback *)jarg1;
  6854. arg2 = (XcapEvent *)jarg2;
  6855. result = (int)((XcapCallback const *)arg1)->XcapCallback::onEvent((XcapEvent const *)arg2);
  6856. jresult = result;
  6857. return jresult;
  6858. }
  6859. SWIGEXPORT void SWIGSTDCALL CSharp_XcapCallback_director_connect(void *objarg, SwigDirector_XcapCallback::SWIG_Callback0_t callback0) {
  6860. XcapCallback *obj = (XcapCallback *)objarg;
  6861. SwigDirector_XcapCallback *director = dynamic_cast<SwigDirector_XcapCallback *>(obj);
  6862. if (director) {
  6863. director->swig_connect_director(callback0);
  6864. }
  6865. }
  6866. SWIGEXPORT void * SWIGSTDCALL CSharp_new_XcapStack(void * jarg1, char * jarg2, char * jarg3, char * jarg4) {
  6867. void * jresult ;
  6868. XcapCallback *arg1 = (XcapCallback *) 0 ;
  6869. char *arg2 = (char *) 0 ;
  6870. char *arg3 = (char *) 0 ;
  6871. char *arg4 = (char *) 0 ;
  6872. XcapStack *result = 0 ;
  6873. arg1 = (XcapCallback *)jarg1;
  6874. arg2 = (char *)jarg2;
  6875. arg3 = (char *)jarg3;
  6876. arg4 = (char *)jarg4;
  6877. result = (XcapStack *)new XcapStack(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
  6878. jresult = (void *)result;
  6879. return jresult;
  6880. }
  6881. SWIGEXPORT void SWIGSTDCALL CSharp_delete_XcapStack(void * jarg1) {
  6882. XcapStack *arg1 = (XcapStack *) 0 ;
  6883. arg1 = (XcapStack *)jarg1;
  6884. delete arg1;
  6885. }
  6886. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_registerAUID(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, unsigned int jarg6) {
  6887. unsigned int jresult ;
  6888. XcapStack *arg1 = (XcapStack *) 0 ;
  6889. char *arg2 = (char *) 0 ;
  6890. char *arg3 = (char *) 0 ;
  6891. char *arg4 = (char *) 0 ;
  6892. char *arg5 = (char *) 0 ;
  6893. bool arg6 ;
  6894. bool result;
  6895. arg1 = (XcapStack *)jarg1;
  6896. arg2 = (char *)jarg2;
  6897. arg3 = (char *)jarg3;
  6898. arg4 = (char *)jarg4;
  6899. arg5 = (char *)jarg5;
  6900. arg6 = jarg6 ? true : false;
  6901. result = (bool)(arg1)->registerAUID((char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,arg6);
  6902. jresult = result;
  6903. return jresult;
  6904. }
  6905. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_start(void * jarg1) {
  6906. unsigned int jresult ;
  6907. XcapStack *arg1 = (XcapStack *) 0 ;
  6908. bool result;
  6909. arg1 = (XcapStack *)jarg1;
  6910. result = (bool)(arg1)->start();
  6911. jresult = result;
  6912. return jresult;
  6913. }
  6914. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_setCredentials(void * jarg1, char * jarg2, char * jarg3) {
  6915. unsigned int jresult ;
  6916. XcapStack *arg1 = (XcapStack *) 0 ;
  6917. char *arg2 = (char *) 0 ;
  6918. char *arg3 = (char *) 0 ;
  6919. bool result;
  6920. arg1 = (XcapStack *)jarg1;
  6921. arg2 = (char *)jarg2;
  6922. arg3 = (char *)jarg3;
  6923. result = (bool)(arg1)->setCredentials((char const *)arg2,(char const *)arg3);
  6924. jresult = result;
  6925. return jresult;
  6926. }
  6927. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_setXcapRoot(void * jarg1, char * jarg2) {
  6928. unsigned int jresult ;
  6929. XcapStack *arg1 = (XcapStack *) 0 ;
  6930. char *arg2 = (char *) 0 ;
  6931. bool result;
  6932. arg1 = (XcapStack *)jarg1;
  6933. arg2 = (char *)jarg2;
  6934. result = (bool)(arg1)->setXcapRoot((char const *)arg2);
  6935. jresult = result;
  6936. return jresult;
  6937. }
  6938. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_setLocalIP(void * jarg1, char * jarg2) {
  6939. unsigned int jresult ;
  6940. XcapStack *arg1 = (XcapStack *) 0 ;
  6941. char *arg2 = (char *) 0 ;
  6942. bool result;
  6943. arg1 = (XcapStack *)jarg1;
  6944. arg2 = (char *)jarg2;
  6945. result = (bool)(arg1)->setLocalIP((char const *)arg2);
  6946. jresult = result;
  6947. return jresult;
  6948. }
  6949. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_setLocalPort(void * jarg1, unsigned int jarg2) {
  6950. unsigned int jresult ;
  6951. XcapStack *arg1 = (XcapStack *) 0 ;
  6952. unsigned int arg2 ;
  6953. bool result;
  6954. arg1 = (XcapStack *)jarg1;
  6955. arg2 = (unsigned int)jarg2;
  6956. result = (bool)(arg1)->setLocalPort(arg2);
  6957. jresult = result;
  6958. return jresult;
  6959. }
  6960. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_addHeader(void * jarg1, char * jarg2, char * jarg3) {
  6961. unsigned int jresult ;
  6962. XcapStack *arg1 = (XcapStack *) 0 ;
  6963. char *arg2 = (char *) 0 ;
  6964. char *arg3 = (char *) 0 ;
  6965. bool result;
  6966. arg1 = (XcapStack *)jarg1;
  6967. arg2 = (char *)jarg2;
  6968. arg3 = (char *)jarg3;
  6969. result = (bool)(arg1)->addHeader((char const *)arg2,(char const *)arg3);
  6970. jresult = result;
  6971. return jresult;
  6972. }
  6973. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_removeHeader(void * jarg1, char * jarg2) {
  6974. unsigned int jresult ;
  6975. XcapStack *arg1 = (XcapStack *) 0 ;
  6976. char *arg2 = (char *) 0 ;
  6977. bool result;
  6978. arg1 = (XcapStack *)jarg1;
  6979. arg2 = (char *)jarg2;
  6980. result = (bool)(arg1)->removeHeader((char const *)arg2);
  6981. jresult = result;
  6982. return jresult;
  6983. }
  6984. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_setTimeout(void * jarg1, unsigned int jarg2) {
  6985. unsigned int jresult ;
  6986. XcapStack *arg1 = (XcapStack *) 0 ;
  6987. unsigned int arg2 ;
  6988. bool result;
  6989. arg1 = (XcapStack *)jarg1;
  6990. arg2 = (unsigned int)jarg2;
  6991. result = (bool)(arg1)->setTimeout(arg2);
  6992. jresult = result;
  6993. return jresult;
  6994. }
  6995. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_getDocument(void * jarg1, char * jarg2) {
  6996. unsigned int jresult ;
  6997. XcapStack *arg1 = (XcapStack *) 0 ;
  6998. char *arg2 = (char *) 0 ;
  6999. bool result;
  7000. arg1 = (XcapStack *)jarg1;
  7001. arg2 = (char *)jarg2;
  7002. result = (bool)(arg1)->getDocument((char const *)arg2);
  7003. jresult = result;
  7004. return jresult;
  7005. }
  7006. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_getElement(void * jarg1, char * jarg2) {
  7007. unsigned int jresult ;
  7008. XcapStack *arg1 = (XcapStack *) 0 ;
  7009. char *arg2 = (char *) 0 ;
  7010. bool result;
  7011. arg1 = (XcapStack *)jarg1;
  7012. arg2 = (char *)jarg2;
  7013. result = (bool)(arg1)->getElement((char const *)arg2);
  7014. jresult = result;
  7015. return jresult;
  7016. }
  7017. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_getAttribute(void * jarg1, char * jarg2) {
  7018. unsigned int jresult ;
  7019. XcapStack *arg1 = (XcapStack *) 0 ;
  7020. char *arg2 = (char *) 0 ;
  7021. bool result;
  7022. arg1 = (XcapStack *)jarg1;
  7023. arg2 = (char *)jarg2;
  7024. result = (bool)(arg1)->getAttribute((char const *)arg2);
  7025. jresult = result;
  7026. return jresult;
  7027. }
  7028. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_deleteDocument(void * jarg1, char * jarg2) {
  7029. unsigned int jresult ;
  7030. XcapStack *arg1 = (XcapStack *) 0 ;
  7031. char *arg2 = (char *) 0 ;
  7032. bool result;
  7033. arg1 = (XcapStack *)jarg1;
  7034. arg2 = (char *)jarg2;
  7035. result = (bool)(arg1)->deleteDocument((char const *)arg2);
  7036. jresult = result;
  7037. return jresult;
  7038. }
  7039. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_deleteElement(void * jarg1, char * jarg2) {
  7040. unsigned int jresult ;
  7041. XcapStack *arg1 = (XcapStack *) 0 ;
  7042. char *arg2 = (char *) 0 ;
  7043. bool result;
  7044. arg1 = (XcapStack *)jarg1;
  7045. arg2 = (char *)jarg2;
  7046. result = (bool)(arg1)->deleteElement((char const *)arg2);
  7047. jresult = result;
  7048. return jresult;
  7049. }
  7050. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_deleteAttribute(void * jarg1, char * jarg2) {
  7051. unsigned int jresult ;
  7052. XcapStack *arg1 = (XcapStack *) 0 ;
  7053. char *arg2 = (char *) 0 ;
  7054. bool result;
  7055. arg1 = (XcapStack *)jarg1;
  7056. arg2 = (char *)jarg2;
  7057. result = (bool)(arg1)->deleteAttribute((char const *)arg2);
  7058. jresult = result;
  7059. return jresult;
  7060. }
  7061. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_putDocument(void * jarg1, char * jarg2, void * jarg3, unsigned int jarg4, char * jarg5) {
  7062. unsigned int jresult ;
  7063. XcapStack *arg1 = (XcapStack *) 0 ;
  7064. char *arg2 = (char *) 0 ;
  7065. void *arg3 = (void *) 0 ;
  7066. unsigned int arg4 ;
  7067. char *arg5 = (char *) 0 ;
  7068. bool result;
  7069. arg1 = (XcapStack *)jarg1;
  7070. arg2 = (char *)jarg2;
  7071. arg3 = jarg3;
  7072. arg4 = (unsigned int)jarg4;
  7073. arg5 = (char *)jarg5;
  7074. result = (bool)(arg1)->putDocument((char const *)arg2,(void const *)arg3,arg4,(char const *)arg5);
  7075. jresult = result;
  7076. return jresult;
  7077. }
  7078. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_putElement(void * jarg1, char * jarg2, void * jarg3, unsigned int jarg4) {
  7079. unsigned int jresult ;
  7080. XcapStack *arg1 = (XcapStack *) 0 ;
  7081. char *arg2 = (char *) 0 ;
  7082. void *arg3 = (void *) 0 ;
  7083. unsigned int arg4 ;
  7084. bool result;
  7085. arg1 = (XcapStack *)jarg1;
  7086. arg2 = (char *)jarg2;
  7087. arg3 = jarg3;
  7088. arg4 = (unsigned int)jarg4;
  7089. result = (bool)(arg1)->putElement((char const *)arg2,(void const *)arg3,arg4);
  7090. jresult = result;
  7091. return jresult;
  7092. }
  7093. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_putAttribute(void * jarg1, char * jarg2, void * jarg3, unsigned int jarg4) {
  7094. unsigned int jresult ;
  7095. XcapStack *arg1 = (XcapStack *) 0 ;
  7096. char *arg2 = (char *) 0 ;
  7097. void *arg3 = (void *) 0 ;
  7098. unsigned int arg4 ;
  7099. bool result;
  7100. arg1 = (XcapStack *)jarg1;
  7101. arg2 = (char *)jarg2;
  7102. arg3 = jarg3;
  7103. arg4 = (unsigned int)jarg4;
  7104. result = (bool)(arg1)->putAttribute((char const *)arg2,(void const *)arg3,arg4);
  7105. jresult = result;
  7106. return jresult;
  7107. }
  7108. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_XcapStack_stop(void * jarg1) {
  7109. unsigned int jresult ;
  7110. XcapStack *arg1 = (XcapStack *) 0 ;
  7111. bool result;
  7112. arg1 = (XcapStack *)jarg1;
  7113. result = (bool)(arg1)->stop();
  7114. jresult = result;
  7115. return jresult;
  7116. }
  7117. SWIGEXPORT void * SWIGSTDCALL CSharp_new_RPMessage() {
  7118. void * jresult ;
  7119. RPMessage *result = 0 ;
  7120. result = (RPMessage *)new RPMessage();
  7121. jresult = (void *)result;
  7122. return jresult;
  7123. }
  7124. SWIGEXPORT void SWIGSTDCALL CSharp_delete_RPMessage(void * jarg1) {
  7125. RPMessage *arg1 = (RPMessage *) 0 ;
  7126. arg1 = (RPMessage *)jarg1;
  7127. delete arg1;
  7128. }
  7129. SWIGEXPORT int SWIGSTDCALL CSharp_RPMessage_getType(void * jarg1) {
  7130. int jresult ;
  7131. RPMessage *arg1 = (RPMessage *) 0 ;
  7132. twrap_rpmessage_type_t result;
  7133. arg1 = (RPMessage *)jarg1;
  7134. result = (twrap_rpmessage_type_t)(arg1)->getType();
  7135. jresult = result;
  7136. return jresult;
  7137. }
  7138. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_RPMessage_getPayloadLength(void * jarg1) {
  7139. unsigned int jresult ;
  7140. RPMessage *arg1 = (RPMessage *) 0 ;
  7141. unsigned int result;
  7142. arg1 = (RPMessage *)jarg1;
  7143. result = (unsigned int)(arg1)->getPayloadLength();
  7144. jresult = result;
  7145. return jresult;
  7146. }
  7147. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_RPMessage_getPayload(void * jarg1, void * jarg2, unsigned int jarg3) {
  7148. unsigned int jresult ;
  7149. RPMessage *arg1 = (RPMessage *) 0 ;
  7150. void *arg2 = (void *) 0 ;
  7151. unsigned int arg3 ;
  7152. unsigned int result;
  7153. arg1 = (RPMessage *)jarg1;
  7154. arg2 = jarg2;
  7155. arg3 = (unsigned int)jarg3;
  7156. result = (unsigned int)(arg1)->getPayload(arg2,arg3);
  7157. jresult = result;
  7158. return jresult;
  7159. }
  7160. SWIGEXPORT void * SWIGSTDCALL CSharp_new_SMSData() {
  7161. void * jresult ;
  7162. SMSData *result = 0 ;
  7163. result = (SMSData *)new SMSData();
  7164. jresult = (void *)result;
  7165. return jresult;
  7166. }
  7167. SWIGEXPORT void SWIGSTDCALL CSharp_delete_SMSData(void * jarg1) {
  7168. SMSData *arg1 = (SMSData *) 0 ;
  7169. arg1 = (SMSData *)jarg1;
  7170. delete arg1;
  7171. }
  7172. SWIGEXPORT int SWIGSTDCALL CSharp_SMSData_getType(void * jarg1) {
  7173. int jresult ;
  7174. SMSData *arg1 = (SMSData *) 0 ;
  7175. twrap_sms_type_t result;
  7176. arg1 = (SMSData *)jarg1;
  7177. result = (twrap_sms_type_t)(arg1)->getType();
  7178. jresult = result;
  7179. return jresult;
  7180. }
  7181. SWIGEXPORT int SWIGSTDCALL CSharp_SMSData_getMR(void * jarg1) {
  7182. int jresult ;
  7183. SMSData *arg1 = (SMSData *) 0 ;
  7184. int result;
  7185. arg1 = (SMSData *)jarg1;
  7186. result = (int)(arg1)->getMR();
  7187. jresult = result;
  7188. return jresult;
  7189. }
  7190. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SMSData_getPayloadLength(void * jarg1) {
  7191. unsigned int jresult ;
  7192. SMSData *arg1 = (SMSData *) 0 ;
  7193. unsigned int result;
  7194. arg1 = (SMSData *)jarg1;
  7195. result = (unsigned int)(arg1)->getPayloadLength();
  7196. jresult = result;
  7197. return jresult;
  7198. }
  7199. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_SMSData_getPayload(void * jarg1, void * jarg2, unsigned int jarg3) {
  7200. unsigned int jresult ;
  7201. SMSData *arg1 = (SMSData *) 0 ;
  7202. void *arg2 = (void *) 0 ;
  7203. unsigned int arg3 ;
  7204. unsigned int result;
  7205. arg1 = (SMSData *)jarg1;
  7206. arg2 = jarg2;
  7207. arg3 = (unsigned int)jarg3;
  7208. result = (unsigned int)(arg1)->getPayload(arg2,arg3);
  7209. jresult = result;
  7210. return jresult;
  7211. }
  7212. SWIGEXPORT char * SWIGSTDCALL CSharp_SMSData_getOA(void * jarg1) {
  7213. char * jresult ;
  7214. SMSData *arg1 = (SMSData *) 0 ;
  7215. char *result = 0 ;
  7216. arg1 = (SMSData *)jarg1;
  7217. result = (char *)(arg1)->getOA();
  7218. jresult = SWIG_csharp_string_callback((const char *)result);
  7219. return jresult;
  7220. }
  7221. SWIGEXPORT char * SWIGSTDCALL CSharp_SMSData_getDA(void * jarg1) {
  7222. char * jresult ;
  7223. SMSData *arg1 = (SMSData *) 0 ;
  7224. char *result = 0 ;
  7225. arg1 = (SMSData *)jarg1;
  7226. result = (char *)(arg1)->getDA();
  7227. jresult = SWIG_csharp_string_callback((const char *)result);
  7228. return jresult;
  7229. }
  7230. SWIGEXPORT void * SWIGSTDCALL CSharp_SMSEncoder_encodeSubmit(int jarg1, char * jarg2, char * jarg3, char * jarg4) {
  7231. void * jresult ;
  7232. int arg1 ;
  7233. char *arg2 = (char *) 0 ;
  7234. char *arg3 = (char *) 0 ;
  7235. char *arg4 = (char *) 0 ;
  7236. RPMessage *result = 0 ;
  7237. arg1 = (int)jarg1;
  7238. arg2 = (char *)jarg2;
  7239. arg3 = (char *)jarg3;
  7240. arg4 = (char *)jarg4;
  7241. result = (RPMessage *)SMSEncoder::encodeSubmit(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
  7242. jresult = (void *)result;
  7243. return jresult;
  7244. }
  7245. SWIGEXPORT void * SWIGSTDCALL CSharp_SMSEncoder_encodeDeliver(int jarg1, char * jarg2, char * jarg3, char * jarg4) {
  7246. void * jresult ;
  7247. int arg1 ;
  7248. char *arg2 = (char *) 0 ;
  7249. char *arg3 = (char *) 0 ;
  7250. char *arg4 = (char *) 0 ;
  7251. RPMessage *result = 0 ;
  7252. arg1 = (int)jarg1;
  7253. arg2 = (char *)jarg2;
  7254. arg3 = (char *)jarg3;
  7255. arg4 = (char *)jarg4;
  7256. result = (RPMessage *)SMSEncoder::encodeDeliver(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
  7257. jresult = (void *)result;
  7258. return jresult;
  7259. }
  7260. SWIGEXPORT void * SWIGSTDCALL CSharp_SMSEncoder_encodeACK(int jarg1, char * jarg2, char * jarg3, unsigned int jarg4) {
  7261. void * jresult ;
  7262. int arg1 ;
  7263. char *arg2 = (char *) 0 ;
  7264. char *arg3 = (char *) 0 ;
  7265. bool arg4 ;
  7266. RPMessage *result = 0 ;
  7267. arg1 = (int)jarg1;
  7268. arg2 = (char *)jarg2;
  7269. arg3 = (char *)jarg3;
  7270. arg4 = jarg4 ? true : false;
  7271. result = (RPMessage *)SMSEncoder::encodeACK(arg1,(char const *)arg2,(char const *)arg3,arg4);
  7272. jresult = (void *)result;
  7273. return jresult;
  7274. }
  7275. SWIGEXPORT void * SWIGSTDCALL CSharp_SMSEncoder_encodeError(int jarg1, char * jarg2, char * jarg3, unsigned int jarg4) {
  7276. void * jresult ;
  7277. int arg1 ;
  7278. char *arg2 = (char *) 0 ;
  7279. char *arg3 = (char *) 0 ;
  7280. bool arg4 ;
  7281. RPMessage *result = 0 ;
  7282. arg1 = (int)jarg1;
  7283. arg2 = (char *)jarg2;
  7284. arg3 = (char *)jarg3;
  7285. arg4 = jarg4 ? true : false;
  7286. result = (RPMessage *)SMSEncoder::encodeError(arg1,(char const *)arg2,(char const *)arg3,arg4);
  7287. jresult = (void *)result;
  7288. return jresult;
  7289. }
  7290. SWIGEXPORT void * SWIGSTDCALL CSharp_SMSEncoder_decode(void * jarg1, unsigned int jarg2, unsigned int jarg3) {
  7291. void * jresult ;
  7292. void *arg1 = (void *) 0 ;
  7293. unsigned int arg2 ;
  7294. bool arg3 ;
  7295. SMSData *result = 0 ;
  7296. arg1 = jarg1;
  7297. arg2 = (unsigned int)jarg2;
  7298. arg3 = jarg3 ? true : false;
  7299. result = (SMSData *)SMSEncoder::decode((void const *)arg1,arg2,arg3);
  7300. jresult = (void *)result;
  7301. return jresult;
  7302. }
  7303. SWIGEXPORT void SWIGSTDCALL CSharp_delete_SMSEncoder(void * jarg1) {
  7304. SMSEncoder *arg1 = (SMSEncoder *) 0 ;
  7305. arg1 = (SMSEncoder *)jarg1;
  7306. delete arg1;
  7307. }
  7308. SWIGEXPORT void * SWIGSTDCALL CSharp_new_MsrpMessage() {
  7309. void * jresult ;
  7310. MsrpMessage *result = 0 ;
  7311. result = (MsrpMessage *)new MsrpMessage();
  7312. jresult = (void *)result;
  7313. return jresult;
  7314. }
  7315. SWIGEXPORT void SWIGSTDCALL CSharp_delete_MsrpMessage(void * jarg1) {
  7316. MsrpMessage *arg1 = (MsrpMessage *) 0 ;
  7317. arg1 = (MsrpMessage *)jarg1;
  7318. delete arg1;
  7319. }
  7320. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MsrpMessage_isRequest(void * jarg1) {
  7321. unsigned int jresult ;
  7322. MsrpMessage *arg1 = (MsrpMessage *) 0 ;
  7323. bool result;
  7324. arg1 = (MsrpMessage *)jarg1;
  7325. result = (bool)(arg1)->isRequest();
  7326. jresult = result;
  7327. return jresult;
  7328. }
  7329. SWIGEXPORT short SWIGSTDCALL CSharp_MsrpMessage_getCode(void * jarg1) {
  7330. short jresult ;
  7331. MsrpMessage *arg1 = (MsrpMessage *) 0 ;
  7332. short result;
  7333. arg1 = (MsrpMessage *)jarg1;
  7334. result = (short)(arg1)->getCode();
  7335. jresult = result;
  7336. return jresult;
  7337. }
  7338. SWIGEXPORT char * SWIGSTDCALL CSharp_MsrpMessage_getPhrase(void * jarg1) {
  7339. char * jresult ;
  7340. MsrpMessage *arg1 = (MsrpMessage *) 0 ;
  7341. char *result = 0 ;
  7342. arg1 = (MsrpMessage *)jarg1;
  7343. result = (char *)(arg1)->getPhrase();
  7344. jresult = SWIG_csharp_string_callback((const char *)result);
  7345. return jresult;
  7346. }
  7347. SWIGEXPORT int SWIGSTDCALL CSharp_MsrpMessage_getRequestType(void * jarg1) {
  7348. int jresult ;
  7349. MsrpMessage *arg1 = (MsrpMessage *) 0 ;
  7350. tmsrp_request_type_t result;
  7351. arg1 = (MsrpMessage *)jarg1;
  7352. result = (tmsrp_request_type_t)(arg1)->getRequestType();
  7353. jresult = result;
  7354. return jresult;
  7355. }
  7356. SWIGEXPORT void SWIGSTDCALL CSharp_MsrpMessage_getByteRange(void * jarg1, long long * jarg2, long long * jarg3, long long * jarg4) {
  7357. MsrpMessage *arg1 = (MsrpMessage *) 0 ;
  7358. int64_t *arg2 = (int64_t *) 0 ;
  7359. int64_t *arg3 = (int64_t *) 0 ;
  7360. int64_t *arg4 = (int64_t *) 0 ;
  7361. arg1 = (MsrpMessage *)jarg1;
  7362. arg2 = (int64_t *)jarg2;
  7363. arg3 = (int64_t *)jarg3;
  7364. arg4 = (int64_t *)jarg4;
  7365. (arg1)->getByteRange(arg2,arg3,arg4);
  7366. }
  7367. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MsrpMessage_isLastChunck(void * jarg1) {
  7368. unsigned int jresult ;
  7369. MsrpMessage *arg1 = (MsrpMessage *) 0 ;
  7370. bool result;
  7371. arg1 = (MsrpMessage *)jarg1;
  7372. result = (bool)(arg1)->isLastChunck();
  7373. jresult = result;
  7374. return jresult;
  7375. }
  7376. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MsrpMessage_isFirstChunck(void * jarg1) {
  7377. unsigned int jresult ;
  7378. MsrpMessage *arg1 = (MsrpMessage *) 0 ;
  7379. bool result;
  7380. arg1 = (MsrpMessage *)jarg1;
  7381. result = (bool)(arg1)->isFirstChunck();
  7382. jresult = result;
  7383. return jresult;
  7384. }
  7385. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MsrpMessage_isSuccessReport(void * jarg1) {
  7386. unsigned int jresult ;
  7387. MsrpMessage *arg1 = (MsrpMessage *) 0 ;
  7388. bool result;
  7389. arg1 = (MsrpMessage *)jarg1;
  7390. result = (bool)(arg1)->isSuccessReport();
  7391. jresult = result;
  7392. return jresult;
  7393. }
  7394. SWIGEXPORT char * SWIGSTDCALL CSharp_MsrpMessage_getMsrpHeaderValue(void * jarg1, char * jarg2) {
  7395. char * jresult ;
  7396. MsrpMessage *arg1 = (MsrpMessage *) 0 ;
  7397. char *arg2 = (char *) 0 ;
  7398. char *result = 0 ;
  7399. arg1 = (MsrpMessage *)jarg1;
  7400. arg2 = (char *)jarg2;
  7401. result = (char *)(arg1)->getMsrpHeaderValue((char const *)arg2);
  7402. jresult = SWIG_csharp_string_callback((const char *)result);
  7403. delete [] result;
  7404. return jresult;
  7405. }
  7406. SWIGEXPORT char * SWIGSTDCALL CSharp_MsrpMessage_getMsrpHeaderParamValue(void * jarg1, char * jarg2, char * jarg3) {
  7407. char * jresult ;
  7408. MsrpMessage *arg1 = (MsrpMessage *) 0 ;
  7409. char *arg2 = (char *) 0 ;
  7410. char *arg3 = (char *) 0 ;
  7411. char *result = 0 ;
  7412. arg1 = (MsrpMessage *)jarg1;
  7413. arg2 = (char *)jarg2;
  7414. arg3 = (char *)jarg3;
  7415. result = (char *)(arg1)->getMsrpHeaderParamValue((char const *)arg2,(char const *)arg3);
  7416. jresult = SWIG_csharp_string_callback((const char *)result);
  7417. delete [] result;
  7418. return jresult;
  7419. }
  7420. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MsrpMessage_getMsrpContentLength(void * jarg1) {
  7421. unsigned int jresult ;
  7422. MsrpMessage *arg1 = (MsrpMessage *) 0 ;
  7423. unsigned int result;
  7424. arg1 = (MsrpMessage *)jarg1;
  7425. result = (unsigned int)(arg1)->getMsrpContentLength();
  7426. jresult = result;
  7427. return jresult;
  7428. }
  7429. SWIGEXPORT unsigned int SWIGSTDCALL CSharp_MsrpMessage_getMsrpContent(void * jarg1, void * jarg2, unsigned int jarg3) {
  7430. unsigned int jresult ;
  7431. MsrpMessage *arg1 = (MsrpMessage *) 0 ;
  7432. void *arg2 = (void *) 0 ;
  7433. unsigned int arg3 ;
  7434. unsigned int result;
  7435. arg1 = (MsrpMessage *)jarg1;
  7436. arg2 = jarg2;
  7437. arg3 = (unsigned int)jarg3;
  7438. result = (unsigned int)(arg1)->getMsrpContent(arg2,arg3);
  7439. jresult = result;
  7440. return jresult;
  7441. }
  7442. SWIGEXPORT void SWIGSTDCALL CSharp_delete_MsrpEvent(void * jarg1) {
  7443. MsrpEvent *arg1 = (MsrpEvent *) 0 ;
  7444. arg1 = (MsrpEvent *)jarg1;
  7445. delete arg1;
  7446. }
  7447. SWIGEXPORT int SWIGSTDCALL CSharp_MsrpEvent_getType(void * jarg1) {
  7448. int jresult ;
  7449. MsrpEvent *arg1 = (MsrpEvent *) 0 ;
  7450. tmsrp_event_type_t result;
  7451. arg1 = (MsrpEvent *)jarg1;
  7452. result = (tmsrp_event_type_t)(arg1)->getType();
  7453. jresult = result;
  7454. return jresult;
  7455. }
  7456. SWIGEXPORT void * SWIGSTDCALL CSharp_MsrpEvent_getSipSession(void * jarg1) {
  7457. void * jresult ;
  7458. MsrpEvent *arg1 = (MsrpEvent *) 0 ;
  7459. MsrpSession *result = 0 ;
  7460. arg1 = (MsrpEvent *)jarg1;
  7461. result = (MsrpSession *)(arg1)->getSipSession();
  7462. jresult = (void *)result;
  7463. return jresult;
  7464. }
  7465. SWIGEXPORT void * SWIGSTDCALL CSharp_MsrpEvent_getMessage(void * jarg1) {
  7466. void * jresult ;
  7467. MsrpEvent *arg1 = (MsrpEvent *) 0 ;
  7468. MsrpMessage *result = 0 ;
  7469. arg1 = (MsrpEvent *)jarg1;
  7470. result = (MsrpMessage *)((MsrpEvent const *)arg1)->getMessage();
  7471. jresult = (void *)result;
  7472. return jresult;
  7473. }
  7474. SWIGEXPORT void * SWIGSTDCALL CSharp_new_MsrpCallback() {
  7475. void * jresult ;
  7476. MsrpCallback *result = 0 ;
  7477. result = (MsrpCallback *)new SwigDirector_MsrpCallback();
  7478. jresult = (void *)result;
  7479. return jresult;
  7480. }
  7481. SWIGEXPORT void SWIGSTDCALL CSharp_delete_MsrpCallback(void * jarg1) {
  7482. MsrpCallback *arg1 = (MsrpCallback *) 0 ;
  7483. arg1 = (MsrpCallback *)jarg1;
  7484. delete arg1;
  7485. }
  7486. SWIGEXPORT int SWIGSTDCALL CSharp_MsrpCallback_OnEvent(void * jarg1, void * jarg2) {
  7487. int jresult ;
  7488. MsrpCallback *arg1 = (MsrpCallback *) 0 ;
  7489. MsrpEvent *arg2 = (MsrpEvent *) 0 ;
  7490. int result;
  7491. arg1 = (MsrpCallback *)jarg1;
  7492. arg2 = (MsrpEvent *)jarg2;
  7493. result = (int)(arg1)->OnEvent((MsrpEvent const *)arg2);
  7494. jresult = result;
  7495. return jresult;
  7496. }
  7497. SWIGEXPORT int SWIGSTDCALL CSharp_MsrpCallback_OnEventSwigExplicitMsrpCallback(void * jarg1, void * jarg2) {
  7498. int jresult ;
  7499. MsrpCallback *arg1 = (MsrpCallback *) 0 ;
  7500. MsrpEvent *arg2 = (MsrpEvent *) 0 ;
  7501. int result;
  7502. arg1 = (MsrpCallback *)jarg1;
  7503. arg2 = (MsrpEvent *)jarg2;
  7504. result = (int)(arg1)->MsrpCallback::OnEvent((MsrpEvent const *)arg2);
  7505. jresult = result;
  7506. return jresult;
  7507. }
  7508. SWIGEXPORT void SWIGSTDCALL CSharp_MsrpCallback_director_connect(void *objarg, SwigDirector_MsrpCallback::SWIG_Callback0_t callback0) {
  7509. MsrpCallback *obj = (MsrpCallback *)objarg;
  7510. SwigDirector_MsrpCallback *director = dynamic_cast<SwigDirector_MsrpCallback *>(obj);
  7511. if (director) {
  7512. director->swig_connect_director(callback0);
  7513. }
  7514. }
  7515. SWIGEXPORT MediaContent * SWIGSTDCALL CSharp_MediaContentCPIM_SWIGUpcast(MediaContentCPIM *jarg1) {
  7516. return (MediaContent *)jarg1;
  7517. }
  7518. SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_DialogEvent_SWIGUpcast(DialogEvent *jarg1) {
  7519. return (SipEvent *)jarg1;
  7520. }
  7521. SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_StackEvent_SWIGUpcast(StackEvent *jarg1) {
  7522. return (SipEvent *)jarg1;
  7523. }
  7524. SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_InviteEvent_SWIGUpcast(InviteEvent *jarg1) {
  7525. return (SipEvent *)jarg1;
  7526. }
  7527. SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_MessagingEvent_SWIGUpcast(MessagingEvent *jarg1) {
  7528. return (SipEvent *)jarg1;
  7529. }
  7530. SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_InfoEvent_SWIGUpcast(InfoEvent *jarg1) {
  7531. return (SipEvent *)jarg1;
  7532. }
  7533. SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_OptionsEvent_SWIGUpcast(OptionsEvent *jarg1) {
  7534. return (SipEvent *)jarg1;
  7535. }
  7536. SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_PublicationEvent_SWIGUpcast(PublicationEvent *jarg1) {
  7537. return (SipEvent *)jarg1;
  7538. }
  7539. SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_RegistrationEvent_SWIGUpcast(RegistrationEvent *jarg1) {
  7540. return (SipEvent *)jarg1;
  7541. }
  7542. SWIGEXPORT SipEvent * SWIGSTDCALL CSharp_SubscriptionEvent_SWIGUpcast(SubscriptionEvent *jarg1) {
  7543. return (SipEvent *)jarg1;
  7544. }
  7545. SWIGEXPORT SipSession * SWIGSTDCALL CSharp_InviteSession_SWIGUpcast(InviteSession *jarg1) {
  7546. return (SipSession *)jarg1;
  7547. }
  7548. SWIGEXPORT InviteSession * SWIGSTDCALL CSharp_CallSession_SWIGUpcast(CallSession *jarg1) {
  7549. return (InviteSession *)jarg1;
  7550. }
  7551. SWIGEXPORT InviteSession * SWIGSTDCALL CSharp_MsrpSession_SWIGUpcast(MsrpSession *jarg1) {
  7552. return (InviteSession *)jarg1;
  7553. }
  7554. SWIGEXPORT SipSession * SWIGSTDCALL CSharp_MessagingSession_SWIGUpcast(MessagingSession *jarg1) {
  7555. return (SipSession *)jarg1;
  7556. }
  7557. SWIGEXPORT SipSession * SWIGSTDCALL CSharp_InfoSession_SWIGUpcast(InfoSession *jarg1) {
  7558. return (SipSession *)jarg1;
  7559. }
  7560. SWIGEXPORT SipSession * SWIGSTDCALL CSharp_OptionsSession_SWIGUpcast(OptionsSession *jarg1) {
  7561. return (SipSession *)jarg1;
  7562. }
  7563. SWIGEXPORT SipSession * SWIGSTDCALL CSharp_PublicationSession_SWIGUpcast(PublicationSession *jarg1) {
  7564. return (SipSession *)jarg1;
  7565. }
  7566. SWIGEXPORT SipSession * SWIGSTDCALL CSharp_RegistrationSession_SWIGUpcast(RegistrationSession *jarg1) {
  7567. return (SipSession *)jarg1;
  7568. }
  7569. SWIGEXPORT SipSession * SWIGSTDCALL CSharp_SubscriptionSession_SWIGUpcast(SubscriptionSession *jarg1) {
  7570. return (SipSession *)jarg1;
  7571. }
  7572. SWIGEXPORT ProxyPlugin * SWIGSTDCALL CSharp_ProxyAudioConsumer_SWIGUpcast(ProxyAudioConsumer *jarg1) {
  7573. return (ProxyPlugin *)jarg1;
  7574. }
  7575. SWIGEXPORT ProxyPlugin * SWIGSTDCALL CSharp_ProxyVideoConsumer_SWIGUpcast(ProxyVideoConsumer *jarg1) {
  7576. return (ProxyPlugin *)jarg1;
  7577. }
  7578. SWIGEXPORT ProxyPlugin * SWIGSTDCALL CSharp_ProxyAudioProducer_SWIGUpcast(ProxyAudioProducer *jarg1) {
  7579. return (ProxyPlugin *)jarg1;
  7580. }
  7581. SWIGEXPORT ProxyPlugin * SWIGSTDCALL CSharp_ProxyVideoProducer_SWIGUpcast(ProxyVideoProducer *jarg1) {
  7582. return (ProxyPlugin *)jarg1;
  7583. }
  7584. SWIGEXPORT SafeObject * SWIGSTDCALL CSharp_SipStack_SWIGUpcast(SipStack *jarg1) {
  7585. return (SafeObject *)jarg1;
  7586. }
  7587. #ifdef __cplusplus
  7588. }
  7589. #endif