netdb_darwin_arm64.go 323 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323
  1. // Code generated by 'ccgo netdb/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netdb/netdb_darwin_arm64.go -pkgname netdb', DO NOT EDIT.
  2. package netdb
  3. import (
  4. "math"
  5. "reflect"
  6. "sync/atomic"
  7. "unsafe"
  8. )
  9. var _ = math.Pi
  10. var _ reflect.Kind
  11. var _ atomic.Value
  12. var _ unsafe.Pointer
  13. const (
  14. AF_APPLETALK = 16 // socket.h:379:1:
  15. AF_CCITT = 10 // socket.h:373:1:
  16. AF_CHAOS = 5 // socket.h:367:1:
  17. AF_CNT = 21 // socket.h:384:1:
  18. AF_COIP = 20 // socket.h:383:1:
  19. AF_DATAKIT = 9 // socket.h:372:1:
  20. AF_DECnet = 12 // socket.h:375:1:
  21. AF_DLI = 13 // socket.h:376:1:
  22. AF_E164 = 28 // socket.h:391:1:
  23. AF_ECMA = 8 // socket.h:371:1:
  24. AF_HYLINK = 15 // socket.h:378:1:
  25. AF_IEEE80211 = 37 // socket.h:403:1:
  26. AF_IMPLINK = 3 // socket.h:365:1:
  27. AF_INET = 2 // socket.h:363:1:
  28. AF_INET6 = 30 // socket.h:394:1:
  29. AF_IPX = 23 // socket.h:386:1:
  30. AF_ISDN = 28 // socket.h:390:1:
  31. AF_ISO = 7 // socket.h:369:1:
  32. AF_LAT = 14 // socket.h:377:1:
  33. AF_LINK = 18 // socket.h:381:1:
  34. AF_LOCAL = 1 // socket.h:361:1:
  35. AF_MAX = 41 // socket.h:406:1:
  36. AF_NATM = 31 // socket.h:396:1:
  37. AF_NDRV = 27 // socket.h:389:1:
  38. AF_NETBIOS = 33 // socket.h:398:1:
  39. AF_NS = 6 // socket.h:368:1:
  40. AF_OSI = 7 // socket.h:370:1:
  41. AF_PPP = 34 // socket.h:399:1:
  42. AF_PUP = 4 // socket.h:366:1:
  43. AF_RESERVED_36 = 36 // socket.h:402:1:
  44. AF_ROUTE = 17 // socket.h:380:1:
  45. AF_SIP = 24 // socket.h:387:1:
  46. AF_SNA = 11 // socket.h:374:1:
  47. AF_SYSTEM = 32 // socket.h:397:1:
  48. AF_UNIX = 1 // socket.h:359:1:
  49. AF_UNSPEC = 0 // socket.h:358:1:
  50. AF_UTUN = 38 // socket.h:404:1:
  51. AF_VSOCK = 40 // socket.h:405:1:
  52. AI_ADDRCONFIG = 0x00000400 // netdb.h:226:1:
  53. AI_ALL = 0x00000100 // netdb.h:222:1:
  54. AI_CANONNAME = 0x00000002 // netdb.h:212:1:
  55. AI_DEFAULT = 1536 // netdb.h:230:1:
  56. AI_MASK = 5127 // netdb.h:217:1:
  57. AI_NUMERICHOST = 0x00000004 // netdb.h:213:1:
  58. AI_NUMERICSERV = 0x00001000 // netdb.h:214:1:
  59. AI_PASSIVE = 0x00000001 // netdb.h:211:1:
  60. AI_UNUSABLE = 0x10000000 // netdb.h:234:1:
  61. AI_V4MAPPED = 0x00000800 // netdb.h:227:1:
  62. AI_V4MAPPED_CFG = 0x00000200 // netdb.h:224:1:
  63. BIG_ENDIAN = 4321 // endian.h:72:1:
  64. BYTE_ORDER = 1234 // endian.h:75:1:
  65. CONNECT_DATA_AUTHENTICATED = 0x4 // socket.h:304:1:
  66. CONNECT_DATA_IDEMPOTENT = 0x2 // socket.h:303:1:
  67. CONNECT_RESUME_ON_READ_WRITE = 0x1 // socket.h:302:1:
  68. EAI_ADDRFAMILY = 1 // netdb.h:185:1:
  69. EAI_AGAIN = 2 // netdb.h:187:1:
  70. EAI_BADFLAGS = 3 // netdb.h:188:1:
  71. EAI_BADHINTS = 12 // netdb.h:200:1:
  72. EAI_FAIL = 4 // netdb.h:189:1:
  73. EAI_FAMILY = 5 // netdb.h:190:1:
  74. EAI_MAX = 15 // netdb.h:205:1:
  75. EAI_MEMORY = 6 // netdb.h:191:1:
  76. EAI_NODATA = 7 // netdb.h:193:1:
  77. EAI_NONAME = 8 // netdb.h:195:1:
  78. EAI_OVERFLOW = 14 // netdb.h:203:1:
  79. EAI_PROTOCOL = 13 // netdb.h:201:1:
  80. EAI_SERVICE = 9 // netdb.h:196:1:
  81. EAI_SOCKTYPE = 10 // netdb.h:197:1:
  82. EAI_SYSTEM = 11 // netdb.h:198:1:
  83. FD_SETSIZE = 1024 // _fd_setsize.h:29:1:
  84. HOST_NOT_FOUND = 1 // netdb.h:174:1:
  85. ICMP6_FILTER = 18 // in6.h:394:1:
  86. ICMPV6CTL_ND6_ONLINKNSRFC4861 = 50 // in6.h:629:1:
  87. INADDR_NONE = 0xffffffff // in.h:342:1:
  88. INET6_ADDRSTRLEN = 46 // in6.h:162:1:
  89. INET_ADDRSTRLEN = 16 // in.h:388:1:
  90. INT16_MAX = 32767 // stdint.h:599:1:
  91. INT16_MIN = -32768 // stdint.h:600:1:
  92. INT32_MAX = 2147483647 // stdint.h:555:1:
  93. INT32_MIN = -2147483648 // stdint.h:556:1:
  94. INT64_MAX = 9223372036854775807 // stdint.h:461:1:
  95. INT64_MIN = -9223372036854775808 // stdint.h:462:1:
  96. INT8_MAX = 127 // stdint.h:621:1:
  97. INT8_MIN = -128 // stdint.h:622:1:
  98. INTMAX_MAX = 9223372036854775807 // stdint.h:663:1:
  99. INTMAX_MIN = -9223372036854775808 // stdint.h:662:1:
  100. INTPTR_MAX = 9223372036854775807 // stdint.h:649:1:
  101. INTPTR_MIN = -9223372036854775808 // stdint.h:648:1:
  102. INT_FAST16_MAX = 32767 // stdint.h:615:1:
  103. INT_FAST16_MIN = -32768 // stdint.h:614:1:
  104. INT_FAST32_MAX = 2147483647 // stdint.h:574:1:
  105. INT_FAST32_MIN = -2147483648 // stdint.h:573:1:
  106. INT_FAST64_MAX = 9223372036854775807 // stdint.h:483:1:
  107. INT_FAST64_MIN = -9223372036854775808 // stdint.h:482:1:
  108. INT_FAST8_MAX = 127 // stdint.h:634:1:
  109. INT_FAST8_MIN = -128 // stdint.h:633:1:
  110. INT_LEAST16_MAX = 32767 // stdint.h:612:1:
  111. INT_LEAST16_MIN = -32768 // stdint.h:611:1:
  112. INT_LEAST32_MAX = 2147483647 // stdint.h:571:1:
  113. INT_LEAST32_MIN = -2147483648 // stdint.h:570:1:
  114. INT_LEAST64_MAX = 9223372036854775807 // stdint.h:480:1:
  115. INT_LEAST64_MIN = -9223372036854775808 // stdint.h:479:1:
  116. INT_LEAST8_MAX = 127 // stdint.h:631:1:
  117. INT_LEAST8_MIN = -128 // stdint.h:630:1:
  118. IN_CLASSA_HOST = 0x00ffffff // in.h:317:1:
  119. IN_CLASSA_MAX = 128 // in.h:318:1:
  120. IN_CLASSA_NET = 0xff000000 // in.h:315:1:
  121. IN_CLASSA_NSHIFT = 24 // in.h:316:1:
  122. IN_CLASSB_HOST = 0x0000ffff // in.h:323:1:
  123. IN_CLASSB_MAX = 65536 // in.h:324:1:
  124. IN_CLASSB_NET = 0xffff0000 // in.h:321:1:
  125. IN_CLASSB_NSHIFT = 16 // in.h:322:1:
  126. IN_CLASSC_HOST = 0x000000ff // in.h:329:1:
  127. IN_CLASSC_NET = 0xffffff00 // in.h:327:1:
  128. IN_CLASSC_NSHIFT = 8 // in.h:328:1:
  129. IN_CLASSD_HOST = 0x0fffffff // in.h:334:1:
  130. IN_CLASSD_NET = 0xf0000000 // in.h:332:1:
  131. IN_CLASSD_NSHIFT = 28 // in.h:333:1:
  132. IN_LOOPBACKNET = 127 // in.h:369:1:
  133. IPCTL_ACCEPTSOURCEROUTE = 13 // in.h:650:1:
  134. IPCTL_DEFTTL = 3 // in.h:638:1:
  135. IPCTL_DIRECTEDBROADCAST = 9 // in.h:646:1:
  136. IPCTL_FASTFORWARDING = 14 // in.h:651:1:
  137. IPCTL_FORWARDING = 1 // in.h:636:1:
  138. IPCTL_GIF_TTL = 16 // in.h:653:1:
  139. IPCTL_INTRQDROPS = 11 // in.h:648:1:
  140. IPCTL_INTRQMAXLEN = 10 // in.h:647:1:
  141. IPCTL_KEEPFAITH = 15 // in.h:652:1:
  142. IPCTL_MAXID = 17 // in.h:654:1:
  143. IPCTL_RTEXPIRE = 5 // in.h:642:1:
  144. IPCTL_RTMAXCACHE = 7 // in.h:644:1:
  145. IPCTL_RTMINEXPIRE = 6 // in.h:643:1:
  146. IPCTL_SENDREDIRECTS = 2 // in.h:637:1:
  147. IPCTL_SOURCEROUTE = 8 // in.h:645:1:
  148. IPCTL_STATS = 12 // in.h:649:1:
  149. IPPORT_HIFIRSTAUTO = 49152 // in.h:286:1:
  150. IPPORT_HILASTAUTO = 65535 // in.h:287:1:
  151. IPPORT_RESERVED = 1024 // in.h:279:1:
  152. IPPORT_RESERVEDSTART = 600 // in.h:295:1:
  153. IPPORT_USERRESERVED = 5000 // in.h:281:1:
  154. IPPROTO_3PC = 34 // in.h:139:1:
  155. IPPROTO_ADFS = 68 // in.h:173:1:
  156. IPPROTO_AH = 51 // in.h:158:1:
  157. IPPROTO_AHIP = 61 // in.h:166:1:
  158. IPPROTO_APES = 99 // in.h:204:1:
  159. IPPROTO_ARGUS = 13 // in.h:116:1:
  160. IPPROTO_AX25 = 93 // in.h:198:1:
  161. IPPROTO_BHA = 49 // in.h:156:1:
  162. IPPROTO_BLT = 30 // in.h:135:1:
  163. IPPROTO_BRSATMON = 76 // in.h:181:1:
  164. IPPROTO_CFTP = 62 // in.h:167:1:
  165. IPPROTO_CHAOS = 16 // in.h:119:1:
  166. IPPROTO_CMTP = 38 // in.h:143:1:
  167. IPPROTO_CPHB = 73 // in.h:178:1:
  168. IPPROTO_CPNX = 72 // in.h:177:1:
  169. IPPROTO_DDP = 37 // in.h:142:1:
  170. IPPROTO_DGP = 86 // in.h:191:1:
  171. IPPROTO_DIVERT = 254 // in.h:213:1:
  172. IPPROTO_DONE = 257 // in.h:221:1:
  173. IPPROTO_DSTOPTS = 60 // in.h:165:1:
  174. IPPROTO_EGP = 8 // in.h:111:1:
  175. IPPROTO_EMCON = 14 // in.h:117:1:
  176. IPPROTO_ENCAP = 98 // in.h:203:1:
  177. IPPROTO_EON = 80 // in.h:185:1:
  178. IPPROTO_ESP = 50 // in.h:157:1:
  179. IPPROTO_ETHERIP = 97 // in.h:202:1:
  180. IPPROTO_FRAGMENT = 44 // in.h:151:1:
  181. IPPROTO_GGP = 3 // in.h:104:1:
  182. IPPROTO_GMTP = 100 // in.h:205:1:
  183. IPPROTO_GRE = 47 // in.h:154:1:
  184. IPPROTO_HELLO = 63 // in.h:168:1:
  185. IPPROTO_HMP = 20 // in.h:125:1:
  186. IPPROTO_HOPOPTS = 0 // in.h:99:1:
  187. IPPROTO_ICMP = 1 // in.h:101:1:
  188. IPPROTO_ICMPV6 = 58 // in.h:163:1:
  189. IPPROTO_IDP = 22 // in.h:127:1:
  190. IPPROTO_IDPR = 35 // in.h:140:1:
  191. IPPROTO_IDRP = 45 // in.h:152:1:
  192. IPPROTO_IGMP = 2 // in.h:103:1:
  193. IPPROTO_IGP = 85 // in.h:190:1:
  194. IPPROTO_IGRP = 88 // in.h:193:1:
  195. IPPROTO_IL = 40 // in.h:145:1:
  196. IPPROTO_INLSP = 52 // in.h:159:1:
  197. IPPROTO_INP = 32 // in.h:137:1:
  198. IPPROTO_IP = 0 // in.h:97:1:
  199. IPPROTO_IPCOMP = 108 // in.h:208:1:
  200. IPPROTO_IPCV = 71 // in.h:176:1:
  201. IPPROTO_IPEIP = 94 // in.h:199:1:
  202. IPPROTO_IPIP = 4 // in.h:106:1:
  203. IPPROTO_IPPC = 67 // in.h:172:1:
  204. IPPROTO_IPV4 = 4 // in.h:105:1:
  205. IPPROTO_IPV6 = 41 // in.h:147:1:
  206. IPPROTO_IRTP = 28 // in.h:133:1:
  207. IPPROTO_KRYPTOLAN = 65 // in.h:170:1:
  208. IPPROTO_LARP = 91 // in.h:196:1:
  209. IPPROTO_LEAF1 = 25 // in.h:130:1:
  210. IPPROTO_LEAF2 = 26 // in.h:131:1:
  211. IPPROTO_MAX = 256 // in.h:218:1:
  212. IPPROTO_MAXID = 52 // in.h:630:1:
  213. IPPROTO_MEAS = 19 // in.h:124:1:
  214. IPPROTO_MHRP = 48 // in.h:155:1:
  215. IPPROTO_MICP = 95 // in.h:200:1:
  216. IPPROTO_MTP = 92 // in.h:197:1:
  217. IPPROTO_MUX = 18 // in.h:123:1:
  218. IPPROTO_ND = 77 // in.h:182:1:
  219. IPPROTO_NHRP = 54 // in.h:161:1:
  220. IPPROTO_NONE = 59 // in.h:164:1:
  221. IPPROTO_NSP = 31 // in.h:136:1:
  222. IPPROTO_NVPII = 11 // in.h:114:1:
  223. IPPROTO_OSPFIGP = 89 // in.h:194:1:
  224. IPPROTO_PGM = 113 // in.h:209:1:
  225. IPPROTO_PIGP = 9 // in.h:112:1:
  226. IPPROTO_PIM = 103 // in.h:207:1:
  227. IPPROTO_PRM = 21 // in.h:126:1:
  228. IPPROTO_PUP = 12 // in.h:115:1:
  229. IPPROTO_PVP = 75 // in.h:180:1:
  230. IPPROTO_RAW = 255 // in.h:215:1:
  231. IPPROTO_RCCMON = 10 // in.h:113:1:
  232. IPPROTO_RDP = 27 // in.h:132:1:
  233. IPPROTO_ROUTING = 43 // in.h:150:1:
  234. IPPROTO_RSVP = 46 // in.h:153:1:
  235. IPPROTO_RVD = 66 // in.h:171:1:
  236. IPPROTO_SATEXPAK = 64 // in.h:169:1:
  237. IPPROTO_SATMON = 69 // in.h:174:1:
  238. IPPROTO_SCCSP = 96 // in.h:201:1:
  239. IPPROTO_SCTP = 132 // in.h:210:1:
  240. IPPROTO_SDRP = 42 // in.h:149:1:
  241. IPPROTO_SEP = 33 // in.h:138:1:
  242. IPPROTO_SRPC = 90 // in.h:195:1:
  243. IPPROTO_ST = 7 // in.h:110:1:
  244. IPPROTO_SVMTP = 82 // in.h:187:1:
  245. IPPROTO_SWIPE = 53 // in.h:160:1:
  246. IPPROTO_TCF = 87 // in.h:192:1:
  247. IPPROTO_TCP = 6 // in.h:108:1:
  248. IPPROTO_TP = 29 // in.h:134:1:
  249. IPPROTO_TPXX = 39 // in.h:144:1:
  250. IPPROTO_TRUNK1 = 23 // in.h:128:1:
  251. IPPROTO_TRUNK2 = 24 // in.h:129:1:
  252. IPPROTO_TTP = 84 // in.h:189:1:
  253. IPPROTO_UDP = 17 // in.h:121:1:
  254. IPPROTO_VINES = 83 // in.h:188:1:
  255. IPPROTO_VISA = 70 // in.h:175:1:
  256. IPPROTO_VMTP = 81 // in.h:186:1:
  257. IPPROTO_WBEXPAK = 79 // in.h:184:1:
  258. IPPROTO_WBMON = 78 // in.h:183:1:
  259. IPPROTO_WSN = 74 // in.h:179:1:
  260. IPPROTO_XNET = 15 // in.h:118:1:
  261. IPPROTO_XTP = 36 // in.h:141:1:
  262. IPV6CTL_ACCEPT_RTADV = 12 // in6.h:594:1:
  263. IPV6CTL_ADDRCTLPOLICY = 38 // in6.h:619:1:
  264. IPV6CTL_AUTO_FLOWLABEL = 17 // in6.h:599:1:
  265. IPV6CTL_AUTO_LINKLOCAL = 35 // in6.h:616:1:
  266. IPV6CTL_DAD_COUNT = 16 // in6.h:598:1:
  267. IPV6CTL_DEFHLIM = 3 // in6.h:583:1:
  268. IPV6CTL_DEFMCASTHLIM = 18 // in6.h:600:1:
  269. IPV6CTL_FORWARDING = 1 // in6.h:581:1:
  270. IPV6CTL_FORWSRCRT = 5 // in6.h:587:1:
  271. IPV6CTL_GIF_HLIM = 19 // in6.h:601:1:
  272. IPV6CTL_HDRNESTLIMIT = 15 // in6.h:597:1:
  273. IPV6CTL_KAME_VERSION = 20 // in6.h:602:1:
  274. IPV6CTL_KEEPFAITH = 13 // in6.h:595:1:
  275. IPV6CTL_LOG_INTERVAL = 14 // in6.h:596:1:
  276. IPV6CTL_MAXDYNROUTES = 49 // in6.h:628:1:
  277. IPV6CTL_MAXFRAGPACKETS = 9 // in6.h:591:1:
  278. IPV6CTL_MAXFRAGS = 41 // in6.h:622:1:
  279. IPV6CTL_MAXID = 51 // in6.h:635:1:
  280. IPV6CTL_MAXIFDEFROUTERS = 48 // in6.h:627:1:
  281. IPV6CTL_MAXIFPREFIXES = 47 // in6.h:626:1:
  282. IPV6CTL_MCAST_PMTU = 44 // in6.h:623:1:
  283. IPV6CTL_MRTPROTO = 8 // in6.h:590:1:
  284. IPV6CTL_MRTSTATS = 7 // in6.h:589:1:
  285. IPV6CTL_NEIGHBORGCTHRESH = 46 // in6.h:625:1:
  286. IPV6CTL_PREFER_TEMPADDR = 37 // in6.h:618:1:
  287. IPV6CTL_RIP6STATS = 36 // in6.h:617:1:
  288. IPV6CTL_RR_PRUNE = 22 // in6.h:604:1:
  289. IPV6CTL_RTEXPIRE = 25 // in6.h:609:1:
  290. IPV6CTL_RTMAXCACHE = 27 // in6.h:611:1:
  291. IPV6CTL_RTMINEXPIRE = 26 // in6.h:610:1:
  292. IPV6CTL_SENDREDIRECTS = 2 // in6.h:582:1:
  293. IPV6CTL_SOURCECHECK = 10 // in6.h:592:1:
  294. IPV6CTL_SOURCECHECK_LOGINT = 11 // in6.h:593:1:
  295. IPV6CTL_STATS = 6 // in6.h:588:1:
  296. IPV6CTL_TEMPPLTIME = 33 // in6.h:614:1:
  297. IPV6CTL_TEMPVLTIME = 34 // in6.h:615:1:
  298. IPV6CTL_ULA_USETEMPADDR = 51 // in6.h:630:1:
  299. IPV6CTL_USETEMPADDR = 32 // in6.h:613:1:
  300. IPV6CTL_USE_DEFAULTZONE = 39 // in6.h:620:1:
  301. IPV6CTL_USE_DEPRECATED = 21 // in6.h:603:1:
  302. IPV6CTL_V6ONLY = 24 // in6.h:608:1:
  303. IPV6PORT_ANONMAX = 65535 // in6.h:144:1:
  304. IPV6PORT_ANONMIN = 49152 // in6.h:143:1:
  305. IPV6PORT_RESERVED = 1024 // in6.h:142:1:
  306. IPV6PORT_RESERVEDMAX = 1023 // in6.h:146:1:
  307. IPV6PORT_RESERVEDMIN = 600 // in6.h:145:1:
  308. IPV6PROTO_MAXID = 104 // in6.h:576:1:
  309. IPV6_2292DSTOPTS = 23 // in6.h:399:1:
  310. IPV6_2292HOPLIMIT = 20 // in6.h:396:1:
  311. IPV6_2292HOPOPTS = 22 // in6.h:398:1:
  312. IPV6_2292NEXTHOP = 21 // in6.h:397:1:
  313. IPV6_2292PKTINFO = 19 // in6.h:395:1:
  314. IPV6_2292PKTOPTIONS = 25 // in6.h:403:1:
  315. IPV6_2292RTHDR = 24 // in6.h:400:1:
  316. IPV6_ADDR_MC_FLAGS_PREFIX = 0x20 // in6.h:306:1:
  317. IPV6_ADDR_MC_FLAGS_TRANSIENT = 0x10 // in6.h:305:1:
  318. IPV6_ADDR_MC_FLAGS_UNICAST_BASED = 48 // in6.h:307:1:
  319. IPV6_BINDV6ONLY = 27 // in6.h:419:1:
  320. IPV6_BOUND_IF = 125 // in6.h:508:1:
  321. IPV6_CHECKSUM = 26 // in6.h:415:1:
  322. IPV6_DEFAULT_MULTICAST_HOPS = 1 // in6.h:520:1:
  323. IPV6_DEFAULT_MULTICAST_LOOP = 1 // in6.h:521:1:
  324. IPV6_FAITH = 29 // in6.h:425:1:
  325. IPV6_FW_ADD = 30 // in6.h:428:1:
  326. IPV6_FW_DEL = 31 // in6.h:429:1:
  327. IPV6_FW_FLUSH = 32 // in6.h:430:1:
  328. IPV6_FW_GET = 34 // in6.h:432:1:
  329. IPV6_FW_ZERO = 33 // in6.h:431:1:
  330. IPV6_IPSEC_POLICY = 28 // in6.h:423:1:
  331. IPV6_JOIN_GROUP = 12 // in6.h:389:1:
  332. IPV6_LEAVE_GROUP = 13 // in6.h:390:1:
  333. IPV6_MAX_GROUP_SRC_FILTER = 512 // in6.h:535:1:
  334. IPV6_MAX_MEMBERSHIPS = 4095 // in6.h:529:1:
  335. IPV6_MAX_SOCK_SRC_FILTER = 128 // in6.h:536:1:
  336. IPV6_MIN_MEMBERSHIPS = 31 // in6.h:528:1:
  337. IPV6_MULTICAST_HOPS = 10 // in6.h:387:1:
  338. IPV6_MULTICAST_IF = 9 // in6.h:386:1:
  339. IPV6_MULTICAST_LOOP = 11 // in6.h:388:1:
  340. IPV6_PORTRANGE = 14 // in6.h:393:1:
  341. IPV6_PORTRANGE_DEFAULT = 0 // in6.h:566:1:
  342. IPV6_PORTRANGE_HIGH = 1 // in6.h:567:1:
  343. IPV6_PORTRANGE_LOW = 2 // in6.h:568:1:
  344. IPV6_RECVTCLASS = 35 // in6.h:440:1:
  345. IPV6_RTHDR_LOOSE = 0 // in6.h:513:1:
  346. IPV6_RTHDR_STRICT = 1 // in6.h:514:1:
  347. IPV6_RTHDR_TYPE_0 = 0 // in6.h:515:1:
  348. IPV6_SOCKOPT_RESERVED1 = 3 // in6.h:383:1:
  349. IPV6_TCLASS = 36 // in6.h:441:1:
  350. IPV6_UNICAST_HOPS = 4 // in6.h:385:1:
  351. IPV6_V6ONLY = 27 // in6.h:417:1:
  352. IP_ADD_MEMBERSHIP = 12 // in.h:418:1:
  353. IP_ADD_SOURCE_MEMBERSHIP = 70 // in.h:465:1:
  354. IP_BLOCK_SOURCE = 72 // in.h:467:1:
  355. IP_BOUND_IF = 25 // in.h:434:1:
  356. IP_DEFAULT_MULTICAST_LOOP = 1 // in.h:486:1:
  357. IP_DEFAULT_MULTICAST_TTL = 1 // in.h:485:1:
  358. IP_DONTFRAG = 28 // in.h:438:1:
  359. IP_DROP_MEMBERSHIP = 13 // in.h:419:1:
  360. IP_DROP_SOURCE_MEMBERSHIP = 71 // in.h:466:1:
  361. IP_DUMMYNET_CONFIGURE = 60 // in.h:456:1:
  362. IP_DUMMYNET_DEL = 61 // in.h:457:1:
  363. IP_DUMMYNET_FLUSH = 62 // in.h:458:1:
  364. IP_DUMMYNET_GET = 64 // in.h:459:1:
  365. IP_FAITH = 22 // in.h:429:1:
  366. IP_FW_ADD = 40 // in.h:440:1:
  367. IP_FW_DEL = 41 // in.h:441:1:
  368. IP_FW_FLUSH = 42 // in.h:442:1:
  369. IP_FW_GET = 44 // in.h:444:1:
  370. IP_FW_RESETLOG = 45 // in.h:445:1:
  371. IP_FW_ZERO = 43 // in.h:443:1:
  372. IP_HDRINCL = 2 // in.h:408:1:
  373. IP_IPSEC_POLICY = 21 // in.h:428:1:
  374. IP_MAX_GROUP_SRC_FILTER = 512 // in.h:500:1:
  375. IP_MAX_MEMBERSHIPS = 4095 // in.h:494:1:
  376. IP_MAX_SOCK_MUTE_FILTER = 128 // in.h:502:1:
  377. IP_MAX_SOCK_SRC_FILTER = 128 // in.h:501:1:
  378. IP_MIN_MEMBERSHIPS = 31 // in.h:493:1:
  379. IP_MSFILTER = 74 // in.h:471:1:
  380. IP_MULTICAST_IF = 9 // in.h:415:1:
  381. IP_MULTICAST_IFINDEX = 66 // in.h:462:1:
  382. IP_MULTICAST_LOOP = 11 // in.h:417:1:
  383. IP_MULTICAST_TTL = 10 // in.h:416:1:
  384. IP_MULTICAST_VIF = 14 // in.h:420:1:
  385. IP_NAT__XXX = 55 // in.h:453:1:
  386. IP_OLD_FW_ADD = 50 // in.h:448:1:
  387. IP_OLD_FW_DEL = 51 // in.h:449:1:
  388. IP_OLD_FW_FLUSH = 52 // in.h:450:1:
  389. IP_OLD_FW_GET = 54 // in.h:452:1:
  390. IP_OLD_FW_RESETLOG = 56 // in.h:454:1:
  391. IP_OLD_FW_ZERO = 53 // in.h:451:1:
  392. IP_OPTIONS = 1 // in.h:407:1:
  393. IP_PKTINFO = 26 // in.h:435:1:
  394. IP_PORTRANGE = 19 // in.h:425:1:
  395. IP_PORTRANGE_DEFAULT = 0 // in.h:594:1:
  396. IP_PORTRANGE_HIGH = 1 // in.h:595:1:
  397. IP_PORTRANGE_LOW = 2 // in.h:596:1:
  398. IP_RECVDSTADDR = 7 // in.h:413:1:
  399. IP_RECVIF = 20 // in.h:426:1:
  400. IP_RECVOPTS = 5 // in.h:411:1:
  401. IP_RECVPKTINFO = 26 // in.h:436:1:
  402. IP_RECVRETOPTS = 6 // in.h:412:1:
  403. IP_RECVTOS = 27 // in.h:437:1:
  404. IP_RECVTTL = 24 // in.h:433:1:
  405. IP_RETOPTS = 8 // in.h:414:1:
  406. IP_RSVP_OFF = 16 // in.h:422:1:
  407. IP_RSVP_ON = 15 // in.h:421:1:
  408. IP_RSVP_VIF_OFF = 18 // in.h:424:1:
  409. IP_RSVP_VIF_ON = 17 // in.h:423:1:
  410. IP_STRIPHDR = 23 // in.h:431:1:
  411. IP_TOS = 3 // in.h:409:1:
  412. IP_TRAFFIC_MGT_BACKGROUND = 65 // in.h:461:1:
  413. IP_TTL = 4 // in.h:410:1:
  414. IP_UNBLOCK_SOURCE = 73 // in.h:468:1:
  415. KEV_DL_ADDMULTI = 7 // net_kev.h:61:1:
  416. KEV_DL_AWDL_RESTRICTED = 26 // net_kev.h:80:1:
  417. KEV_DL_AWDL_UNRESTRICTED = 27 // net_kev.h:81:1:
  418. KEV_DL_DELMULTI = 8 // net_kev.h:62:1:
  419. KEV_DL_IFCAP_CHANGED = 19 // net_kev.h:73:1:
  420. KEV_DL_IFDELEGATE_CHANGED = 25 // net_kev.h:79:1:
  421. KEV_DL_IF_ATTACHED = 9 // net_kev.h:63:1:
  422. KEV_DL_IF_DETACHED = 11 // net_kev.h:65:1:
  423. KEV_DL_IF_DETACHING = 10 // net_kev.h:64:1:
  424. KEV_DL_IF_IDLE_ROUTE_REFCNT = 18 // net_kev.h:72:1:
  425. KEV_DL_ISSUES = 24 // net_kev.h:78:1:
  426. KEV_DL_LINK_ADDRESS_CHANGED = 16 // net_kev.h:70:1:
  427. KEV_DL_LINK_OFF = 12 // net_kev.h:66:1:
  428. KEV_DL_LINK_ON = 13 // net_kev.h:67:1:
  429. KEV_DL_LINK_QUALITY_METRIC_CHANGED = 20 // net_kev.h:74:1:
  430. KEV_DL_LOW_POWER_MODE_CHANGED = 30 // net_kev.h:84:1:
  431. KEV_DL_NODE_ABSENCE = 22 // net_kev.h:76:1:
  432. KEV_DL_NODE_PRESENCE = 21 // net_kev.h:75:1:
  433. KEV_DL_PRIMARY_ELECTED = 23 // net_kev.h:77:1:
  434. KEV_DL_PROTO_ATTACHED = 14 // net_kev.h:68:1:
  435. KEV_DL_PROTO_DETACHED = 15 // net_kev.h:69:1:
  436. KEV_DL_QOS_MODE_CHANGED = 29 // net_kev.h:83:1:
  437. KEV_DL_RRC_STATE_CHANGED = 28 // net_kev.h:82:1:
  438. KEV_DL_SIFFLAGS = 1 // net_kev.h:55:1:
  439. KEV_DL_SIFGENERIC = 6 // net_kev.h:60:1:
  440. KEV_DL_SIFMEDIA = 5 // net_kev.h:59:1:
  441. KEV_DL_SIFMETRICS = 2 // net_kev.h:56:1:
  442. KEV_DL_SIFMTU = 3 // net_kev.h:57:1:
  443. KEV_DL_SIFPHYS = 4 // net_kev.h:58:1:
  444. KEV_DL_SUBCLASS = 2 // net_kev.h:50:1:
  445. KEV_DL_WAKEFLAGS_CHANGED = 17 // net_kev.h:71:1:
  446. KEV_INET6_ADDR_DELETED = 3 // net_kev.h:93:1:
  447. KEV_INET6_CHANGED_ADDR = 2 // net_kev.h:92:1:
  448. KEV_INET6_DEFROUTER = 6 // net_kev.h:96:1:
  449. KEV_INET6_NEW_LL_ADDR = 4 // net_kev.h:94:1:
  450. KEV_INET6_NEW_RTADV_ADDR = 5 // net_kev.h:95:1:
  451. KEV_INET6_NEW_USER_ADDR = 1 // net_kev.h:91:1:
  452. KEV_INET6_REQUEST_NAT64_PREFIX = 7 // net_kev.h:97:1:
  453. KEV_INET6_SUBCLASS = 6 // net_kev.h:89:1:
  454. KEV_INET_ADDR_DELETED = 3 // net_kev.h:39:1:
  455. KEV_INET_ARPCOLLISION = 7 // net_kev.h:43:1:
  456. KEV_INET_ARPRTRALIVE = 10 // net_kev.h:48:1:
  457. KEV_INET_ARPRTRFAILURE = 9 // net_kev.h:47:1:
  458. KEV_INET_CHANGED_ADDR = 2 // net_kev.h:38:1:
  459. KEV_INET_NEW_ADDR = 1 // net_kev.h:37:1:
  460. KEV_INET_PORTINUSE = 8 // net_kev.h:45:1:
  461. KEV_INET_SIFBRDADDR = 5 // net_kev.h:41:1:
  462. KEV_INET_SIFDSTADDR = 4 // net_kev.h:40:1:
  463. KEV_INET_SIFNETMASK = 6 // net_kev.h:42:1:
  464. KEV_INET_SUBCLASS = 1 // net_kev.h:35:1:
  465. LITTLE_ENDIAN = 1234 // endian.h:71:1:
  466. MAC_OS_VERSION_11_0 = 110000 // AvailabilityVersions.h:238:1:
  467. MAC_OS_VERSION_12_0 = 120000 // AvailabilityVersions.h:239:1:
  468. MAC_OS_X_VERSION_10_0 = 1000 // AvailabilityVersions.h:206:1:
  469. MAC_OS_X_VERSION_10_1 = 1010 // AvailabilityVersions.h:207:1:
  470. MAC_OS_X_VERSION_10_10 = 101000 // AvailabilityVersions.h:216:1:
  471. MAC_OS_X_VERSION_10_10_2 = 101002 // AvailabilityVersions.h:217:1:
  472. MAC_OS_X_VERSION_10_10_3 = 101003 // AvailabilityVersions.h:218:1:
  473. MAC_OS_X_VERSION_10_11 = 101100 // AvailabilityVersions.h:219:1:
  474. MAC_OS_X_VERSION_10_11_2 = 101102 // AvailabilityVersions.h:220:1:
  475. MAC_OS_X_VERSION_10_11_3 = 101103 // AvailabilityVersions.h:221:1:
  476. MAC_OS_X_VERSION_10_11_4 = 101104 // AvailabilityVersions.h:222:1:
  477. MAC_OS_X_VERSION_10_12 = 101200 // AvailabilityVersions.h:223:1:
  478. MAC_OS_X_VERSION_10_12_1 = 101201 // AvailabilityVersions.h:224:1:
  479. MAC_OS_X_VERSION_10_12_2 = 101202 // AvailabilityVersions.h:225:1:
  480. MAC_OS_X_VERSION_10_12_4 = 101204 // AvailabilityVersions.h:226:1:
  481. MAC_OS_X_VERSION_10_13 = 101300 // AvailabilityVersions.h:227:1:
  482. MAC_OS_X_VERSION_10_13_1 = 101301 // AvailabilityVersions.h:228:1:
  483. MAC_OS_X_VERSION_10_13_2 = 101302 // AvailabilityVersions.h:229:1:
  484. MAC_OS_X_VERSION_10_13_4 = 101304 // AvailabilityVersions.h:230:1:
  485. MAC_OS_X_VERSION_10_14 = 101400 // AvailabilityVersions.h:231:1:
  486. MAC_OS_X_VERSION_10_14_1 = 101401 // AvailabilityVersions.h:232:1:
  487. MAC_OS_X_VERSION_10_14_4 = 101404 // AvailabilityVersions.h:233:1:
  488. MAC_OS_X_VERSION_10_14_6 = 101406 // AvailabilityVersions.h:234:1:
  489. MAC_OS_X_VERSION_10_15 = 101500 // AvailabilityVersions.h:235:1:
  490. MAC_OS_X_VERSION_10_15_1 = 101501 // AvailabilityVersions.h:236:1:
  491. MAC_OS_X_VERSION_10_16 = 101600 // AvailabilityVersions.h:237:1:
  492. MAC_OS_X_VERSION_10_2 = 1020 // AvailabilityVersions.h:208:1:
  493. MAC_OS_X_VERSION_10_3 = 1030 // AvailabilityVersions.h:209:1:
  494. MAC_OS_X_VERSION_10_4 = 1040 // AvailabilityVersions.h:210:1:
  495. MAC_OS_X_VERSION_10_5 = 1050 // AvailabilityVersions.h:211:1:
  496. MAC_OS_X_VERSION_10_6 = 1060 // AvailabilityVersions.h:212:1:
  497. MAC_OS_X_VERSION_10_7 = 1070 // AvailabilityVersions.h:213:1:
  498. MAC_OS_X_VERSION_10_8 = 1080 // AvailabilityVersions.h:214:1:
  499. MAC_OS_X_VERSION_10_9 = 1090 // AvailabilityVersions.h:215:1:
  500. MCAST_BLOCK_SOURCE = 84 // in.h:478:1:
  501. MCAST_EXCLUDE = 2 // in.h:588:1:
  502. MCAST_INCLUDE = 1 // in.h:587:1:
  503. MCAST_JOIN_GROUP = 80 // in.h:474:1:
  504. MCAST_JOIN_SOURCE_GROUP = 82 // in.h:476:1:
  505. MCAST_LEAVE_GROUP = 81 // in.h:475:1:
  506. MCAST_LEAVE_SOURCE_GROUP = 83 // in.h:477:1:
  507. MCAST_UNBLOCK_SOURCE = 85 // in.h:479:1:
  508. MCAST_UNDEFINED = 0 // in.h:586:1:
  509. MSG_CTRUNC = 0x20 // socket.h:569:1:
  510. MSG_DONTROUTE = 0x4 // socket.h:566:1:
  511. MSG_DONTWAIT = 0x80 // socket.h:572:1:
  512. MSG_EOF = 0x100 // socket.h:573:1:
  513. MSG_EOR = 0x8 // socket.h:567:1:
  514. MSG_FLUSH = 0x400 // socket.h:578:1:
  515. MSG_HAVEMORE = 0x2000 // socket.h:581:1:
  516. MSG_HOLD = 0x800 // socket.h:579:1:
  517. MSG_NEEDSA = 0x10000 // socket.h:584:1:
  518. MSG_NOSIGNAL = 0x80000 // socket.h:588:1:
  519. MSG_OOB = 0x1 // socket.h:564:1:
  520. MSG_PEEK = 0x2 // socket.h:565:1:
  521. MSG_RCVMORE = 0x4000 // socket.h:582:1:
  522. MSG_SEND = 0x1000 // socket.h:580:1:
  523. MSG_TRUNC = 0x10 // socket.h:568:1:
  524. MSG_WAITALL = 0x40 // socket.h:570:1:
  525. MSG_WAITSTREAM = 0x200 // socket.h:576:1:
  526. NBBY = 8 // types.h:186:1:
  527. NETDB_INTERNAL = -1 // netdb.h:171:1:
  528. NETDB_SUCCESS = 0 // netdb.h:172:1:
  529. NETSVC_MRKNG_LVL_L2 = 1 // socket.h:287:1:
  530. NETSVC_MRKNG_LVL_L3L2_ALL = 2 // socket.h:288:1:
  531. NETSVC_MRKNG_LVL_L3L2_BK = 3 // socket.h:289:1:
  532. NETSVC_MRKNG_UNKNOWN = 0 // socket.h:286:1:
  533. NET_MAXID = 41 // socket.h:512:1:
  534. NET_RT_DUMP = 1 // socket.h:525:1:
  535. NET_RT_DUMP2 = 7 // socket.h:531:1:
  536. NET_RT_FLAGS = 2 // socket.h:526:1:
  537. NET_RT_FLAGS_PRIV = 10 // socket.h:536:1:
  538. NET_RT_IFLIST = 3 // socket.h:527:1:
  539. NET_RT_IFLIST2 = 6 // socket.h:530:1:
  540. NET_RT_MAXID = 11 // socket.h:537:1:
  541. NET_RT_STAT = 4 // socket.h:528:1:
  542. NET_RT_TRASH = 5 // socket.h:529:1:
  543. NET_SERVICE_TYPE_AV = 6 // socket.h:280:1:
  544. NET_SERVICE_TYPE_BE = 0 // socket.h:274:1:
  545. NET_SERVICE_TYPE_BK = 1 // socket.h:275:1:
  546. NET_SERVICE_TYPE_OAM = 7 // socket.h:281:1:
  547. NET_SERVICE_TYPE_RD = 8 // socket.h:282:1:
  548. NET_SERVICE_TYPE_RV = 5 // socket.h:279:1:
  549. NET_SERVICE_TYPE_SIG = 2 // socket.h:276:1:
  550. NET_SERVICE_TYPE_VI = 3 // socket.h:277:1:
  551. NET_SERVICE_TYPE_VO = 4 // socket.h:278:1:
  552. NI_DGRAM = 0x00000010 // netdb.h:252:1:
  553. NI_MAXHOST = 1025 // netdb.h:241:1:
  554. NI_MAXSERV = 32 // netdb.h:242:1:
  555. NI_NAMEREQD = 0x00000004 // netdb.h:249:1:
  556. NI_NOFQDN = 0x00000001 // netdb.h:247:1:
  557. NI_NUMERICHOST = 0x00000002 // netdb.h:248:1:
  558. NI_NUMERICSCOPE = 0x00000100 // netdb.h:251:1:
  559. NI_NUMERICSERV = 0x00000008 // netdb.h:250:1:
  560. NI_WITHSCOPEID = 0x00000020 // netdb.h:254:1:
  561. NO_ADDRESS = 4 // netdb.h:179:1:
  562. NO_DATA = 4 // netdb.h:177:1:
  563. NO_RECOVERY = 3 // netdb.h:176:1:
  564. PDP_ENDIAN = 3412 // endian.h:73:1:
  565. PF_APPLETALK = 16 // socket.h:474:1:
  566. PF_CCITT = 10 // socket.h:468:1:
  567. PF_CHAOS = 5 // socket.h:462:1:
  568. PF_CNT = 21 // socket.h:479:1:
  569. PF_COIP = 20 // socket.h:478:1:
  570. PF_DATAKIT = 9 // socket.h:467:1:
  571. PF_DECnet = 12 // socket.h:470:1:
  572. PF_DLI = 13 // socket.h:471:1:
  573. PF_ECMA = 8 // socket.h:466:1:
  574. PF_HYLINK = 15 // socket.h:473:1:
  575. PF_IMPLINK = 3 // socket.h:460:1:
  576. PF_INET = 2 // socket.h:459:1:
  577. PF_INET6 = 30 // socket.h:487:1:
  578. PF_IPX = 23 // socket.h:481:1:
  579. PF_ISDN = 28 // socket.h:485:1:
  580. PF_ISO = 7 // socket.h:464:1:
  581. PF_KEY = 29 // socket.h:486:1:
  582. PF_LAT = 14 // socket.h:472:1:
  583. PF_LINK = 18 // socket.h:476:1:
  584. PF_LOCAL = 1 // socket.h:457:1:
  585. PF_MAX = 41 // socket.h:495:1:
  586. PF_NATM = 31 // socket.h:488:1:
  587. PF_NDRV = 27 // socket.h:484:1:
  588. PF_NETBIOS = 33 // socket.h:490:1:
  589. PF_NS = 6 // socket.h:463:1:
  590. PF_OSI = 7 // socket.h:465:1:
  591. PF_PIP = 25 // socket.h:483:1:
  592. PF_PPP = 34 // socket.h:491:1:
  593. PF_PUP = 4 // socket.h:461:1:
  594. PF_RESERVED_36 = 36 // socket.h:492:1:
  595. PF_ROUTE = 17 // socket.h:475:1:
  596. PF_RTIP = 22 // socket.h:482:1:
  597. PF_SIP = 24 // socket.h:480:1:
  598. PF_SNA = 11 // socket.h:469:1:
  599. PF_SYSTEM = 32 // socket.h:489:1:
  600. PF_UNIX = 1 // socket.h:458:1:
  601. PF_UNSPEC = 0 // socket.h:456:1:
  602. PF_UTUN = 38 // socket.h:493:1:
  603. PF_VSOCK = 40 // socket.h:494:1:
  604. PF_XTP = 19 // socket.h:477:1:
  605. PTRDIFF_MAX = 9223372036854775807 // stdint.h:652:1:
  606. PTRDIFF_MIN = -9223372036854775808 // stdint.h:651:1:
  607. RSIZE_MAX = 9223372036854775807 // stdint.h:658:1:
  608. SAE_ASSOCID_ANY = 0 // socket.h:294:1:
  609. SAE_CONNID_ANY = 0 // socket.h:298:1:
  610. SCM_CREDS = 0x03 // socket.h:674:1:
  611. SCM_RIGHTS = 0x01 // socket.h:671:1:
  612. SCM_TIMESTAMP = 0x02 // socket.h:673:1:
  613. SCM_TIMESTAMP_MONOTONIC = 0x04 // socket.h:675:1:
  614. SCOPE_DELIMITER = 37 // netdb.h:259:1:
  615. SHUT_RD = 0 // socket.h:683:1:
  616. SHUT_RDWR = 2 // socket.h:685:1:
  617. SHUT_WR = 1 // socket.h:684:1:
  618. SIG_ATOMIC_MAX = 2147483647 // stdint.h:668:1:
  619. SIG_ATOMIC_MIN = -2147483648 // stdint.h:667:1:
  620. SIN6_LEN = 0 // in6.h:168:1:
  621. SIZE_MAX = 18446744073709551615 // stdint.h:653:1:
  622. SOCK_DGRAM = 2 // socket.h:113:1:
  623. SOCK_MAXADDRLEN = 255 // socket.h:419:1:
  624. SOCK_RAW = 3 // socket.h:114:1:
  625. SOCK_RDM = 4 // socket.h:116:1:
  626. SOCK_SEQPACKET = 5 // socket.h:118:1:
  627. SOCK_STREAM = 1 // socket.h:112:1:
  628. SOL_SOCKET = 0xffff // socket.h:352:1:
  629. SOMAXCONN = 128 // socket.h:546:1:
  630. SONPX_SETOPTSHUT = 0x000000001 // socket.h:342:1:
  631. SO_ACCEPTCONN = 0x0002 // socket.h:124:1:
  632. SO_BROADCAST = 0x0020 // socket.h:128:1:
  633. SO_DEBUG = 0x0001 // socket.h:123:1:
  634. SO_DONTROUTE = 0x0010 // socket.h:127:1:
  635. SO_DONTTRUNC = 0x2000 // socket.h:143:1:
  636. SO_ERROR = 0x1007 // socket.h:161:1:
  637. SO_KEEPALIVE = 0x0008 // socket.h:126:1:
  638. SO_LABEL = 0x1010 // socket.h:164:1:
  639. SO_LINGER = 0x0080 // socket.h:131:1:
  640. SO_LINGER_SEC = 0x1080 // socket.h:177:1:
  641. SO_NETSVC_MARKING_LEVEL = 0x1119 // socket.h:186:1:
  642. SO_NET_SERVICE_TYPE = 0x1116 // socket.h:183:1:
  643. SO_NKE = 0x1021 // socket.h:168:1:
  644. SO_NOADDRERR = 0x1023 // socket.h:170:1:
  645. SO_NOSIGPIPE = 0x1022 // socket.h:169:1:
  646. SO_NOTIFYCONFLICT = 0x1026 // socket.h:174:1:
  647. SO_NP_EXTENSIONS = 0x1083 // socket.h:179:1:
  648. SO_NREAD = 0x1020 // socket.h:167:1:
  649. SO_NUMRCVPKT = 0x1112 // socket.h:182:1:
  650. SO_NWRITE = 0x1024 // socket.h:171:1:
  651. SO_OOBINLINE = 0x0100 // socket.h:135:1:
  652. SO_PEERLABEL = 0x1011 // socket.h:165:1:
  653. SO_RANDOMPORT = 0x1082 // socket.h:178:1:
  654. SO_RCVBUF = 0x1002 // socket.h:156:1:
  655. SO_RCVLOWAT = 0x1004 // socket.h:158:1:
  656. SO_RCVTIMEO = 0x1006 // socket.h:160:1:
  657. SO_REUSEADDR = 0x0004 // socket.h:125:1:
  658. SO_REUSEPORT = 0x0200 // socket.h:137:1:
  659. SO_REUSESHAREUID = 0x1025 // socket.h:172:1:
  660. SO_SNDBUF = 0x1001 // socket.h:155:1:
  661. SO_SNDLOWAT = 0x1003 // socket.h:157:1:
  662. SO_SNDTIMEO = 0x1005 // socket.h:159:1:
  663. SO_TIMESTAMP = 0x0400 // socket.h:138:1:
  664. SO_TIMESTAMP_MONOTONIC = 0x0800 // socket.h:139:1:
  665. SO_TYPE = 0x1008 // socket.h:162:1:
  666. SO_UPCALLCLOSEWAIT = 0x1027 // socket.h:175:1:
  667. SO_USELOOPBACK = 0x0040 // socket.h:130:1:
  668. SO_WANTMORE = 0x4000 // socket.h:145:1:
  669. SO_WANTOOBFLAG = 0x8000 // socket.h:146:1:
  670. TRY_AGAIN = 2 // netdb.h:175:1:
  671. UINT16_MAX = 65535 // stdint.h:601:1:
  672. UINT32_MAX = 4294967295 // stdint.h:557:1:
  673. UINT64_MAX = 18446744073709551615 // stdint.h:463:1:
  674. UINT8_MAX = 255 // stdint.h:623:1:
  675. UINTMAX_MAX = 18446744073709551615 // stdint.h:664:1:
  676. UINTPTR_MAX = 18446744073709551615 // stdint.h:650:1:
  677. UINT_FAST16_MAX = 65535 // stdint.h:616:1:
  678. UINT_FAST32_MAX = 4294967295 // stdint.h:575:1:
  679. UINT_FAST64_MAX = 18446744073709551615 // stdint.h:484:1:
  680. UINT_FAST8_MAX = 255 // stdint.h:635:1:
  681. UINT_LEAST16_MAX = 65535 // stdint.h:613:1:
  682. UINT_LEAST32_MAX = 4294967295 // stdint.h:572:1:
  683. UINT_LEAST64_MAX = 18446744073709551615 // stdint.h:481:1:
  684. UINT_LEAST8_MAX = 255 // stdint.h:632:1:
  685. WCHAR_MAX = 2147483647 // stdint.h:678:1:
  686. WCHAR_MIN = -2147483648 // stdint.h:682:1:
  687. WINT_MAX = 2147483647 // stdint.h:674:1:
  688. WINT_MIN = -2147483648 // stdint.h:673:1:
  689. X_ARM_ARCH_H = 0 // arch.h:29:1:
  690. X_ARM_MACHTYPES_H_ = 0 // types.h:43:1:
  691. X_ARM__ENDIAN_H_ = 0 // endian.h:43:1:
  692. X_ARM__PARAM_H_ = 0 // _param.h:6:1:
  693. X_BLKCNT_T = 0 // _blkcnt_t.h:29:1:
  694. X_BLKSIZE_T = 0 // _blksize_t.h:29:1:
  695. X_BSD_ARM__TYPES_H_ = 0 // _types.h:5:1:
  696. X_BSD_MACHINE_ENDIAN_H_ = 0 // endian.h:32:1:
  697. X_BSD_MACHINE_TYPES_H_ = 0 // types.h:32:1:
  698. X_BSD_MACHINE__PARAM_H_ = 0 // _param.h:29:1:
  699. X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1:
  700. X_CADDR_T = 0 // _caddr_t.h:29:1:
  701. X_CDEFS_H_ = 0 // cdefs.h:68:1:
  702. X_CLOCK_T = 0 // _clock_t.h:29:1:
  703. X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:774:1:
  704. X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 // cdefs.h:784:1:
  705. X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:800:1:
  706. X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 // cdefs.h:792:1:
  707. X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:808:1:
  708. X_DEV_T = 0 // _dev_t.h:29:1:
  709. X_ERRNO_T = 0 // _errno_t.h:29:1:
  710. X_FD_SET = 0 // _fd_def.h:29:1:
  711. X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
  712. X_FORTIFY_SOURCE = 2 // _types.h:65:1:
  713. X_FSBLKCNT_T = 0 // _fsblkcnt_t.h:29:1:
  714. X_FSFILCNT_T = 0 // _fsfilcnt_t.h:29:1:
  715. X_GID_T = 0 // _gid_t.h:29:1:
  716. X_ID_T = 0 // _id_t.h:29:1:
  717. X_INO64_T = 0 // _ino64_t.h:29:1:
  718. X_INO_T = 0 // _ino_t.h:29:1:
  719. X_INT16_T = 0 // _int16_t.h:29:1:
  720. X_INT32_T = 0 // _int32_t.h:29:1:
  721. X_INT64_T = 0 // _int64_t.h:29:1:
  722. X_INT8_T = 0 // _int8_t.h:29:1:
  723. X_INTPTR_T = 0 // _intptr_t.h:29:1:
  724. X_IN_ADDR_T = 0 // _in_addr_t.h:29:1:
  725. X_IN_PORT_T = 0 // _in_port_t.h:29:1:
  726. X_KEY_T = 0 // _key_t.h:29:1:
  727. X_LP64 = 1 // <predefined>:1:1:
  728. X_MACHTYPES_H_ = 0 // types.h:44:1:
  729. X_MODE_T = 0 // _mode_t.h:29:1:
  730. X_NETDB_H_ = 0 // netdb.h:84:1:
  731. X_NETINET6_IN6_H_ = 0 // in6.h:99:1:
  732. X_NETINET_IN_H_ = 0 // in.h:65:1:
  733. X_NET_NETKEV_H_ = 0 // net_kev.h:30:1:
  734. X_NLINK_T = 0 // _nlink_t.h:29:1:
  735. X_Nonnull = 0 // cdefs.h:268:1:
  736. X_Null_unspecified = 0 // cdefs.h:271:1:
  737. X_Nullable = 0 // cdefs.h:265:1:
  738. X_OFF_T = 0 // _off_t.h:29:1:
  739. X_OS_OSBYTEORDERARM_H = 0 // OSByteOrder.h:6:1:
  740. X_OS__OSBYTEORDER_H = 0 // _OSByteOrder.h:30:1:
  741. X_PATH_HEQUIV = "/etc/hosts.equiv" // netdb.h:94:1:
  742. X_PATH_HOSTS = "/etc/hosts" // netdb.h:96:1:
  743. X_PATH_NETWORKS = "/etc/networks" // netdb.h:97:1:
  744. X_PATH_PROTOCOLS = "/etc/protocols" // netdb.h:98:1:
  745. X_PATH_SERVICES = "/etc/services" // netdb.h:99:1:
  746. X_PID_T = 0 // _pid_t.h:29:1:
  747. X_PTHREAD_ATTR_T = 0 // _pthread_attr_t.h:29:1:
  748. X_PTHREAD_CONDATTR_T = 0 // _pthread_condattr_t.h:29:1:
  749. X_PTHREAD_COND_T = 0 // _pthread_cond_t.h:29:1:
  750. X_PTHREAD_KEY_T = 0 // _pthread_key_t.h:29:1:
  751. X_PTHREAD_MUTEXATTR_T = 0 // _pthread_mutexattr_t.h:29:1:
  752. X_PTHREAD_MUTEX_T = 0 // _pthread_mutex_t.h:29:1:
  753. X_PTHREAD_ONCE_T = 0 // _pthread_once_t.h:29:1:
  754. X_PTHREAD_RWLOCKATTR_T = 0 // _pthread_rwlockattr_t.h:29:1:
  755. X_PTHREAD_RWLOCK_T = 0 // _pthread_rwlock_t.h:29:1:
  756. X_PTHREAD_T = 0 // _pthread_t.h:29:1:
  757. X_QUAD_HIGHWORD = 1 // endian.h:56:1:
  758. X_QUAD_LOWWORD = 0 // endian.h:57:1:
  759. X_RSIZE_T = 0 // _rsize_t.h:29:1:
  760. X_SA_FAMILY_T = 0 // _sa_family_t.h:29:1:
  761. X_SIZE_T = 0 // _size_t.h:29:1:
  762. X_SOCKLEN_T = 0 // _socklen_t.h:29:1:
  763. X_SSIZE_T = 0 // _ssize_t.h:29:1:
  764. X_SS_MAXSIZE = 128 // socket.h:434:1:
  765. X_STRUCT_IOVEC = 0 // _iovec_t.h:29:1:
  766. X_SUSECONDS_T = 0 // _suseconds_t.h:29:1:
  767. X_SYS_SOCKET_H_ = 0 // socket.h:73:1:
  768. X_SYS_TYPES_H_ = 0 // types.h:70:1:
  769. X_SYS__ENDIAN_H_ = 0 // _endian.h:91:1:
  770. X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1:
  771. X_SYS__TYPES_H_ = 0 // _types.h:30:1:
  772. X_TIME_T = 0 // _time_t.h:29:1:
  773. X_UID_T = 0 // _uid_t.h:29:1:
  774. X_UINTPTR_T = 0 // _uintptr_t.h:29:1:
  775. X_USECONDS_T = 0 // _useconds_t.h:29:1:
  776. X_U_CHAR = 0 // _u_char.h:29:1:
  777. X_U_INT = 0 // _u_int.h:29:1:
  778. X_U_INT16_T = 0 // _u_int16_t.h:29:1:
  779. X_U_INT32_T = 0 // _u_int32_t.h:29:1:
  780. X_U_INT64_T = 0 // _u_int64_t.h:29:1:
  781. X_U_INT8_T = 0 // _u_int8_t.h:29:1:
  782. X_U_LONG = 0 // types.h:89:1:
  783. X_U_SHORT = 0 // _u_short.h:29:1:
  784. Pseudo_AF_HDRCMPLT = 35 // socket.h:400:1:
  785. Pseudo_AF_KEY = 29 // socket.h:392:1:
  786. Pseudo_AF_PIP = 25 // socket.h:388:1:
  787. Pseudo_AF_RTIP = 22 // socket.h:385:1:
  788. Pseudo_AF_XTP = 19 // socket.h:382:1:
  789. )
  790. type Ptrdiff_t = int64 /* <builtin>:3:26 */
  791. type Size_t = uint64 /* <builtin>:9:23 */
  792. type Wchar_t = int32 /* <builtin>:15:24 */
  793. type X__int128_t = struct {
  794. Flo int64
  795. Fhi int64
  796. } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
  797. type X__uint128_t = struct {
  798. Flo uint64
  799. Fhi uint64
  800. } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
  801. type X__builtin_va_list = uintptr /* <builtin>:46:14 */
  802. type X__float128 = float64 /* <builtin>:47:21 */
  803. var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
  804. // Copyright (c) 2000-2009 Apple Inc. All rights reserved.
  805. //
  806. // @APPLE_LICENSE_HEADER_START@
  807. //
  808. // This file contains Original Code and/or Modifications of Original Code
  809. // as defined in and that are subject to the Apple Public Source License
  810. // Version 2.0 (the 'License'). You may not use this file except in
  811. // compliance with the License. Please obtain a copy of the License at
  812. // http://www.opensource.apple.com/apsl/ and read it before using this
  813. // file.
  814. //
  815. // The Original Code and all software distributed under the License are
  816. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  817. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  818. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  819. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  820. // Please see the License for the specific language governing rights and
  821. // limitations under the License.
  822. //
  823. // @APPLE_LICENSE_HEADER_END@
  824. // ++Copyright++ 1980, 1983, 1988, 1993
  825. // -
  826. // Copyright (c) 1980, 1983, 1988, 1993
  827. // The Regents of the University of California. All rights reserved.
  828. //
  829. // Redistribution and use in source and binary forms, with or without
  830. // modification, are permitted provided that the following conditions
  831. // are met:
  832. // 1. Redistributions of source code must retain the above copyright
  833. // notice, this list of conditions and the following disclaimer.
  834. // 2. Redistributions in binary form must reproduce the above copyright
  835. // notice, this list of conditions and the following disclaimer in the
  836. // documentation and/or other materials provided with the distribution.
  837. // 3. All advertising materials mentioning features or use of this software
  838. // must display the following acknowledgement:
  839. // This product includes software developed by the University of
  840. // California, Berkeley and its contributors.
  841. // 4. Neither the name of the University nor the names of its contributors
  842. // may be used to endorse or promote products derived from this software
  843. // without specific prior written permission.
  844. //
  845. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  846. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  847. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  848. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  849. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  850. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  851. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  852. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  853. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  854. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  855. // SUCH DAMAGE.
  856. //
  857. // -
  858. // Portions Copyright (c) 1993 by Digital Equipment Corporation.
  859. //
  860. // Permission to use, copy, modify, and distribute this software for any
  861. // purpose with or without fee is hereby granted, provided that the above
  862. // copyright notice and this permission notice appear in all copies, and that
  863. // the name of Digital Equipment Corporation not be used in advertising or
  864. // publicity pertaining to distribution of the document or software without
  865. // specific, written prior permission.
  866. //
  867. // THE SOFTWARE IS PROVIDED "AS IS" AND DIGITAL EQUIPMENT CORP. DISCLAIMS ALL
  868. // WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES
  869. // OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL DIGITAL EQUIPMENT
  870. // CORPORATION BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
  871. // DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
  872. // PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
  873. // ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  874. // SOFTWARE.
  875. // -
  876. // --Copyright--
  877. // @(#)netdb.h 8.1 (Berkeley) 6/2/93
  878. // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved.
  879. //
  880. // @APPLE_LICENSE_HEADER_START@
  881. //
  882. // This file contains Original Code and/or Modifications of Original Code
  883. // as defined in and that are subject to the Apple Public Source License
  884. // Version 2.0 (the 'License'). You may not use this file except in
  885. // compliance with the License. Please obtain a copy of the License at
  886. // http://www.opensource.apple.com/apsl/ and read it before using this
  887. // file.
  888. //
  889. // The Original Code and all software distributed under the License are
  890. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  891. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  892. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  893. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  894. // Please see the License for the specific language governing rights and
  895. // limitations under the License.
  896. //
  897. // @APPLE_LICENSE_HEADER_END@
  898. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  899. //
  900. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  901. //
  902. // This file contains Original Code and/or Modifications of Original Code
  903. // as defined in and that are subject to the Apple Public Source License
  904. // Version 2.0 (the 'License'). You may not use this file except in
  905. // compliance with the License. The rights granted to you under the License
  906. // may not be used to create, or enable the creation or redistribution of,
  907. // unlawful or unlicensed copies of an Apple operating system, or to
  908. // circumvent, violate, or enable the circumvention or violation of, any
  909. // terms of an Apple operating system software license agreement.
  910. //
  911. // Please obtain a copy of the License at
  912. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  913. //
  914. // The Original Code and all software distributed under the License are
  915. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  916. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  917. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  918. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  919. // Please see the License for the specific language governing rights and
  920. // limitations under the License.
  921. //
  922. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  923. // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  924. //
  925. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  926. //
  927. // This file contains Original Code and/or Modifications of Original Code
  928. // as defined in and that are subject to the Apple Public Source License
  929. // Version 2.0 (the 'License'). You may not use this file except in
  930. // compliance with the License. The rights granted to you under the License
  931. // may not be used to create, or enable the creation or redistribution of,
  932. // unlawful or unlicensed copies of an Apple operating system, or to
  933. // circumvent, violate, or enable the circumvention or violation of, any
  934. // terms of an Apple operating system software license agreement.
  935. //
  936. // Please obtain a copy of the License at
  937. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  938. //
  939. // The Original Code and all software distributed under the License are
  940. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  941. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  942. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  943. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  944. // Please see the License for the specific language governing rights and
  945. // limitations under the License.
  946. //
  947. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  948. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  949. // Copyright (c) 1991, 1993
  950. // The Regents of the University of California. All rights reserved.
  951. //
  952. // This code is derived from software contributed to Berkeley by
  953. // Berkeley Software Design, Inc.
  954. //
  955. // Redistribution and use in source and binary forms, with or without
  956. // modification, are permitted provided that the following conditions
  957. // are met:
  958. // 1. Redistributions of source code must retain the above copyright
  959. // notice, this list of conditions and the following disclaimer.
  960. // 2. Redistributions in binary form must reproduce the above copyright
  961. // notice, this list of conditions and the following disclaimer in the
  962. // documentation and/or other materials provided with the distribution.
  963. // 3. All advertising materials mentioning features or use of this software
  964. // must display the following acknowledgement:
  965. // This product includes software developed by the University of
  966. // California, Berkeley and its contributors.
  967. // 4. Neither the name of the University nor the names of its contributors
  968. // may be used to endorse or promote products derived from this software
  969. // without specific prior written permission.
  970. //
  971. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  972. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  973. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  974. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  975. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  976. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  977. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  978. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  979. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  980. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  981. // SUCH DAMAGE.
  982. //
  983. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  984. // This SDK is designed to work with clang and specific versions of
  985. // gcc >= 4.0 with Apple's patch sets
  986. // Compatibility with compilers and environments that don't support compiler
  987. // feature checking function-like macros.
  988. // The __CONCAT macro is used to concatenate parts of symbol names, e.g.
  989. // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
  990. // The __CONCAT macro is a bit tricky -- make sure you don't put spaces
  991. // in between its arguments. __CONCAT can also concatenate double-quoted
  992. // strings produced by the __STRING macro, but this only works with ANSI C.
  993. // In non-ANSI C environments, new programs will want ANSI-only C keywords
  994. // deleted from the program and old programs will want them left alone.
  995. // When using a compiler other than gcc, programs using the ANSI C keywords
  996. // const, inline etc. as normal identifiers should define -DNO_ANSI_KEYWORDS.
  997. // When using "gcc -traditional", we assume that this is the intent; if
  998. // __GNUC__ is defined but __STDC__ is not, we leave the new keywords alone.
  999. // __pure2 can be used for functions that are only a function of their scalar
  1000. // arguments (meaning they can't dereference pointers).
  1001. //
  1002. // __stateful_pure can be used for functions that have no side effects,
  1003. // but depend on the state of the memory.
  1004. // __unused denotes variables and functions that may not be used, preventing
  1005. // the compiler from warning about it if not used.
  1006. // __used forces variables and functions to be included even if it appears
  1007. // to the compiler that they are not used (and would thust be discarded).
  1008. // __cold marks code used for debugging or that is rarely taken
  1009. // and tells the compiler to optimize for size and outline code.
  1010. // __exported denotes symbols that should be exported even when symbols
  1011. // are hidden by default.
  1012. // __exported_push/_exported_pop are pragmas used to delimit a range of
  1013. // symbols that should be exported even when symbols are hidden by default.
  1014. // __deprecated causes the compiler to produce a warning when encountering
  1015. // code using the deprecated functionality.
  1016. // __deprecated_msg() does the same, and compilers that support it will print
  1017. // a message along with the deprecation warning.
  1018. // This may require turning on such warning with the -Wdeprecated flag.
  1019. // __deprecated_enum_msg() should be used on enums, and compilers that support
  1020. // it will print the deprecation warning.
  1021. // __kpi_deprecated() specifically indicates deprecation of kernel programming
  1022. // interfaces in Kernel.framework used by KEXTs.
  1023. // __unavailable causes the compiler to error out when encountering
  1024. // code using the tagged function
  1025. // Delete pseudo-keywords wherever they are not available or needed.
  1026. // We use `__restrict' as a way to define the `restrict' type qualifier
  1027. // without disturbing older software that is unaware of C99 keywords.
  1028. // Compatibility with compilers and environments that don't support the
  1029. // nullability feature.
  1030. // __disable_tail_calls causes the compiler to not perform tail call
  1031. // optimization inside the marked function.
  1032. // __not_tail_called causes the compiler to prevent tail call optimization
  1033. // on statically bound calls to the function. It has no effect on indirect
  1034. // calls. Virtual functions, objective-c methods, and functions marked as
  1035. // "always_inline" cannot be marked as __not_tail_called.
  1036. // __result_use_check warns callers of a function that not using the function
  1037. // return value is a bug, i.e. dismissing malloc() return value results in a
  1038. // memory leak.
  1039. // __swift_unavailable causes the compiler to mark a symbol as specifically
  1040. // unavailable in Swift, regardless of any other availability in C.
  1041. // __abortlike is the attribute to put on functions like abort() that are
  1042. // typically used to mark assertions. These optimize the codegen
  1043. // for outlining while still maintaining debugability.
  1044. // Declaring inline functions within headers is error-prone due to differences
  1045. // across various versions of the C language and extensions. __header_inline
  1046. // can be used to declare inline functions within system headers. In cases
  1047. // where you want to force inlining instead of letting the compiler make
  1048. // the decision, you can use __header_always_inline.
  1049. //
  1050. // Be aware that using inline for functions which compilers may also provide
  1051. // builtins can behave differently under various compilers. If you intend to
  1052. // provide an inline version of such a function, you may want to use a macro
  1053. // instead.
  1054. //
  1055. // The check for !__GNUC__ || __clang__ is because gcc doesn't correctly
  1056. // support c99 inline in some cases:
  1057. // http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55965
  1058. // Compiler-dependent macros that bracket portions of code where the
  1059. // "-Wunreachable-code" warning should be ignored. Please use sparingly.
  1060. // Compiler-dependent macros to declare that functions take printf-like
  1061. // or scanf-like arguments. They are null except for versions of gcc
  1062. // that are known to support the features properly. Functions declared
  1063. // with these attributes will cause compilation warnings if there is a
  1064. // mismatch between the format string and subsequent function parameter
  1065. // types.
  1066. // Source compatibility only, ID string not emitted in object file
  1067. // __alloc_size can be used to label function arguments that represent the
  1068. // size of memory that the function allocates and returns. The one-argument
  1069. // form labels a single argument that gives the allocation size (where the
  1070. // arguments are numbered from 1):
  1071. //
  1072. // void *malloc(size_t __size) __alloc_size(1);
  1073. //
  1074. // The two-argument form handles the case where the size is calculated as the
  1075. // product of two arguments:
  1076. //
  1077. // void *calloc(size_t __count, size_t __size) __alloc_size(1,2);
  1078. // COMPILATION ENVIRONMENTS -- see compat(5) for additional detail
  1079. //
  1080. // DEFAULT By default newly complied code will get POSIX APIs plus
  1081. // Apple API extensions in scope.
  1082. //
  1083. // Most users will use this compilation environment to avoid
  1084. // behavioral differences between 32 and 64 bit code.
  1085. //
  1086. // LEGACY Defining _NONSTD_SOURCE will get pre-POSIX APIs plus Apple
  1087. // API extensions in scope.
  1088. //
  1089. // This is generally equivalent to the Tiger release compilation
  1090. // environment, except that it cannot be applied to 64 bit code;
  1091. // its use is discouraged.
  1092. //
  1093. // We expect this environment to be deprecated in the future.
  1094. //
  1095. // STRICT Defining _POSIX_C_SOURCE or _XOPEN_SOURCE restricts the
  1096. // available APIs to exactly the set of APIs defined by the
  1097. // corresponding standard, based on the value defined.
  1098. //
  1099. // A correct, portable definition for _POSIX_C_SOURCE is 200112L.
  1100. // A correct, portable definition for _XOPEN_SOURCE is 600L.
  1101. //
  1102. // Apple API extensions are not visible in this environment,
  1103. // which can cause Apple specific code to fail to compile,
  1104. // or behave incorrectly if prototypes are not in scope or
  1105. // warnings about missing prototypes are not enabled or ignored.
  1106. //
  1107. // In any compilation environment, for correct symbol resolution to occur,
  1108. // function prototypes must be in scope. It is recommended that all Apple
  1109. // tools users add either the "-Wall" or "-Wimplicit-function-declaration"
  1110. // compiler flags to their projects to be warned when a function is being
  1111. // used without a prototype in scope.
  1112. // These settings are particular to each product.
  1113. // Platform: MacOSX
  1114. // The __DARWIN_ALIAS macros are used to do symbol renaming; they allow
  1115. // legacy code to use the old symbol, thus maintaining binary compatibility
  1116. // while new code can use a standards compliant version of the same function.
  1117. //
  1118. // __DARWIN_ALIAS is used by itself if the function signature has not
  1119. // changed, it is used along with a #ifdef check for __DARWIN_UNIX03
  1120. // if the signature has changed. Because the __LP64__ environment
  1121. // only supports UNIX03 semantics it causes __DARWIN_UNIX03 to be
  1122. // defined, but causes __DARWIN_ALIAS to do no symbol mangling.
  1123. //
  1124. // As a special case, when XCode is used to target a specific version of the
  1125. // OS, the manifest constant __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
  1126. // will be defined by the compiler, with the digits representing major version
  1127. // time 100 + minor version times 10 (e.g. 10.5 := 1050). If we are targeting
  1128. // pre-10.5, and it is the default compilation environment, revert the
  1129. // compilation environment to pre-__DARWIN_UNIX03.
  1130. // symbol suffixes used for symbol versioning
  1131. // symbol versioning macros
  1132. // symbol release macros
  1133. // Copyright (c) 2010 Apple Inc. All rights reserved.
  1134. //
  1135. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1136. //
  1137. // This file contains Original Code and/or Modifications of Original Code
  1138. // as defined in and that are subject to the Apple Public Source License
  1139. // Version 2.0 (the 'License'). You may not use this file except in
  1140. // compliance with the License. The rights granted to you under the License
  1141. // may not be used to create, or enable the creation or redistribution of,
  1142. // unlawful or unlicensed copies of an Apple operating system, or to
  1143. // circumvent, violate, or enable the circumvention or violation of, any
  1144. // terms of an Apple operating system software license agreement.
  1145. //
  1146. // Please obtain a copy of the License at
  1147. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1148. //
  1149. // The Original Code and all software distributed under the License are
  1150. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1151. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1152. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1153. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1154. // Please see the License for the specific language governing rights and
  1155. // limitations under the License.
  1156. //
  1157. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1158. // POSIX.1 requires that the macros we test be defined before any standard
  1159. // header file is included. This permits us to convert values for feature
  1160. // testing, as necessary, using only _POSIX_C_SOURCE.
  1161. //
  1162. // Here's a quick run-down of the versions:
  1163. // defined(_POSIX_SOURCE) 1003.1-1988
  1164. // _POSIX_C_SOURCE == 1L 1003.1-1990
  1165. // _POSIX_C_SOURCE == 2L 1003.2-1992 C Language Binding Option
  1166. // _POSIX_C_SOURCE == 199309L 1003.1b-1993
  1167. // _POSIX_C_SOURCE == 199506L 1003.1c-1995, 1003.1i-1995,
  1168. // and the omnibus ISO/IEC 9945-1: 1996
  1169. // _POSIX_C_SOURCE == 200112L 1003.1-2001
  1170. // _POSIX_C_SOURCE == 200809L 1003.1-2008
  1171. //
  1172. // In addition, the X/Open Portability Guide, which is now the Single UNIX
  1173. // Specification, defines a feature-test macro which indicates the version of
  1174. // that specification, and which subsumes _POSIX_C_SOURCE.
  1175. // Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1L.
  1176. // Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2L.
  1177. // Deal with various X/Open Portability Guides and Single UNIX Spec.
  1178. // Deal with all versions of POSIX. The ordering relative to the tests above is
  1179. // important.
  1180. // POSIX C deprecation macros
  1181. // Copyright (c) 2010 Apple Inc. All rights reserved.
  1182. //
  1183. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1184. //
  1185. // This file contains Original Code and/or Modifications of Original Code
  1186. // as defined in and that are subject to the Apple Public Source License
  1187. // Version 2.0 (the 'License'). You may not use this file except in
  1188. // compliance with the License. The rights granted to you under the License
  1189. // may not be used to create, or enable the creation or redistribution of,
  1190. // unlawful or unlicensed copies of an Apple operating system, or to
  1191. // circumvent, violate, or enable the circumvention or violation of, any
  1192. // terms of an Apple operating system software license agreement.
  1193. //
  1194. // Please obtain a copy of the License at
  1195. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1196. //
  1197. // The Original Code and all software distributed under the License are
  1198. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1199. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1200. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1201. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1202. // Please see the License for the specific language governing rights and
  1203. // limitations under the License.
  1204. //
  1205. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1206. // Set a single macro which will always be defined and can be used to determine
  1207. // the appropriate namespace. For POSIX, these values will correspond to
  1208. // _POSIX_C_SOURCE value. Currently there are two additional levels corresponding
  1209. // to ANSI (_ANSI_SOURCE) and Darwin extensions (_DARWIN_C_SOURCE)
  1210. // If the developer has neither requested a strict language mode nor a version
  1211. // of POSIX, turn on functionality provided by __STDC_WANT_LIB_EXT1__ as part
  1212. // of __DARWIN_C_FULL.
  1213. // long long is not supported in c89 (__STRICT_ANSI__), but g++ -ansi and
  1214. // c99 still want long longs. While not perfect, we allow long longs for
  1215. // g++.
  1216. // ****************************************
  1217. //
  1218. // Public darwin-specific feature macros
  1219. //
  1220. // _DARWIN_FEATURE_64_BIT_INODE indicates that the ino_t type is 64-bit, and
  1221. // structures modified for 64-bit inodes (like struct stat) will be used.
  1222. // _DARWIN_FEATURE_64_ONLY_BIT_INODE indicates that the ino_t type may only
  1223. // be 64-bit; there is no support for 32-bit ino_t when this macro is defined
  1224. // (and non-zero). There is no struct stat64 either, as the regular
  1225. // struct stat will already be the 64-bit version.
  1226. // _DARWIN_FEATURE_ONLY_VERS_1050 indicates that only those APIs updated
  1227. // in 10.5 exists; no pre-10.5 variants are available.
  1228. // _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE indicates only UNIX conforming API
  1229. // are available (the legacy BSD APIs are not available)
  1230. // _DARWIN_FEATURE_UNIX_CONFORMANCE indicates whether UNIX conformance is on,
  1231. // and specifies the conformance level (3 is SUSv3)
  1232. // This macro casts away the qualifier from the variable
  1233. //
  1234. // Note: use at your own risk, removing qualifiers can result in
  1235. // catastrophic run-time failures.
  1236. // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be
  1237. // used from other compilation units, but not other libraries or executables.
  1238. // We intentionally define to nothing pointer attributes which do not have an
  1239. // impact on the ABI. __indexable and __bidi_indexable are not defined because
  1240. // of the ABI incompatibility that makes the diagnostic preferable.
  1241. // Similarly, we intentionally define to nothing the
  1242. // __ptrcheck_abi_assume_single and __ptrcheck_abi_assume_unsafe_indexable
  1243. // macros because they do not lead to an ABI incompatibility. However, we do not
  1244. // define the indexable and unsafe_indexable ones because the diagnostic is
  1245. // better than the silent ABI break.
  1246. // __unsafe_forge intrinsics are defined as regular C casts.
  1247. // decay operates normally; attribute is meaningless without pointer checks.
  1248. // Architecture validation for current SDK
  1249. // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS
  1250. //
  1251. // This provides more advanced type checking on compilers supporting
  1252. // the proper extensions, even in C.
  1253. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  1254. //
  1255. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1256. //
  1257. // This file contains Original Code and/or Modifications of Original Code
  1258. // as defined in and that are subject to the Apple Public Source License
  1259. // Version 2.0 (the 'License'). You may not use this file except in
  1260. // compliance with the License. The rights granted to you under the License
  1261. // may not be used to create, or enable the creation or redistribution of,
  1262. // unlawful or unlicensed copies of an Apple operating system, or to
  1263. // circumvent, violate, or enable the circumvention or violation of, any
  1264. // terms of an Apple operating system software license agreement.
  1265. //
  1266. // Please obtain a copy of the License at
  1267. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1268. //
  1269. // The Original Code and all software distributed under the License are
  1270. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1271. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1272. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1273. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1274. // Please see the License for the specific language governing rights and
  1275. // limitations under the License.
  1276. //
  1277. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1278. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  1279. // This header file contains integer types. It's intended to also contain
  1280. // flotaing point and other arithmetic types, as needed, later.
  1281. type X__int8_t = int8 /* _types.h:15:33 */
  1282. type X__uint8_t = uint8 /* _types.h:19:33 */
  1283. type X__int16_t = int16 /* _types.h:20:33 */
  1284. type X__uint16_t = uint16 /* _types.h:21:33 */
  1285. type X__int32_t = int32 /* _types.h:22:33 */
  1286. type X__uint32_t = uint32 /* _types.h:23:33 */
  1287. type X__int64_t = int64 /* _types.h:24:33 */
  1288. type X__uint64_t = uint64 /* _types.h:25:33 */
  1289. type X__darwin_intptr_t = int64 /* _types.h:27:33 */
  1290. type X__darwin_natural_t = uint32 /* _types.h:28:33 */
  1291. // The rune type below is declared to be an ``int'' instead of the more natural
  1292. // ``unsigned long'' or ``long''. Two things are happening here. It is not
  1293. // unsigned so that EOF (-1) can be naturally assigned to it and used. Also,
  1294. // it looks like 10646 will be a 31 bit standard. This means that if your
  1295. // ints cannot hold 32 bits, you will be in trouble. The reason an int was
  1296. // chosen over a long is that the is*() and to*() routines take ints (says
  1297. // ANSI C), but they use __darwin_ct_rune_t instead of int. By changing it
  1298. // here, you lose a bit of ANSI conformance, but your programs will still
  1299. // work.
  1300. //
  1301. // NOTE: rune_t is not covered by ANSI nor other standards, and should not
  1302. // be instantiated outside of lib/libc/locale. Use wchar_t. wchar_t and
  1303. // rune_t must be the same type. Also wint_t must be no narrower than
  1304. // wchar_t, and should also be able to hold all members of the largest
  1305. // character set plus one extra value (WEOF). wint_t must be at least 16 bits.
  1306. type X__darwin_ct_rune_t = int32 /* _types.h:48:33 */ // ct_rune_t
  1307. // mbstate_t is an opaque object to keep conversion state, during multibyte
  1308. // stream conversions. The content must not be referenced by user programs.
  1309. type X__mbstate_t = struct {
  1310. F__ccgo_pad1 [0]uint64
  1311. F__mbstate8 [128]int8
  1312. } /* _types.h:57:3 */
  1313. type X__darwin_mbstate_t = X__mbstate_t /* _types.h:59:33 */ // mbstate_t
  1314. type X__darwin_ptrdiff_t = int64 /* _types.h:62:33 */ // ptr1 - ptr2
  1315. type X__darwin_size_t = uint64 /* _types.h:70:33 */ // sizeof()
  1316. type X__darwin_va_list = X__builtin_va_list /* _types.h:76:33 */ // va_list
  1317. type X__darwin_wchar_t = int32 /* _types.h:82:33 */ // wchar_t
  1318. type X__darwin_rune_t = X__darwin_wchar_t /* _types.h:87:33 */ // rune_t
  1319. type X__darwin_wint_t = int32 /* _types.h:90:33 */ // wint_t
  1320. type X__darwin_clock_t = uint64 /* _types.h:95:33 */ // clock()
  1321. type X__darwin_socklen_t = X__uint32_t /* _types.h:96:33 */ // socklen_t (duh)
  1322. type X__darwin_ssize_t = int64 /* _types.h:97:33 */ // byte count or error
  1323. type X__darwin_time_t = int64 /* _types.h:98:33 */ // time()
  1324. // Type definitions; takes common type definitions that must be used
  1325. // in multiple header files due to [XSI], removes them from the system
  1326. // space, and puts them in the implementation space.
  1327. type X__darwin_blkcnt_t = X__int64_t /* _types.h:55:25 */ // total blocks
  1328. type X__darwin_blksize_t = X__int32_t /* _types.h:56:25 */ // preferred block size
  1329. type X__darwin_dev_t = X__int32_t /* _types.h:57:25 */ // dev_t
  1330. type X__darwin_fsblkcnt_t = uint32 /* _types.h:58:25 */ // Used by statvfs and fstatvfs
  1331. type X__darwin_fsfilcnt_t = uint32 /* _types.h:59:25 */ // Used by statvfs and fstatvfs
  1332. type X__darwin_gid_t = X__uint32_t /* _types.h:60:25 */ // [???] process and group IDs
  1333. type X__darwin_id_t = X__uint32_t /* _types.h:61:25 */ // [XSI] pid_t, uid_t, or gid_t
  1334. type X__darwin_ino64_t = X__uint64_t /* _types.h:62:25 */ // [???] Used for 64 bit inodes
  1335. type X__darwin_ino_t = X__darwin_ino64_t /* _types.h:64:26 */ // [???] Used for inodes
  1336. type X__darwin_mach_port_name_t = X__darwin_natural_t /* _types.h:68:28 */ // Used by mach
  1337. type X__darwin_mach_port_t = X__darwin_mach_port_name_t /* _types.h:69:35 */ // Used by mach
  1338. type X__darwin_mode_t = X__uint16_t /* _types.h:70:25 */ // [???] Some file attributes
  1339. type X__darwin_off_t = X__int64_t /* _types.h:71:25 */ // [???] Used for file sizes
  1340. type X__darwin_pid_t = X__int32_t /* _types.h:72:25 */ // [???] process and group IDs
  1341. type X__darwin_sigset_t = X__uint32_t /* _types.h:73:25 */ // [???] signal set
  1342. type X__darwin_suseconds_t = X__int32_t /* _types.h:74:25 */ // [???] microseconds
  1343. type X__darwin_uid_t = X__uint32_t /* _types.h:75:25 */ // [???] user IDs
  1344. type X__darwin_useconds_t = X__uint32_t /* _types.h:76:25 */ // [???] microseconds
  1345. type X__darwin_uuid_t = [16]uint8 /* _types.h:77:25 */
  1346. type X__darwin_uuid_string_t = [37]int8 /* _types.h:78:17 */
  1347. // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  1348. //
  1349. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1350. //
  1351. // This file contains Original Code and/or Modifications of Original Code
  1352. // as defined in and that are subject to the Apple Public Source License
  1353. // Version 2.0 (the 'License'). You may not use this file except in
  1354. // compliance with the License. The rights granted to you under the License
  1355. // may not be used to create, or enable the creation or redistribution of,
  1356. // unlawful or unlicensed copies of an Apple operating system, or to
  1357. // circumvent, violate, or enable the circumvention or violation of, any
  1358. // terms of an Apple operating system software license agreement.
  1359. //
  1360. // Please obtain a copy of the License at
  1361. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1362. //
  1363. // The Original Code and all software distributed under the License are
  1364. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1365. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1366. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1367. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1368. // Please see the License for the specific language governing rights and
  1369. // limitations under the License.
  1370. //
  1371. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1372. // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  1373. //
  1374. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1375. //
  1376. // This file contains Original Code and/or Modifications of Original Code
  1377. // as defined in and that are subject to the Apple Public Source License
  1378. // Version 2.0 (the 'License'). You may not use this file except in
  1379. // compliance with the License. The rights granted to you under the License
  1380. // may not be used to create, or enable the creation or redistribution of,
  1381. // unlawful or unlicensed copies of an Apple operating system, or to
  1382. // circumvent, violate, or enable the circumvention or violation of, any
  1383. // terms of an Apple operating system software license agreement.
  1384. //
  1385. // Please obtain a copy of the License at
  1386. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1387. //
  1388. // The Original Code and all software distributed under the License are
  1389. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1390. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1391. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1392. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1393. // Please see the License for the specific language governing rights and
  1394. // limitations under the License.
  1395. //
  1396. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1397. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1398. // Copyright (c) 1991, 1993
  1399. // The Regents of the University of California. All rights reserved.
  1400. //
  1401. // This code is derived from software contributed to Berkeley by
  1402. // Berkeley Software Design, Inc.
  1403. //
  1404. // Redistribution and use in source and binary forms, with or without
  1405. // modification, are permitted provided that the following conditions
  1406. // are met:
  1407. // 1. Redistributions of source code must retain the above copyright
  1408. // notice, this list of conditions and the following disclaimer.
  1409. // 2. Redistributions in binary form must reproduce the above copyright
  1410. // notice, this list of conditions and the following disclaimer in the
  1411. // documentation and/or other materials provided with the distribution.
  1412. // 3. All advertising materials mentioning features or use of this software
  1413. // must display the following acknowledgement:
  1414. // This product includes software developed by the University of
  1415. // California, Berkeley and its contributors.
  1416. // 4. Neither the name of the University nor the names of its contributors
  1417. // may be used to endorse or promote products derived from this software
  1418. // without specific prior written permission.
  1419. //
  1420. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1421. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1422. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1423. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1424. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1425. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1426. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1427. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1428. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1429. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1430. // SUCH DAMAGE.
  1431. //
  1432. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  1433. // pthread opaque structures
  1434. type X__darwin_pthread_handler_rec = struct {
  1435. F__routine uintptr
  1436. F__arg uintptr
  1437. F__next uintptr
  1438. } /* _pthread_types.h:57:1 */
  1439. type X_opaque_pthread_attr_t = struct {
  1440. F__sig int64
  1441. F__opaque [56]int8
  1442. } /* _pthread_types.h:63:1 */
  1443. type X_opaque_pthread_cond_t = struct {
  1444. F__sig int64
  1445. F__opaque [40]int8
  1446. } /* _pthread_types.h:68:1 */
  1447. type X_opaque_pthread_condattr_t = struct {
  1448. F__sig int64
  1449. F__opaque [8]int8
  1450. } /* _pthread_types.h:73:1 */
  1451. type X_opaque_pthread_mutex_t = struct {
  1452. F__sig int64
  1453. F__opaque [56]int8
  1454. } /* _pthread_types.h:78:1 */
  1455. type X_opaque_pthread_mutexattr_t = struct {
  1456. F__sig int64
  1457. F__opaque [8]int8
  1458. } /* _pthread_types.h:83:1 */
  1459. type X_opaque_pthread_once_t = struct {
  1460. F__sig int64
  1461. F__opaque [8]int8
  1462. } /* _pthread_types.h:88:1 */
  1463. type X_opaque_pthread_rwlock_t = struct {
  1464. F__sig int64
  1465. F__opaque [192]int8
  1466. } /* _pthread_types.h:93:1 */
  1467. type X_opaque_pthread_rwlockattr_t = struct {
  1468. F__sig int64
  1469. F__opaque [16]int8
  1470. } /* _pthread_types.h:98:1 */
  1471. type X_opaque_pthread_t = struct {
  1472. F__sig int64
  1473. F__cleanup_stack uintptr
  1474. F__opaque [8176]int8
  1475. } /* _pthread_types.h:103:1 */
  1476. type X__darwin_pthread_attr_t = X_opaque_pthread_attr_t /* _pthread_types.h:109:39 */
  1477. type X__darwin_pthread_cond_t = X_opaque_pthread_cond_t /* _pthread_types.h:110:39 */
  1478. type X__darwin_pthread_condattr_t = X_opaque_pthread_condattr_t /* _pthread_types.h:111:43 */
  1479. type X__darwin_pthread_key_t = uint64 /* _pthread_types.h:112:23 */
  1480. type X__darwin_pthread_mutex_t = X_opaque_pthread_mutex_t /* _pthread_types.h:113:40 */
  1481. type X__darwin_pthread_mutexattr_t = X_opaque_pthread_mutexattr_t /* _pthread_types.h:114:44 */
  1482. type X__darwin_pthread_once_t = X_opaque_pthread_once_t /* _pthread_types.h:115:39 */
  1483. type X__darwin_pthread_rwlock_t = X_opaque_pthread_rwlock_t /* _pthread_types.h:116:41 */
  1484. type X__darwin_pthread_rwlockattr_t = X_opaque_pthread_rwlockattr_t /* _pthread_types.h:117:45 */
  1485. type X__darwin_pthread_t = uintptr /* _pthread_types.h:118:34 */
  1486. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  1487. //
  1488. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1489. //
  1490. // This file contains Original Code and/or Modifications of Original Code
  1491. // as defined in and that are subject to the Apple Public Source License
  1492. // Version 2.0 (the 'License'). You may not use this file except in
  1493. // compliance with the License. The rights granted to you under the License
  1494. // may not be used to create, or enable the creation or redistribution of,
  1495. // unlawful or unlicensed copies of an Apple operating system, or to
  1496. // circumvent, violate, or enable the circumvention or violation of, any
  1497. // terms of an Apple operating system software license agreement.
  1498. //
  1499. // Please obtain a copy of the License at
  1500. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1501. //
  1502. // The Original Code and all software distributed under the License are
  1503. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1504. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1505. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1506. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1507. // Please see the License for the specific language governing rights and
  1508. // limitations under the License.
  1509. //
  1510. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1511. type X__darwin_nl_item = int32 /* _types.h:40:14 */
  1512. type X__darwin_wctrans_t = int32 /* _types.h:41:14 */
  1513. type X__darwin_wctype_t = X__uint32_t /* _types.h:43:20 */
  1514. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1515. //
  1516. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1517. //
  1518. // This file contains Original Code and/or Modifications of Original Code
  1519. // as defined in and that are subject to the Apple Public Source License
  1520. // Version 2.0 (the 'License'). You may not use this file except in
  1521. // compliance with the License. The rights granted to you under the License
  1522. // may not be used to create, or enable the creation or redistribution of,
  1523. // unlawful or unlicensed copies of an Apple operating system, or to
  1524. // circumvent, violate, or enable the circumvention or violation of, any
  1525. // terms of an Apple operating system software license agreement.
  1526. //
  1527. // Please obtain a copy of the License at
  1528. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1529. //
  1530. // The Original Code and all software distributed under the License are
  1531. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1532. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1533. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1534. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1535. // Please see the License for the specific language governing rights and
  1536. // limitations under the License.
  1537. //
  1538. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1539. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  1540. //
  1541. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1542. //
  1543. // This file contains Original Code and/or Modifications of Original Code
  1544. // as defined in and that are subject to the Apple Public Source License
  1545. // Version 2.0 (the 'License'). You may not use this file except in
  1546. // compliance with the License. The rights granted to you under the License
  1547. // may not be used to create, or enable the creation or redistribution of,
  1548. // unlawful or unlicensed copies of an Apple operating system, or to
  1549. // circumvent, violate, or enable the circumvention or violation of, any
  1550. // terms of an Apple operating system software license agreement.
  1551. //
  1552. // Please obtain a copy of the License at
  1553. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1554. //
  1555. // The Original Code and all software distributed under the License are
  1556. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1557. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1558. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1559. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1560. // Please see the License for the specific language governing rights and
  1561. // limitations under the License.
  1562. //
  1563. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1564. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1565. // Copyright (c) 2000-2008 Apple Inc. All rights reserved.
  1566. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1567. // Copyright (c) 1990, 1993
  1568. // The Regents of the University of California. All rights reserved.
  1569. //
  1570. // Redistribution and use in source and binary forms, with or without
  1571. // modification, are permitted provided that the following conditions
  1572. // are met:
  1573. // 1. Redistributions of source code must retain the above copyright
  1574. // notice, this list of conditions and the following disclaimer.
  1575. // 2. Redistributions in binary form must reproduce the above copyright
  1576. // notice, this list of conditions and the following disclaimer in the
  1577. // documentation and/or other materials provided with the distribution.
  1578. // 3. All advertising materials mentioning features or use of this software
  1579. // must display the following acknowledgement:
  1580. // This product includes software developed by the University of
  1581. // California, Berkeley and its contributors.
  1582. // 4. Neither the name of the University nor the names of its contributors
  1583. // may be used to endorse or promote products derived from this software
  1584. // without specific prior written permission.
  1585. //
  1586. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1587. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1588. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1589. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1590. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1591. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1592. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1593. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1594. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1595. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1596. // SUCH DAMAGE.
  1597. //
  1598. // @(#)types.h 8.3 (Berkeley) 1/5/94
  1599. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  1600. // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  1601. //
  1602. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1603. //
  1604. // This file contains Original Code and/or Modifications of Original Code
  1605. // as defined in and that are subject to the Apple Public Source License
  1606. // Version 2.0 (the 'License'). You may not use this file except in
  1607. // compliance with the License. The rights granted to you under the License
  1608. // may not be used to create, or enable the creation or redistribution of,
  1609. // unlawful or unlicensed copies of an Apple operating system, or to
  1610. // circumvent, violate, or enable the circumvention or violation of, any
  1611. // terms of an Apple operating system software license agreement.
  1612. //
  1613. // Please obtain a copy of the License at
  1614. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1615. //
  1616. // The Original Code and all software distributed under the License are
  1617. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1618. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1619. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1620. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1621. // Please see the License for the specific language governing rights and
  1622. // limitations under the License.
  1623. //
  1624. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1625. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1626. // Copyright (c) 1991, 1993
  1627. // The Regents of the University of California. All rights reserved.
  1628. //
  1629. // This code is derived from software contributed to Berkeley by
  1630. // Berkeley Software Design, Inc.
  1631. //
  1632. // Redistribution and use in source and binary forms, with or without
  1633. // modification, are permitted provided that the following conditions
  1634. // are met:
  1635. // 1. Redistributions of source code must retain the above copyright
  1636. // notice, this list of conditions and the following disclaimer.
  1637. // 2. Redistributions in binary form must reproduce the above copyright
  1638. // notice, this list of conditions and the following disclaimer in the
  1639. // documentation and/or other materials provided with the distribution.
  1640. // 3. All advertising materials mentioning features or use of this software
  1641. // must display the following acknowledgement:
  1642. // This product includes software developed by the University of
  1643. // California, Berkeley and its contributors.
  1644. // 4. Neither the name of the University nor the names of its contributors
  1645. // may be used to endorse or promote products derived from this software
  1646. // without specific prior written permission.
  1647. //
  1648. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1649. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1650. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1651. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1652. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1653. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1654. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1655. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1656. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1657. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1658. // SUCH DAMAGE.
  1659. //
  1660. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  1661. // Basic integral types. Omit the typedef if
  1662. // not possible for a machine/compiler combination.
  1663. // Copyright (c) 2012 Apple Inc. All rights reserved.
  1664. //
  1665. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1666. //
  1667. // This file contains Original Code and/or Modifications of Original Code
  1668. // as defined in and that are subject to the Apple Public Source License
  1669. // Version 2.0 (the 'License'). You may not use this file except in
  1670. // compliance with the License. The rights granted to you under the License
  1671. // may not be used to create, or enable the creation or redistribution of,
  1672. // unlawful or unlicensed copies of an Apple operating system, or to
  1673. // circumvent, violate, or enable the circumvention or violation of, any
  1674. // terms of an Apple operating system software license agreement.
  1675. //
  1676. // Please obtain a copy of the License at
  1677. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1678. //
  1679. // The Original Code and all software distributed under the License are
  1680. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1681. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1682. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1683. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1684. // Please see the License for the specific language governing rights and
  1685. // limitations under the License.
  1686. //
  1687. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1688. type Int8_t = int8 /* _int8_t.h:30:31 */
  1689. // Copyright (c) 2012 Apple Inc. All rights reserved.
  1690. //
  1691. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1692. //
  1693. // This file contains Original Code and/or Modifications of Original Code
  1694. // as defined in and that are subject to the Apple Public Source License
  1695. // Version 2.0 (the 'License'). You may not use this file except in
  1696. // compliance with the License. The rights granted to you under the License
  1697. // may not be used to create, or enable the creation or redistribution of,
  1698. // unlawful or unlicensed copies of an Apple operating system, or to
  1699. // circumvent, violate, or enable the circumvention or violation of, any
  1700. // terms of an Apple operating system software license agreement.
  1701. //
  1702. // Please obtain a copy of the License at
  1703. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1704. //
  1705. // The Original Code and all software distributed under the License are
  1706. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1707. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1708. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1709. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1710. // Please see the License for the specific language governing rights and
  1711. // limitations under the License.
  1712. //
  1713. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1714. type Int16_t = int16 /* _int16_t.h:30:33 */
  1715. // Copyright (c) 2012 Apple Inc. All rights reserved.
  1716. //
  1717. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1718. //
  1719. // This file contains Original Code and/or Modifications of Original Code
  1720. // as defined in and that are subject to the Apple Public Source License
  1721. // Version 2.0 (the 'License'). You may not use this file except in
  1722. // compliance with the License. The rights granted to you under the License
  1723. // may not be used to create, or enable the creation or redistribution of,
  1724. // unlawful or unlicensed copies of an Apple operating system, or to
  1725. // circumvent, violate, or enable the circumvention or violation of, any
  1726. // terms of an Apple operating system software license agreement.
  1727. //
  1728. // Please obtain a copy of the License at
  1729. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1730. //
  1731. // The Original Code and all software distributed under the License are
  1732. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1733. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1734. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1735. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1736. // Please see the License for the specific language governing rights and
  1737. // limitations under the License.
  1738. //
  1739. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1740. type Int32_t = int32 /* _int32_t.h:30:33 */
  1741. // Copyright (c) 2012 Apple Inc. All rights reserved.
  1742. //
  1743. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1744. //
  1745. // This file contains Original Code and/or Modifications of Original Code
  1746. // as defined in and that are subject to the Apple Public Source License
  1747. // Version 2.0 (the 'License'). You may not use this file except in
  1748. // compliance with the License. The rights granted to you under the License
  1749. // may not be used to create, or enable the creation or redistribution of,
  1750. // unlawful or unlicensed copies of an Apple operating system, or to
  1751. // circumvent, violate, or enable the circumvention or violation of, any
  1752. // terms of an Apple operating system software license agreement.
  1753. //
  1754. // Please obtain a copy of the License at
  1755. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1756. //
  1757. // The Original Code and all software distributed under the License are
  1758. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1759. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1760. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1761. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1762. // Please see the License for the specific language governing rights and
  1763. // limitations under the License.
  1764. //
  1765. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1766. type Int64_t = int64 /* _int64_t.h:30:33 */
  1767. // Copyright (c) 2016 Apple Inc. All rights reserved.
  1768. //
  1769. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1770. //
  1771. // This file contains Original Code and/or Modifications of Original Code
  1772. // as defined in and that are subject to the Apple Public Source License
  1773. // Version 2.0 (the 'License'). You may not use this file except in
  1774. // compliance with the License. The rights granted to you under the License
  1775. // may not be used to create, or enable the creation or redistribution of,
  1776. // unlawful or unlicensed copies of an Apple operating system, or to
  1777. // circumvent, violate, or enable the circumvention or violation of, any
  1778. // terms of an Apple operating system software license agreement.
  1779. //
  1780. // Please obtain a copy of the License at
  1781. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1782. //
  1783. // The Original Code and all software distributed under the License are
  1784. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1785. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1786. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1787. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1788. // Please see the License for the specific language governing rights and
  1789. // limitations under the License.
  1790. //
  1791. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1792. type U_int8_t = uint8 /* _u_int8_t.h:30:33 */
  1793. // Copyright (c) 2012 Apple Inc. All rights reserved.
  1794. //
  1795. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1796. //
  1797. // This file contains Original Code and/or Modifications of Original Code
  1798. // as defined in and that are subject to the Apple Public Source License
  1799. // Version 2.0 (the 'License'). You may not use this file except in
  1800. // compliance with the License. The rights granted to you under the License
  1801. // may not be used to create, or enable the creation or redistribution of,
  1802. // unlawful or unlicensed copies of an Apple operating system, or to
  1803. // circumvent, violate, or enable the circumvention or violation of, any
  1804. // terms of an Apple operating system software license agreement.
  1805. //
  1806. // Please obtain a copy of the License at
  1807. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1808. //
  1809. // The Original Code and all software distributed under the License are
  1810. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1811. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1812. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1813. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1814. // Please see the License for the specific language governing rights and
  1815. // limitations under the License.
  1816. //
  1817. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1818. type U_int16_t = uint16 /* _u_int16_t.h:30:41 */
  1819. // Copyright (c) 2012 Apple Inc. All rights reserved.
  1820. //
  1821. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1822. //
  1823. // This file contains Original Code and/or Modifications of Original Code
  1824. // as defined in and that are subject to the Apple Public Source License
  1825. // Version 2.0 (the 'License'). You may not use this file except in
  1826. // compliance with the License. The rights granted to you under the License
  1827. // may not be used to create, or enable the creation or redistribution of,
  1828. // unlawful or unlicensed copies of an Apple operating system, or to
  1829. // circumvent, violate, or enable the circumvention or violation of, any
  1830. // terms of an Apple operating system software license agreement.
  1831. //
  1832. // Please obtain a copy of the License at
  1833. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1834. //
  1835. // The Original Code and all software distributed under the License are
  1836. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1837. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1838. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1839. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1840. // Please see the License for the specific language governing rights and
  1841. // limitations under the License.
  1842. //
  1843. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1844. type U_int32_t = uint32 /* _u_int32_t.h:30:33 */
  1845. // Copyright (c) 2012 Apple Inc. All rights reserved.
  1846. //
  1847. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1848. //
  1849. // This file contains Original Code and/or Modifications of Original Code
  1850. // as defined in and that are subject to the Apple Public Source License
  1851. // Version 2.0 (the 'License'). You may not use this file except in
  1852. // compliance with the License. The rights granted to you under the License
  1853. // may not be used to create, or enable the creation or redistribution of,
  1854. // unlawful or unlicensed copies of an Apple operating system, or to
  1855. // circumvent, violate, or enable the circumvention or violation of, any
  1856. // terms of an Apple operating system software license agreement.
  1857. //
  1858. // Please obtain a copy of the License at
  1859. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1860. //
  1861. // The Original Code and all software distributed under the License are
  1862. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1863. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1864. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1865. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1866. // Please see the License for the specific language governing rights and
  1867. // limitations under the License.
  1868. //
  1869. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1870. type U_int64_t = uint64 /* _u_int64_t.h:30:33 */
  1871. type Register_t = Int64_t /* types.h:66:33 */
  1872. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1873. //
  1874. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1875. //
  1876. // This file contains Original Code and/or Modifications of Original Code
  1877. // as defined in and that are subject to the Apple Public Source License
  1878. // Version 2.0 (the 'License'). You may not use this file except in
  1879. // compliance with the License. The rights granted to you under the License
  1880. // may not be used to create, or enable the creation or redistribution of,
  1881. // unlawful or unlicensed copies of an Apple operating system, or to
  1882. // circumvent, violate, or enable the circumvention or violation of, any
  1883. // terms of an Apple operating system software license agreement.
  1884. //
  1885. // Please obtain a copy of the License at
  1886. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1887. //
  1888. // The Original Code and all software distributed under the License are
  1889. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1890. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1891. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1892. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1893. // Please see the License for the specific language governing rights and
  1894. // limitations under the License.
  1895. //
  1896. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1897. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  1898. //
  1899. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1900. //
  1901. // This file contains Original Code and/or Modifications of Original Code
  1902. // as defined in and that are subject to the Apple Public Source License
  1903. // Version 2.0 (the 'License'). You may not use this file except in
  1904. // compliance with the License. The rights granted to you under the License
  1905. // may not be used to create, or enable the creation or redistribution of,
  1906. // unlawful or unlicensed copies of an Apple operating system, or to
  1907. // circumvent, violate, or enable the circumvention or violation of, any
  1908. // terms of an Apple operating system software license agreement.
  1909. //
  1910. // Please obtain a copy of the License at
  1911. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1912. //
  1913. // The Original Code and all software distributed under the License are
  1914. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1915. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1916. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1917. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1918. // Please see the License for the specific language governing rights and
  1919. // limitations under the License.
  1920. //
  1921. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1922. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1923. type Intptr_t = X__darwin_intptr_t /* _intptr_t.h:32:33 */
  1924. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1925. //
  1926. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1927. //
  1928. // This file contains Original Code and/or Modifications of Original Code
  1929. // as defined in and that are subject to the Apple Public Source License
  1930. // Version 2.0 (the 'License'). You may not use this file except in
  1931. // compliance with the License. The rights granted to you under the License
  1932. // may not be used to create, or enable the creation or redistribution of,
  1933. // unlawful or unlicensed copies of an Apple operating system, or to
  1934. // circumvent, violate, or enable the circumvention or violation of, any
  1935. // terms of an Apple operating system software license agreement.
  1936. //
  1937. // Please obtain a copy of the License at
  1938. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1939. //
  1940. // The Original Code and all software distributed under the License are
  1941. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1942. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1943. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1944. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1945. // Please see the License for the specific language governing rights and
  1946. // limitations under the License.
  1947. //
  1948. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1949. type Uintptr_t = uint64 /* _uintptr_t.h:34:33 */
  1950. // These types are used for reserving the largest possible size.
  1951. type User_addr_t = U_int64_t /* types.h:77:33 */
  1952. type User_size_t = U_int64_t /* types.h:78:33 */
  1953. type User_ssize_t = Int64_t /* types.h:79:33 */
  1954. type User_long_t = Int64_t /* types.h:80:33 */
  1955. type User_ulong_t = U_int64_t /* types.h:81:33 */
  1956. type User_time_t = Int64_t /* types.h:82:33 */
  1957. type User_off_t = Int64_t /* types.h:83:33 */
  1958. // This defines the size of syscall arguments after copying into the kernel:
  1959. type Syscall_arg_t = U_int64_t /* types.h:104:33 */
  1960. type Socklen_t = X__darwin_socklen_t /* _socklen_t.h:31:33 */
  1961. type Uint64_t = uint64 /* stdint.h:98:25 */
  1962. type Int_least64_t = Int64_t /* stdint.h:110:25 */
  1963. type Uint_least64_t = Uint64_t /* stdint.h:111:26 */
  1964. type Int_fast64_t = Int64_t /* stdint.h:112:25 */
  1965. type Uint_fast64_t = Uint64_t /* stdint.h:113:26 */
  1966. type Uint32_t = uint32 /* stdint.h:172:25 */
  1967. type Int_least32_t = Int32_t /* stdint.h:184:25 */
  1968. type Uint_least32_t = Uint32_t /* stdint.h:185:26 */
  1969. type Int_fast32_t = Int32_t /* stdint.h:186:25 */
  1970. type Uint_fast32_t = Uint32_t /* stdint.h:187:26 */
  1971. type Uint16_t = uint16 /* stdint.h:207:25 */
  1972. type Int_least16_t = Int16_t /* stdint.h:215:25 */
  1973. type Uint_least16_t = Uint16_t /* stdint.h:216:26 */
  1974. type Int_fast16_t = Int16_t /* stdint.h:217:25 */
  1975. type Uint_fast16_t = Uint16_t /* stdint.h:218:26 */
  1976. type Uint8_t = uint8 /* stdint.h:226:24 */
  1977. type Int_least8_t = Int8_t /* stdint.h:232:24 */
  1978. type Uint_least8_t = Uint8_t /* stdint.h:233:25 */
  1979. type Int_fast8_t = Int8_t /* stdint.h:234:24 */
  1980. type Uint_fast8_t = Uint8_t /* stdint.h:235:25 */
  1981. // prevent glibc sys/types.h from defining conflicting types
  1982. // C99 7.18.1.4 Integer types capable of holding object pointers.
  1983. // C99 7.18.1.5 Greatest-width integer types.
  1984. type Intmax_t = int64 /* stdint.h:262:26 */
  1985. type Uintmax_t = uint64 /* stdint.h:263:26 */
  1986. // C99 7.18.4 Macros for minimum-width integer constants.
  1987. //
  1988. // The standard requires that integer constant macros be defined for all the
  1989. // minimum-width types defined above. As 8-, 16-, 32-, and 64-bit minimum-width
  1990. // types are required, the corresponding integer constant macros are defined
  1991. // here. This implementation also defines minimum-width types for every other
  1992. // integer width that the target implements, so corresponding macros are
  1993. // defined below, too.
  1994. //
  1995. // These macros are defined using the same successive-shrinking approach as
  1996. // the type definitions above. It is likewise important that macros are defined
  1997. // in order of decending width.
  1998. //
  1999. // Note that C++ should not check __STDC_CONSTANT_MACROS here, contrary to the
  2000. // claims of the C standard (see C++ 18.3.1p2, [cstdint.syn]).
  2001. // C99 7.18.2.1 Limits of exact-width integer types.
  2002. // C99 7.18.2.2 Limits of minimum-width integer types.
  2003. // C99 7.18.2.3 Limits of fastest minimum-width integer types.
  2004. //
  2005. // The presence of limit macros are completely optional in C99. This
  2006. // implementation defines limits for all of the types (exact- and
  2007. // minimum-width) that it defines above, using the limits of the minimum-width
  2008. // type for any types that do not have exact-width representations.
  2009. //
  2010. // As in the type definitions, this section takes an approach of
  2011. // successive-shrinking to determine which limits to use for the standard (8,
  2012. // 16, 32, 64) bit widths when they don't have exact representations. It is
  2013. // therefore important that the definitions be kept in order of decending
  2014. // widths.
  2015. //
  2016. // Note that C++ should not check __STDC_LIMIT_MACROS here, contrary to the
  2017. // claims of the C standard (see C++ 18.3.1p2, [cstdint.syn]).
  2018. // Some utility macros
  2019. // C99 7.18.2.4 Limits of integer types capable of holding object pointers.
  2020. // C99 7.18.3 Limits of other integer types.
  2021. // ISO9899:2011 7.20 (C11 Annex K): Define RSIZE_MAX if __STDC_WANT_LIB_EXT1__
  2022. // is enabled.
  2023. // C99 7.18.2.5 Limits of greatest-width integer types.
  2024. // C99 7.18.3 Limits of other integer types.
  2025. // 7.18.4.2 Macros for greatest-width integer constants.
  2026. // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  2027. //
  2028. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2029. //
  2030. // This file contains Original Code and/or Modifications of Original Code
  2031. // as defined in and that are subject to the Apple Public Source License
  2032. // Version 2.0 (the 'License'). You may not use this file except in
  2033. // compliance with the License. The rights granted to you under the License
  2034. // may not be used to create, or enable the creation or redistribution of,
  2035. // unlawful or unlicensed copies of an Apple operating system, or to
  2036. // circumvent, violate, or enable the circumvention or violation of, any
  2037. // terms of an Apple operating system software license agreement.
  2038. //
  2039. // Please obtain a copy of the License at
  2040. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2041. //
  2042. // The Original Code and all software distributed under the License are
  2043. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2044. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2045. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2046. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2047. // Please see the License for the specific language governing rights and
  2048. // limitations under the License.
  2049. //
  2050. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2051. // Copyright (c) 1982, 1986, 1990, 1993
  2052. // The Regents of the University of California. All rights reserved.
  2053. //
  2054. // Redistribution and use in source and binary forms, with or without
  2055. // modification, are permitted provided that the following conditions
  2056. // are met:
  2057. // 1. Redistributions of source code must retain the above copyright
  2058. // notice, this list of conditions and the following disclaimer.
  2059. // 2. Redistributions in binary form must reproduce the above copyright
  2060. // notice, this list of conditions and the following disclaimer in the
  2061. // documentation and/or other materials provided with the distribution.
  2062. // 3. All advertising materials mentioning features or use of this software
  2063. // must display the following acknowledgement:
  2064. // This product includes software developed by the University of
  2065. // California, Berkeley and its contributors.
  2066. // 4. Neither the name of the University nor the names of its contributors
  2067. // may be used to endorse or promote products derived from this software
  2068. // without specific prior written permission.
  2069. //
  2070. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  2071. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  2072. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  2073. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  2074. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  2075. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  2076. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  2077. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  2078. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  2079. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  2080. // SUCH DAMAGE.
  2081. //
  2082. // @(#)in.h 8.3 (Berkeley) 1/3/94
  2083. // $FreeBSD: src/sys/netinet/in.h,v 1.48.2.2 2001/04/21 14:53:06 ume Exp $
  2084. // Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
  2085. //
  2086. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2087. //
  2088. // This file contains Original Code and/or Modifications of Original Code
  2089. // as defined in and that are subject to the Apple Public Source License
  2090. // Version 2.0 (the 'License'). You may not use this file except in
  2091. // compliance with the License. The rights granted to you under the License
  2092. // may not be used to create, or enable the creation or redistribution of,
  2093. // unlawful or unlicensed copies of an Apple operating system, or to
  2094. // circumvent, violate, or enable the circumvention or violation of, any
  2095. // terms of an Apple operating system software license agreement.
  2096. //
  2097. // Please obtain a copy of the License at
  2098. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2099. //
  2100. // The Original Code and all software distributed under the License are
  2101. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2102. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2103. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2104. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2105. // Please see the License for the specific language governing rights and
  2106. // limitations under the License.
  2107. //
  2108. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2109. //===---- stdint.h - Standard header for sized integer types --------------===* *
  2110. // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
  2111. // See https://llvm.org/LICENSE.txt for license information.
  2112. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  2113. //
  2114. // \*===----------------------------------------------------------------------===
  2115. // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  2116. //
  2117. // @APPLE_LICENSE_HEADER_START@
  2118. //
  2119. // This file contains Original Code and/or Modifications of Original Code
  2120. // as defined in and that are subject to the Apple Public Source License
  2121. // Version 2.0 (the 'License'). You may not use this file except in
  2122. // compliance with the License. Please obtain a copy of the License at
  2123. // http://www.opensource.apple.com/apsl/ and read it before using this
  2124. // file.
  2125. //
  2126. // The Original Code and all software distributed under the License are
  2127. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2128. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2129. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2130. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2131. // Please see the License for the specific language governing rights and
  2132. // limitations under the License.
  2133. //
  2134. // @APPLE_LICENSE_HEADER_END@
  2135. //
  2136. // These macros are for use in OS header files. They enable function prototypes
  2137. // and Objective-C methods to be tagged with the OS version in which they
  2138. // were first available; and, if applicable, the OS version in which they
  2139. // became deprecated.
  2140. //
  2141. // The desktop Mac OS X and iOS each have different version numbers.
  2142. // The __OSX_AVAILABLE_STARTING() macro allows you to specify both the desktop
  2143. // and iOS version numbers. For instance:
  2144. // __OSX_AVAILABLE_STARTING(__MAC_10_2,__IPHONE_2_0)
  2145. // means the function/method was first available on Mac OS X 10.2 on the desktop
  2146. // and first available in iOS 2.0 on the iPhone.
  2147. //
  2148. // If a function is available on one platform, but not the other a _NA (not
  2149. // applicable) parameter is used. For instance:
  2150. // __OSX_AVAILABLE_STARTING(__MAC_10_3,__IPHONE_NA)
  2151. // means that the function/method was first available on Mac OS X 10.3, and it
  2152. // currently not implemented on the iPhone.
  2153. //
  2154. // At some point, a function/method may be deprecated. That means Apple
  2155. // recommends applications stop using the function, either because there is a
  2156. // better replacement or the functionality is being phased out. Deprecated
  2157. // functions/methods can be tagged with a __OSX_AVAILABLE_BUT_DEPRECATED()
  2158. // macro which specifies the OS version where the function became available
  2159. // as well as the OS version in which it became deprecated. For instance:
  2160. // __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_NA,__IPHONE_NA)
  2161. // means that the function/method was introduced in Mac OS X 10.0, then
  2162. // became deprecated beginning in Mac OS X 10.5. On iOS the function
  2163. // has never been available.
  2164. //
  2165. // For these macros to function properly, a program must specify the OS version range
  2166. // it is targeting. The min OS version is specified as an option to the compiler:
  2167. // -mmacosx-version-min=10.x when building for Mac OS X, and -miphoneos-version-min=y.z
  2168. // when building for the iPhone. The upper bound for the OS version is rarely needed,
  2169. // but it can be set on the command line via: -D__MAC_OS_X_VERSION_MAX_ALLOWED=10x0 for
  2170. // Mac OS X and __IPHONE_OS_VERSION_MAX_ALLOWED = y0z00 for iOS.
  2171. //
  2172. // Examples:
  2173. //
  2174. // A function available in Mac OS X 10.5 and later, but not on the phone:
  2175. //
  2176. // extern void mymacfunc() __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_NA);
  2177. //
  2178. //
  2179. // An Objective-C method in Mac OS X 10.5 and later, but not on the phone:
  2180. //
  2181. // @interface MyClass : NSObject
  2182. // -(void) mymacmethod __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_NA);
  2183. // @end
  2184. //
  2185. //
  2186. // An enum available on the phone, but not available on Mac OS X:
  2187. //
  2188. // #if __IPHONE_OS_VERSION_MIN_REQUIRED
  2189. // enum { myEnum = 1 };
  2190. // #endif
  2191. // Note: this works when targeting the Mac OS X platform because
  2192. // __IPHONE_OS_VERSION_MIN_REQUIRED is undefined which evaluates to zero.
  2193. //
  2194. //
  2195. // An enum with values added in different iPhoneOS versions:
  2196. //
  2197. // enum {
  2198. // myX = 1, // Usable on iPhoneOS 2.1 and later
  2199. // myY = 2, // Usable on iPhoneOS 3.0 and later
  2200. // myZ = 3, // Usable on iPhoneOS 3.0 and later
  2201. // ...
  2202. // Note: you do not want to use #if with enumeration values
  2203. // when a client needs to see all values at compile time
  2204. // and use runtime logic to only use the viable values.
  2205. //
  2206. //
  2207. // It is also possible to use the *_VERSION_MIN_REQUIRED in source code to make one
  2208. // source base that can be compiled to target a range of OS versions. It is best
  2209. // to not use the _MAC_* and __IPHONE_* macros for comparisons, but rather their values.
  2210. // That is because you might get compiled on an old OS that does not define a later
  2211. // OS version macro, and in the C preprocessor undefined values evaluate to zero
  2212. // in expresssions, which could cause the #if expression to evaluate in an unexpected
  2213. // way.
  2214. //
  2215. // #ifdef __MAC_OS_X_VERSION_MIN_REQUIRED
  2216. // // code only compiled when targeting Mac OS X and not iPhone
  2217. // // note use of 1050 instead of __MAC_10_5
  2218. // #if __MAC_OS_X_VERSION_MIN_REQUIRED < 1050
  2219. // // code in here might run on pre-Leopard OS
  2220. // #else
  2221. // // code here can assume Leopard or later
  2222. // #endif
  2223. // #endif
  2224. //
  2225. //
  2226. // __API_TO_BE_DEPRECATED is used as a version number in API that will be deprecated
  2227. // in an upcoming release. This soft deprecation is an intermediate step before formal
  2228. // deprecation to notify developers about the API before compiler warnings are generated.
  2229. // You can find all places in your code that use soft deprecated API by redefining the
  2230. // value of this macro to your current minimum deployment target, for example:
  2231. // (macOS)
  2232. // clang -D__API_TO_BE_DEPRECATED=10.12 <other compiler flags>
  2233. // (iOS)
  2234. // clang -D__API_TO_BE_DEPRECATED=11.0 <other compiler flags>
  2235. // Copyright (c) 2019 by Apple Inc.. All rights reserved.
  2236. //
  2237. // @APPLE_LICENSE_HEADER_START@
  2238. //
  2239. // This file contains Original Code and/or Modifications of Original Code
  2240. // as defined in and that are subject to the Apple Public Source License
  2241. // Version 2.0 (the 'License'). You may not use this file except in
  2242. // compliance with the License. Please obtain a copy of the License at
  2243. // http://www.opensource.apple.com/apsl/ and read it before using this
  2244. // file.
  2245. //
  2246. // The Original Code and all software distributed under the License are
  2247. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2248. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2249. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2250. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2251. // Please see the License for the specific language governing rights and
  2252. // limitations under the License.
  2253. //
  2254. // @APPLE_LICENSE_HEADER_END@
  2255. // __MAC_NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable
  2256. // __IPHONE_NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable
  2257. // Set up standard Mac OS X versions
  2258. // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  2259. //
  2260. // @APPLE_LICENSE_HEADER_START@
  2261. //
  2262. // This file contains Original Code and/or Modifications of Original Code
  2263. // as defined in and that are subject to the Apple Public Source License
  2264. // Version 2.0 (the 'License'). You may not use this file except in
  2265. // compliance with the License. Please obtain a copy of the License at
  2266. // http://www.opensource.apple.com/apsl/ and read it before using this
  2267. // file.
  2268. //
  2269. // The Original Code and all software distributed under the License are
  2270. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2271. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2272. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2273. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2274. // Please see the License for the specific language governing rights and
  2275. // limitations under the License.
  2276. //
  2277. // @APPLE_LICENSE_HEADER_END@
  2278. //
  2279. // File: AvailabilityInternal.h
  2280. //
  2281. // Contains: implementation details of __OSX_AVAILABLE_* macros from <Availability.h>
  2282. //
  2283. // compiler for Mac OS X sets __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
  2284. // make sure a default max version is set
  2285. //
  2286. // Macros for defining which versions/platform a given symbol can be used.
  2287. //
  2288. // @see http://clang.llvm.org/docs/AttributeReference.html#availability
  2289. //
  2290. // Evaluate to nothing for compilers that don't support availability.
  2291. // Swift compiler version
  2292. // Allows for project-agnostic "epochs" for frameworks imported into Swift via the Clang importer, like #if _compiler_version for Swift
  2293. // Example:
  2294. //
  2295. // #if __swift_compiler_version_at_least(800, 2, 20)
  2296. // - (nonnull NSString *)description;
  2297. // #else
  2298. // - (NSString *)description;
  2299. // #endif
  2300. // If __SPI_AVAILABLE has not been defined elsewhere, disable it.
  2301. // for use to document app extension usage
  2302. // for use marking APIs available info for Mac OSX
  2303. // for use marking APIs available info for iOS
  2304. // for use marking APIs available info for tvOS
  2305. // for use marking APIs available info for Watch OS
  2306. // for use marking APIs unavailable for swift
  2307. //
  2308. // Macros for defining which versions/platform a given symbol can be used.
  2309. //
  2310. // @see http://clang.llvm.org/docs/AttributeReference.html#availability
  2311. //
  2312. // * Note that these macros are only compatible with clang compilers that
  2313. // * support the following target selection options:
  2314. // *
  2315. // * -mmacosx-version-min
  2316. // * -miphoneos-version-min
  2317. // * -mwatchos-version-min
  2318. // * -mtvos-version-min
  2319. //
  2320. // Evaluate to nothing for compilers that don't support availability.
  2321. // If SPI decorations have not been defined elsewhere, disable them.
  2322. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2323. //
  2324. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2325. //
  2326. // This file contains Original Code and/or Modifications of Original Code
  2327. // as defined in and that are subject to the Apple Public Source License
  2328. // Version 2.0 (the 'License'). You may not use this file except in
  2329. // compliance with the License. The rights granted to you under the License
  2330. // may not be used to create, or enable the creation or redistribution of,
  2331. // unlawful or unlicensed copies of an Apple operating system, or to
  2332. // circumvent, violate, or enable the circumvention or violation of, any
  2333. // terms of an Apple operating system software license agreement.
  2334. //
  2335. // Please obtain a copy of the License at
  2336. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2337. //
  2338. // The Original Code and all software distributed under the License are
  2339. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2340. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2341. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2342. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2343. // Please see the License for the specific language governing rights and
  2344. // limitations under the License.
  2345. //
  2346. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2347. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2348. //
  2349. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2350. //
  2351. // This file contains Original Code and/or Modifications of Original Code
  2352. // as defined in and that are subject to the Apple Public Source License
  2353. // Version 2.0 (the 'License'). You may not use this file except in
  2354. // compliance with the License. The rights granted to you under the License
  2355. // may not be used to create, or enable the creation or redistribution of,
  2356. // unlawful or unlicensed copies of an Apple operating system, or to
  2357. // circumvent, violate, or enable the circumvention or violation of, any
  2358. // terms of an Apple operating system software license agreement.
  2359. //
  2360. // Please obtain a copy of the License at
  2361. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2362. //
  2363. // The Original Code and all software distributed under the License are
  2364. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2365. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2366. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2367. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2368. // Please see the License for the specific language governing rights and
  2369. // limitations under the License.
  2370. //
  2371. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2372. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2373. type In_addr_t = X__uint32_t /* _in_addr_t.h:31:25 */ // base type for internet address
  2374. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2375. //
  2376. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2377. //
  2378. // This file contains Original Code and/or Modifications of Original Code
  2379. // as defined in and that are subject to the Apple Public Source License
  2380. // Version 2.0 (the 'License'). You may not use this file except in
  2381. // compliance with the License. The rights granted to you under the License
  2382. // may not be used to create, or enable the creation or redistribution of,
  2383. // unlawful or unlicensed copies of an Apple operating system, or to
  2384. // circumvent, violate, or enable the circumvention or violation of, any
  2385. // terms of an Apple operating system software license agreement.
  2386. //
  2387. // Please obtain a copy of the License at
  2388. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2389. //
  2390. // The Original Code and all software distributed under the License are
  2391. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2392. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2393. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2394. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2395. // Please see the License for the specific language governing rights and
  2396. // limitations under the License.
  2397. //
  2398. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2399. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2400. //
  2401. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2402. //
  2403. // This file contains Original Code and/or Modifications of Original Code
  2404. // as defined in and that are subject to the Apple Public Source License
  2405. // Version 2.0 (the 'License'). You may not use this file except in
  2406. // compliance with the License. The rights granted to you under the License
  2407. // may not be used to create, or enable the creation or redistribution of,
  2408. // unlawful or unlicensed copies of an Apple operating system, or to
  2409. // circumvent, violate, or enable the circumvention or violation of, any
  2410. // terms of an Apple operating system software license agreement.
  2411. //
  2412. // Please obtain a copy of the License at
  2413. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2414. //
  2415. // The Original Code and all software distributed under the License are
  2416. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2417. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2418. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2419. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2420. // Please see the License for the specific language governing rights and
  2421. // limitations under the License.
  2422. //
  2423. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2424. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2425. type In_port_t = X__uint16_t /* _in_port_t.h:31:33 */
  2426. // Functions for byte reversed loads.
  2427. type X_OSUnalignedU16 = struct{ F__val Uint16_t } /* OSByteOrder.h:64:1 */
  2428. type X_OSUnalignedU32 = struct{ F__val Uint32_t } /* OSByteOrder.h:68:1 */
  2429. type X_OSUnalignedU64 = struct{ F__val Uint64_t } /* OSByteOrder.h:72:1 */
  2430. // Copyright (c) 2017 Apple Inc. All rights reserved.
  2431. //
  2432. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2433. //
  2434. // This file contains Original Code and/or Modifications of Original Code
  2435. // as defined in and that are subject to the Apple Public Source License
  2436. // Version 2.0 (the 'License'). You may not use this file except in
  2437. // compliance with the License. The rights granted to you under the License
  2438. // may not be used to create, or enable the creation or redistribution of,
  2439. // unlawful or unlicensed copies of an Apple operating system, or to
  2440. // circumvent, violate, or enable the circumvention or violation of, any
  2441. // terms of an Apple operating system software license agreement.
  2442. //
  2443. // Please obtain a copy of the License at
  2444. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2445. //
  2446. // The Original Code and all software distributed under the License are
  2447. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2448. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2449. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2450. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2451. // Please see the License for the specific language governing rights and
  2452. // limitations under the License.
  2453. //
  2454. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2455. type U_char = uint8 /* _u_char.h:30:25 */
  2456. // Copyright (c) 2017 Apple Inc. All rights reserved.
  2457. //
  2458. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2459. //
  2460. // This file contains Original Code and/or Modifications of Original Code
  2461. // as defined in and that are subject to the Apple Public Source License
  2462. // Version 2.0 (the 'License'). You may not use this file except in
  2463. // compliance with the License. The rights granted to you under the License
  2464. // may not be used to create, or enable the creation or redistribution of,
  2465. // unlawful or unlicensed copies of an Apple operating system, or to
  2466. // circumvent, violate, or enable the circumvention or violation of, any
  2467. // terms of an Apple operating system software license agreement.
  2468. //
  2469. // Please obtain a copy of the License at
  2470. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2471. //
  2472. // The Original Code and all software distributed under the License are
  2473. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2474. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2475. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2476. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2477. // Please see the License for the specific language governing rights and
  2478. // limitations under the License.
  2479. //
  2480. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2481. type U_short = uint16 /* _u_short.h:30:25 */
  2482. // Copyright (c) 2017 Apple Inc. All rights reserved.
  2483. //
  2484. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2485. //
  2486. // This file contains Original Code and/or Modifications of Original Code
  2487. // as defined in and that are subject to the Apple Public Source License
  2488. // Version 2.0 (the 'License'). You may not use this file except in
  2489. // compliance with the License. The rights granted to you under the License
  2490. // may not be used to create, or enable the creation or redistribution of,
  2491. // unlawful or unlicensed copies of an Apple operating system, or to
  2492. // circumvent, violate, or enable the circumvention or violation of, any
  2493. // terms of an Apple operating system software license agreement.
  2494. //
  2495. // Please obtain a copy of the License at
  2496. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2497. //
  2498. // The Original Code and all software distributed under the License are
  2499. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2500. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2501. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2502. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2503. // Please see the License for the specific language governing rights and
  2504. // limitations under the License.
  2505. //
  2506. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2507. type U_int = uint32 /* _u_int.h:30:25 */
  2508. type U_long = uint64 /* types.h:88:33 */
  2509. type Ushort = uint16 /* types.h:91:33 */ // Sys V compatibility
  2510. type Uint = uint32 /* types.h:92:33 */ // Sys V compatibility
  2511. type U_quad_t = U_int64_t /* types.h:95:33 */ // quads
  2512. type Quad_t = Int64_t /* types.h:96:33 */
  2513. type Qaddr_t = uintptr /* types.h:97:16 */
  2514. // Copyright (c) 2017 Apple Inc. All rights reserved.
  2515. //
  2516. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2517. //
  2518. // This file contains Original Code and/or Modifications of Original Code
  2519. // as defined in and that are subject to the Apple Public Source License
  2520. // Version 2.0 (the 'License'). You may not use this file except in
  2521. // compliance with the License. The rights granted to you under the License
  2522. // may not be used to create, or enable the creation or redistribution of,
  2523. // unlawful or unlicensed copies of an Apple operating system, or to
  2524. // circumvent, violate, or enable the circumvention or violation of, any
  2525. // terms of an Apple operating system software license agreement.
  2526. //
  2527. // Please obtain a copy of the License at
  2528. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2529. //
  2530. // The Original Code and all software distributed under the License are
  2531. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2532. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2533. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2534. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2535. // Please see the License for the specific language governing rights and
  2536. // limitations under the License.
  2537. //
  2538. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2539. type Caddr_t = uintptr /* _caddr_t.h:30:14 */
  2540. type Daddr_t = Int32_t /* types.h:101:33 */ // disk address
  2541. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2542. //
  2543. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2544. //
  2545. // This file contains Original Code and/or Modifications of Original Code
  2546. // as defined in and that are subject to the Apple Public Source License
  2547. // Version 2.0 (the 'License'). You may not use this file except in
  2548. // compliance with the License. The rights granted to you under the License
  2549. // may not be used to create, or enable the creation or redistribution of,
  2550. // unlawful or unlicensed copies of an Apple operating system, or to
  2551. // circumvent, violate, or enable the circumvention or violation of, any
  2552. // terms of an Apple operating system software license agreement.
  2553. //
  2554. // Please obtain a copy of the License at
  2555. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2556. //
  2557. // The Original Code and all software distributed under the License are
  2558. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2559. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2560. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2561. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2562. // Please see the License for the specific language governing rights and
  2563. // limitations under the License.
  2564. //
  2565. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2566. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2567. //
  2568. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2569. //
  2570. // This file contains Original Code and/or Modifications of Original Code
  2571. // as defined in and that are subject to the Apple Public Source License
  2572. // Version 2.0 (the 'License'). You may not use this file except in
  2573. // compliance with the License. The rights granted to you under the License
  2574. // may not be used to create, or enable the creation or redistribution of,
  2575. // unlawful or unlicensed copies of an Apple operating system, or to
  2576. // circumvent, violate, or enable the circumvention or violation of, any
  2577. // terms of an Apple operating system software license agreement.
  2578. //
  2579. // Please obtain a copy of the License at
  2580. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2581. //
  2582. // The Original Code and all software distributed under the License are
  2583. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2584. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2585. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2586. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2587. // Please see the License for the specific language governing rights and
  2588. // limitations under the License.
  2589. //
  2590. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2591. type Dev_t = X__darwin_dev_t /* _dev_t.h:31:31 */ // device number
  2592. type Fixpt_t = U_int32_t /* types.h:105:33 */ // fixed point number
  2593. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2594. //
  2595. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2596. //
  2597. // This file contains Original Code and/or Modifications of Original Code
  2598. // as defined in and that are subject to the Apple Public Source License
  2599. // Version 2.0 (the 'License'). You may not use this file except in
  2600. // compliance with the License. The rights granted to you under the License
  2601. // may not be used to create, or enable the creation or redistribution of,
  2602. // unlawful or unlicensed copies of an Apple operating system, or to
  2603. // circumvent, violate, or enable the circumvention or violation of, any
  2604. // terms of an Apple operating system software license agreement.
  2605. //
  2606. // Please obtain a copy of the License at
  2607. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2608. //
  2609. // The Original Code and all software distributed under the License are
  2610. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2611. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2612. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2613. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2614. // Please see the License for the specific language governing rights and
  2615. // limitations under the License.
  2616. //
  2617. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2618. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2619. //
  2620. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2621. //
  2622. // This file contains Original Code and/or Modifications of Original Code
  2623. // as defined in and that are subject to the Apple Public Source License
  2624. // Version 2.0 (the 'License'). You may not use this file except in
  2625. // compliance with the License. The rights granted to you under the License
  2626. // may not be used to create, or enable the creation or redistribution of,
  2627. // unlawful or unlicensed copies of an Apple operating system, or to
  2628. // circumvent, violate, or enable the circumvention or violation of, any
  2629. // terms of an Apple operating system software license agreement.
  2630. //
  2631. // Please obtain a copy of the License at
  2632. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2633. //
  2634. // The Original Code and all software distributed under the License are
  2635. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2636. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2637. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2638. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2639. // Please see the License for the specific language governing rights and
  2640. // limitations under the License.
  2641. //
  2642. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2643. type Blkcnt_t = X__darwin_blkcnt_t /* _blkcnt_t.h:31:34 */
  2644. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2645. //
  2646. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2647. //
  2648. // This file contains Original Code and/or Modifications of Original Code
  2649. // as defined in and that are subject to the Apple Public Source License
  2650. // Version 2.0 (the 'License'). You may not use this file except in
  2651. // compliance with the License. The rights granted to you under the License
  2652. // may not be used to create, or enable the creation or redistribution of,
  2653. // unlawful or unlicensed copies of an Apple operating system, or to
  2654. // circumvent, violate, or enable the circumvention or violation of, any
  2655. // terms of an Apple operating system software license agreement.
  2656. //
  2657. // Please obtain a copy of the License at
  2658. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2659. //
  2660. // The Original Code and all software distributed under the License are
  2661. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2662. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2663. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2664. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2665. // Please see the License for the specific language governing rights and
  2666. // limitations under the License.
  2667. //
  2668. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2669. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2670. //
  2671. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2672. //
  2673. // This file contains Original Code and/or Modifications of Original Code
  2674. // as defined in and that are subject to the Apple Public Source License
  2675. // Version 2.0 (the 'License'). You may not use this file except in
  2676. // compliance with the License. The rights granted to you under the License
  2677. // may not be used to create, or enable the creation or redistribution of,
  2678. // unlawful or unlicensed copies of an Apple operating system, or to
  2679. // circumvent, violate, or enable the circumvention or violation of, any
  2680. // terms of an Apple operating system software license agreement.
  2681. //
  2682. // Please obtain a copy of the License at
  2683. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2684. //
  2685. // The Original Code and all software distributed under the License are
  2686. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2687. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2688. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2689. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2690. // Please see the License for the specific language governing rights and
  2691. // limitations under the License.
  2692. //
  2693. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2694. type Blksize_t = X__darwin_blksize_t /* _blksize_t.h:31:35 */
  2695. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2696. //
  2697. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2698. //
  2699. // This file contains Original Code and/or Modifications of Original Code
  2700. // as defined in and that are subject to the Apple Public Source License
  2701. // Version 2.0 (the 'License'). You may not use this file except in
  2702. // compliance with the License. The rights granted to you under the License
  2703. // may not be used to create, or enable the creation or redistribution of,
  2704. // unlawful or unlicensed copies of an Apple operating system, or to
  2705. // circumvent, violate, or enable the circumvention or violation of, any
  2706. // terms of an Apple operating system software license agreement.
  2707. //
  2708. // Please obtain a copy of the License at
  2709. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2710. //
  2711. // The Original Code and all software distributed under the License are
  2712. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2713. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2714. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2715. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2716. // Please see the License for the specific language governing rights and
  2717. // limitations under the License.
  2718. //
  2719. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2720. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2721. //
  2722. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2723. //
  2724. // This file contains Original Code and/or Modifications of Original Code
  2725. // as defined in and that are subject to the Apple Public Source License
  2726. // Version 2.0 (the 'License'). You may not use this file except in
  2727. // compliance with the License. The rights granted to you under the License
  2728. // may not be used to create, or enable the creation or redistribution of,
  2729. // unlawful or unlicensed copies of an Apple operating system, or to
  2730. // circumvent, violate, or enable the circumvention or violation of, any
  2731. // terms of an Apple operating system software license agreement.
  2732. //
  2733. // Please obtain a copy of the License at
  2734. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2735. //
  2736. // The Original Code and all software distributed under the License are
  2737. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2738. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2739. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2740. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2741. // Please see the License for the specific language governing rights and
  2742. // limitations under the License.
  2743. //
  2744. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2745. type Gid_t = X__darwin_gid_t /* _gid_t.h:31:25 */
  2746. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2747. //
  2748. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2749. //
  2750. // This file contains Original Code and/or Modifications of Original Code
  2751. // as defined in and that are subject to the Apple Public Source License
  2752. // Version 2.0 (the 'License'). You may not use this file except in
  2753. // compliance with the License. The rights granted to you under the License
  2754. // may not be used to create, or enable the creation or redistribution of,
  2755. // unlawful or unlicensed copies of an Apple operating system, or to
  2756. // circumvent, violate, or enable the circumvention or violation of, any
  2757. // terms of an Apple operating system software license agreement.
  2758. //
  2759. // Please obtain a copy of the License at
  2760. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2761. //
  2762. // The Original Code and all software distributed under the License are
  2763. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2764. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2765. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2766. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2767. // Please see the License for the specific language governing rights and
  2768. // limitations under the License.
  2769. //
  2770. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2771. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2772. //
  2773. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2774. //
  2775. // This file contains Original Code and/or Modifications of Original Code
  2776. // as defined in and that are subject to the Apple Public Source License
  2777. // Version 2.0 (the 'License'). You may not use this file except in
  2778. // compliance with the License. The rights granted to you under the License
  2779. // may not be used to create, or enable the creation or redistribution of,
  2780. // unlawful or unlicensed copies of an Apple operating system, or to
  2781. // circumvent, violate, or enable the circumvention or violation of, any
  2782. // terms of an Apple operating system software license agreement.
  2783. //
  2784. // Please obtain a copy of the License at
  2785. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2786. //
  2787. // The Original Code and all software distributed under the License are
  2788. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2789. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2790. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2791. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2792. // Please see the License for the specific language governing rights and
  2793. // limitations under the License.
  2794. //
  2795. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2796. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2797. //
  2798. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2799. //
  2800. // This file contains Original Code and/or Modifications of Original Code
  2801. // as defined in and that are subject to the Apple Public Source License
  2802. // Version 2.0 (the 'License'). You may not use this file except in
  2803. // compliance with the License. The rights granted to you under the License
  2804. // may not be used to create, or enable the creation or redistribution of,
  2805. // unlawful or unlicensed copies of an Apple operating system, or to
  2806. // circumvent, violate, or enable the circumvention or violation of, any
  2807. // terms of an Apple operating system software license agreement.
  2808. //
  2809. // Please obtain a copy of the License at
  2810. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2811. //
  2812. // The Original Code and all software distributed under the License are
  2813. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2814. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2815. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2816. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2817. // Please see the License for the specific language governing rights and
  2818. // limitations under the License.
  2819. //
  2820. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2821. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2822. //
  2823. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2824. //
  2825. // This file contains Original Code and/or Modifications of Original Code
  2826. // as defined in and that are subject to the Apple Public Source License
  2827. // Version 2.0 (the 'License'). You may not use this file except in
  2828. // compliance with the License. The rights granted to you under the License
  2829. // may not be used to create, or enable the creation or redistribution of,
  2830. // unlawful or unlicensed copies of an Apple operating system, or to
  2831. // circumvent, violate, or enable the circumvention or violation of, any
  2832. // terms of an Apple operating system software license agreement.
  2833. //
  2834. // Please obtain a copy of the License at
  2835. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2836. //
  2837. // The Original Code and all software distributed under the License are
  2838. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2839. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2840. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2841. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2842. // Please see the License for the specific language governing rights and
  2843. // limitations under the License.
  2844. //
  2845. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2846. type Ino_t = X__darwin_ino_t /* _ino_t.h:31:33 */ // inode number
  2847. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2848. //
  2849. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2850. //
  2851. // This file contains Original Code and/or Modifications of Original Code
  2852. // as defined in and that are subject to the Apple Public Source License
  2853. // Version 2.0 (the 'License'). You may not use this file except in
  2854. // compliance with the License. The rights granted to you under the License
  2855. // may not be used to create, or enable the creation or redistribution of,
  2856. // unlawful or unlicensed copies of an Apple operating system, or to
  2857. // circumvent, violate, or enable the circumvention or violation of, any
  2858. // terms of an Apple operating system software license agreement.
  2859. //
  2860. // Please obtain a copy of the License at
  2861. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2862. //
  2863. // The Original Code and all software distributed under the License are
  2864. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2865. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2866. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2867. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2868. // Please see the License for the specific language governing rights and
  2869. // limitations under the License.
  2870. //
  2871. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2872. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2873. //
  2874. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2875. //
  2876. // This file contains Original Code and/or Modifications of Original Code
  2877. // as defined in and that are subject to the Apple Public Source License
  2878. // Version 2.0 (the 'License'). You may not use this file except in
  2879. // compliance with the License. The rights granted to you under the License
  2880. // may not be used to create, or enable the creation or redistribution of,
  2881. // unlawful or unlicensed copies of an Apple operating system, or to
  2882. // circumvent, violate, or enable the circumvention or violation of, any
  2883. // terms of an Apple operating system software license agreement.
  2884. //
  2885. // Please obtain a copy of the License at
  2886. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2887. //
  2888. // The Original Code and all software distributed under the License are
  2889. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2890. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2891. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2892. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2893. // Please see the License for the specific language governing rights and
  2894. // limitations under the License.
  2895. //
  2896. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2897. type Ino64_t = X__darwin_ino64_t /* _ino64_t.h:31:33 */ // 64bit inode number
  2898. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2899. //
  2900. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2901. //
  2902. // This file contains Original Code and/or Modifications of Original Code
  2903. // as defined in and that are subject to the Apple Public Source License
  2904. // Version 2.0 (the 'License'). You may not use this file except in
  2905. // compliance with the License. The rights granted to you under the License
  2906. // may not be used to create, or enable the creation or redistribution of,
  2907. // unlawful or unlicensed copies of an Apple operating system, or to
  2908. // circumvent, violate, or enable the circumvention or violation of, any
  2909. // terms of an Apple operating system software license agreement.
  2910. //
  2911. // Please obtain a copy of the License at
  2912. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2913. //
  2914. // The Original Code and all software distributed under the License are
  2915. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2916. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2917. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2918. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2919. // Please see the License for the specific language governing rights and
  2920. // limitations under the License.
  2921. //
  2922. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2923. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2924. //
  2925. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2926. //
  2927. // This file contains Original Code and/or Modifications of Original Code
  2928. // as defined in and that are subject to the Apple Public Source License
  2929. // Version 2.0 (the 'License'). You may not use this file except in
  2930. // compliance with the License. The rights granted to you under the License
  2931. // may not be used to create, or enable the creation or redistribution of,
  2932. // unlawful or unlicensed copies of an Apple operating system, or to
  2933. // circumvent, violate, or enable the circumvention or violation of, any
  2934. // terms of an Apple operating system software license agreement.
  2935. //
  2936. // Please obtain a copy of the License at
  2937. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2938. //
  2939. // The Original Code and all software distributed under the License are
  2940. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2941. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2942. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2943. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2944. // Please see the License for the specific language governing rights and
  2945. // limitations under the License.
  2946. //
  2947. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2948. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2949. type Key_t = X__int32_t /* _key_t.h:31:26 */ // IPC key (for Sys V IPC)
  2950. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2951. //
  2952. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2953. //
  2954. // This file contains Original Code and/or Modifications of Original Code
  2955. // as defined in and that are subject to the Apple Public Source License
  2956. // Version 2.0 (the 'License'). You may not use this file except in
  2957. // compliance with the License. The rights granted to you under the License
  2958. // may not be used to create, or enable the creation or redistribution of,
  2959. // unlawful or unlicensed copies of an Apple operating system, or to
  2960. // circumvent, violate, or enable the circumvention or violation of, any
  2961. // terms of an Apple operating system software license agreement.
  2962. //
  2963. // Please obtain a copy of the License at
  2964. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2965. //
  2966. // The Original Code and all software distributed under the License are
  2967. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2968. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2969. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2970. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2971. // Please see the License for the specific language governing rights and
  2972. // limitations under the License.
  2973. //
  2974. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2975. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2976. //
  2977. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2978. //
  2979. // This file contains Original Code and/or Modifications of Original Code
  2980. // as defined in and that are subject to the Apple Public Source License
  2981. // Version 2.0 (the 'License'). You may not use this file except in
  2982. // compliance with the License. The rights granted to you under the License
  2983. // may not be used to create, or enable the creation or redistribution of,
  2984. // unlawful or unlicensed copies of an Apple operating system, or to
  2985. // circumvent, violate, or enable the circumvention or violation of, any
  2986. // terms of an Apple operating system software license agreement.
  2987. //
  2988. // Please obtain a copy of the License at
  2989. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2990. //
  2991. // The Original Code and all software distributed under the License are
  2992. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2993. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2994. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2995. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2996. // Please see the License for the specific language governing rights and
  2997. // limitations under the License.
  2998. //
  2999. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3000. type Mode_t = X__darwin_mode_t /* _mode_t.h:31:33 */
  3001. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3002. //
  3003. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3004. //
  3005. // This file contains Original Code and/or Modifications of Original Code
  3006. // as defined in and that are subject to the Apple Public Source License
  3007. // Version 2.0 (the 'License'). You may not use this file except in
  3008. // compliance with the License. The rights granted to you under the License
  3009. // may not be used to create, or enable the creation or redistribution of,
  3010. // unlawful or unlicensed copies of an Apple operating system, or to
  3011. // circumvent, violate, or enable the circumvention or violation of, any
  3012. // terms of an Apple operating system software license agreement.
  3013. //
  3014. // Please obtain a copy of the License at
  3015. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3016. //
  3017. // The Original Code and all software distributed under the License are
  3018. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3019. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3020. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3021. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3022. // Please see the License for the specific language governing rights and
  3023. // limitations under the License.
  3024. //
  3025. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3026. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  3027. //
  3028. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3029. //
  3030. // This file contains Original Code and/or Modifications of Original Code
  3031. // as defined in and that are subject to the Apple Public Source License
  3032. // Version 2.0 (the 'License'). You may not use this file except in
  3033. // compliance with the License. The rights granted to you under the License
  3034. // may not be used to create, or enable the creation or redistribution of,
  3035. // unlawful or unlicensed copies of an Apple operating system, or to
  3036. // circumvent, violate, or enable the circumvention or violation of, any
  3037. // terms of an Apple operating system software license agreement.
  3038. //
  3039. // Please obtain a copy of the License at
  3040. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3041. //
  3042. // The Original Code and all software distributed under the License are
  3043. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3044. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3045. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3046. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3047. // Please see the License for the specific language governing rights and
  3048. // limitations under the License.
  3049. //
  3050. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3051. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  3052. type Nlink_t = X__uint16_t /* _nlink_t.h:31:27 */ // link count
  3053. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3054. //
  3055. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3056. //
  3057. // This file contains Original Code and/or Modifications of Original Code
  3058. // as defined in and that are subject to the Apple Public Source License
  3059. // Version 2.0 (the 'License'). You may not use this file except in
  3060. // compliance with the License. The rights granted to you under the License
  3061. // may not be used to create, or enable the creation or redistribution of,
  3062. // unlawful or unlicensed copies of an Apple operating system, or to
  3063. // circumvent, violate, or enable the circumvention or violation of, any
  3064. // terms of an Apple operating system software license agreement.
  3065. //
  3066. // Please obtain a copy of the License at
  3067. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3068. //
  3069. // The Original Code and all software distributed under the License are
  3070. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3071. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3072. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3073. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3074. // Please see the License for the specific language governing rights and
  3075. // limitations under the License.
  3076. //
  3077. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3078. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  3079. //
  3080. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3081. //
  3082. // This file contains Original Code and/or Modifications of Original Code
  3083. // as defined in and that are subject to the Apple Public Source License
  3084. // Version 2.0 (the 'License'). You may not use this file except in
  3085. // compliance with the License. The rights granted to you under the License
  3086. // may not be used to create, or enable the creation or redistribution of,
  3087. // unlawful or unlicensed copies of an Apple operating system, or to
  3088. // circumvent, violate, or enable the circumvention or violation of, any
  3089. // terms of an Apple operating system software license agreement.
  3090. //
  3091. // Please obtain a copy of the License at
  3092. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3093. //
  3094. // The Original Code and all software distributed under the License are
  3095. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3096. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3097. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3098. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3099. // Please see the License for the specific language governing rights and
  3100. // limitations under the License.
  3101. //
  3102. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3103. type Id_t = X__darwin_id_t /* _id_t.h:31:25 */ // can hold pid_t, gid_t, or uid_t
  3104. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3105. //
  3106. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3107. //
  3108. // This file contains Original Code and/or Modifications of Original Code
  3109. // as defined in and that are subject to the Apple Public Source License
  3110. // Version 2.0 (the 'License'). You may not use this file except in
  3111. // compliance with the License. The rights granted to you under the License
  3112. // may not be used to create, or enable the creation or redistribution of,
  3113. // unlawful or unlicensed copies of an Apple operating system, or to
  3114. // circumvent, violate, or enable the circumvention or violation of, any
  3115. // terms of an Apple operating system software license agreement.
  3116. //
  3117. // Please obtain a copy of the License at
  3118. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3119. //
  3120. // The Original Code and all software distributed under the License are
  3121. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3122. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3123. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3124. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3125. // Please see the License for the specific language governing rights and
  3126. // limitations under the License.
  3127. //
  3128. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3129. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  3130. //
  3131. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3132. //
  3133. // This file contains Original Code and/or Modifications of Original Code
  3134. // as defined in and that are subject to the Apple Public Source License
  3135. // Version 2.0 (the 'License'). You may not use this file except in
  3136. // compliance with the License. The rights granted to you under the License
  3137. // may not be used to create, or enable the creation or redistribution of,
  3138. // unlawful or unlicensed copies of an Apple operating system, or to
  3139. // circumvent, violate, or enable the circumvention or violation of, any
  3140. // terms of an Apple operating system software license agreement.
  3141. //
  3142. // Please obtain a copy of the License at
  3143. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3144. //
  3145. // The Original Code and all software distributed under the License are
  3146. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3147. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3148. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3149. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3150. // Please see the License for the specific language governing rights and
  3151. // limitations under the License.
  3152. //
  3153. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3154. type Pid_t = X__darwin_pid_t /* _pid_t.h:31:31 */
  3155. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3156. //
  3157. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3158. //
  3159. // This file contains Original Code and/or Modifications of Original Code
  3160. // as defined in and that are subject to the Apple Public Source License
  3161. // Version 2.0 (the 'License'). You may not use this file except in
  3162. // compliance with the License. The rights granted to you under the License
  3163. // may not be used to create, or enable the creation or redistribution of,
  3164. // unlawful or unlicensed copies of an Apple operating system, or to
  3165. // circumvent, violate, or enable the circumvention or violation of, any
  3166. // terms of an Apple operating system software license agreement.
  3167. //
  3168. // Please obtain a copy of the License at
  3169. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3170. //
  3171. // The Original Code and all software distributed under the License are
  3172. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3173. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3174. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3175. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3176. // Please see the License for the specific language governing rights and
  3177. // limitations under the License.
  3178. //
  3179. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3180. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  3181. //
  3182. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3183. //
  3184. // This file contains Original Code and/or Modifications of Original Code
  3185. // as defined in and that are subject to the Apple Public Source License
  3186. // Version 2.0 (the 'License'). You may not use this file except in
  3187. // compliance with the License. The rights granted to you under the License
  3188. // may not be used to create, or enable the creation or redistribution of,
  3189. // unlawful or unlicensed copies of an Apple operating system, or to
  3190. // circumvent, violate, or enable the circumvention or violation of, any
  3191. // terms of an Apple operating system software license agreement.
  3192. //
  3193. // Please obtain a copy of the License at
  3194. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3195. //
  3196. // The Original Code and all software distributed under the License are
  3197. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3198. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3199. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3200. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3201. // Please see the License for the specific language governing rights and
  3202. // limitations under the License.
  3203. //
  3204. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3205. type Off_t = X__darwin_off_t /* _off_t.h:31:33 */
  3206. type Segsz_t = Int32_t /* types.h:125:33 */ // segment size
  3207. type Swblk_t = Int32_t /* types.h:126:33 */ // swap offset
  3208. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3209. //
  3210. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3211. //
  3212. // This file contains Original Code and/or Modifications of Original Code
  3213. // as defined in and that are subject to the Apple Public Source License
  3214. // Version 2.0 (the 'License'). You may not use this file except in
  3215. // compliance with the License. The rights granted to you under the License
  3216. // may not be used to create, or enable the creation or redistribution of,
  3217. // unlawful or unlicensed copies of an Apple operating system, or to
  3218. // circumvent, violate, or enable the circumvention or violation of, any
  3219. // terms of an Apple operating system software license agreement.
  3220. //
  3221. // Please obtain a copy of the License at
  3222. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3223. //
  3224. // The Original Code and all software distributed under the License are
  3225. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3226. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3227. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3228. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3229. // Please see the License for the specific language governing rights and
  3230. // limitations under the License.
  3231. //
  3232. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3233. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  3234. //
  3235. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3236. //
  3237. // This file contains Original Code and/or Modifications of Original Code
  3238. // as defined in and that are subject to the Apple Public Source License
  3239. // Version 2.0 (the 'License'). You may not use this file except in
  3240. // compliance with the License. The rights granted to you under the License
  3241. // may not be used to create, or enable the creation or redistribution of,
  3242. // unlawful or unlicensed copies of an Apple operating system, or to
  3243. // circumvent, violate, or enable the circumvention or violation of, any
  3244. // terms of an Apple operating system software license agreement.
  3245. //
  3246. // Please obtain a copy of the License at
  3247. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3248. //
  3249. // The Original Code and all software distributed under the License are
  3250. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3251. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3252. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3253. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3254. // Please see the License for the specific language governing rights and
  3255. // limitations under the License.
  3256. //
  3257. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3258. type Uid_t = X__darwin_uid_t /* _uid_t.h:31:31 */
  3259. // Major, minor numbers, dev_t's.
  3260. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3261. //
  3262. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3263. //
  3264. // This file contains Original Code and/or Modifications of Original Code
  3265. // as defined in and that are subject to the Apple Public Source License
  3266. // Version 2.0 (the 'License'). You may not use this file except in
  3267. // compliance with the License. The rights granted to you under the License
  3268. // may not be used to create, or enable the creation or redistribution of,
  3269. // unlawful or unlicensed copies of an Apple operating system, or to
  3270. // circumvent, violate, or enable the circumvention or violation of, any
  3271. // terms of an Apple operating system software license agreement.
  3272. //
  3273. // Please obtain a copy of the License at
  3274. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3275. //
  3276. // The Original Code and all software distributed under the License are
  3277. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3278. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3279. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3280. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3281. // Please see the License for the specific language governing rights and
  3282. // limitations under the License.
  3283. //
  3284. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3285. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  3286. //
  3287. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3288. //
  3289. // This file contains Original Code and/or Modifications of Original Code
  3290. // as defined in and that are subject to the Apple Public Source License
  3291. // Version 2.0 (the 'License'). You may not use this file except in
  3292. // compliance with the License. The rights granted to you under the License
  3293. // may not be used to create, or enable the creation or redistribution of,
  3294. // unlawful or unlicensed copies of an Apple operating system, or to
  3295. // circumvent, violate, or enable the circumvention or violation of, any
  3296. // terms of an Apple operating system software license agreement.
  3297. //
  3298. // Please obtain a copy of the License at
  3299. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3300. //
  3301. // The Original Code and all software distributed under the License are
  3302. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3303. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3304. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3305. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3306. // Please see the License for the specific language governing rights and
  3307. // limitations under the License.
  3308. //
  3309. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3310. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  3311. type Clock_t = X__darwin_clock_t /* _clock_t.h:31:33 */
  3312. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3313. //
  3314. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3315. //
  3316. // This file contains Original Code and/or Modifications of Original Code
  3317. // as defined in and that are subject to the Apple Public Source License
  3318. // Version 2.0 (the 'License'). You may not use this file except in
  3319. // compliance with the License. The rights granted to you under the License
  3320. // may not be used to create, or enable the creation or redistribution of,
  3321. // unlawful or unlicensed copies of an Apple operating system, or to
  3322. // circumvent, violate, or enable the circumvention or violation of, any
  3323. // terms of an Apple operating system software license agreement.
  3324. //
  3325. // Please obtain a copy of the License at
  3326. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3327. //
  3328. // The Original Code and all software distributed under the License are
  3329. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3330. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3331. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3332. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3333. // Please see the License for the specific language governing rights and
  3334. // limitations under the License.
  3335. //
  3336. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3337. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3338. //
  3339. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3340. //
  3341. // This file contains Original Code and/or Modifications of Original Code
  3342. // as defined in and that are subject to the Apple Public Source License
  3343. // Version 2.0 (the 'License'). You may not use this file except in
  3344. // compliance with the License. The rights granted to you under the License
  3345. // may not be used to create, or enable the creation or redistribution of,
  3346. // unlawful or unlicensed copies of an Apple operating system, or to
  3347. // circumvent, violate, or enable the circumvention or violation of, any
  3348. // terms of an Apple operating system software license agreement.
  3349. //
  3350. // Please obtain a copy of the License at
  3351. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3352. //
  3353. // The Original Code and all software distributed under the License are
  3354. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3355. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3356. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3357. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3358. // Please see the License for the specific language governing rights and
  3359. // limitations under the License.
  3360. //
  3361. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3362. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  3363. //
  3364. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3365. //
  3366. // This file contains Original Code and/or Modifications of Original Code
  3367. // as defined in and that are subject to the Apple Public Source License
  3368. // Version 2.0 (the 'License'). You may not use this file except in
  3369. // compliance with the License. The rights granted to you under the License
  3370. // may not be used to create, or enable the creation or redistribution of,
  3371. // unlawful or unlicensed copies of an Apple operating system, or to
  3372. // circumvent, violate, or enable the circumvention or violation of, any
  3373. // terms of an Apple operating system software license agreement.
  3374. //
  3375. // Please obtain a copy of the License at
  3376. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3377. //
  3378. // The Original Code and all software distributed under the License are
  3379. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3380. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3381. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3382. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3383. // Please see the License for the specific language governing rights and
  3384. // limitations under the License.
  3385. //
  3386. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3387. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  3388. type Ssize_t = X__darwin_ssize_t /* _ssize_t.h:31:33 */
  3389. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3390. //
  3391. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3392. //
  3393. // This file contains Original Code and/or Modifications of Original Code
  3394. // as defined in and that are subject to the Apple Public Source License
  3395. // Version 2.0 (the 'License'). You may not use this file except in
  3396. // compliance with the License. The rights granted to you under the License
  3397. // may not be used to create, or enable the creation or redistribution of,
  3398. // unlawful or unlicensed copies of an Apple operating system, or to
  3399. // circumvent, violate, or enable the circumvention or violation of, any
  3400. // terms of an Apple operating system software license agreement.
  3401. //
  3402. // Please obtain a copy of the License at
  3403. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3404. //
  3405. // The Original Code and all software distributed under the License are
  3406. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3407. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3408. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3409. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3410. // Please see the License for the specific language governing rights and
  3411. // limitations under the License.
  3412. //
  3413. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3414. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  3415. //
  3416. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3417. //
  3418. // This file contains Original Code and/or Modifications of Original Code
  3419. // as defined in and that are subject to the Apple Public Source License
  3420. // Version 2.0 (the 'License'). You may not use this file except in
  3421. // compliance with the License. The rights granted to you under the License
  3422. // may not be used to create, or enable the creation or redistribution of,
  3423. // unlawful or unlicensed copies of an Apple operating system, or to
  3424. // circumvent, violate, or enable the circumvention or violation of, any
  3425. // terms of an Apple operating system software license agreement.
  3426. //
  3427. // Please obtain a copy of the License at
  3428. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3429. //
  3430. // The Original Code and all software distributed under the License are
  3431. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3432. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3433. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3434. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3435. // Please see the License for the specific language governing rights and
  3436. // limitations under the License.
  3437. //
  3438. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3439. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  3440. type Time_t = X__darwin_time_t /* _time_t.h:31:33 */
  3441. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3442. //
  3443. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3444. //
  3445. // This file contains Original Code and/or Modifications of Original Code
  3446. // as defined in and that are subject to the Apple Public Source License
  3447. // Version 2.0 (the 'License'). You may not use this file except in
  3448. // compliance with the License. The rights granted to you under the License
  3449. // may not be used to create, or enable the creation or redistribution of,
  3450. // unlawful or unlicensed copies of an Apple operating system, or to
  3451. // circumvent, violate, or enable the circumvention or violation of, any
  3452. // terms of an Apple operating system software license agreement.
  3453. //
  3454. // Please obtain a copy of the License at
  3455. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3456. //
  3457. // The Original Code and all software distributed under the License are
  3458. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3459. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3460. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3461. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3462. // Please see the License for the specific language governing rights and
  3463. // limitations under the License.
  3464. //
  3465. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3466. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  3467. //
  3468. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3469. //
  3470. // This file contains Original Code and/or Modifications of Original Code
  3471. // as defined in and that are subject to the Apple Public Source License
  3472. // Version 2.0 (the 'License'). You may not use this file except in
  3473. // compliance with the License. The rights granted to you under the License
  3474. // may not be used to create, or enable the creation or redistribution of,
  3475. // unlawful or unlicensed copies of an Apple operating system, or to
  3476. // circumvent, violate, or enable the circumvention or violation of, any
  3477. // terms of an Apple operating system software license agreement.
  3478. //
  3479. // Please obtain a copy of the License at
  3480. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3481. //
  3482. // The Original Code and all software distributed under the License are
  3483. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3484. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3485. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3486. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3487. // Please see the License for the specific language governing rights and
  3488. // limitations under the License.
  3489. //
  3490. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3491. type Useconds_t = X__darwin_useconds_t /* _useconds_t.h:31:33 */
  3492. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3493. //
  3494. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3495. //
  3496. // This file contains Original Code and/or Modifications of Original Code
  3497. // as defined in and that are subject to the Apple Public Source License
  3498. // Version 2.0 (the 'License'). You may not use this file except in
  3499. // compliance with the License. The rights granted to you under the License
  3500. // may not be used to create, or enable the creation or redistribution of,
  3501. // unlawful or unlicensed copies of an Apple operating system, or to
  3502. // circumvent, violate, or enable the circumvention or violation of, any
  3503. // terms of an Apple operating system software license agreement.
  3504. //
  3505. // Please obtain a copy of the License at
  3506. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3507. //
  3508. // The Original Code and all software distributed under the License are
  3509. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3510. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3511. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3512. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3513. // Please see the License for the specific language governing rights and
  3514. // limitations under the License.
  3515. //
  3516. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3517. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  3518. //
  3519. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3520. //
  3521. // This file contains Original Code and/or Modifications of Original Code
  3522. // as defined in and that are subject to the Apple Public Source License
  3523. // Version 2.0 (the 'License'). You may not use this file except in
  3524. // compliance with the License. The rights granted to you under the License
  3525. // may not be used to create, or enable the creation or redistribution of,
  3526. // unlawful or unlicensed copies of an Apple operating system, or to
  3527. // circumvent, violate, or enable the circumvention or violation of, any
  3528. // terms of an Apple operating system software license agreement.
  3529. //
  3530. // Please obtain a copy of the License at
  3531. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3532. //
  3533. // The Original Code and all software distributed under the License are
  3534. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3535. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3536. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3537. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3538. // Please see the License for the specific language governing rights and
  3539. // limitations under the License.
  3540. //
  3541. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3542. type Suseconds_t = X__darwin_suseconds_t /* _suseconds_t.h:31:33 */
  3543. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3544. //
  3545. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3546. //
  3547. // This file contains Original Code and/or Modifications of Original Code
  3548. // as defined in and that are subject to the Apple Public Source License
  3549. // Version 2.0 (the 'License'). You may not use this file except in
  3550. // compliance with the License. The rights granted to you under the License
  3551. // may not be used to create, or enable the creation or redistribution of,
  3552. // unlawful or unlicensed copies of an Apple operating system, or to
  3553. // circumvent, violate, or enable the circumvention or violation of, any
  3554. // terms of an Apple operating system software license agreement.
  3555. //
  3556. // Please obtain a copy of the License at
  3557. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3558. //
  3559. // The Original Code and all software distributed under the License are
  3560. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3561. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3562. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3563. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3564. // Please see the License for the specific language governing rights and
  3565. // limitations under the License.
  3566. //
  3567. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3568. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  3569. //
  3570. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3571. //
  3572. // This file contains Original Code and/or Modifications of Original Code
  3573. // as defined in and that are subject to the Apple Public Source License
  3574. // Version 2.0 (the 'License'). You may not use this file except in
  3575. // compliance with the License. The rights granted to you under the License
  3576. // may not be used to create, or enable the creation or redistribution of,
  3577. // unlawful or unlicensed copies of an Apple operating system, or to
  3578. // circumvent, violate, or enable the circumvention or violation of, any
  3579. // terms of an Apple operating system software license agreement.
  3580. //
  3581. // Please obtain a copy of the License at
  3582. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3583. //
  3584. // The Original Code and all software distributed under the License are
  3585. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3586. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3587. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3588. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3589. // Please see the License for the specific language governing rights and
  3590. // limitations under the License.
  3591. //
  3592. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3593. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  3594. type Rsize_t = X__darwin_size_t /* _rsize_t.h:31:32 */
  3595. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3596. //
  3597. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3598. //
  3599. // This file contains Original Code and/or Modifications of Original Code
  3600. // as defined in and that are subject to the Apple Public Source License
  3601. // Version 2.0 (the 'License'). You may not use this file except in
  3602. // compliance with the License. The rights granted to you under the License
  3603. // may not be used to create, or enable the creation or redistribution of,
  3604. // unlawful or unlicensed copies of an Apple operating system, or to
  3605. // circumvent, violate, or enable the circumvention or violation of, any
  3606. // terms of an Apple operating system software license agreement.
  3607. //
  3608. // Please obtain a copy of the License at
  3609. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3610. //
  3611. // The Original Code and all software distributed under the License are
  3612. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3613. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3614. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3615. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3616. // Please see the License for the specific language governing rights and
  3617. // limitations under the License.
  3618. //
  3619. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3620. type Errno_t = int32 /* _errno_t.h:30:32 */
  3621. // This code is present here in order to maintain historical backward
  3622. // compatability, and is intended to be removed at some point in the
  3623. // future; please include <sys/select.h> instead.
  3624. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3625. //
  3626. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3627. //
  3628. // This file contains Original Code and/or Modifications of Original Code
  3629. // as defined in and that are subject to the Apple Public Source License
  3630. // Version 2.0 (the 'License'). You may not use this file except in
  3631. // compliance with the License. The rights granted to you under the License
  3632. // may not be used to create, or enable the creation or redistribution of,
  3633. // unlawful or unlicensed copies of an Apple operating system, or to
  3634. // circumvent, violate, or enable the circumvention or violation of, any
  3635. // terms of an Apple operating system software license agreement.
  3636. //
  3637. // Please obtain a copy of the License at
  3638. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3639. //
  3640. // The Original Code and all software distributed under the License are
  3641. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3642. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3643. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3644. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3645. // Please see the License for the specific language governing rights and
  3646. // limitations under the License.
  3647. //
  3648. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3649. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  3650. //
  3651. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3652. //
  3653. // This file contains Original Code and/or Modifications of Original Code
  3654. // as defined in and that are subject to the Apple Public Source License
  3655. // Version 2.0 (the 'License'). You may not use this file except in
  3656. // compliance with the License. The rights granted to you under the License
  3657. // may not be used to create, or enable the creation or redistribution of,
  3658. // unlawful or unlicensed copies of an Apple operating system, or to
  3659. // circumvent, violate, or enable the circumvention or violation of, any
  3660. // terms of an Apple operating system software license agreement.
  3661. //
  3662. // Please obtain a copy of the License at
  3663. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3664. //
  3665. // The Original Code and all software distributed under the License are
  3666. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3667. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3668. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3669. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3670. // Please see the License for the specific language governing rights and
  3671. // limitations under the License.
  3672. //
  3673. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3674. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  3675. // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  3676. //
  3677. // @APPLE_LICENSE_HEADER_START@
  3678. //
  3679. // This file contains Original Code and/or Modifications of Original Code
  3680. // as defined in and that are subject to the Apple Public Source License
  3681. // Version 2.0 (the 'License'). You may not use this file except in
  3682. // compliance with the License. Please obtain a copy of the License at
  3683. // http://www.opensource.apple.com/apsl/ and read it before using this
  3684. // file.
  3685. //
  3686. // The Original Code and all software distributed under the License are
  3687. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3688. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3689. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3690. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3691. // Please see the License for the specific language governing rights and
  3692. // limitations under the License.
  3693. //
  3694. // @APPLE_LICENSE_HEADER_END@
  3695. // Select uses bit masks of file descriptors in longs. These macros
  3696. // manipulate such bit fields (the filesystem macros use chars). The
  3697. // extra protection here is to permit application redefinition above
  3698. // the default size.
  3699. type Fd_set1 = struct{ Ffds_bits [32]X__int32_t } /* _fd_def.h:50:9 */
  3700. // This code is present here in order to maintain historical backward
  3701. // compatability, and is intended to be removed at some point in the
  3702. // future; please include <sys/select.h> instead.
  3703. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3704. //
  3705. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3706. //
  3707. // This file contains Original Code and/or Modifications of Original Code
  3708. // as defined in and that are subject to the Apple Public Source License
  3709. // Version 2.0 (the 'License'). You may not use this file except in
  3710. // compliance with the License. The rights granted to you under the License
  3711. // may not be used to create, or enable the creation or redistribution of,
  3712. // unlawful or unlicensed copies of an Apple operating system, or to
  3713. // circumvent, violate, or enable the circumvention or violation of, any
  3714. // terms of an Apple operating system software license agreement.
  3715. //
  3716. // Please obtain a copy of the License at
  3717. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3718. //
  3719. // The Original Code and all software distributed under the License are
  3720. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3721. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3722. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3723. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3724. // Please see the License for the specific language governing rights and
  3725. // limitations under the License.
  3726. //
  3727. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3728. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  3729. //
  3730. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3731. //
  3732. // This file contains Original Code and/or Modifications of Original Code
  3733. // as defined in and that are subject to the Apple Public Source License
  3734. // Version 2.0 (the 'License'). You may not use this file except in
  3735. // compliance with the License. The rights granted to you under the License
  3736. // may not be used to create, or enable the creation or redistribution of,
  3737. // unlawful or unlicensed copies of an Apple operating system, or to
  3738. // circumvent, violate, or enable the circumvention or violation of, any
  3739. // terms of an Apple operating system software license agreement.
  3740. //
  3741. // Please obtain a copy of the License at
  3742. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3743. //
  3744. // The Original Code and all software distributed under the License are
  3745. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3746. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3747. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3748. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3749. // Please see the License for the specific language governing rights and
  3750. // limitations under the License.
  3751. //
  3752. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3753. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  3754. // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  3755. //
  3756. // @APPLE_LICENSE_HEADER_START@
  3757. //
  3758. // This file contains Original Code and/or Modifications of Original Code
  3759. // as defined in and that are subject to the Apple Public Source License
  3760. // Version 2.0 (the 'License'). You may not use this file except in
  3761. // compliance with the License. Please obtain a copy of the License at
  3762. // http://www.opensource.apple.com/apsl/ and read it before using this
  3763. // file.
  3764. //
  3765. // The Original Code and all software distributed under the License are
  3766. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3767. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3768. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3769. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3770. // Please see the License for the specific language governing rights and
  3771. // limitations under the License.
  3772. //
  3773. // @APPLE_LICENSE_HEADER_END@
  3774. // Select uses bit masks of file descriptors in longs. These macros
  3775. // manipulate such bit fields (the filesystem macros use chars). The
  3776. // extra protection here is to permit application redefinition above
  3777. // the default size.
  3778. type Fd_set = Fd_set1 /* _fd_def.h:52:3 */
  3779. // Use the built-in bzero function instead of the library version so that
  3780. // we do not pollute the namespace or introduce prototype warnings.
  3781. type Fd_mask = X__int32_t /* types.h:189:25 */
  3782. // Select uses bit masks of file descriptors in longs. These macros
  3783. // manipulate such bit fields (the filesystem macros use chars). The
  3784. // extra protection here is to permit application redefinition above
  3785. // the default size.
  3786. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3787. //
  3788. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3789. //
  3790. // This file contains Original Code and/or Modifications of Original Code
  3791. // as defined in and that are subject to the Apple Public Source License
  3792. // Version 2.0 (the 'License'). You may not use this file except in
  3793. // compliance with the License. The rights granted to you under the License
  3794. // may not be used to create, or enable the creation or redistribution of,
  3795. // unlawful or unlicensed copies of an Apple operating system, or to
  3796. // circumvent, violate, or enable the circumvention or violation of, any
  3797. // terms of an Apple operating system software license agreement.
  3798. //
  3799. // Please obtain a copy of the License at
  3800. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3801. //
  3802. // The Original Code and all software distributed under the License are
  3803. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3804. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3805. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3806. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3807. // Please see the License for the specific language governing rights and
  3808. // limitations under the License.
  3809. //
  3810. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3811. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3812. //
  3813. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3814. //
  3815. // This file contains Original Code and/or Modifications of Original Code
  3816. // as defined in and that are subject to the Apple Public Source License
  3817. // Version 2.0 (the 'License'). You may not use this file except in
  3818. // compliance with the License. The rights granted to you under the License
  3819. // may not be used to create, or enable the creation or redistribution of,
  3820. // unlawful or unlicensed copies of an Apple operating system, or to
  3821. // circumvent, violate, or enable the circumvention or violation of, any
  3822. // terms of an Apple operating system software license agreement.
  3823. //
  3824. // Please obtain a copy of the License at
  3825. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3826. //
  3827. // The Original Code and all software distributed under the License are
  3828. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3829. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3830. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3831. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3832. // Please see the License for the specific language governing rights and
  3833. // limitations under the License.
  3834. //
  3835. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3836. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3837. //
  3838. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3839. //
  3840. // This file contains Original Code and/or Modifications of Original Code
  3841. // as defined in and that are subject to the Apple Public Source License
  3842. // Version 2.0 (the 'License'). You may not use this file except in
  3843. // compliance with the License. The rights granted to you under the License
  3844. // may not be used to create, or enable the creation or redistribution of,
  3845. // unlawful or unlicensed copies of an Apple operating system, or to
  3846. // circumvent, violate, or enable the circumvention or violation of, any
  3847. // terms of an Apple operating system software license agreement.
  3848. //
  3849. // Please obtain a copy of the License at
  3850. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3851. //
  3852. // The Original Code and all software distributed under the License are
  3853. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3854. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3855. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3856. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3857. // Please see the License for the specific language governing rights and
  3858. // limitations under the License.
  3859. //
  3860. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3861. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3862. //
  3863. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3864. //
  3865. // This file contains Original Code and/or Modifications of Original Code
  3866. // as defined in and that are subject to the Apple Public Source License
  3867. // Version 2.0 (the 'License'). You may not use this file except in
  3868. // compliance with the License. The rights granted to you under the License
  3869. // may not be used to create, or enable the creation or redistribution of,
  3870. // unlawful or unlicensed copies of an Apple operating system, or to
  3871. // circumvent, violate, or enable the circumvention or violation of, any
  3872. // terms of an Apple operating system software license agreement.
  3873. //
  3874. // Please obtain a copy of the License at
  3875. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3876. //
  3877. // The Original Code and all software distributed under the License are
  3878. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3879. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3880. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3881. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3882. // Please see the License for the specific language governing rights and
  3883. // limitations under the License.
  3884. //
  3885. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3886. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3887. //
  3888. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3889. //
  3890. // This file contains Original Code and/or Modifications of Original Code
  3891. // as defined in and that are subject to the Apple Public Source License
  3892. // Version 2.0 (the 'License'). You may not use this file except in
  3893. // compliance with the License. The rights granted to you under the License
  3894. // may not be used to create, or enable the creation or redistribution of,
  3895. // unlawful or unlicensed copies of an Apple operating system, or to
  3896. // circumvent, violate, or enable the circumvention or violation of, any
  3897. // terms of an Apple operating system software license agreement.
  3898. //
  3899. // Please obtain a copy of the License at
  3900. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3901. //
  3902. // The Original Code and all software distributed under the License are
  3903. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3904. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3905. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3906. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3907. // Please see the License for the specific language governing rights and
  3908. // limitations under the License.
  3909. //
  3910. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3911. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3912. //
  3913. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3914. //
  3915. // This file contains Original Code and/or Modifications of Original Code
  3916. // as defined in and that are subject to the Apple Public Source License
  3917. // Version 2.0 (the 'License'). You may not use this file except in
  3918. // compliance with the License. The rights granted to you under the License
  3919. // may not be used to create, or enable the creation or redistribution of,
  3920. // unlawful or unlicensed copies of an Apple operating system, or to
  3921. // circumvent, violate, or enable the circumvention or violation of, any
  3922. // terms of an Apple operating system software license agreement.
  3923. //
  3924. // Please obtain a copy of the License at
  3925. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3926. //
  3927. // The Original Code and all software distributed under the License are
  3928. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3929. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3930. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3931. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3932. // Please see the License for the specific language governing rights and
  3933. // limitations under the License.
  3934. //
  3935. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3936. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3937. //
  3938. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3939. //
  3940. // This file contains Original Code and/or Modifications of Original Code
  3941. // as defined in and that are subject to the Apple Public Source License
  3942. // Version 2.0 (the 'License'). You may not use this file except in
  3943. // compliance with the License. The rights granted to you under the License
  3944. // may not be used to create, or enable the creation or redistribution of,
  3945. // unlawful or unlicensed copies of an Apple operating system, or to
  3946. // circumvent, violate, or enable the circumvention or violation of, any
  3947. // terms of an Apple operating system software license agreement.
  3948. //
  3949. // Please obtain a copy of the License at
  3950. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3951. //
  3952. // The Original Code and all software distributed under the License are
  3953. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3954. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3955. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3956. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3957. // Please see the License for the specific language governing rights and
  3958. // limitations under the License.
  3959. //
  3960. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3961. // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  3962. //
  3963. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3964. //
  3965. // This file contains Original Code and/or Modifications of Original Code
  3966. // as defined in and that are subject to the Apple Public Source License
  3967. // Version 2.0 (the 'License'). You may not use this file except in
  3968. // compliance with the License. The rights granted to you under the License
  3969. // may not be used to create, or enable the creation or redistribution of,
  3970. // unlawful or unlicensed copies of an Apple operating system, or to
  3971. // circumvent, violate, or enable the circumvention or violation of, any
  3972. // terms of an Apple operating system software license agreement.
  3973. //
  3974. // Please obtain a copy of the License at
  3975. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3976. //
  3977. // The Original Code and all software distributed under the License are
  3978. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3979. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3980. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3981. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3982. // Please see the License for the specific language governing rights and
  3983. // limitations under the License.
  3984. //
  3985. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3986. type Pthread_attr_t = X__darwin_pthread_attr_t /* _pthread_attr_t.h:31:33 */
  3987. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3988. //
  3989. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3990. //
  3991. // This file contains Original Code and/or Modifications of Original Code
  3992. // as defined in and that are subject to the Apple Public Source License
  3993. // Version 2.0 (the 'License'). You may not use this file except in
  3994. // compliance with the License. The rights granted to you under the License
  3995. // may not be used to create, or enable the creation or redistribution of,
  3996. // unlawful or unlicensed copies of an Apple operating system, or to
  3997. // circumvent, violate, or enable the circumvention or violation of, any
  3998. // terms of an Apple operating system software license agreement.
  3999. //
  4000. // Please obtain a copy of the License at
  4001. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4002. //
  4003. // The Original Code and all software distributed under the License are
  4004. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4005. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4006. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4007. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4008. // Please see the License for the specific language governing rights and
  4009. // limitations under the License.
  4010. //
  4011. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4012. // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  4013. //
  4014. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4015. //
  4016. // This file contains Original Code and/or Modifications of Original Code
  4017. // as defined in and that are subject to the Apple Public Source License
  4018. // Version 2.0 (the 'License'). You may not use this file except in
  4019. // compliance with the License. The rights granted to you under the License
  4020. // may not be used to create, or enable the creation or redistribution of,
  4021. // unlawful or unlicensed copies of an Apple operating system, or to
  4022. // circumvent, violate, or enable the circumvention or violation of, any
  4023. // terms of an Apple operating system software license agreement.
  4024. //
  4025. // Please obtain a copy of the License at
  4026. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4027. //
  4028. // The Original Code and all software distributed under the License are
  4029. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4030. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4031. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4032. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4033. // Please see the License for the specific language governing rights and
  4034. // limitations under the License.
  4035. //
  4036. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4037. type Pthread_cond_t = X__darwin_pthread_cond_t /* _pthread_cond_t.h:31:33 */
  4038. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4039. //
  4040. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4041. //
  4042. // This file contains Original Code and/or Modifications of Original Code
  4043. // as defined in and that are subject to the Apple Public Source License
  4044. // Version 2.0 (the 'License'). You may not use this file except in
  4045. // compliance with the License. The rights granted to you under the License
  4046. // may not be used to create, or enable the creation or redistribution of,
  4047. // unlawful or unlicensed copies of an Apple operating system, or to
  4048. // circumvent, violate, or enable the circumvention or violation of, any
  4049. // terms of an Apple operating system software license agreement.
  4050. //
  4051. // Please obtain a copy of the License at
  4052. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4053. //
  4054. // The Original Code and all software distributed under the License are
  4055. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4056. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4057. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4058. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4059. // Please see the License for the specific language governing rights and
  4060. // limitations under the License.
  4061. //
  4062. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4063. // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  4064. //
  4065. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4066. //
  4067. // This file contains Original Code and/or Modifications of Original Code
  4068. // as defined in and that are subject to the Apple Public Source License
  4069. // Version 2.0 (the 'License'). You may not use this file except in
  4070. // compliance with the License. The rights granted to you under the License
  4071. // may not be used to create, or enable the creation or redistribution of,
  4072. // unlawful or unlicensed copies of an Apple operating system, or to
  4073. // circumvent, violate, or enable the circumvention or violation of, any
  4074. // terms of an Apple operating system software license agreement.
  4075. //
  4076. // Please obtain a copy of the License at
  4077. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4078. //
  4079. // The Original Code and all software distributed under the License are
  4080. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4081. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4082. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4083. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4084. // Please see the License for the specific language governing rights and
  4085. // limitations under the License.
  4086. //
  4087. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4088. type Pthread_condattr_t = X__darwin_pthread_condattr_t /* _pthread_condattr_t.h:31:37 */
  4089. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4090. //
  4091. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4092. //
  4093. // This file contains Original Code and/or Modifications of Original Code
  4094. // as defined in and that are subject to the Apple Public Source License
  4095. // Version 2.0 (the 'License'). You may not use this file except in
  4096. // compliance with the License. The rights granted to you under the License
  4097. // may not be used to create, or enable the creation or redistribution of,
  4098. // unlawful or unlicensed copies of an Apple operating system, or to
  4099. // circumvent, violate, or enable the circumvention or violation of, any
  4100. // terms of an Apple operating system software license agreement.
  4101. //
  4102. // Please obtain a copy of the License at
  4103. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4104. //
  4105. // The Original Code and all software distributed under the License are
  4106. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4107. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4108. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4109. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4110. // Please see the License for the specific language governing rights and
  4111. // limitations under the License.
  4112. //
  4113. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4114. // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  4115. //
  4116. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4117. //
  4118. // This file contains Original Code and/or Modifications of Original Code
  4119. // as defined in and that are subject to the Apple Public Source License
  4120. // Version 2.0 (the 'License'). You may not use this file except in
  4121. // compliance with the License. The rights granted to you under the License
  4122. // may not be used to create, or enable the creation or redistribution of,
  4123. // unlawful or unlicensed copies of an Apple operating system, or to
  4124. // circumvent, violate, or enable the circumvention or violation of, any
  4125. // terms of an Apple operating system software license agreement.
  4126. //
  4127. // Please obtain a copy of the License at
  4128. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4129. //
  4130. // The Original Code and all software distributed under the License are
  4131. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4132. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4133. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4134. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4135. // Please see the License for the specific language governing rights and
  4136. // limitations under the License.
  4137. //
  4138. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4139. type Pthread_mutex_t = X__darwin_pthread_mutex_t /* _pthread_mutex_t.h:31:34 */
  4140. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4141. //
  4142. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4143. //
  4144. // This file contains Original Code and/or Modifications of Original Code
  4145. // as defined in and that are subject to the Apple Public Source License
  4146. // Version 2.0 (the 'License'). You may not use this file except in
  4147. // compliance with the License. The rights granted to you under the License
  4148. // may not be used to create, or enable the creation or redistribution of,
  4149. // unlawful or unlicensed copies of an Apple operating system, or to
  4150. // circumvent, violate, or enable the circumvention or violation of, any
  4151. // terms of an Apple operating system software license agreement.
  4152. //
  4153. // Please obtain a copy of the License at
  4154. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4155. //
  4156. // The Original Code and all software distributed under the License are
  4157. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4158. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4159. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4160. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4161. // Please see the License for the specific language governing rights and
  4162. // limitations under the License.
  4163. //
  4164. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4165. // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  4166. //
  4167. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4168. //
  4169. // This file contains Original Code and/or Modifications of Original Code
  4170. // as defined in and that are subject to the Apple Public Source License
  4171. // Version 2.0 (the 'License'). You may not use this file except in
  4172. // compliance with the License. The rights granted to you under the License
  4173. // may not be used to create, or enable the creation or redistribution of,
  4174. // unlawful or unlicensed copies of an Apple operating system, or to
  4175. // circumvent, violate, or enable the circumvention or violation of, any
  4176. // terms of an Apple operating system software license agreement.
  4177. //
  4178. // Please obtain a copy of the License at
  4179. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4180. //
  4181. // The Original Code and all software distributed under the License are
  4182. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4183. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4184. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4185. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4186. // Please see the License for the specific language governing rights and
  4187. // limitations under the License.
  4188. //
  4189. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4190. type Pthread_mutexattr_t = X__darwin_pthread_mutexattr_t /* _pthread_mutexattr_t.h:31:38 */
  4191. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4192. //
  4193. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4194. //
  4195. // This file contains Original Code and/or Modifications of Original Code
  4196. // as defined in and that are subject to the Apple Public Source License
  4197. // Version 2.0 (the 'License'). You may not use this file except in
  4198. // compliance with the License. The rights granted to you under the License
  4199. // may not be used to create, or enable the creation or redistribution of,
  4200. // unlawful or unlicensed copies of an Apple operating system, or to
  4201. // circumvent, violate, or enable the circumvention or violation of, any
  4202. // terms of an Apple operating system software license agreement.
  4203. //
  4204. // Please obtain a copy of the License at
  4205. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4206. //
  4207. // The Original Code and all software distributed under the License are
  4208. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4209. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4210. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4211. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4212. // Please see the License for the specific language governing rights and
  4213. // limitations under the License.
  4214. //
  4215. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4216. // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  4217. //
  4218. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4219. //
  4220. // This file contains Original Code and/or Modifications of Original Code
  4221. // as defined in and that are subject to the Apple Public Source License
  4222. // Version 2.0 (the 'License'). You may not use this file except in
  4223. // compliance with the License. The rights granted to you under the License
  4224. // may not be used to create, or enable the creation or redistribution of,
  4225. // unlawful or unlicensed copies of an Apple operating system, or to
  4226. // circumvent, violate, or enable the circumvention or violation of, any
  4227. // terms of an Apple operating system software license agreement.
  4228. //
  4229. // Please obtain a copy of the License at
  4230. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4231. //
  4232. // The Original Code and all software distributed under the License are
  4233. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4234. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4235. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4236. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4237. // Please see the License for the specific language governing rights and
  4238. // limitations under the License.
  4239. //
  4240. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4241. type Pthread_once_t = X__darwin_pthread_once_t /* _pthread_once_t.h:31:33 */
  4242. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4243. //
  4244. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4245. //
  4246. // This file contains Original Code and/or Modifications of Original Code
  4247. // as defined in and that are subject to the Apple Public Source License
  4248. // Version 2.0 (the 'License'). You may not use this file except in
  4249. // compliance with the License. The rights granted to you under the License
  4250. // may not be used to create, or enable the creation or redistribution of,
  4251. // unlawful or unlicensed copies of an Apple operating system, or to
  4252. // circumvent, violate, or enable the circumvention or violation of, any
  4253. // terms of an Apple operating system software license agreement.
  4254. //
  4255. // Please obtain a copy of the License at
  4256. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4257. //
  4258. // The Original Code and all software distributed under the License are
  4259. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4260. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4261. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4262. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4263. // Please see the License for the specific language governing rights and
  4264. // limitations under the License.
  4265. //
  4266. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4267. // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  4268. //
  4269. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4270. //
  4271. // This file contains Original Code and/or Modifications of Original Code
  4272. // as defined in and that are subject to the Apple Public Source License
  4273. // Version 2.0 (the 'License'). You may not use this file except in
  4274. // compliance with the License. The rights granted to you under the License
  4275. // may not be used to create, or enable the creation or redistribution of,
  4276. // unlawful or unlicensed copies of an Apple operating system, or to
  4277. // circumvent, violate, or enable the circumvention or violation of, any
  4278. // terms of an Apple operating system software license agreement.
  4279. //
  4280. // Please obtain a copy of the License at
  4281. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4282. //
  4283. // The Original Code and all software distributed under the License are
  4284. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4285. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4286. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4287. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4288. // Please see the License for the specific language governing rights and
  4289. // limitations under the License.
  4290. //
  4291. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4292. type Pthread_rwlock_t = X__darwin_pthread_rwlock_t /* _pthread_rwlock_t.h:31:35 */
  4293. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4294. //
  4295. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4296. //
  4297. // This file contains Original Code and/or Modifications of Original Code
  4298. // as defined in and that are subject to the Apple Public Source License
  4299. // Version 2.0 (the 'License'). You may not use this file except in
  4300. // compliance with the License. The rights granted to you under the License
  4301. // may not be used to create, or enable the creation or redistribution of,
  4302. // unlawful or unlicensed copies of an Apple operating system, or to
  4303. // circumvent, violate, or enable the circumvention or violation of, any
  4304. // terms of an Apple operating system software license agreement.
  4305. //
  4306. // Please obtain a copy of the License at
  4307. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4308. //
  4309. // The Original Code and all software distributed under the License are
  4310. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4311. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4312. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4313. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4314. // Please see the License for the specific language governing rights and
  4315. // limitations under the License.
  4316. //
  4317. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4318. // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  4319. //
  4320. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4321. //
  4322. // This file contains Original Code and/or Modifications of Original Code
  4323. // as defined in and that are subject to the Apple Public Source License
  4324. // Version 2.0 (the 'License'). You may not use this file except in
  4325. // compliance with the License. The rights granted to you under the License
  4326. // may not be used to create, or enable the creation or redistribution of,
  4327. // unlawful or unlicensed copies of an Apple operating system, or to
  4328. // circumvent, violate, or enable the circumvention or violation of, any
  4329. // terms of an Apple operating system software license agreement.
  4330. //
  4331. // Please obtain a copy of the License at
  4332. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4333. //
  4334. // The Original Code and all software distributed under the License are
  4335. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4336. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4337. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4338. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4339. // Please see the License for the specific language governing rights and
  4340. // limitations under the License.
  4341. //
  4342. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4343. type Pthread_rwlockattr_t = X__darwin_pthread_rwlockattr_t /* _pthread_rwlockattr_t.h:31:39 */
  4344. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4345. //
  4346. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4347. //
  4348. // This file contains Original Code and/or Modifications of Original Code
  4349. // as defined in and that are subject to the Apple Public Source License
  4350. // Version 2.0 (the 'License'). You may not use this file except in
  4351. // compliance with the License. The rights granted to you under the License
  4352. // may not be used to create, or enable the creation or redistribution of,
  4353. // unlawful or unlicensed copies of an Apple operating system, or to
  4354. // circumvent, violate, or enable the circumvention or violation of, any
  4355. // terms of an Apple operating system software license agreement.
  4356. //
  4357. // Please obtain a copy of the License at
  4358. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4359. //
  4360. // The Original Code and all software distributed under the License are
  4361. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4362. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4363. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4364. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4365. // Please see the License for the specific language governing rights and
  4366. // limitations under the License.
  4367. //
  4368. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4369. // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  4370. //
  4371. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4372. //
  4373. // This file contains Original Code and/or Modifications of Original Code
  4374. // as defined in and that are subject to the Apple Public Source License
  4375. // Version 2.0 (the 'License'). You may not use this file except in
  4376. // compliance with the License. The rights granted to you under the License
  4377. // may not be used to create, or enable the creation or redistribution of,
  4378. // unlawful or unlicensed copies of an Apple operating system, or to
  4379. // circumvent, violate, or enable the circumvention or violation of, any
  4380. // terms of an Apple operating system software license agreement.
  4381. //
  4382. // Please obtain a copy of the License at
  4383. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4384. //
  4385. // The Original Code and all software distributed under the License are
  4386. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4387. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4388. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4389. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4390. // Please see the License for the specific language governing rights and
  4391. // limitations under the License.
  4392. //
  4393. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4394. type Pthread_t = X__darwin_pthread_t /* _pthread_t.h:31:28 */
  4395. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4396. //
  4397. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4398. //
  4399. // This file contains Original Code and/or Modifications of Original Code
  4400. // as defined in and that are subject to the Apple Public Source License
  4401. // Version 2.0 (the 'License'). You may not use this file except in
  4402. // compliance with the License. The rights granted to you under the License
  4403. // may not be used to create, or enable the creation or redistribution of,
  4404. // unlawful or unlicensed copies of an Apple operating system, or to
  4405. // circumvent, violate, or enable the circumvention or violation of, any
  4406. // terms of an Apple operating system software license agreement.
  4407. //
  4408. // Please obtain a copy of the License at
  4409. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4410. //
  4411. // The Original Code and all software distributed under the License are
  4412. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4413. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4414. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4415. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4416. // Please see the License for the specific language governing rights and
  4417. // limitations under the License.
  4418. //
  4419. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4420. // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  4421. //
  4422. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4423. //
  4424. // This file contains Original Code and/or Modifications of Original Code
  4425. // as defined in and that are subject to the Apple Public Source License
  4426. // Version 2.0 (the 'License'). You may not use this file except in
  4427. // compliance with the License. The rights granted to you under the License
  4428. // may not be used to create, or enable the creation or redistribution of,
  4429. // unlawful or unlicensed copies of an Apple operating system, or to
  4430. // circumvent, violate, or enable the circumvention or violation of, any
  4431. // terms of an Apple operating system software license agreement.
  4432. //
  4433. // Please obtain a copy of the License at
  4434. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4435. //
  4436. // The Original Code and all software distributed under the License are
  4437. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4438. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4439. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4440. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4441. // Please see the License for the specific language governing rights and
  4442. // limitations under the License.
  4443. //
  4444. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4445. type Pthread_key_t = X__darwin_pthread_key_t /* _pthread_key_t.h:31:32 */
  4446. // statvfs and fstatvfs
  4447. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4448. //
  4449. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4450. //
  4451. // This file contains Original Code and/or Modifications of Original Code
  4452. // as defined in and that are subject to the Apple Public Source License
  4453. // Version 2.0 (the 'License'). You may not use this file except in
  4454. // compliance with the License. The rights granted to you under the License
  4455. // may not be used to create, or enable the creation or redistribution of,
  4456. // unlawful or unlicensed copies of an Apple operating system, or to
  4457. // circumvent, violate, or enable the circumvention or violation of, any
  4458. // terms of an Apple operating system software license agreement.
  4459. //
  4460. // Please obtain a copy of the License at
  4461. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4462. //
  4463. // The Original Code and all software distributed under the License are
  4464. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4465. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4466. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4467. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4468. // Please see the License for the specific language governing rights and
  4469. // limitations under the License.
  4470. //
  4471. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4472. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  4473. //
  4474. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4475. //
  4476. // This file contains Original Code and/or Modifications of Original Code
  4477. // as defined in and that are subject to the Apple Public Source License
  4478. // Version 2.0 (the 'License'). You may not use this file except in
  4479. // compliance with the License. The rights granted to you under the License
  4480. // may not be used to create, or enable the creation or redistribution of,
  4481. // unlawful or unlicensed copies of an Apple operating system, or to
  4482. // circumvent, violate, or enable the circumvention or violation of, any
  4483. // terms of an Apple operating system software license agreement.
  4484. //
  4485. // Please obtain a copy of the License at
  4486. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4487. //
  4488. // The Original Code and all software distributed under the License are
  4489. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4490. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4491. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4492. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4493. // Please see the License for the specific language governing rights and
  4494. // limitations under the License.
  4495. //
  4496. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4497. type Fsblkcnt_t = X__darwin_fsblkcnt_t /* _fsblkcnt_t.h:31:41 */
  4498. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4499. //
  4500. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4501. //
  4502. // This file contains Original Code and/or Modifications of Original Code
  4503. // as defined in and that are subject to the Apple Public Source License
  4504. // Version 2.0 (the 'License'). You may not use this file except in
  4505. // compliance with the License. The rights granted to you under the License
  4506. // may not be used to create, or enable the creation or redistribution of,
  4507. // unlawful or unlicensed copies of an Apple operating system, or to
  4508. // circumvent, violate, or enable the circumvention or violation of, any
  4509. // terms of an Apple operating system software license agreement.
  4510. //
  4511. // Please obtain a copy of the License at
  4512. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4513. //
  4514. // The Original Code and all software distributed under the License are
  4515. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4516. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4517. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4518. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4519. // Please see the License for the specific language governing rights and
  4520. // limitations under the License.
  4521. //
  4522. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4523. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  4524. //
  4525. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4526. //
  4527. // This file contains Original Code and/or Modifications of Original Code
  4528. // as defined in and that are subject to the Apple Public Source License
  4529. // Version 2.0 (the 'License'). You may not use this file except in
  4530. // compliance with the License. The rights granted to you under the License
  4531. // may not be used to create, or enable the creation or redistribution of,
  4532. // unlawful or unlicensed copies of an Apple operating system, or to
  4533. // circumvent, violate, or enable the circumvention or violation of, any
  4534. // terms of an Apple operating system software license agreement.
  4535. //
  4536. // Please obtain a copy of the License at
  4537. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4538. //
  4539. // The Original Code and all software distributed under the License are
  4540. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4541. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4542. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4543. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4544. // Please see the License for the specific language governing rights and
  4545. // limitations under the License.
  4546. //
  4547. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4548. type Fsfilcnt_t = X__darwin_fsfilcnt_t /* _fsfilcnt_t.h:31:41 */
  4549. // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  4550. //
  4551. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4552. //
  4553. // This file contains Original Code and/or Modifications of Original Code
  4554. // as defined in and that are subject to the Apple Public Source License
  4555. // Version 2.0 (the 'License'). You may not use this file except in
  4556. // compliance with the License. The rights granted to you under the License
  4557. // may not be used to create, or enable the creation or redistribution of,
  4558. // unlawful or unlicensed copies of an Apple operating system, or to
  4559. // circumvent, violate, or enable the circumvention or violation of, any
  4560. // terms of an Apple operating system software license agreement.
  4561. //
  4562. // Please obtain a copy of the License at
  4563. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4564. //
  4565. // The Original Code and all software distributed under the License are
  4566. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4567. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4568. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4569. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4570. // Please see the License for the specific language governing rights and
  4571. // limitations under the License.
  4572. //
  4573. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4574. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  4575. // Copyright (c) 1991, 1993
  4576. // The Regents of the University of California. All rights reserved.
  4577. //
  4578. // This code is derived from software contributed to Berkeley by
  4579. // Berkeley Software Design, Inc.
  4580. //
  4581. // Redistribution and use in source and binary forms, with or without
  4582. // modification, are permitted provided that the following conditions
  4583. // are met:
  4584. // 1. Redistributions of source code must retain the above copyright
  4585. // notice, this list of conditions and the following disclaimer.
  4586. // 2. Redistributions in binary form must reproduce the above copyright
  4587. // notice, this list of conditions and the following disclaimer in the
  4588. // documentation and/or other materials provided with the distribution.
  4589. // 3. All advertising materials mentioning features or use of this software
  4590. // must display the following acknowledgement:
  4591. // This product includes software developed by the University of
  4592. // California, Berkeley and its contributors.
  4593. // 4. Neither the name of the University nor the names of its contributors
  4594. // may be used to endorse or promote products derived from this software
  4595. // without specific prior written permission.
  4596. //
  4597. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  4598. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  4599. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  4600. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  4601. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  4602. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  4603. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  4604. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  4605. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  4606. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  4607. // SUCH DAMAGE.
  4608. //
  4609. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  4610. // Copyright (c) 2004-2007 Apple Inc. All rights reserved.
  4611. //
  4612. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4613. //
  4614. // This file contains Original Code and/or Modifications of Original Code
  4615. // as defined in and that are subject to the Apple Public Source License
  4616. // Version 2.0 (the 'License'). You may not use this file except in
  4617. // compliance with the License. The rights granted to you under the License
  4618. // may not be used to create, or enable the creation or redistribution of,
  4619. // unlawful or unlicensed copies of an Apple operating system, or to
  4620. // circumvent, violate, or enable the circumvention or violation of, any
  4621. // terms of an Apple operating system software license agreement.
  4622. //
  4623. // Please obtain a copy of the License at
  4624. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4625. //
  4626. // The Original Code and all software distributed under the License are
  4627. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4628. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4629. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4630. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4631. // Please see the License for the specific language governing rights and
  4632. // limitations under the License.
  4633. //
  4634. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4635. // Copyright (c) 2006-2007 Apple Inc. All rights reserved.
  4636. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  4637. // Round p (pointer or byte index) up to a correctly-aligned value for all
  4638. // data types (int, long, ...). The result is unsigned int and must be
  4639. // cast to any desired pointer type.
  4640. // Copyright (c) 2016-2018 Apple Inc. All rights reserved.
  4641. //
  4642. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4643. //
  4644. // This file contains Original Code and/or Modifications of Original Code
  4645. // as defined in and that are subject to the Apple Public Source License
  4646. // Version 2.0 (the 'License'). You may not use this file except in
  4647. // compliance with the License. The rights granted to you under the License
  4648. // may not be used to create, or enable the creation or redistribution of,
  4649. // unlawful or unlicensed copies of an Apple operating system, or to
  4650. // circumvent, violate, or enable the circumvention or violation of, any
  4651. // terms of an Apple operating system software license agreement.
  4652. //
  4653. // Please obtain a copy of the License at
  4654. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4655. //
  4656. // The Original Code and all software distributed under the License are
  4657. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4658. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4659. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4660. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4661. // Please see the License for the specific language governing rights and
  4662. // limitations under the License.
  4663. //
  4664. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4665. // Kernel event subclass identifiers for KEV_NETWORK_CLASS
  4666. // KEV_INET_SUBCLASS event codes
  4667. // Define Data-Link event subclass, and associated
  4668. // events.
  4669. // KEV_INET6_SUBCLASS event codes
  4670. // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  4671. //
  4672. // @APPLE_LICENSE_HEADER_START@
  4673. //
  4674. // This file contains Original Code and/or Modifications of Original Code
  4675. // as defined in and that are subject to the Apple Public Source License
  4676. // Version 2.0 (the 'License'). You may not use this file except in
  4677. // compliance with the License. Please obtain a copy of the License at
  4678. // http://www.opensource.apple.com/apsl/ and read it before using this
  4679. // file.
  4680. //
  4681. // The Original Code and all software distributed under the License are
  4682. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4683. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4684. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4685. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4686. // Please see the License for the specific language governing rights and
  4687. // limitations under the License.
  4688. //
  4689. // @APPLE_LICENSE_HEADER_END@
  4690. // Definitions related to sockets: types, address families, options.
  4691. // Data types.
  4692. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4693. //
  4694. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4695. //
  4696. // This file contains Original Code and/or Modifications of Original Code
  4697. // as defined in and that are subject to the Apple Public Source License
  4698. // Version 2.0 (the 'License'). You may not use this file except in
  4699. // compliance with the License. The rights granted to you under the License
  4700. // may not be used to create, or enable the creation or redistribution of,
  4701. // unlawful or unlicensed copies of an Apple operating system, or to
  4702. // circumvent, violate, or enable the circumvention or violation of, any
  4703. // terms of an Apple operating system software license agreement.
  4704. //
  4705. // Please obtain a copy of the License at
  4706. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4707. //
  4708. // The Original Code and all software distributed under the License are
  4709. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4710. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4711. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4712. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4713. // Please see the License for the specific language governing rights and
  4714. // limitations under the License.
  4715. //
  4716. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4717. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4718. //
  4719. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4720. //
  4721. // This file contains Original Code and/or Modifications of Original Code
  4722. // as defined in and that are subject to the Apple Public Source License
  4723. // Version 2.0 (the 'License'). You may not use this file except in
  4724. // compliance with the License. The rights granted to you under the License
  4725. // may not be used to create, or enable the creation or redistribution of,
  4726. // unlawful or unlicensed copies of an Apple operating system, or to
  4727. // circumvent, violate, or enable the circumvention or violation of, any
  4728. // terms of an Apple operating system software license agreement.
  4729. //
  4730. // Please obtain a copy of the License at
  4731. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4732. //
  4733. // The Original Code and all software distributed under the License are
  4734. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4735. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4736. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4737. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4738. // Please see the License for the specific language governing rights and
  4739. // limitations under the License.
  4740. //
  4741. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4742. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4743. //
  4744. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4745. //
  4746. // This file contains Original Code and/or Modifications of Original Code
  4747. // as defined in and that are subject to the Apple Public Source License
  4748. // Version 2.0 (the 'License'). You may not use this file except in
  4749. // compliance with the License. The rights granted to you under the License
  4750. // may not be used to create, or enable the creation or redistribution of,
  4751. // unlawful or unlicensed copies of an Apple operating system, or to
  4752. // circumvent, violate, or enable the circumvention or violation of, any
  4753. // terms of an Apple operating system software license agreement.
  4754. //
  4755. // Please obtain a copy of the License at
  4756. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4757. //
  4758. // The Original Code and all software distributed under the License are
  4759. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4760. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4761. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4762. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4763. // Please see the License for the specific language governing rights and
  4764. // limitations under the License.
  4765. //
  4766. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4767. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4768. //
  4769. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4770. //
  4771. // This file contains Original Code and/or Modifications of Original Code
  4772. // as defined in and that are subject to the Apple Public Source License
  4773. // Version 2.0 (the 'License'). You may not use this file except in
  4774. // compliance with the License. The rights granted to you under the License
  4775. // may not be used to create, or enable the creation or redistribution of,
  4776. // unlawful or unlicensed copies of an Apple operating system, or to
  4777. // circumvent, violate, or enable the circumvention or violation of, any
  4778. // terms of an Apple operating system software license agreement.
  4779. //
  4780. // Please obtain a copy of the License at
  4781. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4782. //
  4783. // The Original Code and all software distributed under the License are
  4784. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4785. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4786. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4787. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4788. // Please see the License for the specific language governing rights and
  4789. // limitations under the License.
  4790. //
  4791. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4792. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  4793. //
  4794. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4795. //
  4796. // This file contains Original Code and/or Modifications of Original Code
  4797. // as defined in and that are subject to the Apple Public Source License
  4798. // Version 2.0 (the 'License'). You may not use this file except in
  4799. // compliance with the License. The rights granted to you under the License
  4800. // may not be used to create, or enable the creation or redistribution of,
  4801. // unlawful or unlicensed copies of an Apple operating system, or to
  4802. // circumvent, violate, or enable the circumvention or violation of, any
  4803. // terms of an Apple operating system software license agreement.
  4804. //
  4805. // Please obtain a copy of the License at
  4806. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4807. //
  4808. // The Original Code and all software distributed under the License are
  4809. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4810. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4811. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4812. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4813. // Please see the License for the specific language governing rights and
  4814. // limitations under the License.
  4815. //
  4816. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4817. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  4818. type Sa_family_t = X__uint8_t /* _sa_family_t.h:31:33 */
  4819. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4820. //
  4821. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4822. //
  4823. // This file contains Original Code and/or Modifications of Original Code
  4824. // as defined in and that are subject to the Apple Public Source License
  4825. // Version 2.0 (the 'License'). You may not use this file except in
  4826. // compliance with the License. The rights granted to you under the License
  4827. // may not be used to create, or enable the creation or redistribution of,
  4828. // unlawful or unlicensed copies of an Apple operating system, or to
  4829. // circumvent, violate, or enable the circumvention or violation of, any
  4830. // terms of an Apple operating system software license agreement.
  4831. //
  4832. // Please obtain a copy of the License at
  4833. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4834. //
  4835. // The Original Code and all software distributed under the License are
  4836. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4837. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4838. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4839. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4840. // Please see the License for the specific language governing rights and
  4841. // limitations under the License.
  4842. //
  4843. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4844. // XXX Not explicitly defined by POSIX, but function return types are
  4845. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4846. //
  4847. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4848. //
  4849. // This file contains Original Code and/or Modifications of Original Code
  4850. // as defined in and that are subject to the Apple Public Source License
  4851. // Version 2.0 (the 'License'). You may not use this file except in
  4852. // compliance with the License. The rights granted to you under the License
  4853. // may not be used to create, or enable the creation or redistribution of,
  4854. // unlawful or unlicensed copies of an Apple operating system, or to
  4855. // circumvent, violate, or enable the circumvention or violation of, any
  4856. // terms of an Apple operating system software license agreement.
  4857. //
  4858. // Please obtain a copy of the License at
  4859. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4860. //
  4861. // The Original Code and all software distributed under the License are
  4862. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4863. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4864. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4865. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4866. // Please see the License for the specific language governing rights and
  4867. // limitations under the License.
  4868. //
  4869. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4870. // XXX Not explicitly defined by POSIX, but function return types are
  4871. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4872. //
  4873. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4874. //
  4875. // This file contains Original Code and/or Modifications of Original Code
  4876. // as defined in and that are subject to the Apple Public Source License
  4877. // Version 2.0 (the 'License'). You may not use this file except in
  4878. // compliance with the License. The rights granted to you under the License
  4879. // may not be used to create, or enable the creation or redistribution of,
  4880. // unlawful or unlicensed copies of an Apple operating system, or to
  4881. // circumvent, violate, or enable the circumvention or violation of, any
  4882. // terms of an Apple operating system software license agreement.
  4883. //
  4884. // Please obtain a copy of the License at
  4885. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4886. //
  4887. // The Original Code and all software distributed under the License are
  4888. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4889. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4890. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4891. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4892. // Please see the License for the specific language governing rights and
  4893. // limitations under the License.
  4894. //
  4895. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4896. // [XSI] The iovec structure shall be defined as described in <sys/uio.h>.
  4897. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4898. //
  4899. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4900. //
  4901. // This file contains Original Code and/or Modifications of Original Code
  4902. // as defined in and that are subject to the Apple Public Source License
  4903. // Version 2.0 (the 'License'). You may not use this file except in
  4904. // compliance with the License. The rights granted to you under the License
  4905. // may not be used to create, or enable the creation or redistribution of,
  4906. // unlawful or unlicensed copies of an Apple operating system, or to
  4907. // circumvent, violate, or enable the circumvention or violation of, any
  4908. // terms of an Apple operating system software license agreement.
  4909. //
  4910. // Please obtain a copy of the License at
  4911. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4912. //
  4913. // The Original Code and all software distributed under the License are
  4914. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4915. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4916. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4917. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4918. // Please see the License for the specific language governing rights and
  4919. // limitations under the License.
  4920. //
  4921. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4922. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4923. //
  4924. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4925. //
  4926. // This file contains Original Code and/or Modifications of Original Code
  4927. // as defined in and that are subject to the Apple Public Source License
  4928. // Version 2.0 (the 'License'). You may not use this file except in
  4929. // compliance with the License. The rights granted to you under the License
  4930. // may not be used to create, or enable the creation or redistribution of,
  4931. // unlawful or unlicensed copies of an Apple operating system, or to
  4932. // circumvent, violate, or enable the circumvention or violation of, any
  4933. // terms of an Apple operating system software license agreement.
  4934. //
  4935. // Please obtain a copy of the License at
  4936. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4937. //
  4938. // The Original Code and all software distributed under the License are
  4939. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4940. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4941. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4942. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4943. // Please see the License for the specific language governing rights and
  4944. // limitations under the License.
  4945. //
  4946. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4947. type Iovec = struct {
  4948. Fiov_base uintptr
  4949. Fiov_len Size_t
  4950. } /* _iovec_t.h:31:1 */
  4951. // Types
  4952. // Option flags per-socket.
  4953. // (ATOMIC proto)
  4954. // Additional options, not kept in so_options.
  4955. // When adding new socket-options, you need to make sure MPTCP supports these as well!
  4956. // Network Service Type for option SO_NET_SERVICE_TYPE
  4957. //
  4958. // The vast majority of sockets should use Best Effort that is the default
  4959. // Network Service Type. Other Network Service Types have to be used only if
  4960. // the traffic actually matches the description of the Network Service Type.
  4961. //
  4962. // Network Service Types do not represent priorities but rather describe
  4963. // different categories of delay, jitter and loss parameters.
  4964. // Those parameters may influence protocols from layer 4 protocols like TCP
  4965. // to layer 2 protocols like Wi-Fi. The Network Service Type can determine
  4966. // how the traffic is queued and scheduled by the host networking stack and
  4967. // by other entities on the network like switches and routers. For example
  4968. // for Wi-Fi, the Network Service Type can select the marking of the
  4969. // layer 2 packet with the appropriate WMM Access Category.
  4970. //
  4971. // There is no point in attempting to game the system and use
  4972. // a Network Service Type that does not correspond to the actual
  4973. // traffic characteristic but one that seems to have a higher precedence.
  4974. // The reason is that for service classes that have lower tolerance
  4975. // for delay and jitter, the queues size is lower than for service
  4976. // classes that are more tolerant to delay and jitter.
  4977. //
  4978. // For example using a voice service type for bulk data transfer will lead
  4979. // to disastrous results as soon as congestion happens because the voice
  4980. // queue overflows and packets get dropped. This is not only bad for the bulk
  4981. // data transfer but it is also bad for VoIP apps that legitimately are using
  4982. // the voice service type.
  4983. //
  4984. // The characteristics of the Network Service Types are based on the service
  4985. // classes defined in RFC 4594 "Configuration Guidelines for DiffServ Service
  4986. // Classes"
  4987. //
  4988. // When system detects the outgoing interface belongs to a DiffServ domain
  4989. // that follows the recommendation of the IETF draft "Guidelines for DiffServ to
  4990. // IEEE 802.11 Mapping", the packet will marked at layer 3 with a DSCP value
  4991. // that corresponds to Network Service Type.
  4992. //
  4993. // NET_SERVICE_TYPE_BE
  4994. // "Best Effort", unclassified/standard. This is the default service
  4995. // class and cover the majority of the traffic.
  4996. //
  4997. // NET_SERVICE_TYPE_BK
  4998. // "Background", high delay tolerant, loss tolerant. elastic flow,
  4999. // variable size & long-lived. E.g: non-interactive network bulk transfer
  5000. // like synching or backup.
  5001. //
  5002. // NET_SERVICE_TYPE_RD
  5003. // "Responsive Data", a notch higher than "Best Effort", medium delay
  5004. // tolerant, elastic & inelastic flow, bursty, long-lived. E.g. email,
  5005. // instant messaging, for which there is a sense of interactivity and
  5006. // urgency (user waiting for output).
  5007. //
  5008. // NET_SERVICE_TYPE_OAM
  5009. // "Operations, Administration, and Management", medium delay tolerant,
  5010. // low-medium loss tolerant, elastic & inelastic flows, variable size.
  5011. // E.g. VPN tunnels.
  5012. //
  5013. // NET_SERVICE_TYPE_AV
  5014. // "Multimedia Audio/Video Streaming", medium delay tolerant, low-medium
  5015. // loss tolerant, elastic flow, constant packet interval, variable rate
  5016. // and size. E.g. video and audio playback with buffering.
  5017. //
  5018. // NET_SERVICE_TYPE_RV
  5019. // "Responsive Multimedia Audio/Video", low delay tolerant, low-medium
  5020. // loss tolerant, elastic flow, variable packet interval, rate and size.
  5021. // E.g. screen sharing.
  5022. //
  5023. // NET_SERVICE_TYPE_VI
  5024. // "Interactive Video", low delay tolerant, low-medium loss tolerant,
  5025. // elastic flow, constant packet interval, variable rate & size. E.g.
  5026. // video telephony.
  5027. //
  5028. // NET_SERVICE_TYPE_SIG
  5029. // "Signaling", low delay tolerant, low loss tolerant, inelastic flow,
  5030. // jitter tolerant, rate is bursty but short, variable size. E.g. SIP.
  5031. //
  5032. // NET_SERVICE_TYPE_VO
  5033. // "Interactive Voice", very low delay tolerant, very low loss tolerant,
  5034. // inelastic flow, constant packet rate, somewhat fixed size.
  5035. // E.g. VoIP.
  5036. // These are supported values for SO_NETSVC_MARKING_LEVEL
  5037. type Sae_associd_t = X__uint32_t /* socket.h:293:20 */
  5038. type Sae_connid_t = X__uint32_t /* socket.h:297:20 */
  5039. // connectx() flag parameters
  5040. // sockaddr endpoints
  5041. type Sa_endpoints = struct {
  5042. Fsae_srcif uint32
  5043. F__ccgo_pad1 [4]byte
  5044. Fsae_srcaddr uintptr
  5045. Fsae_srcaddrlen Socklen_t
  5046. F__ccgo_pad2 [4]byte
  5047. Fsae_dstaddr uintptr
  5048. Fsae_dstaddrlen Socklen_t
  5049. F__ccgo_pad3 [4]byte
  5050. } /* socket.h:307:9 */
  5051. // connectx() flag parameters
  5052. // sockaddr endpoints
  5053. type Sockaddr = struct {
  5054. Fsa_len X__uint8_t
  5055. Fsa_family Sa_family_t
  5056. Fsa_data [14]int8
  5057. } /* socket.h:307:9 */
  5058. // connectx() flag parameters
  5059. // sockaddr endpoints
  5060. type Sa_endpoints_t = Sa_endpoints /* socket.h:313:3 */
  5061. // Structure used for manipulating linger option.
  5062. type Linger = struct {
  5063. Fl_onoff int32
  5064. Fl_linger int32
  5065. } /* socket.h:319:1 */
  5066. // Structure to control non-portable Sockets extension to POSIX
  5067. type So_np_extensions = struct {
  5068. Fnpx_flags U_int32_t
  5069. Fnpx_mask U_int32_t
  5070. } /* socket.h:337:1 */
  5071. // Structure used by kernel to pass protocol
  5072. // information in raw sockets.
  5073. type Sockproto = struct {
  5074. Fsp_family X__uint16_t
  5075. Fsp_protocol X__uint16_t
  5076. } /* socket.h:425:1 */
  5077. // RFC 2553: protocol-independent placeholder for socket addresses
  5078. // [XSI] sockaddr_storage
  5079. type Sockaddr_storage = struct {
  5080. Fss_len X__uint8_t
  5081. Fss_family Sa_family_t
  5082. F__ss_pad1 [6]int8
  5083. F__ss_align X__int64_t
  5084. F__ss_pad2 [112]int8
  5085. } /* socket.h:445:1 */
  5086. // Protocol families, same as address families for now.
  5087. // These do not have socket-layer support:
  5088. // Definitions for network related sysctl, CTL_NET.
  5089. //
  5090. // Second level is protocol family.
  5091. // Third level is protocol number.
  5092. //
  5093. // Further levels are defined by the individual families below.
  5094. // PF_ROUTE - Routing table
  5095. //
  5096. // Three additional levels are defined:
  5097. // Fourth: address family, 0 is wildcard
  5098. // Fifth: type of info, defined below
  5099. // Sixth: flag(s) to mask with for NET_RT_FLAGS
  5100. // Allows read access non-local host's MAC address
  5101. // if the process has neighbor cache entitlement.
  5102. // Maximum queue length specifiable by listen.
  5103. // [XSI] Message header for recvmsg and sendmsg calls.
  5104. // Used value-result for recvmsg, value only for sendmsg.
  5105. type Msghdr = struct {
  5106. Fmsg_name uintptr
  5107. Fmsg_namelen Socklen_t
  5108. F__ccgo_pad1 [4]byte
  5109. Fmsg_iov uintptr
  5110. Fmsg_iovlen int32
  5111. F__ccgo_pad2 [4]byte
  5112. Fmsg_control uintptr
  5113. Fmsg_controllen Socklen_t
  5114. Fmsg_flags int32
  5115. } /* socket.h:552:1 */
  5116. // Header for ancillary data objects in msg_control buffer.
  5117. // Used for additional information with/about a datagram
  5118. // not expressible by flags. The format is a sequence
  5119. // of message elements headed by cmsghdr structures.
  5120. type Cmsghdr = struct {
  5121. Fcmsg_len Socklen_t
  5122. Fcmsg_level int32
  5123. Fcmsg_type int32
  5124. } /* socket.h:600:1 */
  5125. // given pointer to struct cmsghdr, return pointer to data
  5126. // RFC 2292 requires to check msg_controllen, in case that the kernel returns
  5127. // an empty list for some reasons.
  5128. // Given pointer to struct cmsghdr, return pointer to next cmsghdr
  5129. // RFC 2292 says that CMSG_NXTHDR(mhdr, NULL) is equivalent to CMSG_FIRSTHDR(mhdr)
  5130. // RFC 2292 additions
  5131. // "Socket"-level control message types:
  5132. // howto arguments for shutdown(2), specified by Posix.1g.
  5133. // sendfile(2) header/trailer struct
  5134. type Sf_hdtr = struct {
  5135. Fheaders uintptr
  5136. Fhdr_cnt int32
  5137. F__ccgo_pad1 [4]byte
  5138. Ftrailers uintptr
  5139. Ftrl_cnt int32
  5140. F__ccgo_pad2 [4]byte
  5141. } /* socket.h:691:1 */
  5142. // The following two #includes insure htonl and family are defined
  5143. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  5144. //
  5145. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5146. //
  5147. // This file contains Original Code and/or Modifications of Original Code
  5148. // as defined in and that are subject to the Apple Public Source License
  5149. // Version 2.0 (the 'License'). You may not use this file except in
  5150. // compliance with the License. The rights granted to you under the License
  5151. // may not be used to create, or enable the creation or redistribution of,
  5152. // unlawful or unlicensed copies of an Apple operating system, or to
  5153. // circumvent, violate, or enable the circumvention or violation of, any
  5154. // terms of an Apple operating system software license agreement.
  5155. //
  5156. // Please obtain a copy of the License at
  5157. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5158. //
  5159. // The Original Code and all software distributed under the License are
  5160. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5161. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5162. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5163. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5164. // Please see the License for the specific language governing rights and
  5165. // limitations under the License.
  5166. //
  5167. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5168. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  5169. // Copyright (c) 2004, 2006 Apple Computer, Inc. All rights reserved.
  5170. //
  5171. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5172. //
  5173. // This file contains Original Code and/or Modifications of Original Code
  5174. // as defined in and that are subject to the Apple Public Source License
  5175. // Version 2.0 (the 'License'). You may not use this file except in
  5176. // compliance with the License. The rights granted to you under the License
  5177. // may not be used to create, or enable the creation or redistribution of,
  5178. // unlawful or unlicensed copies of an Apple operating system, or to
  5179. // circumvent, violate, or enable the circumvention or violation of, any
  5180. // terms of an Apple operating system software license agreement.
  5181. //
  5182. // Please obtain a copy of the License at
  5183. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5184. //
  5185. // The Original Code and all software distributed under the License are
  5186. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5187. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5188. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5189. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5190. // Please see the License for the specific language governing rights and
  5191. // limitations under the License.
  5192. //
  5193. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5194. // Copyright (c) 1995 NeXT Computer, Inc. All rights reserved.
  5195. // Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved.
  5196. //
  5197. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5198. //
  5199. // This file contains Original Code and/or Modifications of Original Code
  5200. // as defined in and that are subject to the Apple Public Source License
  5201. // Version 2.0 (the 'License'). You may not use this file except in
  5202. // compliance with the License. The rights granted to you under the License
  5203. // may not be used to create, or enable the creation or redistribution of,
  5204. // unlawful or unlicensed copies of an Apple operating system, or to
  5205. // circumvent, violate, or enable the circumvention or violation of, any
  5206. // terms of an Apple operating system software license agreement.
  5207. //
  5208. // Please obtain a copy of the License at
  5209. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5210. //
  5211. // The Original Code and all software distributed under the License are
  5212. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5213. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5214. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5215. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5216. // Please see the License for the specific language governing rights and
  5217. // limitations under the License.
  5218. //
  5219. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5220. // Copyright (c) 1987, 1991, 1993
  5221. // The Regents of the University of California. All rights reserved.
  5222. //
  5223. // Redistribution and use in source and binary forms, with or without
  5224. // modification, are permitted provided that the following conditions
  5225. // are met:
  5226. // 1. Redistributions of source code must retain the above copyright
  5227. // notice, this list of conditions and the following disclaimer.
  5228. // 2. Redistributions in binary form must reproduce the above copyright
  5229. // notice, this list of conditions and the following disclaimer in the
  5230. // documentation and/or other materials provided with the distribution.
  5231. // 3. All advertising materials mentioning features or use of this software
  5232. // must display the following acknowledgement:
  5233. // This product includes software developed by the University of
  5234. // California, Berkeley and its contributors.
  5235. // 4. Neither the name of the University nor the names of its contributors
  5236. // may be used to endorse or promote products derived from this software
  5237. // without specific prior written permission.
  5238. //
  5239. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  5240. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  5241. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  5242. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  5243. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  5244. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  5245. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  5246. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  5247. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  5248. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  5249. // SUCH DAMAGE.
  5250. // Constants and structures defined by the internet system,
  5251. // Per RFC 790, September 1981, and numerous additions.
  5252. // Protocols (RFC 1700)
  5253. // 55-57: Unassigned
  5254. // 101-252: Partly Unassigned
  5255. // 253-254: Experimentation and testing; 255: Reserved (RFC3692)
  5256. // BSD Private, local use, namespace incursion
  5257. // last return value of *_input(), meaning "all job for this pkt is done".
  5258. // Local port number conventions:
  5259. //
  5260. // When a user does a bind(2) or connect(2) with a port number of zero,
  5261. // a non-conflicting local port address is chosen.
  5262. // The default range is IPPORT_RESERVED through
  5263. // IPPORT_USERRESERVED, although that is settable by sysctl.
  5264. //
  5265. // A user may set the IPPROTO_IP option IP_PORTRANGE to change this
  5266. // default assignment range.
  5267. //
  5268. // The value IP_PORTRANGE_DEFAULT causes the default behavior.
  5269. //
  5270. // The value IP_PORTRANGE_HIGH changes the range of candidate port numbers
  5271. // into the "high" range. These are reserved for client outbound connections
  5272. // which do not want to be filtered by any firewalls.
  5273. //
  5274. // The value IP_PORTRANGE_LOW changes the range to the "low" are
  5275. // that is (by convention) restricted to privileged processes. This
  5276. // convention is based on "vouchsafe" principles only. It is only secure
  5277. // if you trust the remote host to restrict these ports.
  5278. //
  5279. // The default range of ports and the high range can be changed by
  5280. // sysctl(3). (net.inet.ip.port{hi,low}{first,last}_auto)
  5281. //
  5282. // Changing those values has bad security implications if you are
  5283. // using a a stateless firewall that is allowing packets outside of that
  5284. // range in order to allow transparent outgoing connections.
  5285. //
  5286. // Such a firewall configuration will generally depend on the use of these
  5287. // default values. If you change them, you may find your Security
  5288. // Administrator looking for you with a heavy object.
  5289. //
  5290. // For a slightly more orthodox text view on this:
  5291. //
  5292. // ftp://ftp.isi.edu/in-notes/iana/assignments/port-numbers
  5293. //
  5294. // port numbers are divided into three ranges:
  5295. //
  5296. // 0 - 1023 Well Known Ports
  5297. // 1024 - 49151 Registered Ports
  5298. // 49152 - 65535 Dynamic and/or Private Ports
  5299. //
  5300. // Ports < IPPORT_RESERVED are reserved for
  5301. // privileged processes (e.g. root). (IP_PORTRANGE_LOW)
  5302. // Ports > IPPORT_USERRESERVED are reserved
  5303. // for servers, not necessarily privileged. (IP_PORTRANGE_DEFAULT)
  5304. // Default local port range to use by setting IP_PORTRANGE_HIGH
  5305. // Scanning for a free reserved port return a value below IPPORT_RESERVED,
  5306. // but higher than IPPORT_RESERVEDSTART. Traditionally the start value was
  5307. // 512, but that conflicts with some well-known-services that firewalls may
  5308. // have a fit if we use.
  5309. // Internet address (a structure for historical reasons)
  5310. type In_addr = struct{ Fs_addr In_addr_t } /* in.h:301:1 */
  5311. // Definitions of bits in internet address integers.
  5312. // On subnets, the decomposition of addresses to host and net parts
  5313. // is done according to subnet mask, not the masks here.
  5314. // Socket address, internet style.
  5315. type Sockaddr_in = struct {
  5316. Fsin_len X__uint8_t
  5317. Fsin_family Sa_family_t
  5318. Fsin_port In_port_t
  5319. Fsin_addr struct{ Fs_addr In_addr_t }
  5320. Fsin_zero [8]int8
  5321. } /* in.h:375:1 */
  5322. // Structure used to describe IP options.
  5323. // Used to store options internally, to pass them to a process,
  5324. // or to restore options retrieved earlier.
  5325. // The ip_dst is used for the first-hop gateway when using a source route
  5326. // (this gets put into the header proper).
  5327. type Ip_opts = struct {
  5328. Fip_dst struct{ Fs_addr In_addr_t }
  5329. Fip_opts [40]int8
  5330. } /* in.h:398:1 */
  5331. // Options for use with [gs]etsockopt at the IP level.
  5332. // First word of comment is data type; bool is stored in int.
  5333. // for IPSEC
  5334. // These older firewall socket option codes are maintained for backward compatibility.
  5335. // IPv4 Source Filter Multicast API [RFC3678]
  5336. // The following option is private; do not use it from user applications.
  5337. // Protocol Independent Multicast API [RFC3678]
  5338. // Defaults and limits for options
  5339. // The imo_membership vector for each socket is now dynamically allocated at
  5340. // run-time, bounded by USHRT_MAX, and is reallocated when needed, sized
  5341. // according to a power-of-two increment.
  5342. // Default resource limits for IPv4 multicast source filtering.
  5343. // These may be modified by sysctl.
  5344. // Argument structure for IP_ADD_MEMBERSHIP and IP_DROP_MEMBERSHIP.
  5345. type Ip_mreq = struct {
  5346. Fimr_multiaddr struct{ Fs_addr In_addr_t }
  5347. Fimr_interface struct{ Fs_addr In_addr_t }
  5348. } /* in.h:507:1 */
  5349. // Modified argument structure for IP_MULTICAST_IF, obtained from Linux.
  5350. // This is used to specify an interface index for multicast sends, as
  5351. // the IPv4 legacy APIs do not support this (unless IP_SENDIF is available).
  5352. type Ip_mreqn = struct {
  5353. Fimr_multiaddr struct{ Fs_addr In_addr_t }
  5354. Fimr_address struct{ Fs_addr In_addr_t }
  5355. Fimr_ifindex int32
  5356. } /* in.h:517:1 */
  5357. // Argument structure for IPv4 Multicast Source Filter APIs. [RFC3678]
  5358. type Ip_mreq_source = struct {
  5359. Fimr_multiaddr struct{ Fs_addr In_addr_t }
  5360. Fimr_sourceaddr struct{ Fs_addr In_addr_t }
  5361. Fimr_interface struct{ Fs_addr In_addr_t }
  5362. } /* in.h:527:1 */
  5363. // Argument structures for Protocol-Independent Multicast Source
  5364. // Filter APIs. [RFC3678]
  5365. type Group_req = struct {
  5366. Fgr_interface Uint32_t
  5367. F__ccgo_pad1 [4]byte
  5368. Fgr_group struct {
  5369. Fss_len X__uint8_t
  5370. Fss_family Sa_family_t
  5371. F__ss_pad1 [6]int8
  5372. F__ss_align X__int64_t
  5373. F__ss_pad2 [112]int8
  5374. }
  5375. } /* in.h:537:1 */
  5376. type Group_source_req = struct {
  5377. Fgsr_interface Uint32_t
  5378. F__ccgo_pad1 [4]byte
  5379. Fgsr_group struct {
  5380. Fss_len X__uint8_t
  5381. Fss_family Sa_family_t
  5382. F__ss_pad1 [6]int8
  5383. F__ss_align X__int64_t
  5384. F__ss_pad2 [112]int8
  5385. }
  5386. Fgsr_source struct {
  5387. Fss_len X__uint8_t
  5388. Fss_family Sa_family_t
  5389. F__ss_pad1 [6]int8
  5390. F__ss_align X__int64_t
  5391. F__ss_pad2 [112]int8
  5392. }
  5393. } /* in.h:542:1 */
  5394. // The following structure is private; do not use it from user applications.
  5395. // It is used to communicate IP_MSFILTER/IPV6_MSFILTER information between
  5396. // the RFC 3678 libc functions and the kernel.
  5397. type X__msfilterreq = struct {
  5398. Fmsfr_ifindex Uint32_t
  5399. Fmsfr_fmode Uint32_t
  5400. Fmsfr_nsrcs Uint32_t
  5401. F__msfr_align Uint32_t
  5402. Fmsfr_group struct {
  5403. Fss_len X__uint8_t
  5404. Fss_family Sa_family_t
  5405. F__ss_pad1 [6]int8
  5406. F__ss_align X__int64_t
  5407. F__ss_pad2 [112]int8
  5408. }
  5409. Fmsfr_srcs uintptr
  5410. } /* in.h:555:1 */
  5411. // Filter modes; also used to represent per-socket filter mode internally.
  5412. // Argument for IP_PORTRANGE:
  5413. // - which range to search when port is unspecified at bind() or connect()
  5414. // IP_PKTINFO: Packet information (equivalent to RFC2292 sec 5 for IPv4)
  5415. // This structure is used for
  5416. //
  5417. // 1. Receiving ancilliary data about the datagram if IP_PKTINFO sockopt is
  5418. // set on the socket. In this case ipi_ifindex will contain the interface
  5419. // index the datagram was received on, ipi_addr is the IP address the
  5420. // datagram was received to.
  5421. //
  5422. // 2. Sending a datagram using a specific interface or IP source address.
  5423. // if ipi_ifindex is set to non-zero when in_pktinfo is passed as
  5424. // ancilliary data of type IP_PKTINFO, this will be used as the source
  5425. // interface to send the datagram from. If ipi_ifindex is null, ip_spec_dst
  5426. // will be used for the source address.
  5427. //
  5428. // Note: if IP_BOUND_IF is set on the socket, ipi_ifindex in the ancillary
  5429. // IP_PKTINFO option silently overrides the bound interface when it is
  5430. // specified during send time.
  5431. type In_pktinfo = struct {
  5432. Fipi_ifindex uint32
  5433. Fipi_spec_dst struct{ Fs_addr In_addr_t }
  5434. Fipi_addr struct{ Fs_addr In_addr_t }
  5435. } /* in.h:618:1 */
  5436. // Definitions for inet sysctl operations.
  5437. //
  5438. // Third level is protocol number.
  5439. // Fourth level is desired variable within that protocol.
  5440. // Names for IP sysctl objects
  5441. // INET6 stuff
  5442. // Copyright (c) 2008-2020 Apple Inc. All rights reserved.
  5443. //
  5444. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5445. //
  5446. // This file contains Original Code and/or Modifications of Original Code
  5447. // as defined in and that are subject to the Apple Public Source License
  5448. // Version 2.0 (the 'License'). You may not use this file except in
  5449. // compliance with the License. The rights granted to you under the License
  5450. // may not be used to create, or enable the creation or redistribution of,
  5451. // unlawful or unlicensed copies of an Apple operating system, or to
  5452. // circumvent, violate, or enable the circumvention or violation of, any
  5453. // terms of an Apple operating system software license agreement.
  5454. //
  5455. // Please obtain a copy of the License at
  5456. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5457. //
  5458. // The Original Code and all software distributed under the License are
  5459. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5460. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5461. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5462. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5463. // Please see the License for the specific language governing rights and
  5464. // limitations under the License.
  5465. //
  5466. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5467. // Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
  5468. // All rights reserved.
  5469. //
  5470. // Redistribution and use in source and binary forms, with or without
  5471. // modification, are permitted provided that the following conditions
  5472. // are met:
  5473. // 1. Redistributions of source code must retain the above copyright
  5474. // notice, this list of conditions and the following disclaimer.
  5475. // 2. Redistributions in binary form must reproduce the above copyright
  5476. // notice, this list of conditions and the following disclaimer in the
  5477. // documentation and/or other materials provided with the distribution.
  5478. // 3. Neither the name of the project nor the names of its contributors
  5479. // may be used to endorse or promote products derived from this software
  5480. // without specific prior written permission.
  5481. //
  5482. // THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
  5483. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  5484. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  5485. // ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
  5486. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  5487. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  5488. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  5489. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  5490. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  5491. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  5492. // SUCH DAMAGE.
  5493. // Copyright (c) 1982, 1986, 1990, 1993
  5494. // The Regents of the University of California. All rights reserved.
  5495. //
  5496. // Redistribution and use in source and binary forms, with or without
  5497. // modification, are permitted provided that the following conditions
  5498. // are met:
  5499. // 1. Redistributions of source code must retain the above copyright
  5500. // notice, this list of conditions and the following disclaimer.
  5501. // 2. Redistributions in binary form must reproduce the above copyright
  5502. // notice, this list of conditions and the following disclaimer in the
  5503. // documentation and/or other materials provided with the distribution.
  5504. // 3. All advertising materials mentioning features or use of this software
  5505. // must display the following acknowledgement:
  5506. // This product includes software developed by the University of
  5507. // California, Berkeley and its contributors.
  5508. // 4. Neither the name of the University nor the names of its contributors
  5509. // may be used to endorse or promote products derived from this software
  5510. // without specific prior written permission.
  5511. //
  5512. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  5513. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  5514. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  5515. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  5516. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  5517. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  5518. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  5519. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  5520. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  5521. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  5522. // SUCH DAMAGE.
  5523. //
  5524. // @(#)in.h 8.3 (Berkeley) 1/3/94
  5525. // Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
  5526. //
  5527. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5528. //
  5529. // This file contains Original Code and/or Modifications of Original Code
  5530. // as defined in and that are subject to the Apple Public Source License
  5531. // Version 2.0 (the 'License'). You may not use this file except in
  5532. // compliance with the License. The rights granted to you under the License
  5533. // may not be used to create, or enable the creation or redistribution of,
  5534. // unlawful or unlicensed copies of an Apple operating system, or to
  5535. // circumvent, violate, or enable the circumvention or violation of, any
  5536. // terms of an Apple operating system software license agreement.
  5537. //
  5538. // Please obtain a copy of the License at
  5539. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5540. //
  5541. // The Original Code and all software distributed under the License are
  5542. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5543. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5544. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5545. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5546. // Please see the License for the specific language governing rights and
  5547. // limitations under the License.
  5548. //
  5549. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5550. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  5551. //
  5552. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5553. //
  5554. // This file contains Original Code and/or Modifications of Original Code
  5555. // as defined in and that are subject to the Apple Public Source License
  5556. // Version 2.0 (the 'License'). You may not use this file except in
  5557. // compliance with the License. The rights granted to you under the License
  5558. // may not be used to create, or enable the creation or redistribution of,
  5559. // unlawful or unlicensed copies of an Apple operating system, or to
  5560. // circumvent, violate, or enable the circumvention or violation of, any
  5561. // terms of an Apple operating system software license agreement.
  5562. //
  5563. // Please obtain a copy of the License at
  5564. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5565. //
  5566. // The Original Code and all software distributed under the License are
  5567. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5568. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5569. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5570. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5571. // Please see the License for the specific language governing rights and
  5572. // limitations under the License.
  5573. //
  5574. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5575. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5576. //
  5577. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5578. //
  5579. // This file contains Original Code and/or Modifications of Original Code
  5580. // as defined in and that are subject to the Apple Public Source License
  5581. // Version 2.0 (the 'License'). You may not use this file except in
  5582. // compliance with the License. The rights granted to you under the License
  5583. // may not be used to create, or enable the creation or redistribution of,
  5584. // unlawful or unlicensed copies of an Apple operating system, or to
  5585. // circumvent, violate, or enable the circumvention or violation of, any
  5586. // terms of an Apple operating system software license agreement.
  5587. //
  5588. // Please obtain a copy of the License at
  5589. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5590. //
  5591. // The Original Code and all software distributed under the License are
  5592. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5593. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5594. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5595. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5596. // Please see the License for the specific language governing rights and
  5597. // limitations under the License.
  5598. //
  5599. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5600. // Identification of the network protocol stack
  5601. // for *BSD-current/release: http://www.kame.net/dev/cvsweb.cgi/kame/COVERAGE
  5602. // has the table of implementation/integration differences.
  5603. // Local port number conventions:
  5604. //
  5605. // Ports < IPPORT_RESERVED are reserved for privileged processes (e.g. root),
  5606. // unless a kernel is compiled with IPNOPRIVPORTS defined.
  5607. //
  5608. // When a user does a bind(2) or connect(2) with a port number of zero,
  5609. // a non-conflicting local port address is chosen.
  5610. //
  5611. // The default range is IPPORT_ANONMIN to IPPORT_ANONMAX, although
  5612. // that is settable by sysctl(3); net.inet.ip.anonportmin and
  5613. // net.inet.ip.anonportmax respectively.
  5614. //
  5615. // A user may set the IPPROTO_IP option IP_PORTRANGE to change this
  5616. // default assignment range.
  5617. //
  5618. // The value IP_PORTRANGE_DEFAULT causes the default behavior.
  5619. //
  5620. // The value IP_PORTRANGE_HIGH is the same as IP_PORTRANGE_DEFAULT,
  5621. // and exists only for FreeBSD compatibility purposes.
  5622. //
  5623. // The value IP_PORTRANGE_LOW changes the range to the "low" are
  5624. // that is (by convention) restricted to privileged processes.
  5625. // This convention is based on "vouchsafe" principles only.
  5626. // It is only secure if you trust the remote host to restrict these ports.
  5627. // The range is IPPORT_RESERVEDMIN to IPPORT_RESERVEDMAX.
  5628. // IPv6 address
  5629. type In6_addr = struct {
  5630. F__u6_addr struct {
  5631. F__ccgo_pad1 [0]uint32
  5632. F__u6_addr8 [16]X__uint8_t
  5633. }
  5634. } /* in6.h:152:9 */
  5635. // Definitions for inet sysctl operations.
  5636. //
  5637. // Third level is protocol number.
  5638. // Fourth level is desired variable within that protocol.
  5639. // Names for IP sysctl objects
  5640. // INET6 stuff
  5641. // Copyright (c) 2008-2020 Apple Inc. All rights reserved.
  5642. //
  5643. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5644. //
  5645. // This file contains Original Code and/or Modifications of Original Code
  5646. // as defined in and that are subject to the Apple Public Source License
  5647. // Version 2.0 (the 'License'). You may not use this file except in
  5648. // compliance with the License. The rights granted to you under the License
  5649. // may not be used to create, or enable the creation or redistribution of,
  5650. // unlawful or unlicensed copies of an Apple operating system, or to
  5651. // circumvent, violate, or enable the circumvention or violation of, any
  5652. // terms of an Apple operating system software license agreement.
  5653. //
  5654. // Please obtain a copy of the License at
  5655. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5656. //
  5657. // The Original Code and all software distributed under the License are
  5658. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5659. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5660. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5661. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5662. // Please see the License for the specific language governing rights and
  5663. // limitations under the License.
  5664. //
  5665. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5666. // Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
  5667. // All rights reserved.
  5668. //
  5669. // Redistribution and use in source and binary forms, with or without
  5670. // modification, are permitted provided that the following conditions
  5671. // are met:
  5672. // 1. Redistributions of source code must retain the above copyright
  5673. // notice, this list of conditions and the following disclaimer.
  5674. // 2. Redistributions in binary form must reproduce the above copyright
  5675. // notice, this list of conditions and the following disclaimer in the
  5676. // documentation and/or other materials provided with the distribution.
  5677. // 3. Neither the name of the project nor the names of its contributors
  5678. // may be used to endorse or promote products derived from this software
  5679. // without specific prior written permission.
  5680. //
  5681. // THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
  5682. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  5683. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  5684. // ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
  5685. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  5686. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  5687. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  5688. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  5689. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  5690. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  5691. // SUCH DAMAGE.
  5692. // Copyright (c) 1982, 1986, 1990, 1993
  5693. // The Regents of the University of California. All rights reserved.
  5694. //
  5695. // Redistribution and use in source and binary forms, with or without
  5696. // modification, are permitted provided that the following conditions
  5697. // are met:
  5698. // 1. Redistributions of source code must retain the above copyright
  5699. // notice, this list of conditions and the following disclaimer.
  5700. // 2. Redistributions in binary form must reproduce the above copyright
  5701. // notice, this list of conditions and the following disclaimer in the
  5702. // documentation and/or other materials provided with the distribution.
  5703. // 3. All advertising materials mentioning features or use of this software
  5704. // must display the following acknowledgement:
  5705. // This product includes software developed by the University of
  5706. // California, Berkeley and its contributors.
  5707. // 4. Neither the name of the University nor the names of its contributors
  5708. // may be used to endorse or promote products derived from this software
  5709. // without specific prior written permission.
  5710. //
  5711. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  5712. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  5713. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  5714. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  5715. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  5716. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  5717. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  5718. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  5719. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  5720. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  5721. // SUCH DAMAGE.
  5722. //
  5723. // @(#)in.h 8.3 (Berkeley) 1/3/94
  5724. // Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
  5725. //
  5726. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5727. //
  5728. // This file contains Original Code and/or Modifications of Original Code
  5729. // as defined in and that are subject to the Apple Public Source License
  5730. // Version 2.0 (the 'License'). You may not use this file except in
  5731. // compliance with the License. The rights granted to you under the License
  5732. // may not be used to create, or enable the creation or redistribution of,
  5733. // unlawful or unlicensed copies of an Apple operating system, or to
  5734. // circumvent, violate, or enable the circumvention or violation of, any
  5735. // terms of an Apple operating system software license agreement.
  5736. //
  5737. // Please obtain a copy of the License at
  5738. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5739. //
  5740. // The Original Code and all software distributed under the License are
  5741. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5742. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5743. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5744. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5745. // Please see the License for the specific language governing rights and
  5746. // limitations under the License.
  5747. //
  5748. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5749. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  5750. //
  5751. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5752. //
  5753. // This file contains Original Code and/or Modifications of Original Code
  5754. // as defined in and that are subject to the Apple Public Source License
  5755. // Version 2.0 (the 'License'). You may not use this file except in
  5756. // compliance with the License. The rights granted to you under the License
  5757. // may not be used to create, or enable the creation or redistribution of,
  5758. // unlawful or unlicensed copies of an Apple operating system, or to
  5759. // circumvent, violate, or enable the circumvention or violation of, any
  5760. // terms of an Apple operating system software license agreement.
  5761. //
  5762. // Please obtain a copy of the License at
  5763. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5764. //
  5765. // The Original Code and all software distributed under the License are
  5766. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5767. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5768. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5769. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5770. // Please see the License for the specific language governing rights and
  5771. // limitations under the License.
  5772. //
  5773. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5774. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5775. //
  5776. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5777. //
  5778. // This file contains Original Code and/or Modifications of Original Code
  5779. // as defined in and that are subject to the Apple Public Source License
  5780. // Version 2.0 (the 'License'). You may not use this file except in
  5781. // compliance with the License. The rights granted to you under the License
  5782. // may not be used to create, or enable the creation or redistribution of,
  5783. // unlawful or unlicensed copies of an Apple operating system, or to
  5784. // circumvent, violate, or enable the circumvention or violation of, any
  5785. // terms of an Apple operating system software license agreement.
  5786. //
  5787. // Please obtain a copy of the License at
  5788. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5789. //
  5790. // The Original Code and all software distributed under the License are
  5791. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5792. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5793. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5794. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5795. // Please see the License for the specific language governing rights and
  5796. // limitations under the License.
  5797. //
  5798. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5799. // Identification of the network protocol stack
  5800. // for *BSD-current/release: http://www.kame.net/dev/cvsweb.cgi/kame/COVERAGE
  5801. // has the table of implementation/integration differences.
  5802. // Local port number conventions:
  5803. //
  5804. // Ports < IPPORT_RESERVED are reserved for privileged processes (e.g. root),
  5805. // unless a kernel is compiled with IPNOPRIVPORTS defined.
  5806. //
  5807. // When a user does a bind(2) or connect(2) with a port number of zero,
  5808. // a non-conflicting local port address is chosen.
  5809. //
  5810. // The default range is IPPORT_ANONMIN to IPPORT_ANONMAX, although
  5811. // that is settable by sysctl(3); net.inet.ip.anonportmin and
  5812. // net.inet.ip.anonportmax respectively.
  5813. //
  5814. // A user may set the IPPROTO_IP option IP_PORTRANGE to change this
  5815. // default assignment range.
  5816. //
  5817. // The value IP_PORTRANGE_DEFAULT causes the default behavior.
  5818. //
  5819. // The value IP_PORTRANGE_HIGH is the same as IP_PORTRANGE_DEFAULT,
  5820. // and exists only for FreeBSD compatibility purposes.
  5821. //
  5822. // The value IP_PORTRANGE_LOW changes the range to the "low" are
  5823. // that is (by convention) restricted to privileged processes.
  5824. // This convention is based on "vouchsafe" principles only.
  5825. // It is only secure if you trust the remote host to restrict these ports.
  5826. // The range is IPPORT_RESERVEDMIN to IPPORT_RESERVEDMAX.
  5827. // IPv6 address
  5828. type In6_addr_t = In6_addr /* in6.h:158:3 */
  5829. // Socket address for IPv6
  5830. type Sockaddr_in6 = struct {
  5831. Fsin6_len X__uint8_t
  5832. Fsin6_family Sa_family_t
  5833. Fsin6_port In_port_t
  5834. Fsin6_flowinfo X__uint32_t
  5835. Fsin6_addr struct {
  5836. F__u6_addr struct {
  5837. F__ccgo_pad1 [0]uint32
  5838. F__u6_addr8 [16]X__uint8_t
  5839. }
  5840. }
  5841. Fsin6_scope_id X__uint32_t
  5842. } /* in6.h:170:1 */
  5843. // Equality
  5844. // NOTE: Some of kernel programming environment (for example, openbsd/sparc)
  5845. // does not supply memcmp(). For userland memcmp() is preferred as it is
  5846. // in ANSI standard.
  5847. // Unspecified
  5848. // Loopback
  5849. // IPv4 compatible
  5850. // Mapped
  5851. // 6to4
  5852. // KAME Scope Values
  5853. // Unicast Scope
  5854. // Note that we must check topmost 10 bits only, not 16 bits (see RFC2373).
  5855. // Multicast
  5856. // Unique Local IPv6 Unicast Addresses (per RFC 4193)
  5857. // Multicast Scope
  5858. // Options for use with [gs]etsockopt at the IPV6 level.
  5859. // First word of comment is data type; bool is stored in int.
  5860. // no hdrincl
  5861. // RFC 3542 define the following socket options in a manner incompatible
  5862. // with RFC 2292:
  5863. // IPV6_PKTINFO
  5864. // IPV6_HOPLIMIT
  5865. // IPV6_NEXTHOP
  5866. // IPV6_HOPOPTS
  5867. // IPV6_DSTOPTS
  5868. // IPV6_RTHDR
  5869. //
  5870. // To use the new IPv6 Sockets options introduced by RFC 3542
  5871. // the constant __APPLE_USE_RFC_3542 must be defined before
  5872. // including <netinet/in.h>
  5873. //
  5874. // To use the old IPv6 Sockets options from RFC 2292
  5875. // the constant __APPLE_USE_RFC_2292 must be defined before
  5876. // including <netinet/in.h>
  5877. //
  5878. // Note that eventually RFC 3542 is going to be the
  5879. // default and RFC 2292 will be obsolete.
  5880. // buf/cmsghdr; set/get IPv6 options [obsoleted by RFC3542]
  5881. // APPLE: NOTE the value of those 2 options is kept unchanged from
  5882. // previous version of darwin/OS X for binary compatibility reasons
  5883. // and differ from FreeBSD (values 57 and 61). See below.
  5884. // to define items, should talk with KAME guys first, for *BSD compatibility
  5885. // Defaults and limits for options
  5886. // The im6o_membership vector for each socket is now dynamically allocated at
  5887. // run-time, bounded by USHRT_MAX, and is reallocated when needed, sized
  5888. // according to a power-of-two increment.
  5889. // Default resource limits for IPv6 multicast source filtering.
  5890. // These may be modified by sysctl.
  5891. // Argument structure for IPV6_JOIN_GROUP and IPV6_LEAVE_GROUP.
  5892. type Ipv6_mreq = struct {
  5893. Fipv6mr_multiaddr struct {
  5894. F__u6_addr struct {
  5895. F__ccgo_pad1 [0]uint32
  5896. F__u6_addr8 [16]X__uint8_t
  5897. }
  5898. }
  5899. Fipv6mr_interface uint32
  5900. } /* in6.h:541:1 */
  5901. // IPV6_2292PKTINFO: Packet information(RFC2292 sec 5)
  5902. type In6_pktinfo = struct {
  5903. Fipi6_addr struct {
  5904. F__u6_addr struct {
  5905. F__ccgo_pad1 [0]uint32
  5906. F__u6_addr8 [16]X__uint8_t
  5907. }
  5908. }
  5909. Fipi6_ifindex uint32
  5910. } /* in6.h:549:1 */
  5911. // Control structure for IPV6_RECVPATHMTU socket option.
  5912. type Ip6_mtuinfo = struct {
  5913. Fip6m_addr struct {
  5914. Fsin6_len X__uint8_t
  5915. Fsin6_family Sa_family_t
  5916. Fsin6_port In_port_t
  5917. Fsin6_flowinfo X__uint32_t
  5918. Fsin6_addr struct {
  5919. F__u6_addr struct {
  5920. F__ccgo_pad1 [0]uint32
  5921. F__u6_addr8 [16]X__uint8_t
  5922. }
  5923. }
  5924. Fsin6_scope_id X__uint32_t
  5925. }
  5926. Fip6m_mtu Uint32_t
  5927. } /* in6.h:557:1 */
  5928. // Structures returned by network data base library. All addresses are
  5929. // supplied in host order, and returned in network order (suitable for
  5930. // use in system calls).
  5931. type Hostent = struct {
  5932. Fh_name uintptr
  5933. Fh_aliases uintptr
  5934. Fh_addrtype int32
  5935. Fh_length int32
  5936. Fh_addr_list uintptr
  5937. } /* netdb.h:112:1 */
  5938. // Assumption here is that a network number
  5939. // fits in an unsigned long -- probably a poor one.
  5940. type Netent = struct {
  5941. Fn_name uintptr
  5942. Fn_aliases uintptr
  5943. Fn_addrtype int32
  5944. Fn_net Uint32_t
  5945. } /* netdb.h:127:1 */
  5946. type Servent = struct {
  5947. Fs_name uintptr
  5948. Fs_aliases uintptr
  5949. Fs_port int32
  5950. F__ccgo_pad1 [4]byte
  5951. Fs_proto uintptr
  5952. } /* netdb.h:134:1 */
  5953. type Protoent = struct {
  5954. Fp_name uintptr
  5955. Fp_aliases uintptr
  5956. Fp_proto int32
  5957. F__ccgo_pad1 [4]byte
  5958. } /* netdb.h:141:1 */
  5959. type Addrinfo = struct {
  5960. Fai_flags int32
  5961. Fai_family int32
  5962. Fai_socktype int32
  5963. Fai_protocol int32
  5964. Fai_addrlen Socklen_t
  5965. F__ccgo_pad1 [4]byte
  5966. Fai_canonname uintptr
  5967. Fai_addr uintptr
  5968. Fai_next uintptr
  5969. } /* netdb.h:147:1 */
  5970. type Rpcent = struct {
  5971. Fr_name uintptr
  5972. Fr_aliases uintptr
  5973. Fr_number int32
  5974. F__ccgo_pad1 [4]byte
  5975. } /* netdb.h:159:1 */
  5976. var _ int8 /* gen.c:2:13: */