home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / a_utils / perl / mac-perl / gs_102st.bin / GUSI / Headers / netdb.h < prev    next >
MacBinary  |  1992-11-15  |  3.9 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Sun Nov 15 11:45:37 1992, modified Sun Nov 15 11:45:37 1992, creator 'MPS ', type ASCII, 3326 bytes "netdb.h" , at 0xd7e 428 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 07 6e 65 74 64 62 2e | 68 00 00 00 00 00 00 00 |..netdb.|h.......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 00 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 0c fe 00 | 00 01 ac a7 2c 2f 31 a7 |........|....,/1.|
|00000060| 2c 2f 31 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |,/1.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 1a 89 00 00 |........|........|
|00000080| 2f 2a 2d 0d 20 2a 20 43 | 6f 70 79 72 69 67 68 74 |/*-. * C|opyright|
|00000090| 20 28 63 29 20 31 39 38 | 30 2c 20 31 39 38 33 2c | (c) 198|0, 1983,|
|000000a0| 20 31 39 38 38 20 52 65 | 67 65 6e 74 73 20 6f 66 | 1988 Re|gents of|
|000000b0| 20 74 68 65 20 55 6e 69 | 76 65 72 73 69 74 79 20 | the Uni|versity |
|000000c0| 6f 66 20 43 61 6c 69 66 | 6f 72 6e 69 61 2e 0d 20 |of Calif|ornia.. |
|000000d0| 2a 20 41 6c 6c 20 72 69 | 67 68 74 73 20 72 65 73 |* All ri|ghts res|
|000000e0| 65 72 76 65 64 2e 0d 20 | 2a 0d 20 2a 20 52 65 64 |erved.. |*. * Red|
|000000f0| 69 73 74 72 69 62 75 74 | 69 6f 6e 20 61 6e 64 20 |istribut|ion and |
|00000100| 75 73 65 20 69 6e 20 73 | 6f 75 72 63 65 20 61 6e |use in s|ource an|
|00000110| 64 20 62 69 6e 61 72 79 | 20 66 6f 72 6d 73 20 61 |d binary| forms a|
|00000120| 72 65 20 70 65 72 6d 69 | 74 74 65 64 0d 20 2a 20 |re permi|tted. * |
|00000130| 70 72 6f 76 69 64 65 64 | 20 74 68 61 74 3a 20 28 |provided| that: (|
|00000140| 31 29 20 73 6f 75 72 63 | 65 20 64 69 73 74 72 69 |1) sourc|e distri|
|00000150| 62 75 74 69 6f 6e 73 20 | 72 65 74 61 69 6e 20 74 |butions |retain t|
|00000160| 68 69 73 20 65 6e 74 69 | 72 65 20 63 6f 70 79 72 |his enti|re copyr|
|00000170| 69 67 68 74 0d 20 2a 20 | 6e 6f 74 69 63 65 20 61 |ight. * |notice a|
|00000180| 6e 64 20 63 6f 6d 6d 65 | 6e 74 2c 20 61 6e 64 20 |nd comme|nt, and |
|00000190| 28 32 29 20 64 69 73 74 | 72 69 62 75 74 69 6f 6e |(2) dist|ribution|
|000001a0| 73 20 69 6e 63 6c 75 64 | 69 6e 67 20 62 69 6e 61 |s includ|ing bina|
|000001b0| 72 69 65 73 20 64 69 73 | 70 6c 61 79 0d 20 2a 20 |ries dis|play. * |
|000001c0| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 61 63 |the foll|owing ac|
|000001d0| 6b 6e 6f 77 6c 65 64 67 | 65 6d 65 6e 74 3a 20 20 |knowledg|ement: |
|000001e0| 60 60 54 68 69 73 20 70 | 72 6f 64 75 63 74 20 69 |``This p|roduct i|
|000001f0| 6e 63 6c 75 64 65 73 20 | 73 6f 66 74 77 61 72 65 |ncludes |software|
|00000200| 0d 20 2a 20 64 65 76 65 | 6c 6f 70 65 64 20 62 79 |. * deve|loped by|
|00000210| 20 74 68 65 20 55 6e 69 | 76 65 72 73 69 74 79 20 | the Uni|versity |
|00000220| 6f 66 20 43 61 6c 69 66 | 6f 72 6e 69 61 2c 20 42 |of Calif|ornia, B|
|00000230| 65 72 6b 65 6c 65 79 20 | 61 6e 64 20 69 74 73 20 |erkeley |and its |
|00000240| 63 6f 6e 74 72 69 62 75 | 74 6f 72 73 27 27 0d 20 |contribu|tors''. |
|00000250| 2a 20 69 6e 20 74 68 65 | 20 64 6f 63 75 6d 65 6e |* in the| documen|
|00000260| 74 61 74 69 6f 6e 20 6f | 72 20 6f 74 68 65 72 20 |tation o|r other |
|00000270| 6d 61 74 65 72 69 61 6c | 73 20 70 72 6f 76 69 64 |material|s provid|
|00000280| 65 64 20 77 69 74 68 20 | 74 68 65 20 64 69 73 74 |ed with |the dist|
|00000290| 72 69 62 75 74 69 6f 6e | 0d 20 2a 20 61 6e 64 20 |ribution|. * and |
|000002a0| 69 6e 20 61 6c 6c 20 61 | 64 76 65 72 74 69 73 69 |in all a|dvertisi|
|000002b0| 6e 67 20 6d 61 74 65 72 | 69 61 6c 73 20 6d 65 6e |ng mater|ials men|
|000002c0| 74 69 6f 6e 69 6e 67 20 | 66 65 61 74 75 72 65 73 |tioning |features|
|000002d0| 20 6f 72 20 75 73 65 20 | 6f 66 20 74 68 69 73 0d | or use |of this.|
|000002e0| 20 2a 20 73 6f 66 74 77 | 61 72 65 2e 20 4e 65 69 | * softw|are. Nei|
|000002f0| 74 68 65 72 20 74 68 65 | 20 6e 61 6d 65 20 6f 66 |ther the| name of|
|00000300| 20 74 68 65 20 55 6e 69 | 76 65 72 73 69 74 79 20 | the Uni|versity |
|00000310| 6e 6f 72 20 74 68 65 20 | 6e 61 6d 65 73 20 6f 66 |nor the |names of|
|00000320| 20 69 74 73 0d 20 2a 20 | 63 6f 6e 74 72 69 62 75 | its. * |contribu|
|00000330| 74 6f 72 73 20 6d 61 79 | 20 62 65 20 75 73 65 64 |tors may| be used|
|00000340| 20 74 6f 20 65 6e 64 6f | 72 73 65 20 6f 72 20 70 | to endo|rse or p|
|00000350| 72 6f 6d 6f 74 65 20 70 | 72 6f 64 75 63 74 73 20 |romote p|roducts |
|00000360| 64 65 72 69 76 65 64 0d | 20 2a 20 66 72 6f 6d 20 |derived.| * from |
|00000370| 74 68 69 73 20 73 6f 66 | 74 77 61 72 65 20 77 69 |this sof|tware wi|
|00000380| 74 68 6f 75 74 20 73 70 | 65 63 69 66 69 63 20 70 |thout sp|ecific p|
|00000390| 72 69 6f 72 20 77 72 69 | 74 74 65 6e 20 70 65 72 |rior wri|tten per|
|000003a0| 6d 69 73 73 69 6f 6e 2e | 0d 20 2a 20 54 48 49 53 |mission.|. * THIS|
|000003b0| 20 53 4f 46 54 57 41 52 | 45 20 49 53 20 50 52 4f | SOFTWAR|E IS PRO|
|000003c0| 56 49 44 45 44 20 60 60 | 41 53 20 49 53 27 27 20 |VIDED ``|AS IS'' |
|000003d0| 41 4e 44 20 57 49 54 48 | 4f 55 54 20 41 4e 59 20 |AND WITH|OUT ANY |
|000003e0| 45 58 50 52 45 53 53 20 | 4f 52 0d 20 2a 20 49 4d |EXPRESS |OR. * IM|
|000003f0| 50 4c 49 45 44 20 57 41 | 52 52 41 4e 54 49 45 53 |PLIED WA|RRANTIES|
|00000400| 2c 20 49 4e 43 4c 55 44 | 49 4e 47 2c 20 57 49 54 |, INCLUD|ING, WIT|
|00000410| 48 4f 55 54 20 4c 49 4d | 49 54 41 54 49 4f 4e 2c |HOUT LIM|ITATION,|
|00000420| 20 54 48 45 20 49 4d 50 | 4c 49 45 44 0d 20 2a 20 | THE IMP|LIED. * |
|00000430| 57 41 52 52 41 4e 54 49 | 45 53 20 4f 46 20 4d 45 |WARRANTI|ES OF ME|
|00000440| 52 43 48 41 4e 54 41 42 | 49 4c 49 54 59 20 41 4e |RCHANTAB|ILITY AN|
|00000450| 44 20 46 49 54 4e 45 53 | 53 20 46 4f 52 20 41 20 |D FITNES|S FOR A |
|00000460| 50 41 52 54 49 43 55 4c | 41 52 20 50 55 52 50 4f |PARTICUL|AR PURPO|
|00000470| 53 45 2e 0d 20 2a 0d 20 | 2a 09 40 28 23 29 6e 65 |SE.. *. |*.@(#)ne|
|00000480| 74 64 62 2e 68 09 35 2e | 31 31 20 28 42 65 72 6b |tdb.h.5.|11 (Berk|
|00000490| 65 6c 65 79 29 20 35 2f | 32 31 2f 39 30 0d 20 2a |eley) 5/|21/90. *|
|000004a0| 2f 0d 0d 23 64 65 66 69 | 6e 65 09 5f 50 41 54 48 |/..#defi|ne._PATH|
|000004b0| 5f 48 45 51 55 49 56 09 | 22 2f 65 74 63 2f 68 6f |_HEQUIV.|"/etc/ho|
|000004c0| 73 74 73 2e 65 71 75 69 | 76 22 0d 23 64 65 66 69 |sts.equi|v".#defi|
|000004d0| 6e 65 09 5f 50 41 54 48 | 5f 48 4f 53 54 53 09 22 |ne._PATH|_HOSTS."|
|000004e0| 2f 65 74 63 2f 68 6f 73 | 74 73 22 0d 23 64 65 66 |/etc/hos|ts".#def|
|000004f0| 69 6e 65 09 5f 50 41 54 | 48 5f 4e 45 54 57 4f 52 |ine._PAT|H_NETWOR|
|00000500| 4b 53 09 22 2f 65 74 63 | 2f 6e 65 74 77 6f 72 6b |KS."/etc|/network|
|00000510| 73 22 0d 23 64 65 66 69 | 6e 65 09 5f 50 41 54 48 |s".#defi|ne._PATH|
|00000520| 5f 50 52 4f 54 4f 43 4f | 4c 53 09 22 2f 65 74 63 |_PROTOCO|LS."/etc|
|00000530| 2f 70 72 6f 74 6f 63 6f | 6c 73 22 0d 23 64 65 66 |/protoco|ls".#def|
|00000540| 69 6e 65 09 5f 50 41 54 | 48 5f 53 45 52 56 49 43 |ine._PAT|H_SERVIC|
|00000550| 45 53 09 22 2f 65 74 63 | 2f 73 65 72 76 69 63 65 |ES."/etc|/service|
|00000560| 73 22 0d 0d 2f 2a 0d 20 | 2a 20 53 74 72 75 63 74 |s"../*. |* Struct|
|00000570| 75 72 65 73 20 72 65 74 | 75 72 6e 65 64 20 62 79 |ures ret|urned by|
|00000580| 20 6e 65 74 77 6f 72 6b | 20 64 61 74 61 20 62 61 | network| data ba|
|00000590| 73 65 20 6c 69 62 72 61 | 72 79 2e 20 20 41 6c 6c |se libra|ry. All|
|000005a0| 20 61 64 64 72 65 73 73 | 65 73 20 61 72 65 0d 20 | address|es are. |
|000005b0| 2a 20 73 75 70 70 6c 69 | 65 64 20 69 6e 20 68 6f |* suppli|ed in ho|
|000005c0| 73 74 20 6f 72 64 65 72 | 2c 20 61 6e 64 20 72 65 |st order|, and re|
|000005d0| 74 75 72 6e 65 64 20 69 | 6e 20 6e 65 74 77 6f 72 |turned i|n networ|
|000005e0| 6b 20 6f 72 64 65 72 20 | 28 73 75 69 74 61 62 6c |k order |(suitabl|
|000005f0| 65 20 66 6f 72 0d 20 2a | 20 75 73 65 20 69 6e 20 |e for. *| use in |
|00000600| 73 79 73 74 65 6d 20 63 | 61 6c 6c 73 29 2e 0d 20 |system c|alls).. |
|00000610| 2a 2f 0d 73 74 72 75 63 | 74 09 68 6f 73 74 65 6e |*/.struc|t.hosten|
|00000620| 74 20 7b 0d 09 63 68 61 | 72 09 2a 68 5f 6e 61 6d |t {..cha|r.*h_nam|
|00000630| 65 3b 09 2f 2a 20 6f 66 | 66 69 63 69 61 6c 20 6e |e;./* of|ficial n|
|00000640| 61 6d 65 20 6f 66 20 68 | 6f 73 74 20 2a 2f 0d 09 |ame of h|ost */..|
|00000650| 63 68 61 72 09 2a 2a 68 | 5f 61 6c 69 61 73 65 73 |char.**h|_aliases|
|00000660| 3b 09 2f 2a 20 61 6c 69 | 61 73 20 6c 69 73 74 20 |;./* ali|as list |
|00000670| 2a 2f 0d 09 69 6e 74 09 | 68 5f 61 64 64 72 74 79 |*/..int.|h_addrty|
|00000680| 70 65 3b 09 2f 2a 20 68 | 6f 73 74 20 61 64 64 72 |pe;./* h|ost addr|
|00000690| 65 73 73 20 74 79 70 65 | 20 2a 2f 0d 09 69 6e 74 |ess type| */..int|
|000006a0| 09 68 5f 6c 65 6e 67 74 | 68 3b 09 2f 2a 20 6c 65 |.h_lengt|h;./* le|
|000006b0| 6e 67 74 68 20 6f 66 20 | 61 64 64 72 65 73 73 20 |ngth of |address |
|000006c0| 2a 2f 0d 09 63 68 61 72 | 09 2a 2a 68 5f 61 64 64 |*/..char|.**h_add|
|000006d0| 72 5f 6c 69 73 74 3b 09 | 2f 2a 20 6c 69 73 74 20 |r_list;.|/* list |
|000006e0| 6f 66 20 61 64 64 72 65 | 73 73 65 73 20 66 72 6f |of addre|sses fro|
|000006f0| 6d 20 6e 61 6d 65 20 73 | 65 72 76 65 72 20 2a 2f |m name s|erver */|
|00000700| 0d 23 64 65 66 69 6e 65 | 09 68 5f 61 64 64 72 09 |.#define|.h_addr.|
|00000710| 68 5f 61 64 64 72 5f 6c | 69 73 74 5b 30 5d 09 2f |h_addr_l|ist[0]./|
|00000720| 2a 20 61 64 64 72 65 73 | 73 2c 20 66 6f 72 20 62 |* addres|s, for b|
|00000730| 61 63 6b 77 61 72 64 20 | 63 6f 6d 70 61 74 69 62 |ackward |compatib|
|00000740| 6c 69 74 79 20 2a 2f 0d | 7d 3b 0d 0d 2f 2a 0d 20 |lity */.|};../*. |
|00000750| 2a 20 41 73 73 75 6d 70 | 74 69 6f 6e 20 68 65 72 |* Assump|tion her|
|00000760| 65 20 69 73 20 74 68 61 | 74 20 61 20 6e 65 74 77 |e is tha|t a netw|
|00000770| 6f 72 6b 20 6e 75 6d 62 | 65 72 0d 20 2a 20 66 69 |ork numb|er. * fi|
|00000780| 74 73 20 69 6e 20 33 32 | 20 62 69 74 73 20 2d 2d |ts in 32| bits --|
|00000790| 20 70 72 6f 62 61 62 6c | 79 20 61 20 70 6f 6f 72 | probabl|y a poor|
|000007a0| 20 6f 6e 65 2e 0d 20 2a | 2f 0d 73 74 72 75 63 74 | one.. *|/.struct|
|000007b0| 09 6e 65 74 65 6e 74 20 | 7b 0d 09 63 68 61 72 09 |.netent |{..char.|
|000007c0| 09 2a 6e 5f 6e 61 6d 65 | 3b 09 2f 2a 20 6f 66 66 |.*n_name|;./* off|
|000007d0| 69 63 69 61 6c 20 6e 61 | 6d 65 20 6f 66 20 6e 65 |icial na|me of ne|
|000007e0| 74 20 2a 2f 0d 09 63 68 | 61 72 09 09 2a 2a 6e 5f |t */..ch|ar..**n_|
|000007f0| 61 6c 69 61 73 65 73 3b | 09 2f 2a 20 61 6c 69 61 |aliases;|./* alia|
|00000800| 73 20 6c 69 73 74 20 2a | 2f 0d 09 69 6e 74 09 09 |s list *|/..int..|
|00000810| 6e 5f 61 64 64 72 74 79 | 70 65 3b 09 2f 2a 20 6e |n_addrty|pe;./* n|
|00000820| 65 74 20 61 64 64 72 65 | 73 73 20 74 79 70 65 20 |et addre|ss type |
|00000830| 2a 2f 0d 09 75 6e 73 69 | 67 6e 65 64 20 6c 6f 6e |*/..unsi|gned lon|
|00000840| 67 09 6e 5f 6e 65 74 3b | 09 09 2f 2a 20 6e 65 74 |g.n_net;|../* net|
|00000850| 77 6f 72 6b 20 23 20 2a | 2f 0d 7d 3b 0d 0d 73 74 |work # *|/.};..st|
|00000860| 72 75 63 74 09 73 65 72 | 76 65 6e 74 20 7b 0d 09 |ruct.ser|vent {..|
|00000870| 63 68 61 72 09 2a 73 5f | 6e 61 6d 65 3b 09 2f 2a |char.*s_|name;./*|
|00000880| 20 6f 66 66 69 63 69 61 | 6c 20 73 65 72 76 69 63 | officia|l servic|
|00000890| 65 20 6e 61 6d 65 20 2a | 2f 0d 09 63 68 61 72 09 |e name *|/..char.|
|000008a0| 2a 2a 73 5f 61 6c 69 61 | 73 65 73 3b 09 2f 2a 20 |**s_alia|ses;./* |
|000008b0| 61 6c 69 61 73 20 6c 69 | 73 74 20 2a 2f 0d 09 69 |alias li|st */..i|
|000008c0| 6e 74 09 73 5f 70 6f 72 | 74 3b 09 09 2f 2a 20 70 |nt.s_por|t;../* p|
|000008d0| 6f 72 74 20 23 20 2a 2f | 0d 09 63 68 61 72 09 2a |ort # */|..char.*|
|000008e0| 73 5f 70 72 6f 74 6f 3b | 09 2f 2a 20 70 72 6f 74 |s_proto;|./* prot|
|000008f0| 6f 63 6f 6c 20 74 6f 20 | 75 73 65 20 2a 2f 0d 7d |ocol to |use */.}|
|00000900| 3b 0d 0d 73 74 72 75 63 | 74 09 70 72 6f 74 6f 65 |;..struc|t.protoe|
|00000910| 6e 74 20 7b 0d 09 63 68 | 61 72 09 2a 70 5f 6e 61 |nt {..ch|ar.*p_na|
|00000920| 6d 65 3b 09 2f 2a 20 6f | 66 66 69 63 69 61 6c 20 |me;./* o|fficial |
|00000930| 70 72 6f 74 6f 63 6f 6c | 20 6e 61 6d 65 20 2a 2f |protocol| name */|
|00000940| 0d 09 63 68 61 72 09 2a | 2a 70 5f 61 6c 69 61 73 |..char.*|*p_alias|
|00000950| 65 73 3b 09 2f 2a 20 61 | 6c 69 61 73 20 6c 69 73 |es;./* a|lias lis|
|00000960| 74 20 2a 2f 0d 09 69 6e | 74 09 70 5f 70 72 6f 74 |t */..in|t.p_prot|
|00000970| 6f 3b 09 2f 2a 20 70 72 | 6f 74 6f 63 6f 6c 20 23 |o;./* pr|otocol #|
|00000980| 20 2a 2f 0d 7d 3b 0d 0d | 23 69 66 64 65 66 20 6d | */.};..|#ifdef m|
|00000990| 61 63 69 6e 74 6f 73 68 | 0d 73 74 72 75 63 74 20 |acintosh|.struct |
|000009a0| 68 6f 73 74 65 6e 74 20 | 2a 20 67 65 74 68 6f 73 |hostent |* gethos|
|000009b0| 74 62 79 6e 61 6d 65 28 | 63 68 61 72 20 2a 6e 61 |tbyname(|char *na|
|000009c0| 6d 65 29 3b 0d 73 74 72 | 75 63 74 20 68 6f 73 74 |me);.str|uct host|
|000009d0| 65 6e 74 20 2a 20 67 65 | 74 68 6f 73 74 62 79 61 |ent * ge|thostbya|
|000009e0| 64 64 72 28 73 74 72 75 | 63 74 20 69 6e 5f 61 64 |ddr(stru|ct in_ad|
|000009f0| 64 72 20 2a 61 64 64 72 | 50 2c 20 69 6e 74 2c 20 |dr *addr|P, int, |
|00000a00| 69 6e 74 29 3b 0d 69 6e | 74 20 67 65 74 68 6f 73 |int);.in|t gethos|
|00000a10| 74 6e 61 6d 65 28 63 68 | 61 72 20 2a 6d 61 63 68 |tname(ch|ar *mach|
|00000a20| 6e 61 6d 65 2c 20 6c 6f | 6e 67 20 62 75 66 6c 65 |name, lo|ng bufle|
|00000a30| 6e 29 3b 0d 73 74 72 75 | 63 74 20 73 65 72 76 65 |n);.stru|ct serve|
|00000a40| 6e 74 20 2a 20 67 65 74 | 73 65 72 76 62 79 6e 61 |nt * get|servbyna|
|00000a50| 6d 65 20 28 63 68 61 72 | 20 2a 20 6e 61 6d 65 2c |me (char| * name,|
|00000a60| 20 63 68 61 72 20 2a 20 | 70 72 6f 74 6f 29 3b 0d | char * |proto);.|
|00000a70| 73 74 72 75 63 74 20 70 | 72 6f 74 6f 65 6e 74 20 |struct p|rotoent |
|00000a80| 2a 20 67 65 74 70 72 6f | 74 6f 62 79 6e 61 6d 65 |* getpro|tobyname|
|00000a90| 28 63 68 61 72 20 2a 20 | 6e 61 6d 65 29 3b 0d 23 |(char * |name);.#|
|00000aa0| 65 6c 73 65 0d 73 74 72 | 75 63 74 20 68 6f 73 74 |else.str|uct host|
|00000ab0| 65 6e 74 09 2a 67 65 74 | 68 6f 73 74 62 79 6e 61 |ent.*get|hostbyna|
|00000ac0| 6d 65 28 29 2c 20 2a 67 | 65 74 68 6f 73 74 62 79 |me(), *g|ethostby|
|00000ad0| 61 64 64 72 28 29 2c 20 | 2a 67 65 74 68 6f 73 74 |addr(), |*gethost|
|00000ae0| 65 6e 74 28 29 3b 0d 73 | 74 72 75 63 74 20 6e 65 |ent();.s|truct ne|
|00000af0| 74 65 6e 74 09 2a 67 65 | 74 6e 65 74 62 79 6e 61 |tent.*ge|tnetbyna|
|00000b00| 6d 65 28 29 2c 20 2a 67 | 65 74 6e 65 74 62 79 61 |me(), *g|etnetbya|
|00000b10| 64 64 72 28 29 2c 20 2a | 67 65 74 6e 65 74 65 6e |ddr(), *|getneten|
|00000b20| 74 28 29 3b 0d 73 74 72 | 75 63 74 20 73 65 72 76 |t();.str|uct serv|
|00000b30| 65 6e 74 09 2a 67 65 74 | 73 65 72 76 62 79 6e 61 |ent.*get|servbyna|
|00000b40| 6d 65 28 29 2c 20 2a 67 | 65 74 73 65 72 76 62 79 |me(), *g|etservby|
|00000b50| 70 6f 72 74 28 29 2c 20 | 2a 67 65 74 73 65 72 76 |port(), |*getserv|
|00000b60| 65 6e 74 28 29 3b 0d 73 | 74 72 75 63 74 20 70 72 |ent();.s|truct pr|
|00000b70| 6f 74 6f 65 6e 74 09 2a | 67 65 74 70 72 6f 74 6f |otoent.*|getproto|
|00000b80| 62 79 6e 61 6d 65 28 29 | 2c 20 2a 67 65 74 70 72 |byname()|, *getpr|
|00000b90| 6f 74 6f 62 79 6e 75 6d | 62 65 72 28 29 2c 20 2a |otobynum|ber(), *|
|00000ba0| 67 65 74 70 72 6f 74 6f | 65 6e 74 28 29 3b 0d 23 |getproto|ent();.#|
|00000bb0| 65 6e 64 69 66 0d 0d 2f | 2a 0d 20 2a 20 45 72 72 |endif../|*. * Err|
|00000bc0| 6f 72 20 72 65 74 75 72 | 6e 20 63 6f 64 65 73 20 |or retur|n codes |
|00000bd0| 66 72 6f 6d 20 67 65 74 | 68 6f 73 74 62 79 6e 61 |from get|hostbyna|
|00000be0| 6d 65 28 29 20 61 6e 64 | 20 67 65 74 68 6f 73 74 |me() and| gethost|
|00000bf0| 62 79 61 64 64 72 28 29 | 0d 20 2a 20 28 6c 65 66 |byaddr()|. * (lef|
|00000c00| 74 20 69 6e 20 65 78 74 | 65 72 6e 20 69 6e 74 20 |t in ext|ern int |
|00000c10| 68 5f 65 72 72 6e 6f 29 | 2e 0d 20 2a 2f 0d 0d 23 |h_errno)|.. */..#|
|00000c20| 64 65 66 69 6e 65 09 48 | 4f 53 54 5f 4e 4f 54 5f |define.H|OST_NOT_|
|00000c30| 46 4f 55 4e 44 09 31 20 | 2f 2a 20 41 75 74 68 6f |FOUND.1 |/* Autho|
|00000c40| 72 69 74 61 74 69 76 65 | 20 41 6e 73 77 65 72 20 |ritative| Answer |
|00000c50| 48 6f 73 74 20 6e 6f 74 | 20 66 6f 75 6e 64 20 2a |Host not| found *|
|00000c60| 2f 0d 23 64 65 66 69 6e | 65 09 54 52 59 5f 41 47 |/.#defin|e.TRY_AG|
|00000c70| 41 49 4e 09 32 20 2f 2a | 20 4e 6f 6e 2d 41 75 74 |AIN.2 /*| Non-Aut|
|00000c80| 68 6f 72 69 74 69 76 65 | 20 48 6f 73 74 20 6e 6f |horitive| Host no|
|00000c90| 74 20 66 6f 75 6e 64 2c | 20 6f 72 20 53 45 52 56 |t found,| or SERV|
|00000ca0| 45 52 46 41 49 4c 20 2a | 2f 0d 23 64 65 66 69 6e |ERFAIL *|/.#defin|
|00000cb0| 65 09 4e 4f 5f 52 45 43 | 4f 56 45 52 59 09 33 20 |e.NO_REC|OVERY.3 |
|00000cc0| 2f 2a 20 4e 6f 6e 20 72 | 65 63 6f 76 65 72 61 62 |/* Non r|ecoverab|
|00000cd0| 6c 65 20 65 72 72 6f 72 | 73 2c 20 46 4f 52 4d 45 |le error|s, FORME|
|00000ce0| 52 52 2c 20 52 45 46 55 | 53 45 44 2c 20 4e 4f 54 |RR, REFU|SED, NOT|
|00000cf0| 49 4d 50 20 2a 2f 0d 23 | 64 65 66 69 6e 65 09 4e |IMP */.#|define.N|
|00000d00| 4f 5f 44 41 54 41 09 09 | 34 20 2f 2a 20 56 61 6c |O_DATA..|4 /* Val|
|00000d10| 69 64 20 6e 61 6d 65 2c | 20 6e 6f 20 64 61 74 61 |id name,| no data|
|00000d20| 20 72 65 63 6f 72 64 20 | 6f 66 20 72 65 71 75 65 | record |of reque|
|00000d30| 73 74 65 64 20 74 79 70 | 65 20 2a 2f 0d 23 64 65 |sted typ|e */.#de|
|00000d40| 66 69 6e 65 09 4e 4f 5f | 41 44 44 52 45 53 53 09 |fine.NO_|ADDRESS.|
|00000d50| 4e 4f 5f 44 41 54 41 09 | 09 2f 2a 20 6e 6f 20 61 |NO_DATA.|./* no a|
|00000d60| 64 64 72 65 73 73 2c 20 | 6c 6f 6f 6b 20 66 6f 72 |ddress, |look for|
|00000d70| 20 4d 58 20 72 65 63 6f | 72 64 20 2a 2f 0d 00 00 | MX reco|rd */...|
|00000d80| 00 00 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>|
|00000d90| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000da0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000db0| 07 6e 65 74 64 62 2e 68 | 02 00 00 00 54 45 58 54 |.netdb.h|....TEXT|
|00000dc0| 4d 50 53 20 00 00 ff ff | ff ff 00 00 00 00 77 17 |MPS ....|......w.|
|00000dd0| 00 00 54 45 58 54 4d 50 | 53 20 00 00 ff ff ff ff |..TEXTMP|S ......|
|00000de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000df0| 00 00 a4 87 7d 6c 00 00 | 0c fe 00 00 01 ac 09 09 |....}l..|........|
|00000e00| 3a 09 47 55 53 49 2e 68 | 09 09 09 2d 09 49 6e 63 |:.GUSI.h|...-.Inc|
|00000e10| 6c 75 64 65 20 74 68 69 | 73 20 61 6e 64 20 62 20 |lude thi|s and b |
|00000e20| 68 61 70 70 79 0d 41 75 | 74 68 6f 72 09 3a 09 4d |happy.Au|thor.:.M|
|00000e30| 61 74 74 68 69 61 73 20 | 4e 65 65 72 61 63 68 65 |atthias |Neerache|
|00000e40| 72 0d 53 74 61 72 74 65 | 64 09 3a 09 32 31 4d 61 |r.Starte|d.:.21Ma|
|00000e50| 72 39 32 09 09 09 09 09 | 09 09 09 4c 61 6e 67 75 |r92.....|...Langu|
|00000e60| 61 67 65 09 3a 09 4d 50 | 57 20 43 2f 43 2b 2b 0d |age.:.MP|W C/C++.|
|00000e70| 4d 6f 64 69 66 69 65 64 | 09 3a 09 32 31 4d 61 72 |Modified|.:.21Mar|
|00000e80| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ea0| 00 00 00 00 00 00 00 06 | 00 03 01 26 01 aa 01 ff |........|...&....|
|00000eb0| 03 e7 01 04 00 00 01 dd | 02 3d a7 2b f6 f1 00 00 |........|.=.+....|
|00000ec0| 0b 36 00 00 0b 36 00 00 | 07 8a 01 00 00 00 00 1e |.6...6..|........|
|00000ed0| 01 26 01 aa 01 ff 03 e7 | 01 04 00 00 01 dd 02 3d |.&......|.......=|
|00000ee0| 00 00 07 8a 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ef0| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 01 83 |.....n..|.n...>..|
|00000f00| 6d 2c 09 8e 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |m,......|.>..MPSR|
|00000f10| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........|
|00000f20| 03 f0 ff ff 00 00 00 4c | 01 89 a0 dc 00 00 00 00 |.......L|........|
|00000f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+