VirtualBox

source: vbox/trunk/src/VBox/Runtime/include/internal/magics.h@ 73895

Last change on this file since 73895 was 73665, checked in by vboxsync, 6 years ago

IPRT,SUP,Main: Working on new crypto key handling and rsa signing. bugref:9152

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

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette