home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1991-04-03 | 2.5 KB | [TEXT/MPS ] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: newsprocess.h
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Wed Apr 3 18:29:56 1991, modified Wed Apr 3 18:29:56 1991, creator 'MPS ', type ASCII, 1978 bytes "newsprocess.h" , at 0x83a 382 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 |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [MPS ] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0d 6e 65 77 73 70 72 | 6f 63 65 73 73 2e 68 00 |..newspr|ocess.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 07 ba 00 | 00 01 7e a4 20 15 f4 a4 |........|..~. ...|
|00000060| 20 15 f4 00 00 00 00 00 | 00 00 00 00 00 00 00 00 | .......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 6c f2 00 00 |........|....l...|
|00000080| 23 69 66 6e 64 65 66 20 | 5f 4e 45 57 53 50 52 4f |#ifndef |_NEWSPRO|
|00000090| 43 45 53 53 5f 0d 23 64 | 65 66 69 6e 65 20 5f 4e |CESS_.#d|efine _N|
|000000a0| 45 57 53 50 52 4f 43 45 | 53 53 5f 0d 0d 54 47 72 |EWSPROCE|SS_..TGr|
|000000b0| 6f 75 70 20 2a 53 75 62 | 73 63 72 69 62 65 28 54 |oup *Sub|scribe(T|
|000000c0| 47 72 6f 75 70 20 2a 74 | 68 65 47 72 6f 75 70 2c |Group *t|heGroup,|
|000000d0| 57 69 6e 64 6f 77 50 74 | 72 20 74 68 65 57 69 6e |WindowPt|r theWin|
|000000e0| 64 6f 77 2c 43 65 6c 6c | 20 2a 72 65 74 43 65 6c |dow,Cell| *retCel|
|000000f0| 6c 29 3b 0d 76 6f 69 64 | 20 49 6e 69 74 53 75 62 |l);.void| InitSub|
|00000100| 6a 65 63 74 4c 69 73 74 | 28 54 77 69 6e 64 6f 77 |jectList|(Twindow|
|00000110| 49 6e 66 6f 20 2a 74 68 | 65 49 6e 66 6f 29 3b 0d |Info *th|eInfo);.|
|00000120| 76 6f 69 64 20 41 64 64 | 54 6f 53 75 62 6a 65 63 |void Add|ToSubjec|
|00000130| 74 4c 69 73 74 28 54 77 | 69 6e 64 6f 77 49 6e 66 |tList(Tw|indowInf|
|00000140| 6f 20 2a 74 68 65 49 6e | 66 6f 2c 63 68 61 72 20 |o *theIn|fo,char |
|00000150| 2a 6e 65 77 73 47 72 6f | 75 70 2c 6c 6f 6e 67 20 |*newsGro|up,long |
|00000160| 66 69 72 73 74 2c 6c 6f | 6e 67 20 6c 61 73 74 29 |first,lo|ng last)|
|00000170| 3b 0d 63 68 61 72 20 2a | 54 69 74 6c 65 46 69 6c |;.char *|TitleFil|
|00000180| 74 65 72 28 63 68 61 72 | 20 2a 74 69 74 6c 65 29 |ter(char| *title)|
|00000190| 3b 0d 42 6f 6f 6c 65 61 | 6e 20 44 6f 53 61 76 65 |;.Boolea|n DoSave|
|000001a0| 57 69 6e 64 6f 77 28 57 | 69 6e 64 6f 77 50 74 72 |Window(W|indowPtr|
|000001b0| 20 77 69 6e 64 29 3b 0d | 42 6f 6f 6c 65 61 6e 20 | wind);.|Boolean |
|000001c0| 44 6f 53 61 76 65 4d 65 | 73 73 61 67 65 28 54 77 |DoSaveMe|ssage(Tw|
|000001d0| 69 6e 64 6f 77 49 6e 66 | 6f 20 2a 69 6e 66 6f 29 |indowInf|o *info)|
|000001e0| 3b 0d 76 6f 69 64 20 44 | 6f 4f 70 65 6e 46 69 6c |;.void D|oOpenFil|
|000001f0| 65 28 76 6f 69 64 29 3b | 0d 4f 53 45 72 72 20 4c |e(void);|.OSErr L|
|00000200| 6f 4f 70 65 6e 46 69 6c | 65 28 53 74 72 32 35 35 |oOpenFil|e(Str255|
|00000210| 20 66 4e 61 6d 65 2c 73 | 68 6f 72 74 20 76 52 65 | fName,s|hort vRe|
|00000220| 66 4e 75 6d 29 3b 0d 42 | 6f 6f 6c 65 61 6e 20 44 |fNum);.B|oolean D|
|00000230| 6f 53 61 76 65 46 69 6c | 65 28 57 69 6e 64 6f 77 |oSaveFil|e(Window|
|00000240| 50 74 72 20 77 69 6e 64 | 29 3b 0d 42 6f 6f 6c 65 |Ptr wind|);.Boole|
|00000250| 61 6e 20 44 6f 53 61 76 | 65 41 73 46 69 6c 65 28 |an DoSav|eAsFile(|
|00000260| 57 69 6e 64 6f 77 50 74 | 72 20 77 69 6e 64 29 3b |WindowPt|r wind);|
|00000270| 0d 42 6f 6f 6c 65 61 6e | 20 4c 6f 53 61 76 65 46 |.Boolean| LoSaveF|
|00000280| 69 6c 65 28 54 57 4c 69 | 73 74 20 2a 63 68 69 6c |ile(TWLi|st *chil|
|00000290| 64 72 65 6e 2c 54 47 72 | 6f 75 70 20 2a 67 72 6f |dren,TGr|oup *gro|
|000002a0| 75 70 73 2c 53 74 72 32 | 35 35 20 66 4e 61 6d 65 |ups,Str2|55 fName|
|000002b0| 2c 73 68 6f 72 74 20 76 | 52 65 66 4e 75 6d 29 3b |,short v|RefNum);|
|000002c0| 0d 76 6f 69 64 20 47 65 | 74 4e 75 6d 62 65 72 28 |.void Ge|tNumber(|
|000002d0| 63 68 61 72 20 2a 2a 6e | 65 77 73 72 63 2c 6c 6f |char **n|ewsrc,lo|
|000002e0| 6e 67 20 2a 6e 75 6d 62 | 65 72 29 3b 0d 76 6f 69 |ng *numb|er);.voi|
|000002f0| 64 20 47 65 74 42 6c 61 | 6e 6b 28 63 68 61 72 20 |d GetBla|nk(char |
|00000300| 2a 2a 6e 65 77 73 72 63 | 29 3b 0d 76 6f 69 64 20 |**newsrc|);.void |
|00000310| 50 72 6f 63 65 73 73 4c | 69 6e 65 28 63 68 61 72 |ProcessL|ine(char|
|00000320| 20 2a 2a 6e 65 77 73 72 | 63 2c 57 69 6e 64 6f 77 | **newsr|c,Window|
|00000330| 50 74 72 20 77 69 6e 64 | 6f 77 29 3b 0d 76 6f 69 |Ptr wind|ow);.voi|
|00000340| 64 20 4d 61 72 6b 52 65 | 61 64 4d 73 67 73 28 54 |d MarkRe|adMsgs(T|
|00000350| 77 69 6e 64 6f 77 49 6e | 66 6f 20 2a 74 68 65 49 |windowIn|fo *theI|
|00000360| 6e 66 6f 29 3b 0d 76 6f | 69 64 20 4d 61 72 6b 52 |nfo);.vo|id MarkR|
|00000370| 65 61 64 28 6c 6f 6e 67 | 20 66 69 72 73 74 2c 6c |ead(long| first,l|
|00000380| 6f 6e 67 20 6c 61 73 74 | 2c 54 47 72 6f 75 70 20 |ong last|,TGroup |
|00000390| 2a 74 68 65 47 72 6f 75 | 70 29 3b 0d 42 6f 6f 6c |*theGrou|p);.Bool|
|000003a0| 65 61 6e 20 43 68 65 63 | 6b 46 6f 72 53 61 76 65 |ean Chec|kForSave|
|000003b0| 28 57 69 6e 64 6f 77 50 | 74 72 20 77 69 6e 64 29 |(WindowP|tr wind)|
|000003c0| 3b 0d 42 6f 6f 6c 65 61 | 6e 20 43 68 65 63 6b 46 |;.Boolea|n CheckF|
|000003d0| 6f 72 53 65 6e 64 28 57 | 69 6e 64 6f 77 50 74 72 |orSend(W|indowPtr|
|000003e0| 20 77 69 6e 64 29 3b 0d | 76 6f 69 64 20 44 6f 4d | wind);.|void DoM|
|000003f0| 61 72 6b 41 72 74 69 63 | 6c 65 52 65 61 64 28 42 |arkArtic|leRead(B|
|00000400| 6f 6f 6c 65 61 6e 20 72 | 65 61 64 29 3b 0d 76 6f |oolean r|ead);.vo|
|00000410| 69 64 20 44 6f 4d 61 72 | 6b 47 72 6f 75 70 52 65 |id DoMar|kGroupRe|
|00000420| 61 64 28 42 6f 6f 6c 65 | 61 6e 20 72 65 61 64 29 |ad(Boole|an read)|
|00000430| 3b 0d 76 6f 69 64 20 4c | 6f 4d 61 72 6b 41 72 74 |;.void L|oMarkArt|
|00000440| 69 63 6c 65 52 65 61 64 | 28 54 77 69 6e 64 6f 77 |icleRead|(Twindow|
|00000450| 49 6e 66 6f 20 2a 69 6e | 66 6f 2c 43 65 6c 6c 20 |Info *in|fo,Cell |
|00000460| 74 68 65 43 65 6c 6c 2c | 42 6f 6f 6c 65 61 6e 20 |theCell,|Boolean |
|00000470| 72 65 61 64 29 3b 0d 76 | 6f 69 64 20 4c 6f 4d 61 |read);.v|oid LoMa|
|00000480| 72 6b 47 72 6f 75 70 52 | 65 61 64 28 63 68 61 72 |rkGroupR|ead(char|
|00000490| 20 67 72 6f 75 70 4e 61 | 6d 65 5b 32 35 36 5d 2c | groupNa|me[256],|
|000004a0| 54 47 72 6f 75 70 20 2a | 66 69 72 73 74 47 72 6f |TGroup *|firstGro|
|000004b0| 75 70 2c 42 6f 6f 6c 65 | 61 6e 20 72 65 61 64 29 |up,Boole|an read)|
|000004c0| 3b 0d 76 6f 69 64 20 53 | 75 62 73 63 72 69 62 65 |;.void S|ubscribe|
|000004d0| 53 65 6c 65 63 74 65 64 | 28 54 77 69 6e 64 6f 77 |Selected|(Twindow|
|000004e0| 49 6e 66 6f 20 2a 69 6e | 66 6f 2c 4c 69 73 74 48 |Info *in|fo,ListH|
|000004f0| 61 6e 64 6c 65 20 73 72 | 63 4c 69 73 74 2c 57 69 |andle sr|cList,Wi|
|00000500| 6e 64 6f 77 50 74 72 20 | 64 65 73 74 57 69 6e 64 |ndowPtr |destWind|
|00000510| 6f 77 29 3b 0d 76 6f 69 | 64 20 48 61 6e 64 6c 65 |ow);.voi|d Handle|
|00000520| 53 75 62 73 63 72 69 62 | 65 28 76 6f 69 64 29 3b |Subscrib|e(void);|
|00000530| 0d 76 6f 69 64 20 48 61 | 6e 64 6c 65 55 6e 73 75 |.void Ha|ndleUnsu|
|00000540| 62 73 63 72 69 62 65 28 | 76 6f 69 64 29 3b 0d 76 |bscribe(|void);.v|
|00000550| 6f 69 64 20 43 68 65 63 | 6b 47 72 6f 75 70 73 28 |oid Chec|kGroups(|
|00000560| 76 6f 69 64 29 3b 0d 63 | 68 61 72 20 2a 47 65 74 |void);.c|har *Get|
|00000570| 4e 65 78 74 47 72 6f 75 | 70 28 63 68 61 72 20 2a |NextGrou|p(char *|
|00000580| 2a 63 75 72 72 65 6e 74 | 29 3b 0d 76 6f 69 64 20 |*current|);.void |
|00000590| 41 64 64 4e 65 77 47 72 | 6f 75 70 28 54 47 72 6f |AddNewGr|oup(TGro|
|000005a0| 75 70 20 2a 67 72 6f 75 | 70 2c 48 61 6e 64 6c 65 |up *grou|p,Handle|
|000005b0| 20 2a 67 72 6f 75 70 48 | 61 6e 64 6c 65 2c 6c 6f | *groupH|andle,lo|
|000005c0| 6e 67 20 2a 6e 75 6d 47 | 72 6f 75 70 73 29 3b 0d |ng *numG|roups);.|
|000005d0| 76 6f 69 64 20 4d 61 6b | 65 4e 65 77 47 72 6f 75 |void Mak|eNewGrou|
|000005e0| 70 57 69 6e 64 6f 77 28 | 48 61 6e 64 6c 65 20 67 |pWindow(|Handle g|
|000005f0| 72 6f 75 70 48 61 6e 64 | 6c 65 2c 6c 6f 6e 67 20 |roupHand|le,long |
|00000600| 6e 75 6d 47 72 6f 75 70 | 73 2c 63 68 61 72 20 2a |numGroup|s,char *|
|00000610| 77 69 6e 64 6f 77 4e 61 | 6d 65 29 3b 0d 76 6f 69 |windowNa|me);.voi|
|00000620| 64 20 57 72 69 74 65 47 | 72 6f 75 70 73 28 76 6f |d WriteG|roups(vo|
|00000630| 69 64 29 3b 0d 76 6f 69 | 64 20 4d 61 6b 65 46 6f |id);.voi|d MakeFo|
|00000640| 6c 6c 6f 77 55 70 28 76 | 6f 69 64 29 3b 0d 76 6f |llowUp(v|oid);.vo|
|00000650| 69 64 20 4d 61 6b 65 52 | 65 73 70 6f 6e 64 28 76 |id MakeR|espond(v|
|00000660| 6f 69 64 29 3b 0d 76 6f | 69 64 20 4d 61 6b 65 50 |oid);.vo|id MakeP|
|00000670| 6f 73 74 28 76 6f 69 64 | 29 3b 0d 76 6f 69 64 20 |ost(void|);.void |
|00000680| 49 6e 63 6c 75 64 65 51 | 75 6f 74 65 28 57 69 6e |IncludeQ|uote(Win|
|00000690| 64 6f 77 50 74 72 20 70 | 61 72 65 6e 74 57 69 6e |dowPtr p|arentWin|
|000006a0| 64 6f 77 2c 57 69 6e 64 | 6f 77 50 74 72 20 6e 65 |dow,Wind|owPtr ne|
|000006b0| 77 57 69 6e 64 6f 77 2c | 63 68 61 72 20 2a 72 65 |wWindow,|char *re|
|000006c0| 66 53 74 72 29 3b 0d 70 | 61 73 63 61 6c 20 73 68 |fStr);.p|ascal sh|
|000006d0| 6f 72 74 20 53 75 62 6a | 65 63 74 43 6f 6d 70 61 |ort Subj|ectCompa|
|000006e0| 72 65 28 50 74 72 20 61 | 50 74 72 2c 50 74 72 20 |re(Ptr a|Ptr,Ptr |
|000006f0| 62 50 74 72 2c 73 68 6f | 72 74 20 61 4c 65 6e 2c |bPtr,sho|rt aLen,|
|00000700| 73 68 6f 72 74 20 62 4c | 65 6e 29 3b 0d 70 61 73 |short bL|en);.pas|
|00000710| 63 61 6c 20 73 68 6f 72 | 74 20 43 6f 6d 70 61 72 |cal shor|t Compar|
|00000720| 65 53 74 61 72 74 28 50 | 74 72 20 61 50 74 72 2c |eStart(P|tr aPtr,|
|00000730| 50 74 72 20 62 50 74 72 | 2c 73 68 6f 72 74 20 61 |Ptr bPtr|,short a|
|00000740| 4c 65 6e 2c 73 68 6f 72 | 74 20 62 4c 65 6e 29 3b |Len,shor|t bLen);|
|00000750| 0d 76 6f 69 64 20 41 64 | 64 48 65 61 64 65 72 28 |.void Ad|dHeader(|
|00000760| 63 68 61 72 20 2a 68 4e | 61 6d 65 2c 63 68 61 72 |char *hN|ame,char|
|00000770| 20 2a 68 43 6f 6e 74 65 | 6e 74 73 2c 57 69 6e 64 | *hConte|nts,Wind|
|00000780| 6f 77 50 74 72 20 6e 65 | 77 57 69 6e 64 6f 77 29 |owPtr ne|wWindow)|
|00000790| 3b 0d 42 6f 6f 6c 65 61 | 6e 20 43 68 65 63 6b 48 |;.Boolea|n CheckH|
|000007a0| 65 61 64 65 72 28 54 77 | 69 6e 64 6f 77 49 6e 66 |eader(Tw|indowInf|
|000007b0| 6f 20 2a 69 6e 66 6f 29 | 3b 0d 76 6f 69 64 20 4d |o *info)|;.void M|
|000007c0| 61 72 6b 58 72 65 66 73 | 52 65 61 64 28 54 45 48 |arkXrefs|Read(TEH|
|000007d0| 61 6e 64 6c 65 20 6d 65 | 73 73 61 67 65 2c 54 47 |andle me|ssage,TG|
|000007e0| 72 6f 75 70 20 2a 67 72 | 6f 75 70 4c 69 73 74 29 |roup *gr|oupList)|
|000007f0| 3b 0d 76 6f 69 64 20 4d | 61 72 6b 4f 6e 65 52 65 |;.void M|arkOneRe|
|00000800| 61 64 28 63 68 61 72 20 | 2a 67 72 6f 75 70 4e 61 |ad(char |*groupNa|
|00000810| 6d 65 2c 6c 6f 6e 67 20 | 6e 75 6d 62 65 72 2c 54 |me,long |number,T|
|00000820| 47 72 6f 75 70 20 2a 67 | 72 6f 75 70 4c 69 73 74 |Group *g|roupList|
|00000830| 29 3b 0d 0d 23 65 6e 64 | 69 66 00 00 00 00 00 00 |);..#end|if......|
|00000840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000880| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00000890| 43 45 53 53 5f 0d 23 64 | 65 66 69 6e 65 20 5f 4e |CESS_.#d|efine _N|
|000008a0| 45 57 53 50 52 4f 43 45 | 53 53 5f 0d 0d 76 6f 69 |EWSPROCE|SS_..voi|
|000008b0| 0d 6e 65 77 73 70 72 6f | 63 65 73 73 2e 68 02 00 |.newspro|cess.h..|
|000008c0| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|000008d0| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 a9 8d 49 72 00 00 | 00 00 00 00 01 7e 65 49 |....Ir..|.....~eI|
|00000900| 6e 66 6f 2c 63 68 61 72 | 20 2a 6e 65 77 73 47 72 |nfo,char| *newsGr|
|00000910| 6f 75 70 2c 6c 6f 6e 67 | 20 66 69 72 73 74 2c 6c |oup,long| first,l|
|00000920| 6f 6e 67 20 6c 61 73 74 | 29 3b 0d 76 6f 69 64 20 |ong last|);.void |
|00000930| 44 6f 41 64 64 53 75 62 | 6a 65 63 74 73 28 54 77 |DoAddSub|jects(Tw|
|00000940| 69 6e 64 6f 77 49 6e 66 | 6f 20 2a 74 68 65 49 6e |indowInf|o *theIn|
|00000950| 66 6f 2c 63 68 61 72 20 | 2a 6e 61 6d 65 2c 54 52 |fo,char |*name,TR|
|00000960| 65 61 64 52 65 63 20 2a | 72 65 61 64 29 3b 0d 76 |eadRec *|read);.v|
|00000970| 6f 69 64 20 44 6f 4f 70 | 65 6e 46 69 6c 65 28 29 |oid DoOp|enFile()|
|00000980| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 ff 00 81 |...H..Mo|naco....|
|00000990| 00 00 00 14 00 01 a7 40 | 00 0a 00 00 00 00 00 00 |.......@|........|
|000009a0| 00 00 00 88 00 00 00 06 | 00 04 00 34 00 33 01 c1 |........|...4.3..|
|000009b0| 02 50 00 51 00 57 01 de | 02 74 a3 ed c4 f0 00 00 |.P.Q.W..|.t......|
|000009c0| 05 f5 00 00 05 f5 00 00 | 03 f3 01 00 00 00 01 00 |........|........|
|000009d0| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 3f 1d b0 |...L...L|...2.?..|
|000009e0| 04 0c 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.......2|..MPSR..|
|000009f0| 00 0a 03 ed ff ff 00 00 | 00 00 00 40 f8 bc 00 00 |........|...@....|
+--------+-------------------------+-------------------------+--------+--------+