VirtualBox

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

Last change on this file since 30712 was 30712, checked in by vboxsync, 14 years ago

Build fix.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 8.8 KB
Line 
1/* $Id: magics.h 30712 2010-07-07 16:06:43Z vboxsync $ */
2/** @file
3 * IPRT - Internal header defining The Magic Numbers.
4 */
5
6/*
7 * Copyright (C) 2007-2008 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 RTDBGMODINT::u32Magic. (Charles Lloyd) */
34#define RTDBGAS_MAGIC UINT32_C(0x19380315)
35/** Magic number for RTDBGMODINT::u32Magic. (Keith Jarrett) */
36#define RTDBGMOD_MAGIC UINT32_C(0x19450508)
37/** Magic number for RTDBGMODVTIMG::u32Magic. (Jack DeJohnette) */
38#define RTDBGMODVTDBG_MAGIC UINT32_C(0x19420809)
39/** Magic number for RTDBGMODVTIMG::u32Magic. (Cecil McBee) */
40#define RTDBGMODVTIMG_MAGIC UINT32_C(0x19350419)
41/** The value of RTDIR::u32Magic. (Michael Ende) */
42#define RTDIR_MAGIC UINT32_C(0x19291112)
43/** The value of RTDIR::u32Magic after RTDirClose(). */
44#define RTDIR_MAGIC_DEAD UINT32_C(0x19950829)
45/** The value of RTFILEAIOCTXINT::u32Magic. (Howard Phillips Lovecraft) */
46#define RTFILEAIOCTX_MAGIC UINT32_C(0x18900820)
47/** The value of RTFILEAIOCTXINT::u32Magic after RTFileAioCtxDestroy(). */
48#define RTFILEAIOCTX_MAGIC_DEAD UINT32_C(0x19370315)
49/** The value of RTFILEAIOREQINT::u32Magic. (Stephen Edwin King) */
50#define RTFILEAIOREQ_MAGIC UINT32_C(0x19470921)
51/** The value of RTENVINTERNAL::u32Magic. (Rumiko Takahashi) */
52#define RTENV_MAGIC UINT32_C(0x19571010)
53/** Magic number for RTHANDLETABLEINT::u32Magic. (Hitomi Kanehara) */
54#define RTHANDLETABLE_MAGIC UINT32_C(0x19830808)
55/** Magic number for RTHEAPOFFSETINTERNAL::u32Magic. (Neal Town Stephenson) */
56#define RTHEAPOFFSET_MAGIC UINT32_C(0x19591031)
57/** Magic number for RTHEAPSIMPLEINTERNAL::uMagic. (Kyoichi Katayama) */
58#define RTHEAPSIMPLE_MAGIC UINT32_C(0x19590105)
59/** The magic value for RTLDRMODINTERNAL::u32Magic. (Alan Moore) */
60#define RTLDRMOD_MAGIC UINT32_C(0x19531118)
61/** The magic value for RTLOCALIPCSERVER::u32Magic. (Naoki Yamamoto) */
62#define RTLOCALIPCSERVER_MAGIC UINT32_C(0x19600201)
63/** The magic value for RTLOCALIPCSERVER::u32Magic. (Katsuhiro Otomo) */
64#define RTLOCALIPCSESSION_MAGIC UINT32_C(0x19530414)
65/** The magic value for RTLOCKVALCLASSINT::u32Magic. (Thomas Mann) */
66#define RTLOCKVALCLASS_MAGIC UINT32_C(0x18750605)
67/** The magic value for RTLOCKVALCLASSINT::u32Magic after destruction. */
68#define RTLOCKVALCLASS_MAGIC_DEAD UINT32_C(0x19550812)
69/** The magic value for RTLOCKVALRECEXCL::u32Magic. (Vladimir Vladimirovich Nabokov) */
70#define RTLOCKVALRECEXCL_MAGIC UINT32_C(0x18990422)
71/** The dead magic value for RTLOCKVALRECEXCL::u32Magic. */
72#define RTLOCKVALRECEXCL_MAGIC_DEAD UINT32_C(0x19770702)
73/** The magic value for RTLOCKVALRECSHRD::u32Magic. (Agnar Mykle) */
74#define RTLOCKVALRECSHRD_MAGIC UINT32_C(0x19150808)
75/** The magic value for RTLOCKVALRECSHRD::u32Magic after deletion. */
76#define RTLOCKVALRECSHRD_MAGIC_DEAD UINT32_C(0x19940115)
77/** The magic value for RTLOCKVALRECSHRDOWN::u32Magic. (Jens Ingvald Bjoerneboe) */
78#define RTLOCKVALRECSHRDOWN_MAGIC UINT32_C(0x19201009)
79/** The magic value for RTLOCKVALRECSHRDOWN::u32Magic after deletion. */
80#define RTLOCKVALRECSHRDOWN_MAGIC_DEAD UINT32_C(0x19760509)
81/** The magic value for RTLOCKVALRECNEST::u32Magic. (Anne Desclos) */
82#define RTLOCKVALRECNEST_MAGIC UINT32_C(0x19071123)
83/** The magic value for RTLOCKVALRECNEST::u32Magic after deletion. */
84#define RTLOCKVALRECNEST_MAGIC_DEAD UINT32_C(0x19980427)
85/** Magic number for RTMEMCACHEINT::u32Magic. (Joseph Weizenbaum) */
86#define RTMEMCACHE_MAGIC UINT32_C(0x19230108)
87/** Dead magic number for RTMEMCACHEINT::u32Magic. */
88#define RTMEMCACHE_MAGIC_DEAD UINT32_C(0x20080305)
89/** The magic value for RTMEMPOOL::u32Magic. (Jane Austin) */
90#define RTMEMPOOL_MAGIC UINT32_C(0x17751216)
91/** The magic value for RTMEMPOOL::u32Magic after RTMemPoolDestroy. */
92#define RTMEMPOOL_MAGIC_DEAD UINT32_C(0x18170718)
93/** The magic value for heap blocks. (Edgar Allan Poe) */
94#define RTMEMHDR_MAGIC UINT32_C(0x18090119)
95/** The value of RTPIPEINTERNAL::u32Magic. (Frank Schaetzing) */
96#define RTPIPE_MAGIC UINT32_C(0x19570528)
97/** The value of RTPOLLSETINTERNAL::u32Magic. (Ai Yazawa) */
98#define RTPOLLSET_MAGIC UINT32_C(0x19670307)
99/** RTR0MEMOBJ::u32Magic. (Masakazu Katsura) */
100#define RTR0MEMOBJ_MAGIC UINT32_C(0x19611210)
101/** RTRANDINT::u32Magic. (Alan Moore) */
102#define RTRANDINT_MAGIC UINT32_C(0x19531118)
103/** Magic for the event semaphore structure. (Neil Gaiman) */
104#define RTSEMEVENT_MAGIC UINT32_C(0x19601110)
105/** Dead magic value for event semaphore structures. */
106#define RTSEMEVENT_MAGIC_DEAD UINT32_C(0x19930517)
107/** Magic for the multiple release event semaphore structure. (Isaac Asimov) */
108#define RTSEMEVENTMULTI_MAGIC UINT32_C(0x19200102)
109/** Dead magic value for multiple release event semaphore structures. */
110#define RTSEMEVENTMULTI_MAGIC_DEAD UINT32_C(0x19920406)
111/** Magic value for RTSEMFASTMUTEXINTERNAL::u32Magic. (John Ronald Reuel Tolkien) */
112#define RTSEMFASTMUTEX_MAGIC UINT32_C(0x18920103)
113/** Dead magic value for RTSEMFASTMUTEXINTERNAL::u32Magic. */
114#define RTSEMFASTMUTEX_MAGIC_DEAD UINT32_C(0x19730902)
115/** Magic for the mutex semaphore structure. (Douglas Adams) */
116#define RTSEMMUTEX_MAGIC UINT32_C(0x19520311)
117/** Dead magic for the mutex semaphore structure. */
118#define RTSEMMUTEX_MAGIC_DEAD UINT32_C(0x20010511)
119/** Magic for the spinning mutex semaphore structure. (Natsume Soseki) */
120#define RTSEMSPINMUTEX_MAGIC UINT32_C(0x18670209)
121/** Dead magic value for RTSEMSPINMUTEXINTERNAL::u32Magic. */
122#define RTSEMSPINMUTEX_MAGIC_DEAD UINT32_C(0x19161209)
123/** RTSEMRWINTERNAL::u32Magic value. (Kosuke Fujishima) */
124#define RTSEMRW_MAGIC UINT32_C(0x19640707)
125/** RTSEMXROADSINTERNAL::u32Magic value. (Kenneth Elton "Ken" Kesey) */
126#define RTSEMXROADS_MAGIC UINT32_C(0x19350917)
127/** RTSEMXROADSINTERNAL::u32Magic value after RTSemXRoadsDestroy. */
128#define RTSEMXROADS_MAGIC_DEAD UINT32_C(0x20011110)
129/** The magic value for RTSOCKETINT::u32Magic. (Stanislaw Lem) */
130#define RTSOCKET_MAGIC UINT32_C(0x19210912)
131/** The magic value for RTSOCKETINT::u32Magic after destruction. */
132#define RTSOCKET_MAGIC_DEAD UINT32_C(0x20060326)
133/** Magic value for RTSPINLOCKINTERNAL::u32Magic. (Terry Pratchett) */
134#define RTSPINLOCK_MAGIC UINT32_C(0x19480428)
135/** Magic value for RTSTRCACHE::u32Magic. (Sir Arthur Charles Clarke) */
136#define RTSTRCACHE_MAGIC UINT32_C(0x19171216)
137/** Magic value for RTSTRCACHE::u32Magic after RTStrCacheDestroy. */
138#define RTSTRCACHE_MAGIC_DEAD UINT32_C(0x20080319)
139/** The value of RTSTREAM::u32Magic for a valid stream. */
140#define RTSTREAM_MAGIC UINT32_C(0xe44e44ee)
141/** Magic value for RTTCPSERVER::u32Magic. (Jan Garbarek) */
142#define RTTCPSERVER_MAGIC UINT32_C(0x19540304)
143/** RTTESTINT::u32Magic value. (Daniel Kehlmann) */
144#define RTTESTINT_MAGIC UINT32_C(0x19750113)
145/** RTTHREADINT::u32Magic value. (Gilbert Keith Chesterton) */
146#define RTTHREADINT_MAGIC UINT32_C(0x18740529)
147/** RTTHREADINT::u32Magic value for a dead thread. */
148#define RTTHREADINT_MAGIC_DEAD UINT32_C(0x19360614)
149/** Magic number for timer handles. (Jared Mason Diamond) */
150#define RTTIMER_MAGIC UINT32_C(0x19370910)
151/** Magic number for timer low resolution handles. (Saki Hiwatari) */
152#define RTTIMERLR_MAGIC UINT32_C(0x19610715)
153/** The value of RTS3::u32Magic. (Edgar Wallace) */
154#define RTS3_MAGIC UINT32_C(0x18750401)
155/** The value of RTS3::u32Magic after RTS3Destroy(). */
156#define RTS3_MAGIC_DEAD UINT32_C(0x19320210)
157
158/** @} */
159
160#endif
161
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