/ BBS in a Box 22
/ AMUG_22-4.ISO / Files IV / Prog / T / TinyTools-2.sit / TinyTools / StdShutDown.h ![]() | < prev | next > |
MacBinary | 1997-10-07 | 1.9 KB | [TEXT/MPS ] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
1% | dexvert | MacBinary (archive/macBinary) | fallback | Supported |
1% | dexvert | Text File (text/txt) | fallback | Supported |
100% | file | MacBinary II, inited, Tue Oct 7 03:07:24 1997, modified Tue Oct 7 03:07:24 1997, creator 'MPS ', type ASCII, 1224 bytes "StdShutDown.h" , at 0x548 428 bytes resource | default (weak) | |
99% | file | data | default | |
74% | TrID | Macintosh plain text (MacBinary) | default | |
25% | TrID | MacBinary 2 | default (weak) | |
100% | dearkID | deark: macbinary | default | |
100% | lsar | MacBinary | default |
id metadata | |
---|---|
key | value |
macFileType | [TEXT] |
macFileCreator | [MPS ] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0d 53 74 64 53 68 75 | 74 44 6f 77 6e 2e 68 00 |..StdShu|tDown.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 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 04 c8 00 | 00 01 ac b0 5f 90 2c b0 |........|...._.,.|
|00000060| 5f 90 2c 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 d8 ab 00 00 |........|........|
|00000080| 2f 2a 20 09 61 6c 6c 6f | 77 73 20 79 6f 75 20 74 |/* .allo|ws you t|
|00000090| 6f 20 69 6e 73 74 61 6c | 6c 20 72 6f 75 74 69 6e |o instal|l routin|
|000000a0| 65 73 20 74 68 61 74 20 | 77 69 6c 6c 20 62 65 20 |es that |will be |
|000000b0| 63 61 6c 6c 65 64 20 62 | 79 20 61 6e 20 45 78 69 |called b|y an Exi|
|000000c0| 74 54 6f 53 68 65 6c 6c | 0d 09 70 61 74 63 68 20 |tToShell|..patch |
|000000d0| 69 6e 73 74 61 6c 6c 65 | 64 20 62 79 20 74 68 65 |installe|d by the|
|000000e0| 20 65 6e 63 6c 6f 73 65 | 64 20 72 6f 75 74 69 6e | enclose|d routin|
|000000f0| 65 73 2e 0d 09 43 6f 70 | 79 72 69 67 68 74 20 28 |es...Cop|yright (|
|00000100| 63 29 20 31 39 39 37 20 | 62 79 20 4a 6f 68 6e 20 |c) 1997 |by John |
|00000110| 4d 6f 6e 74 62 72 69 61 | 6e 64 2e 20 20 41 6c 6c |Montbria|nd. All|
|00000120| 20 52 69 67 68 74 73 20 | 52 65 73 65 72 76 65 64 | Rights |Reserved|
|00000130| 2e 0d 09 50 65 72 6d 69 | 73 73 69 6f 6e 20 67 72 |...Permi|ssion gr|
|00000140| 61 6e 74 65 64 20 66 6f | 72 20 70 75 62 6c 69 63 |anted fo|r public|
|00000150| 20 75 73 65 2e 0d 09 44 | 69 73 74 72 69 62 75 74 | use...D|istribut|
|00000160| 65 20 66 72 65 65 6c 79 | 20 69 6e 20 61 72 65 61 |e freely| in area|
|00000170| 73 20 77 68 65 72 65 20 | 74 68 65 20 6c 61 77 73 |s where |the laws|
|00000180| 20 6f 66 20 63 6f 70 79 | 72 69 67 68 74 20 61 70 | of copy|right ap|
|00000190| 70 6c 79 2e 0d 09 55 53 | 45 20 41 54 20 59 4f 55 |ply...US|E AT YOU|
|000001a0| 52 20 4f 57 4e 20 52 49 | 53 4b 2e 0d 09 44 4f 20 |R OWN RI|SK...DO |
|000001b0| 4e 4f 54 20 44 49 53 54 | 52 49 42 55 54 45 20 4d |NOT DIST|RIBUTE M|
|000001c0| 4f 44 49 46 49 45 44 20 | 43 4f 50 49 45 53 2e 0d |ODIFIED |COPIES..|
|000001d0| 09 43 6f 6d 6d 65 6e 74 | 73 2f 71 75 65 73 74 69 |.Comment|s/questi|
|000001e0| 6f 6e 73 2f 70 6f 73 74 | 63 61 72 64 73 20 74 6f |ons/post|cards to|
|000001f0| 20 74 68 65 20 61 75 74 | 68 6f 72 20 61 74 20 74 | the aut|hor at t|
|00000200| 68 65 20 61 64 64 72 65 | 73 73 3a 0d 09 09 4a 6f |he addre|ss:...Jo|
|00000210| 68 6e 20 4d 6f 6e 74 62 | 72 69 61 6e 64 0d 09 09 |hn Montb|riand...|
|00000220| 50 2e 4f 2e 20 42 6f 78 | 2e 20 31 31 33 33 0d 09 |P.O. Box|. 1133..|
|00000230| 09 53 61 73 6b 61 74 6f | 6f 6e 20 53 61 73 6b 61 |.Saskato|on Saska|
|00000240| 74 63 68 65 77 61 6e 20 | 43 61 6e 61 64 61 0d 09 |tchewan |Canada..|
|00000250| 09 53 37 4b 20 33 4e 32 | 0d 09 6f 72 20 62 79 20 |.S7K 3N2|..or by |
|00000260| 65 6d 61 69 6c 20 61 74 | 3a 0d 09 09 74 69 6e 79 |email at|:...tiny|
|00000270| 6a 6f 68 6e 40 73 6b 2e | 73 79 6d 70 61 74 69 63 |john@sk.|sympatic|
|00000280| 6f 2e 63 61 0d 09 49 66 | 20 79 6f 75 20 77 6f 75 |o.ca..If| you wou|
|00000290| 6c 64 20 6c 69 6b 65 20 | 74 6f 20 68 61 76 65 3a |ld like |to have:|
|000002a0| 0d 09 09 74 65 63 68 6e | 69 63 61 6c 20 73 75 70 |...techn|ical sup|
|000002b0| 70 6f 72 74 20 72 65 67 | 61 72 64 69 6e 67 20 74 |port reg|arding t|
|000002c0| 68 69 73 20 66 69 6c 65 | 2c 20 73 65 6e 64 20 61 |his file|, send a|
|000002d0| 20 70 6f 73 74 63 61 72 | 64 2e 0d 09 73 65 65 20 | postcar|d...see |
|000002e0| 61 6c 73 6f 3a 0d 09 09 | 68 74 74 70 3a 2f 2f 77 |also:...|http://w|
|000002f0| 77 77 33 2e 73 6b 2e 73 | 79 6d 70 61 74 69 63 6f |ww3.sk.s|ympatico|
|00000300| 2e 63 61 2f 74 69 6e 79 | 6a 6f 68 6e 0d 2a 2f 0d |.ca/tiny|john.*/.|
|00000310| 0d 23 69 66 6e 64 65 66 | 20 5f 5f 53 54 44 53 48 |.#ifndef| __STDSH|
|00000320| 55 54 44 4f 57 4e 5f 5f | 0d 23 64 65 66 69 6e 65 |UTDOWN__|.#define|
|00000330| 20 5f 5f 53 54 44 53 48 | 55 54 44 4f 57 4e 5f 5f | __STDSH|UTDOWN__|
|00000340| 0d 0d 23 69 6e 63 6c 75 | 64 65 20 3c 54 79 70 65 |..#inclu|de <Type|
|00000350| 73 2e 68 3e 0d 0d 2f 2a | 20 74 68 65 73 65 20 72 |s.h>../*| these r|
|00000360| 6f 75 74 69 6e 65 73 20 | 69 6e 73 74 61 6c 6c 20 |outines |install |
|00000370| 61 20 70 61 74 63 68 20 | 74 6f 20 45 78 69 74 74 |a patch |to Exitt|
|00000380| 6f 53 68 65 6c 6c 28 29 | 20 61 6e 64 20 6d 61 69 |oShell()| and mai|
|00000390| 6e 74 61 69 6e 20 61 20 | 6c 69 73 74 20 6f 66 20 |ntain a |list of |
|000003a0| 72 6f 75 74 69 6e 65 73 | 0d 09 74 68 61 74 20 77 |routines|..that w|
|000003b0| 69 6c 6c 20 62 65 20 63 | 61 6c 6c 65 64 20 77 68 |ill be c|alled wh|
|000003c0| 65 6e 20 74 68 61 74 20 | 74 72 61 70 20 69 73 20 |en that |trap is |
|000003d0| 69 6e 76 6f 6c 6b 65 64 | 2e 20 20 41 73 20 45 78 |involked|. As Ex|
|000003e0| 69 74 54 6f 53 68 65 6c | 6c 28 29 20 69 73 20 70 |itToShel|l() is p|
|000003f0| 61 74 63 68 65 64 2c 0d | 09 74 68 65 73 65 20 72 |atched,.|.these r|
|00000400| 6f 75 74 69 6e 65 73 20 | 72 65 71 75 69 72 65 20 |outines |require |
|00000410| 53 79 73 74 65 6d 20 37 | 20 6f 72 20 53 79 73 74 |System 7| or Syst|
|00000420| 65 6d 20 36 20 28 77 69 | 74 68 20 4d 75 6c 74 69 |em 6 (wi|th Multi|
|00000430| 46 69 6e 64 65 72 29 2e | 20 2a 2f 0d 0d 23 69 66 |Finder).| */..#if|
|00000440| 64 65 66 20 5f 5f 63 70 | 6c 75 73 70 6c 75 73 0d |def __cp|lusplus.|
|00000450| 65 78 74 65 72 6e 20 22 | 43 22 20 7b 20 0d 23 65 |extern "|C" { .#e|
|00000460| 6e 64 69 66 0d 0d 74 79 | 70 65 64 65 66 20 76 6f |ndif..ty|pedef vo|
|00000470| 69 64 20 28 2a 53 68 75 | 74 64 6f 77 6e 50 72 6f |id (*Shu|tdownPro|
|00000480| 63 29 28 76 6f 69 64 29 | 3b 0d 4f 53 45 72 72 20 |c)(void)|;.OSErr |
|00000490| 52 65 67 69 73 74 65 72 | 53 68 75 74 64 6f 77 6e |Register|Shutdown|
|000004a0| 50 72 6f 63 28 53 68 75 | 74 64 6f 77 6e 50 72 6f |Proc(Shu|tdownPro|
|000004b0| 63 20 70 72 6f 63 29 3b | 0d 0d 74 79 70 65 64 65 |c proc);|..typede|
|000004c0| 66 20 76 6f 69 64 20 28 | 2a 53 68 75 74 64 6f 77 |f void (|*Shutdow|
|000004d0| 6e 50 50 72 6f 63 29 28 | 6c 6f 6e 67 20 70 61 72 |nPProc)(|long par|
|000004e0| 61 6d 29 3b 0d 4f 53 45 | 72 72 20 52 65 67 69 73 |am);.OSE|rr Regis|
|000004f0| 74 65 72 53 68 75 74 64 | 6f 77 6e 50 50 72 6f 63 |terShutd|ownPProc|
|00000500| 28 53 68 75 74 64 6f 77 | 6e 50 50 72 6f 63 20 70 |(Shutdow|nPProc p|
|00000510| 72 6f 63 2c 20 6c 6f 6e | 67 20 70 61 72 61 6d 29 |roc, lon|g param)|
|00000520| 3b 0d 0d 23 69 66 64 65 | 66 20 5f 5f 63 70 6c 75 |;..#ifde|f __cplu|
|00000530| 73 70 6c 75 73 0d 7d 3b | 0d 23 65 6e 64 69 66 0d |splus.};|.#endif.|
|00000540| 0d 23 65 6e 64 69 66 0d | 00 00 00 00 00 00 00 00 |.#endif.|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>|
|00000590| 47 41 4d 41 00 12 10 d6 | 44 45 50 4c 00 05 11 ba |GAMA....|DEPL....|
|000005a0| 63 66 72 67 00 00 12 02 | 50 41 43 4b 00 00 12 0e |cfrg....|PACK....|
|000005b0| 0d 53 74 64 53 68 75 74 | 44 6f 77 6e 2e 68 02 00 |.StdShut|Down.h..|
|000005c0| 00 00 54 45 58 54 4d 50 | 53 20 01 00 ff ff ff ff |..TEXTMP|S ......|
|000005d0| 00 00 54 45 58 54 4d 50 | 53 20 01 00 ff ff ff ff |..TEXTMP|S ......|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 b0 1a 02 4f 00 00 | 04 c8 00 00 01 ac 12 86 |.....O..|........|
|00000600| 73 6c 64 72 00 00 12 92 | 61 75 72 6f 00 00 12 9e |sldr....|auro....|
|00000610| 4c 44 45 46 00 00 12 aa | 44 52 56 52 00 00 12 b6 |LDEF....|DRVR....|
|00000620| 73 74 72 6d 00 00 12 c2 | 70 75 72 67 00 00 12 ce |strm....|purg....|
|00000630| 53 49 43 4e 00 00 12 da | 45 4e 47 43 00 00 12 e6 |SICN....|ENGC....|
|00000640| 45 4e 47 52 00 00 12 f2 | 4d 45 4d 42 00 00 12 fe |ENGR....|MEMB....|
|00000650| 74 68 6e 67 00 00 13 0a | 50 46 53 4c 00 00 13 16 |thng....|PFSL....|
|00000660| 43 4f 44 45 00 5a 13 22 | 73 67 6d 72 00 00 17 66 |CODE.Z."|sgmr...f|
|00000670| 76 65 72 73 00 01 17 72 | e0 c0 ff ff 00 00 0c 26 |vers...r|.......&|
|00000680| 00 00 00 48 00 09 47 65 | 6e 65 76 61 00 54 44 4f |...H..Ge|neva.TDO|
|00000690| 03 df 6d f0 0d 0d 23 69 | 6e 63 6c 75 64 65 20 3c |..m...#i|nclude <|
|000006a0| 54 79 70 65 73 2e 00 03 | 00 08 00 8c 00 14 02 2d |Types...|.......-|
|000006b0| 02 36 00 8c 00 14 02 2d | 02 36 b0 5f 57 ec 00 00 |.6.....-|.6._W...|
|000006c0| 00 74 00 00 02 8d 00 00 | 00 00 01 00 00 00 00 1e |.t......|........|
|000006d0| 00 8c 00 14 02 2d 02 36 | 00 8c 00 14 02 2d 02 36 |.....-.6|.....-.6|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 03 d6 |.....n..|.n...>..|
|00000700| 71 38 26 32 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |q8&2....|.>..MPSR|
|00000710| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........|
|00000720| 03 f0 ff ff 00 00 00 4c | 03 d7 cc 74 00 00 00 00 |.......L|...t....|
|00000730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 00 00 00 00 00 | 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 |........|........|
+--------+-------------------------+-------------------------+--------+--------+