home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / develop™ Technical Journal / develop Issue 6 code / TCP.sea / TCP / NewsWatcher / NW Source / Shared Code / Reusable Source / smtp.h < prev    next >
MacBinary  |  1995-02-25  |  1.0 KB  |  [TEXT/MPCC]

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
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Sat Feb 25 13:49:06 1995, modified Sat Feb 25 13:49:06 1995, creator 'MPCC', type ASCII, 374 bytes "smtp.h" , at 0x1f6 410 bytes resource default (weak)
99% file data default
49% TrID Macintosh plain text (MacBinary) default
33% TrID TTComp archive compressed (bin-4K) default (weak)
16% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPCC]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 06 73 6d 74 70 2e 68 | 00 00 00 00 00 00 00 00 |..smtp.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 43 | 43 01 00 00 00 00 00 00 |.TEXTMPC|C.......|
|00000050| 00 00 00 00 00 01 76 00 | 00 01 9a ab 75 2c 22 ab |......v.|....u,".|
|00000060| 75 2c 22 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |u,".....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 be 93 00 00 |........|........|
|00000080| 23 69 66 6e 64 65 66 20 | 5f 5f 53 4d 54 50 5f 5f |#ifndef |__SMTP__|
|00000090| 0d 23 64 65 66 69 6e 65 | 20 5f 5f 53 4d 54 50 5f |.#define| __SMTP_|
|000000a0| 5f 0d 0d 23 69 6e 63 6c | 75 64 65 20 22 6e 65 74 |_..#incl|ude "net|
|000000b0| 2e 68 22 0d 0d 74 79 70 | 65 64 65 66 20 76 6f 69 |.h"..typ|edef voi|
|000000c0| 64 20 2a 53 6d 74 70 53 | 74 72 65 61 6d 52 65 66 |d *SmtpS|treamRef|
|000000d0| 3b 0d 0d 23 64 65 66 69 | 6e 65 20 73 6d 74 70 53 |;..#defi|ne smtpS|
|000000e0| 65 72 76 65 72 45 72 72 | 20 31 32 30 0d 0d 4f 53 |erverErr| 120..OS|
|000000f0| 45 72 72 20 53 6d 74 70 | 4f 70 65 6e 20 28 63 68 |Err Smtp|Open (ch|
|00000100| 61 72 20 2a 68 6f 73 74 | 2c 20 53 6d 74 70 53 74 |ar *host|, SmtpSt|
|00000110| 72 65 61 6d 52 65 66 20 | 2a 73 74 72 65 61 6d 29 |reamRef |*stream)|
|00000120| 3b 0d 4f 53 45 72 72 20 | 53 6d 74 70 43 6c 6f 73 |;.OSErr |SmtpClos|
|00000130| 65 20 28 53 6d 74 70 53 | 74 72 65 61 6d 52 65 66 |e (SmtpS|treamRef|
|00000140| 20 73 74 72 65 61 6d 29 | 3b 0d 4f 53 45 72 72 20 | stream)|;.OSErr |
|00000150| 53 6d 74 70 53 65 6e 64 | 4d 65 73 73 61 67 65 20 |SmtpSend|Message |
|00000160| 28 53 6d 74 70 53 74 72 | 65 61 6d 52 65 66 20 73 |(SmtpStr|eamRef s|
|00000170| 74 72 65 61 6d 2c 20 63 | 68 61 72 20 2a 66 72 6f |tream, c|har *fro|
|00000180| 6d 2c 20 63 68 61 72 20 | 2a 74 6f 2c 20 48 61 6e |m, char |*to, Han|
|00000190| 64 6c 65 20 74 65 78 74 | 29 3b 0d 0d 76 6f 69 64 |dle text|);..void|
|000001a0| 20 53 6d 74 70 47 65 74 | 53 65 72 76 65 72 45 72 | SmtpGet|ServerEr|
|000001b0| 72 49 6e 66 6f 20 28 53 | 6d 74 70 53 74 72 65 61 |rInfo (S|mtpStrea|
|000001c0| 6d 52 65 66 20 73 74 72 | 65 61 6d 2c 20 4e 65 74 |mRef str|eam, Net|
|000001d0| 53 65 72 76 65 72 45 72 | 72 49 6e 66 6f 20 2a 73 |ServerEr|rInfo *s|
|000001e0| 65 72 76 65 72 45 72 72 | 49 6e 66 6f 29 3b 0d 0d |erverErr|Info);..|
|000001f0| 23 65 6e 64 69 66 00 00 | 00 00 00 00 00 00 00 00 |#endif..|........|
|00000200| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00000210| cc df 00 00 00 00 f0 cc | cc ff fb dd dc cd fc cc |........|........|
|00000220| cc df 00 00 00 00 f0 cc | cc ff ff ff fc df cc cc |........|........|
|00000230| 06 73 6d 74 70 2e 68 b4 | 02 00 00 00 54 45 58 54 |.smtp.h.|....TEXT|
|00000240| 4d 50 43 43 01 00 00 d0 | 00 80 00 00 00 00 12 76 |MPCC....|.......v|
|00000250| 00 00 54 45 58 54 4d 50 | 43 43 01 00 00 d0 00 80 |..TEXTMP|CC......|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 aa 4f 8b 50 00 00 | 01 76 00 00 01 9a dd dd |...O.P..|.v......|
|00000280| dd df 00 00 00 00 0f ff | ff ff ff ff ff ff ff ff |........|........|
|00000290| ff f0 00 00 00 00 00 00 | 02 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 03 | 00 04 00 80 00 1d 01 88 |........|........|
|00000330| 02 72 00 80 00 1d 01 88 | 02 72 ab 74 e6 51 00 00 |.r......|.r.t.Q..|
|00000340| 01 44 00 00 01 44 00 00 | 00 00 01 00 00 00 00 04 |.D...D..|........|
|00000350| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|00000360| 00 00 00 46 01 be ea e8 | 10 e6 00 00 00 1c 00 46 |...F....|.......F|
|00000370| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00000380| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00000390| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+