/ Internet File Formats
/ InternetFileFormatsCD.bin / text / latex / mac / alpha.6.0.sit / xtcls / XTCL.h ![]() | < prev |
MacBinary | 1994-06-18 | 2.0 KB | [TEXT/ALFA] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
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, Sat Jun 18 01:26:11 1994, modified Sat Jun 18 01:26:11 1994, creator Alpha editor, type ASCII, 1482 bytes "XTCL.h" , at 0x64a 382 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 | |
---|---|
key | value |
macFileType | [TEXT] |
macFileCreator | [ALFA] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 06 58 54 43 4c 2e 68 | 00 00 00 00 00 00 00 00 |..XTCL.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 41 4c 46 | 41 00 00 00 00 00 00 00 |.TEXTALF|A.......|
|00000050| 00 00 00 00 00 05 ca 00 | 00 01 7e aa 28 35 f3 aa |........|..~.(5..|
|00000060| 28 35 f3 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |(5......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 53 48 00 00 |........|....SH..|
|00000080| 0d 23 69 66 6e 64 65 66 | 20 5f 5f 44 49 41 4c 4f |.#ifndef| __DIALO|
|00000090| 47 53 5f 5f 0d 23 69 6e | 63 6c 75 64 65 20 3c 44 |GS__.#in|clude <D|
|000000a0| 69 61 6c 6f 67 73 2e 68 | 3e 0d 23 65 6e 64 69 66 |ialogs.h|>.#endif|
|000000b0| 0d 0d 0d 23 64 65 66 69 | 6e 65 20 54 43 4c 5f 4f |...#defi|ne TCL_O|
|000000c0| 4b 09 09 30 0d 23 64 65 | 66 69 6e 65 20 54 43 4c |K..0.#de|fine TCL|
|000000d0| 5f 45 52 52 4f 52 09 31 | 0d 0d 23 64 65 66 69 6e |_ERROR.1|..#defin|
|000000e0| 65 20 58 54 43 4c 5f 46 | 41 49 4c 55 52 45 09 09 |e XTCL_F|AILURE..|
|000000f0| 09 30 0d 23 64 65 66 69 | 6e 65 20 58 54 43 4c 5f |.0.#defi|ne XTCL_|
|00000100| 53 55 43 43 45 53 53 09 | 09 09 31 0d 23 64 65 66 |SUCCESS.|..1.#def|
|00000110| 69 6e 65 20 58 54 43 4c | 5f 52 45 51 5f 55 4e 4b |ine XTCL|_REQ_UNK|
|00000120| 4e 4f 57 4e 09 09 2d 31 | 0d 0d 23 64 65 66 69 6e |NOWN..-1|..#defin|
|00000130| 65 20 75 63 4e 6f 45 72 | 72 09 09 09 09 30 0d 23 |e ucNoEr|r....0.#|
|00000140| 64 65 66 69 6e 65 20 75 | 63 43 61 6e 63 65 6c 45 |define u|cCancelE|
|00000150| 72 72 09 09 09 2d 31 0d | 23 64 65 66 69 6e 65 20 |rr...-1.|#define |
|00000160| 75 63 4e 6f 41 64 64 72 | 45 72 72 09 09 09 31 30 |ucNoAddr|Err...10|
|00000170| 30 31 0d 0d 23 64 65 66 | 69 6e 65 20 58 54 43 4c |01..#def|ine XTCL|
|00000180| 5f 43 42 5f 56 45 52 53 | 49 4f 4e 09 09 30 78 30 |_CB_VERS|ION..0x0|
|00000190| 30 30 31 30 30 30 31 0d | 0d 2f 2a 20 54 63 6c 20 |0010001.|./* Tcl |
|000001a0| 69 6e 74 65 72 70 72 65 | 74 65 72 20 73 74 72 75 |interpre|ter stru|
|000001b0| 63 74 75 72 65 20 2a 2f | 0d 74 79 70 65 64 65 66 |cture */|.typedef|
|000001c0| 20 73 74 72 75 63 74 20 | 54 63 6c 5f 49 6e 74 65 | struct |Tcl_Inte|
|000001d0| 72 70 7b 0d 20 20 20 20 | 63 68 61 72 20 2a 72 65 |rp{. |char *re|
|000001e0| 73 75 6c 74 3b 09 09 2f | 2a 20 50 6f 69 6e 74 73 |sult;../|* Points|
|000001f0| 20 74 6f 20 72 65 73 75 | 6c 74 20 73 74 72 69 6e | to resu|lt strin|
|00000200| 67 20 72 65 74 75 72 6e | 65 64 20 62 79 20 6c 61 |g return|ed by la|
|00000210| 73 74 0d 09 09 09 09 20 | 2a 20 63 6f 6d 6d 61 6e |st..... |* comman|
|00000220| 64 2c 20 54 43 4c 5f 4f | 4b 20 6f 72 20 54 43 4c |d, TCL_O|K or TCL|
|00000230| 5f 45 52 52 4f 52 2e 20 | 2a 2f 0d 20 20 20 20 76 |_ERROR. |*/. v|
|00000240| 6f 69 64 20 28 2a 66 72 | 65 65 50 72 6f 63 29 20 |oid (*fr|eeProc) |
|00000250| 28 63 68 61 72 20 2a 62 | 6c 6f 63 6b 50 74 72 29 |(char *b|lockPtr)|
|00000260| 3b 0d 09 09 09 09 2f 2a | 20 5a 65 72 6f 20 6d 65 |;...../*| Zero me|
|00000270| 61 6e 73 20 72 65 73 75 | 6c 74 20 69 73 20 73 74 |ans resu|lt is st|
|00000280| 61 74 69 63 61 6c 6c 79 | 20 61 6c 6c 6f 63 61 74 |atically| allocat|
|00000290| 65 64 2e 0d 09 09 09 09 | 20 2a 20 49 66 20 6e 6f |ed......| * If no|
|000002a0| 6e 2d 7a 65 72 6f 2c 20 | 67 69 76 65 73 20 61 64 |n-zero, |gives ad|
|000002b0| 64 72 65 73 73 20 6f 66 | 20 70 72 6f 63 65 64 75 |dress of| procedu|
|000002c0| 72 65 0d 09 09 09 09 20 | 2a 20 74 6f 20 69 6e 76 |re..... |* to inv|
|000002d0| 6f 6b 65 20 74 6f 20 66 | 72 65 65 20 74 68 65 20 |oke to f|ree the |
|000002e0| 72 65 73 75 6c 74 2e 20 | 20 4d 75 73 74 20 62 65 |result. | Must be|
|000002f0| 0d 09 09 09 09 20 2a 20 | 66 72 65 65 64 20 62 79 |..... * |freed by|
|00000300| 20 54 63 6c 5f 45 76 61 | 6c 20 62 65 66 6f 72 65 | Tcl_Eva|l before|
|00000310| 20 65 78 65 63 75 74 69 | 6e 67 20 6e 65 78 74 0d | executi|ng next.|
|00000320| 09 09 09 09 20 2a 20 63 | 6f 6d 6d 61 6e 64 2e 20 |.... * c|ommand. |
|00000330| 2a 2f 0d 20 20 20 20 69 | 6e 74 20 65 72 72 6f 72 |*/. i|nt error|
|00000340| 4c 69 6e 65 3b 09 09 2f | 2a 20 57 68 65 6e 20 54 |Line;../|* When T|
|00000350| 43 4c 5f 45 52 52 4f 52 | 20 69 73 20 72 65 74 75 |CL_ERROR| is retu|
|00000360| 72 6e 65 64 2c 20 74 68 | 69 73 20 67 69 76 65 73 |rned, th|is gives|
|00000370| 0d 09 09 09 09 20 2a 20 | 74 68 65 20 6c 69 6e 65 |..... * |the line|
|00000380| 20 6e 75 6d 62 65 72 20 | 77 69 74 68 69 6e 20 74 | number |within t|
|00000390| 68 65 20 63 6f 6d 6d 61 | 6e 64 20 77 68 65 72 65 |he comma|nd where|
|000003a0| 0d 09 09 09 09 20 2a 20 | 74 68 65 20 65 72 72 6f |..... * |the erro|
|000003b0| 72 20 6f 63 63 75 72 72 | 65 64 20 28 31 20 6d 65 |r occurr|ed (1 me|
|000003c0| 61 6e 73 20 66 69 72 73 | 74 20 6c 69 6e 65 29 2e |ans firs|t line).|
|000003d0| 20 2a 2f 0d 7d 20 54 63 | 6c 5f 49 6e 74 65 72 70 | */.} Tc|l_Interp|
|000003e0| 3b 0d 0d 0d 2f 2a 0d 2a | 2a 20 54 68 69 73 20 69 |;.../*.*|* This i|
|000003f0| 73 20 74 68 65 20 69 6e | 74 65 72 66 61 63 65 20 |s the in|terface |
|00000400| 66 6f 72 20 74 65 78 74 | 20 73 65 6c 65 63 74 69 |for text| selecti|
|00000410| 6f 6e 20 72 65 73 6f 75 | 72 63 65 20 63 6f 6d 6d |on resou|rce comm|
|00000420| 61 6e 64 73 2e 0d 2a 2f | 0d 74 79 70 65 64 65 66 |ands..*/|.typedef|
|00000430| 20 73 74 72 75 63 74 20 | 7b 0d 09 6c 6f 6e 67 09 | struct |{..long.|
|00000440| 09 76 65 72 73 69 6f 6e | 3b 09 09 09 2f 2a 20 56 |.version|;.../* V|
|00000450| 65 72 73 69 6f 6e 20 6f | 66 20 74 68 65 20 43 6d |ersion o|f the Cm|
|00000460| 64 20 69 6e 74 65 72 66 | 61 63 65 2e 20 2a 2f 0d |d interf|ace. */.|
|00000470| 09 6c 6f 6e 67 09 09 72 | 65 73 75 6c 74 3b 09 09 |.long..r|esult;..|
|00000480| 09 09 2f 2a 20 43 4d 44 | 27 73 20 6f 70 65 72 61 |../* CMD|'s opera|
|00000490| 74 69 6f 6e 20 72 65 73 | 75 6c 74 20 63 6f 64 65 |tion res|ult code|
|000004a0| 2e 20 2a 2f 0d 09 48 61 | 6e 64 6c 65 09 09 72 65 |. */..Ha|ndle..re|
|000004b0| 73 75 6c 74 48 3b 09 09 | 09 2f 2a 20 43 4d 44 27 |sultH;..|./* CMD'|
|000004c0| 73 20 72 65 73 75 6c 74 | 20 68 61 6e 64 6c 65 2e |s result| handle.|
|000004d0| 20 2a 2f 0d 09 73 68 6f | 72 74 09 09 63 6d 64 52 | */..sho|rt..cmdR|
|000004e0| 65 66 4e 75 6d 3b 09 09 | 09 2f 2a 20 43 6d 64 20 |efNum;..|./* Cmd |
|000004f0| 66 69 6c 65 20 72 65 66 | 65 72 65 6e 63 65 20 6e |file ref|erence n|
|00000500| 75 6d 62 65 72 2e 20 2a | 2f 0d 09 48 61 6e 64 6c |umber. *|/..Handl|
|00000510| 65 09 09 63 6d 64 48 61 | 6e 64 6c 65 3b 09 09 09 |e..cmdHa|ndle;...|
|00000520| 2f 2a 20 43 4d 44 27 73 | 20 63 6f 6d 6d 61 6e 64 |/* CMD's| command|
|00000530| 20 63 6f 64 65 20 68 61 | 6e 64 6c 65 2e 20 2a 2f | code ha|ndle. */|
|00000540| 0d 09 54 63 6c 5f 49 6e | 74 65 72 70 09 2a 69 6e |..Tcl_In|terp.*in|
|00000550| 74 65 72 70 3b 09 09 09 | 2f 2a 20 49 6e 74 65 72 |terp;...|/* Inter|
|00000560| 70 72 65 74 65 72 20 63 | 61 6c 6c 69 6e 67 20 74 |preter c|alling t|
|00000570| 68 69 73 20 58 54 43 4c | 2e 20 2a 2f 0d 09 69 6e |his XTCL|. */..in|
|00000580| 74 09 09 09 28 2a 65 76 | 61 6c 29 28 29 3b 09 09 |t...(*ev|al)();..|
|00000590| 09 2f 2a 20 43 61 6c 6c | 62 61 63 6b 20 70 72 6f |./* Call|back pro|
|000005a0| 63 65 64 75 72 65 20 28 | 43 29 20 66 6f 72 20 74 |cedure (|C) for t|
|000005b0| 63 6c 20 73 63 72 69 70 | 74 20 65 76 61 6c 75 61 |cl scrip|t evalua|
|000005c0| 74 69 6f 6e 20 2a 2f 0d | 09 4d 6f 64 61 6c 46 69 |tion */.|.ModalFi|
|000005d0| 6c 74 65 72 50 72 6f 63 | 50 74 72 09 6d 6f 64 61 |lterProc|Ptr.moda|
|000005e0| 6c 70 72 6f 63 3b 09 2f | 2a 20 52 6f 75 74 69 6e |lproc;./|* Routin|
|000005f0| 65 20 66 6f 72 20 4d 6f | 64 61 6c 44 69 61 6c 6f |e for Mo|dalDialo|
|00000600| 67 28 29 20 74 6f 20 6b | 65 65 70 20 62 61 63 6b |g() to k|eep back|
|00000610| 67 72 6f 75 6e 64 2e 20 | 2a 2f 0d 09 6c 6f 6e 67 |ground. |*/..long|
|00000620| 09 09 72 65 73 65 72 76 | 65 64 3b 0d 09 7d 20 58 |..reserv|ed;..} X|
|00000630| 54 43 4c 50 61 72 6d 42 | 6c 6b 2c 20 2a 58 54 43 |TCLParmB|lk, *XTC|
|00000640| 4c 50 42 50 74 72 3b 0d | 0d 0d 00 00 00 00 00 00 |LPBPtr;.|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00000690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006b0| 06 58 54 43 4c 2e 68 58 | 02 00 00 00 50 61 72 74 |.XTCL.hX|....Part|
|000006c0| 53 49 54 21 00 00 00 00 | 00 00 00 00 00 00 75 6f |SIT!....|......uo|
|000006d0| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 ab 97 ab 09 00 00 | 00 00 00 00 01 7e 00 00 |........|.....~..|
|00000700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 80 00 |........|........|
|00000730| 00 01 c0 00 00 03 e0 00 | 00 07 70 00 00 0e b8 00 |........|..p.....|
|00000740| 00 1d 5c 00 00 3a 2e 00 | 00 74 17 00 00 e8 0b 80 |..\..:..|.t......|
|00000750| 01 d0 05 c0 03 a0 02 e0 | 07 40 01 70 0e ff ff b8 |........|.@.p....|
|00000760| 1c 00 00 1c 3f ff ff fe | 00 00 00 00 00 00 00 00 |....?...|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000780| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007a0| 00 00 00 00 00 00 00 06 | 00 04 00 2a 00 03 01 dd |........|...*....|
|000007b0| 02 7d 00 2a 00 03 01 dd | 02 7d a7 9a f6 8f 00 00 |.}.*....|.}......|
|000007c0| 00 00 00 00 00 00 00 00 | 00 d8 01 00 00 00 01 00 |........|........|
|000007d0| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 50 8a 28 |...L...L|...2.P.(|
|000007e0| 08 16 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.......2|..MPSR..|
|000007f0| 00 0a 03 ed ff ff 00 00 | 00 00 00 50 8b c0 00 00 |........|...P....|
+--------+-------------------------+-------------------------+--------+--------+