1 | /* $Id: magics.h 25491 2009-12-18 15:20:48Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * IPRT - Internal header defining The Magic Numbers.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2007-2008 Sun Microsystems, Inc.
|
---|
8 | *
|
---|
9 | * This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | * available from http://www.virtualbox.org. This file is free software;
|
---|
11 | * you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | * General Public License (GPL) as published by the Free Software
|
---|
13 | * Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | *
|
---|
17 | * The contents of this file may alternatively be used under the terms
|
---|
18 | * of the Common Development and Distribution License Version 1.0
|
---|
19 | * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
|
---|
20 | * VirtualBox OSE distribution, in which case the provisions of the
|
---|
21 | * CDDL are applicable instead of those of the GPL.
|
---|
22 | *
|
---|
23 | * You may elect to license modified versions of this file under the
|
---|
24 | * terms and conditions of either the GPL or the CDDL or both.
|
---|
25 | *
|
---|
26 | * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
|
---|
27 | * Clara, CA 95054 USA or visit http://www.sun.com if you need
|
---|
28 | * additional information or have any questions.
|
---|
29 | */
|
---|
30 |
|
---|
31 | #ifndef ___internal_magics_h
|
---|
32 | #define ___internal_magics_h
|
---|
33 |
|
---|
34 | /** @name Magic Numbers.
|
---|
35 | * @{ */
|
---|
36 |
|
---|
37 | /** Magic number for RTDBGMODINT::u32Magic. (Charles Lloyd) */
|
---|
38 | #define RTDBGAS_MAGIC 0x19380315
|
---|
39 | /** Magic number for RTDBGMODINT::u32Magic. (Keith Jarrett) */
|
---|
40 | #define RTDBGMOD_MAGIC 0x19450508
|
---|
41 | /** Magic number for RTDBGMODVTIMG::u32Magic. (Jack DeJohnette) */
|
---|
42 | #define RTDBGMODVTDBG_MAGIC 0x19420809
|
---|
43 | /** Magic number for RTDBGMODVTIMG::u32Magic. (Cecil McBee) */
|
---|
44 | #define RTDBGMODVTIMG_MAGIC 0x19350419
|
---|
45 | /** The value of RTDIR::u32Magic. (Michael Ende) */
|
---|
46 | #define RTDIR_MAGIC 0x19291112
|
---|
47 | /** The value of RTDIR::u32Magic after RTDirClose(). */
|
---|
48 | #define RTDIR_MAGIC_DEAD 0x19950829
|
---|
49 | /** The value of RTFILEAIOCTXINT::u32Magic. (Howard Phillips Lovecraft) */
|
---|
50 | #define RTFILEAIOCTX_MAGIC 0x18900820
|
---|
51 | /** The value of RTFILEAIOCTXINT::u32Magic after RTFileAioCtxDestroy(). */
|
---|
52 | #define RTFILEAIOCTX_MAGIC_DEAD 0x19370315
|
---|
53 | /** The value of RTFILEAIOREQINT::u32Magic. (Stephen Edwin King) */
|
---|
54 | #define RTFILEAIOREQ_MAGIC 0x19470921
|
---|
55 | /** The value of RTENVINTERNAL::u32Magic. (Rumiko Takahashi) */
|
---|
56 | #define RTENV_MAGIC 0x19571010
|
---|
57 | /** Magic number for RTHANDLETABLEINT::u32Magic. (Hitomi Kanehara) */
|
---|
58 | #define RTHANDLETABLE_MAGIC 0x19830808
|
---|
59 | /** Magic number for RTHEAPOFFSETINTERNAL::u32Magic. (Neal Town Stephenson) */
|
---|
60 | #define RTHEAPOFFSET_MAGIC 0x19591031
|
---|
61 | /** Magic number for RTHEAPSIMPLEINTERNAL::uMagic. (Kyoichi Katayama) */
|
---|
62 | #define RTHEAPSIMPLE_MAGIC 0x19590105
|
---|
63 | /** The magic value for RTLDRMODINTERNAL::u32Magic. (Alan Moore) */
|
---|
64 | #define RTLDRMOD_MAGIC 0x19531118
|
---|
65 | /** The magic value for RTLOCALIPCSERVER::u32Magic. (Naoki Yamamoto) */
|
---|
66 | #define RTLOCALIPCSERVER_MAGIC 0x19600201
|
---|
67 | /** The magic value for RTLOCALIPCSERVER::u32Magic. (Katsuhiro Otomo) */
|
---|
68 | #define RTLOCALIPCSESSION_MAGIC 0x19530414
|
---|
69 | /** The magic value for RTLOCKVALIDATORREC::u32Magic. (Vladimir Vladimirovich Nabokov) */
|
---|
70 | #define RTLOCKVALIDATORREC_MAGIC 0x18990422
|
---|
71 | /** The dead magic value for RTLOCKVALIDATORREC::u32Magic. */
|
---|
72 | #define RTLOCKVALIDATORREC_MAGIC_DEAD 0x19770702
|
---|
73 | /** The magic value for RTLOCKVALIDATORSHARED::u32Magic. (Agnar Mykle) */
|
---|
74 | #define RTLOCKVALIDATORSHARED_MAGIC 0x19150808
|
---|
75 | /** The magic value for RTLOCKVALIDATORSHARED::u32Magic after deletion. */
|
---|
76 | #define RTLOCKVALIDATORSHARED_MAGIC_DEAD 0x19940115
|
---|
77 | /** The magic value for RTLOCKVALIDATORSHAREDONE::u32Magic. (Jens Ingvald Bjoerneboe) */
|
---|
78 | #define RTLOCKVALIDATORSHAREDONE_MAGIC 0x19201009
|
---|
79 | /** The magic value for RTLOCKVALIDATORSHAREDONE::u32Magic after deletion. */
|
---|
80 | #define RTLOCKVALIDATORSHAREDONE_MAGIC_DEAD 0x19760509
|
---|
81 | /** Magic number for RTMEMCACHEINT::u32Magic. (Joseph Weizenbaum) */
|
---|
82 | #define RTMEMCACHE_MAGIC 0x19230108
|
---|
83 | /** Dead magic number for RTMEMCACHEINT::u32Magic. */
|
---|
84 | #define RTMEMCACHE_MAGIC_DEAD 0x20080305
|
---|
85 | /** The magic value for RTMEMPOOL::u32Magic. (Jane Austin) */
|
---|
86 | #define RTMEMPOOL_MAGIC 0x17751216
|
---|
87 | /** The magic value for RTMEMPOOL::u32Magic after RTMemPoolDestroy. */
|
---|
88 | #define RTMEMPOOL_MAGIC_DEAD 0x18170718
|
---|
89 | /** Magic number for heap blocks. (Edgar Allan Poe) */
|
---|
90 | #define RTMEMHDR_MAGIC 0x18090119
|
---|
91 | /** RTR0MEMOBJ::u32Magic. (Masakazu Katsura) */
|
---|
92 | #define RTR0MEMOBJ_MAGIC 0x19611210
|
---|
93 | /** RTRANDINT::u32Magic. (Alan Moore) */
|
---|
94 | #define RTRANDINT_MAGIC 0x19531118
|
---|
95 | /** Magic for the event semaphore structure. (Neil Gaiman) */
|
---|
96 | #define RTSEMEVENT_MAGIC 0x19601110
|
---|
97 | /** Magic for the multiple release event semaphore structure. (Isaac Asimov) */
|
---|
98 | #define RTSEMEVENTMULTI_MAGIC 0x19200102
|
---|
99 | /** Magic value for RTSEMFASTMUTEXINTERNAL::u32Magic. (John Ronald Reuel Tolkien) */
|
---|
100 | #define RTSEMFASTMUTEX_MAGIC 0x18920103
|
---|
101 | /** Dead magic value for RTSEMFASTMUTEXINTERNAL::u32Magic. */
|
---|
102 | #define RTSEMFASTMUTEX_MAGIC_DEAD 0x19730902
|
---|
103 | /** Magic for the mutex semaphore structure. (Douglas Adams) */
|
---|
104 | #define RTSEMMUTEX_MAGIC 0x19520311
|
---|
105 | /** Dead magic for the mutex semaphore structure. */
|
---|
106 | #define RTSEMMUTEX_MAGIC_DEAD 0x20010511
|
---|
107 | /** Magic for the spinning mutex semaphore structure. (Natsume Soseki) */
|
---|
108 | #define RTSEMSPINMUTEX_MAGIC 0x18670209
|
---|
109 | /** Dead magic value for RTSEMSPINMUTEXINTERNAL::u32Magic. */
|
---|
110 | #define RTSEMSPINMUTEX_MAGIC_DEAD 0x19161209
|
---|
111 | /** RTSEMRWINTERNAL::u32Magic value. (Kosuke Fujishima) */
|
---|
112 | #define RTSEMRW_MAGIC 0x19640707
|
---|
113 | /** RTSEMXROADSINTERNAL::u32Magic value. (Kenneth Elton "Ken" Kesey) */
|
---|
114 | #define RTSEMXROADS_MAGIC 0x19350917
|
---|
115 | /** RTSEMXROADSINTERNAL::u32Magic value after RTSemXRoadsDestroy. */
|
---|
116 | #define RTSEMXROADS_MAGIC_DEAD 0x20011110
|
---|
117 | /** Magic value for RTSPINLOCKINTERNAL::u32Magic. (Terry Pratchett) */
|
---|
118 | #define RTSPINLOCK_MAGIC 0x19480428
|
---|
119 | /** Magic value for RTSTRCACHE::u32Magic. (Sir Arthur Charles Clarke) */
|
---|
120 | #define RTSTRCACHE_MAGIC 0x19171216
|
---|
121 | /** Magic value for RTSTRCACHE::u32Magic after RTStrCacheDestroy. */
|
---|
122 | #define RTSTRCACHE_MAGIC_DEAD 0x20080319
|
---|
123 | /** The value of RTSTREAM::u32Magic for a valid stream. */
|
---|
124 | #define RTSTREAM_MAGIC 0xe44e44ee
|
---|
125 | /** Magic value for RTTCPSERVER::u32Magic. (Jan Garbarek) */
|
---|
126 | #define RTTCPSERVER_MAGIC 0x19540304
|
---|
127 | /** RTTESTINT::u32Magic value. (Daniel Kehlmann) */
|
---|
128 | #define RTTESTINT_MAGIC 0x19750113
|
---|
129 | /** RTTHREADINT::u32Magic value. (Gilbert Keith Chesterton) */
|
---|
130 | #define RTTHREADINT_MAGIC 0x18740529
|
---|
131 | /** RTTHREADINT::u32Magic value for a dead thread. */
|
---|
132 | #define RTTHREADINT_MAGIC_DEAD 0x19360614
|
---|
133 | /** Magic number for timer handles. (Jared Mason Diamond) */
|
---|
134 | #define RTTIMER_MAGIC 0x19370910
|
---|
135 | /** Magic number for timer low resolution handles. (Saki Hiwatari) */
|
---|
136 | #define RTTIMERLR_MAGIC 0x19610715
|
---|
137 | /** The value of RTS3::u32Magic. (Edgar Wallace) */
|
---|
138 | #define RTS3_MAGIC 0x18750401
|
---|
139 | /** The value of RTS3::u32Magic after RTS3Destroy(). */
|
---|
140 | #define RTS3_MAGIC_DEAD 0x19320210
|
---|
141 |
|
---|
142 | /** @} */
|
---|
143 |
|
---|
144 | #endif
|
---|
145 |
|
---|