1 | /* $Id: magics.h 51571 2014-06-07 02:28:43Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * IPRT - Internal header defining The Magic Numbers.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2007-2012 Oracle Corporation
|
---|
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 |
|
---|
27 | #ifndef ___internal_magics_h
|
---|
28 | #define ___internal_magics_h
|
---|
29 |
|
---|
30 | /** @name Magic Numbers.
|
---|
31 | * @{ */
|
---|
32 |
|
---|
33 | /** Magic number for RTAIOMGRINT::u32Magic. (Emil Erich Kaestner) */
|
---|
34 | #define RTAIOMGR_MAGIC UINT32_C(0x18990223)
|
---|
35 | /** Magic number for RTAIOMGRINTFILE::u32Magic. (Ephraim Kishon) */
|
---|
36 | #define RTAIOMGRFILE_MAGIC UINT32_C(0x19240823)
|
---|
37 | /** Magic number for RTDBGMODINT::u32Magic. (Charles Lloyd) */
|
---|
38 | #define RTDBGAS_MAGIC UINT32_C(0x19380315)
|
---|
39 | /** Magic number for RTDBGCFGINT::u32Magic. (McCoy Tyner) */
|
---|
40 | #define RTDBGCFG_MAGIC UINT32_C(0x19381211)
|
---|
41 | /** Magic number for RTDBGMODINT::u32Magic. (Keith Jarrett) */
|
---|
42 | #define RTDBGMOD_MAGIC UINT32_C(0x19450508)
|
---|
43 | /** Magic number for RTDBGMODVTIMG::u32Magic. (Jack DeJohnette) */
|
---|
44 | #define RTDBGMODVTDBG_MAGIC UINT32_C(0x19420809)
|
---|
45 | /** Magic number for RTDBGMODVTIMG::u32Magic. (Cecil McBee) */
|
---|
46 | #define RTDBGMODVTIMG_MAGIC UINT32_C(0x19350419)
|
---|
47 | /** Magic value for RTDBGKRNLINFOINT::u32Magic. (John Carmack) */
|
---|
48 | #define RTDBGKRNLINFO_MAGIC UINT32_C(0x19700820)
|
---|
49 | /** The value of RTDIR::u32Magic. (Michael Ende) */
|
---|
50 | #define RTDIR_MAGIC UINT32_C(0x19291112)
|
---|
51 | /** The value of RTDIR::u32Magic after RTDirClose(). */
|
---|
52 | #define RTDIR_MAGIC_DEAD UINT32_C(0x19950829)
|
---|
53 | /** The value of RTDVMINTERNAL::u32Magic. (Dan Brown) */
|
---|
54 | #define RTDVM_MAGIC UINT32_C(0x19640622)
|
---|
55 | /** The value of RTDVMINTERNAL::u32Magic after close. */
|
---|
56 | #define RTDVM_MAGIC_DEAD (~RTDVM_MAGIC)
|
---|
57 | /** The value of RTDVMVOLUMEINTERNAL::u32Magic. (Daniel Defoe) */
|
---|
58 | #define RTDVMVOLUME_MAGIC UINT32_C(0x16591961)
|
---|
59 | /** The value of RTDVMVOLUMEINTERNAL::u32Magic after close. */
|
---|
60 | #define RTDVMVOLUME_MAGIC_DEAD UINT32_C(0x17310424)
|
---|
61 | /** The value of RTFILEAIOCTXINT::u32Magic. (Howard Phillips Lovecraft) */
|
---|
62 | #define RTFILEAIOCTX_MAGIC UINT32_C(0x18900820)
|
---|
63 | /** The value of RTFILEAIOCTXINT::u32Magic after RTFileAioCtxDestroy(). */
|
---|
64 | #define RTFILEAIOCTX_MAGIC_DEAD UINT32_C(0x19370315)
|
---|
65 | /** The value of RTFILEAIOREQINT::u32Magic. (Stephen Edwin King) */
|
---|
66 | #define RTFILEAIOREQ_MAGIC UINT32_C(0x19470921)
|
---|
67 | /** The value of RTENVINTERNAL::u32Magic. (Rumiko Takahashi) */
|
---|
68 | #define RTENV_MAGIC UINT32_C(0x19571010)
|
---|
69 | /** The value of RTERRVARS::ai32Vars[0]. (Ryuichi Sakamoto) */
|
---|
70 | #define RTERRVARS_MAGIC UINT32_C(0x19520117)
|
---|
71 | /** Magic number for RTHANDLETABLEINT::u32Magic. (Hitomi Kanehara) */
|
---|
72 | #define RTHANDLETABLE_MAGIC UINT32_C(0x19830808)
|
---|
73 | /** Magic number for RTHEAPOFFSETINTERNAL::u32Magic. (Neal Town Stephenson) */
|
---|
74 | #define RTHEAPOFFSET_MAGIC UINT32_C(0x19591031)
|
---|
75 | /** Magic number for RTHEAPSIMPLEINTERNAL::uMagic. (Kyoichi Katayama) */
|
---|
76 | #define RTHEAPSIMPLE_MAGIC UINT32_C(0x19590105)
|
---|
77 | /** The magic value for RTHTTPINTERNAL::u32Magic. (Karl May) */
|
---|
78 | #define RTHTTP_MAGIC UINT32_C(0x18420225)
|
---|
79 | /** The value of RTHTTPINTERNAL::u32Magic after close. */
|
---|
80 | #define RTHTTP_MAGIC_DEAD UINT32_C(0x19120330)
|
---|
81 | /** The magic value for RTLDRMODINTERNAL::u32Magic. (Alan Moore) */
|
---|
82 | #define RTLDRMOD_MAGIC UINT32_C(0x19531118)
|
---|
83 | /** The magic value for RTLOCALIPCSERVER::u32Magic. (Naoki Yamamoto) */
|
---|
84 | #define RTLOCALIPCSERVER_MAGIC UINT32_C(0x19600201)
|
---|
85 | /** The magic value for RTLOCALIPCSERVER::u32Magic. (Katsuhiro Otomo) */
|
---|
86 | #define RTLOCALIPCSESSION_MAGIC UINT32_C(0x19530414)
|
---|
87 | /** The magic value for RTLOCKVALCLASSINT::u32Magic. (Thomas Mann) */
|
---|
88 | #define RTLOCKVALCLASS_MAGIC UINT32_C(0x18750605)
|
---|
89 | /** The magic value for RTLOCKVALCLASSINT::u32Magic after destruction. */
|
---|
90 | #define RTLOCKVALCLASS_MAGIC_DEAD UINT32_C(0x19550812)
|
---|
91 | /** The magic value for RTLOCKVALRECEXCL::u32Magic. (Vladimir Vladimirovich Nabokov) */
|
---|
92 | #define RTLOCKVALRECEXCL_MAGIC UINT32_C(0x18990422)
|
---|
93 | /** The dead magic value for RTLOCKVALRECEXCL::u32Magic. */
|
---|
94 | #define RTLOCKVALRECEXCL_MAGIC_DEAD UINT32_C(0x19770702)
|
---|
95 | /** The magic value for RTLOCKVALRECSHRD::u32Magic. (Agnar Mykle) */
|
---|
96 | #define RTLOCKVALRECSHRD_MAGIC UINT32_C(0x19150808)
|
---|
97 | /** The magic value for RTLOCKVALRECSHRD::u32Magic after deletion. */
|
---|
98 | #define RTLOCKVALRECSHRD_MAGIC_DEAD UINT32_C(0x19940115)
|
---|
99 | /** The magic value for RTLOCKVALRECSHRDOWN::u32Magic. (Jens Ingvald Bjoerneboe) */
|
---|
100 | #define RTLOCKVALRECSHRDOWN_MAGIC UINT32_C(0x19201009)
|
---|
101 | /** The magic value for RTLOCKVALRECSHRDOWN::u32Magic after deletion. */
|
---|
102 | #define RTLOCKVALRECSHRDOWN_MAGIC_DEAD UINT32_C(0x19760509)
|
---|
103 | /** The magic value for RTLOCKVALRECNEST::u32Magic. (Anne Desclos) */
|
---|
104 | #define RTLOCKVALRECNEST_MAGIC UINT32_C(0x19071123)
|
---|
105 | /** The magic value for RTLOCKVALRECNEST::u32Magic after deletion. */
|
---|
106 | #define RTLOCKVALRECNEST_MAGIC_DEAD UINT32_C(0x19980427)
|
---|
107 | /** Magic number for RTMEMCACHEINT::u32Magic. (Joseph Weizenbaum) */
|
---|
108 | #define RTMEMCACHE_MAGIC UINT32_C(0x19230108)
|
---|
109 | /** Dead magic number for RTMEMCACHEINT::u32Magic. */
|
---|
110 | #define RTMEMCACHE_MAGIC_DEAD UINT32_C(0x20080305)
|
---|
111 | /** The magic value for RTMEMPOOL::u32Magic. (Jane Austin) */
|
---|
112 | #define RTMEMPOOL_MAGIC UINT32_C(0x17751216)
|
---|
113 | /** The magic value for RTMEMPOOL::u32Magic after RTMemPoolDestroy. */
|
---|
114 | #define RTMEMPOOL_MAGIC_DEAD UINT32_C(0x18170718)
|
---|
115 | /** The magic value for heap blocks. (Edgar Allan Poe) */
|
---|
116 | #define RTMEMHDR_MAGIC UINT32_C(0x18090119)
|
---|
117 | /** The magic value for heap blocks after freeing. */
|
---|
118 | #define RTMEMHDR_MAGIC_DEAD UINT32_C(0x18491007)
|
---|
119 | /** The value of RTPIPEINTERNAL::u32Magic. (Frank Schaetzing) */
|
---|
120 | #define RTPIPE_MAGIC UINT32_C(0x19570528)
|
---|
121 | /** The value of RTPOLLSETINTERNAL::u32Magic. (Ai Yazawa) */
|
---|
122 | #define RTPOLLSET_MAGIC UINT32_C(0x19670307)
|
---|
123 | /** RTR0MEMOBJ::u32Magic. (Masakazu Katsura) */
|
---|
124 | #define RTR0MEMOBJ_MAGIC UINT32_C(0x19611210)
|
---|
125 | /** RTRANDINT::u32Magic. (Alan Moore) */
|
---|
126 | #define RTRANDINT_MAGIC UINT32_C(0x19531118)
|
---|
127 | /** The value of RTREQ::u32Magic. */
|
---|
128 | #define RTREQ_MAGIC UINT32_C(0xfeed0001) /**< @todo find a value */
|
---|
129 | /** The value of RTREQ::u32Magic of a freed request. */
|
---|
130 | #define RTREQ_MAGIC_DEAD (~RTREQ_MAGIC)
|
---|
131 | /** The value of RTREQPOOLINT::u32Magic. */
|
---|
132 | #define RTREQPOOL_MAGIC UINT32_C(0xfeed0002)/**< @todo find a value */
|
---|
133 | /** The value of RTREQPOOLINT::u32Magic after destruction. */
|
---|
134 | #define RTREQPOOL_MAGIC_DEAD (~RTREQPOOL_MAGIC)
|
---|
135 | /** The value of RTREQQUEUEINT::u32Magic. */
|
---|
136 | #define RTREQQUEUE_MAGIC UINT32_C(0xfeed0003)/**< @todo find a value */
|
---|
137 | /** The value of RTREQQUEUEINT::u32Magic after destruction. */
|
---|
138 | #define RTREQQUEUE_MAGIC_DEAD (~RTREQQUEUE_MAGIC)
|
---|
139 | /** The value of RTS3::u32Magic. (Edgar Wallace) */
|
---|
140 | #define RTS3_MAGIC UINT32_C(0x18750401)
|
---|
141 | /** The value of RTS3::u32Magic after RTS3Destroy(). */
|
---|
142 | #define RTS3_MAGIC_DEAD UINT32_C(0x19320210)
|
---|
143 | /** Magic for the event semaphore structure. (Neil Gaiman) */
|
---|
144 | #define RTSEMEVENT_MAGIC UINT32_C(0x19601110)
|
---|
145 | /** Magic for the multiple release event semaphore structure. (Isaac Asimov) */
|
---|
146 | #define RTSEMEVENTMULTI_MAGIC UINT32_C(0x19200102)
|
---|
147 | /** Dead magic value for multiple release event semaphore structures. */
|
---|
148 | #define RTSEMEVENTMULTI_MAGIC_DEAD UINT32_C(0x19920406)
|
---|
149 | /** Magic value for RTSEMFASTMUTEXINTERNAL::u32Magic. (John Ronald Reuel Tolkien) */
|
---|
150 | #define RTSEMFASTMUTEX_MAGIC UINT32_C(0x18920103)
|
---|
151 | /** Dead magic value for RTSEMFASTMUTEXINTERNAL::u32Magic. */
|
---|
152 | #define RTSEMFASTMUTEX_MAGIC_DEAD UINT32_C(0x19730902)
|
---|
153 | /** Magic for the mutex semaphore structure. (Douglas Adams) */
|
---|
154 | #define RTSEMMUTEX_MAGIC UINT32_C(0x19520311)
|
---|
155 | /** Dead magic for the mutex semaphore structure. */
|
---|
156 | #define RTSEMMUTEX_MAGIC_DEAD UINT32_C(0x20010511)
|
---|
157 | /** Magic for the spinning mutex semaphore structure. (Natsume Soseki) */
|
---|
158 | #define RTSEMSPINMUTEX_MAGIC UINT32_C(0x18670209)
|
---|
159 | /** Dead magic value for RTSEMSPINMUTEXINTERNAL::u32Magic. */
|
---|
160 | #define RTSEMSPINMUTEX_MAGIC_DEAD UINT32_C(0x19161209)
|
---|
161 | /** RTSEMRWINTERNAL::u32Magic value. (Kosuke Fujishima) */
|
---|
162 | #define RTSEMRW_MAGIC UINT32_C(0x19640707)
|
---|
163 | /** RTSEMXROADSINTERNAL::u32Magic value. (Kenneth Elton "Ken" Kesey) */
|
---|
164 | #define RTSEMXROADS_MAGIC UINT32_C(0x19350917)
|
---|
165 | /** RTSEMXROADSINTERNAL::u32Magic value after RTSemXRoadsDestroy. */
|
---|
166 | #define RTSEMXROADS_MAGIC_DEAD UINT32_C(0x20011110)
|
---|
167 | /** The magic value for RTSOCKETINT::u32Magic. (Stanislaw Lem) */
|
---|
168 | #define RTSOCKET_MAGIC UINT32_C(0x19210912)
|
---|
169 | /** The magic value for RTSOCKETINT::u32Magic after destruction. */
|
---|
170 | #define RTSOCKET_MAGIC_DEAD UINT32_C(0x20060326)
|
---|
171 | /** Magic value for RTSPINLOCKINTERNAL::u32Magic. (Terry Pratchett) */
|
---|
172 | #define RTSPINLOCK_MAGIC UINT32_C(0x19480428)
|
---|
173 | /** Magic value for generic RTSPINLOCKINTERNAL::u32Magic (Georges Prosper Remi). */
|
---|
174 | #define RTSPINLOCK_GEN_MAGIC UINT32_C(0x10970522)
|
---|
175 | /** Magic value for RTSTRCACHE::u32Magic. (Sir Arthur Charles Clarke) */
|
---|
176 | #define RTSTRCACHE_MAGIC UINT32_C(0x19171216)
|
---|
177 | /** Magic value for RTSTRCACHE::u32Magic after RTStrCacheDestroy. */
|
---|
178 | #define RTSTRCACHE_MAGIC_DEAD UINT32_C(0x20080319)
|
---|
179 | /** The value of RTSTREAM::u32Magic for a valid stream. */
|
---|
180 | #define RTSTREAM_MAGIC UINT32_C(0xe44e44ee)
|
---|
181 | /** Magic value for RTTCPSERVER::u32Magic. (Jan Garbarek) */
|
---|
182 | #define RTTCPSERVER_MAGIC UINT32_C(0x19470304)
|
---|
183 | /** Magic value for RTTCPSERVER::u32Magic. (Harlan Ellison) */
|
---|
184 | #define RTUDPSERVER_MAGIC UINT32_C(0x19340527)
|
---|
185 | /** The value of RTTAR::u32Magic. (Donald Ervin Knuth) */
|
---|
186 | #define RTTAR_MAGIC UINT32_C(0x19380110)
|
---|
187 | /** The value of RTTAR::u32Magic after RTTarClose(). */
|
---|
188 | #define RTTAR_MAGIC_DEAD ~RTTAR_MAGIC
|
---|
189 | /** The value of RTTARFILE::u32Magic. (Abraham Stoker) */
|
---|
190 | #define RTTARFILE_MAGIC UINT32_C(0x18471108)
|
---|
191 | /** The value of RTTARFILE::u32Magic after RTTarFileClose(). */
|
---|
192 | #define RTTARFILE_MAGIC_DEAD UINT32_C(0x19120420)
|
---|
193 | /** RTTESTINT::u32Magic value. (Daniel Kehlmann) */
|
---|
194 | #define RTTESTINT_MAGIC UINT32_C(0x19750113)
|
---|
195 | /** RTTHREADCTXINT::u32Magic value. (Dennis MacAlistair Ritchie) */
|
---|
196 | #define RTTHREADCTXINT_MAGIC UINT32_C(0x19410909)
|
---|
197 | /** RTTHREADINT::u32Magic value. (Gilbert Keith Chesterton) */
|
---|
198 | #define RTTHREADINT_MAGIC UINT32_C(0x18740529)
|
---|
199 | /** RTTHREADINT::u32Magic value for a dead thread. */
|
---|
200 | #define RTTHREADINT_MAGIC_DEAD UINT32_C(0x19360614)
|
---|
201 | /** Magic number for timer handles. (Jared Mason Diamond) */
|
---|
202 | #define RTTIMER_MAGIC UINT32_C(0x19370910)
|
---|
203 | /** Magic number for timer low resolution handles. (Saki Hiwatari) */
|
---|
204 | #define RTTIMERLR_MAGIC UINT32_C(0x19610715)
|
---|
205 | /** Magic value of RTTRACEBUFINT::u32Magic. (George Orwell) */
|
---|
206 | #define RTTRACEBUF_MAGIC UINT32_C(0x19030625)
|
---|
207 | /** Magic value of RTTRACEBUFINT::u32Magic after the final release. */
|
---|
208 | #define RTTRACEBUF_MAGIC_DEAD UINT32_C(0x19500121)
|
---|
209 | /** The value of RTVFSOBJINTERNAL::u32Magic. (Yasunari Kawabata) */
|
---|
210 | #define RTVFSOBJ_MAGIC UINT32_C(0x18990614)
|
---|
211 | /** The value of RTVFSOBJINTERNAL::u32Magic arter close. */
|
---|
212 | #define RTVFSOBJ_MAGIC_DEAD UINT32_C(0x19720416)
|
---|
213 | /** The value of RTVFSINTERNAL::u32Magic. (Sir Kingsley William Amis) */
|
---|
214 | #define RTVFS_MAGIC UINT32_C(0x19220416)
|
---|
215 | /** The value of RTVFSINTERNAL::u32Magic after close. */
|
---|
216 | #define RTVFS_MAGIC_DEAD UINT32_C(0x19951022)
|
---|
217 | /** The value of RTVFSFSSTREAMINTERNAL::u32Magic. (William McGuire "Bill" Bryson) */
|
---|
218 | #define RTVFSFSSTREAM_MAGIC UINT32_C(0x19511208)
|
---|
219 | /** The value of RTVFSFSSTREAMINTERNAL::u32Magic after close */
|
---|
220 | #define RTVFSFSSTREAM_MAGIC_DEAD (~RTVFSFSSTREAM_MAGIC)
|
---|
221 | /** The value of RTVFSDIRINTERNAL::u32Magic. (Franklin Patrick Herbert, Jr.) */
|
---|
222 | #define RTVFSDIR_MAGIC UINT32_C(0x19201008)
|
---|
223 | /** The value of RTVFSDIRINTERNAL::u32Magic after close. */
|
---|
224 | #define RTVFSDIR_MAGIC_DEAD UINT32_C(0x19860211)
|
---|
225 | /** The value of RTVFSFILEINTERNAL::u32Magic. (Charles John Huffam Dickens) */
|
---|
226 | #define RTVFSFILE_MAGIC UINT32_C(0x18120207)
|
---|
227 | /** The value of RTVFSFILEINTERNAL::u32Magic after close. */
|
---|
228 | #define RTVFSFILE_MAGIC_DEAD UINT32_C(0x18700609)
|
---|
229 | /** The value of RTVFSIOSTREAMINTERNAL::u32Magic. (Ernest Miller Hemingway) */
|
---|
230 | #define RTVFSIOSTREAM_MAGIC UINT32_C(0x18990721)
|
---|
231 | /** The value of RTVFSIOSTREAMINTERNAL::u32Magic after close. */
|
---|
232 | #define RTVFSIOSTREAM_MAGIC_DEAD UINT32_C(0x19610702)
|
---|
233 | /** The value of RTVFSSYMLINKINTERNAL::u32Magic. (Francis Scott Key Fitzgerald) */
|
---|
234 | #define RTVFSSYMLINK_MAGIC UINT32_C(0x18960924)
|
---|
235 | /** The value of RTVFSSYMLINKINTERNAL::u32Magic after close. */
|
---|
236 | #define RTVFSSYMLINK_MAGIC_DEAD UINT32_C(0x19401221)
|
---|
237 |
|
---|
238 | /** @} */
|
---|
239 |
|
---|
240 | #endif
|
---|
241 |
|
---|