VirtualBox

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

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

Runtime/socket+udp: new socket functions needed to provide UDP as part of the runtime

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 11.6 KB
Line 
1/* $Id: magics.h 37196 2011-05-24 14:50:05Z vboxsync $ */
2/** @file
3 * IPRT - Internal header defining The Magic Numbers.
4 */
5
6/*
7 * Copyright (C) 2007-2011 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 RTDVMINTERNAL::u32Magic. (Dan Brown) */
46#define RTDVM_MAGIC UINT32_C(0x19640622)
47/** The value of RTDVMINTERNAL::u32Magic after close. */
48#define RTDVM_MAGIC_DEAD (~RTDVM_MAGIC)
49/** The value of RTDVMVOLUMEINTERNAL::u32Magic. (Daniel Defoe) */
50#define RTDVMVOLUME_MAGIC UINT32_C(0x16591961)
51/** The value of RTDVMVOLUMEINTERNAL::u32Magic after close. */
52#define RTDVMVOLUME_MAGIC_DEAD UINT32_C(0x17310424)
53/** The value of RTFILEAIOCTXINT::u32Magic. (Howard Phillips Lovecraft) */
54#define RTFILEAIOCTX_MAGIC UINT32_C(0x18900820)
55/** The value of RTFILEAIOCTXINT::u32Magic after RTFileAioCtxDestroy(). */
56#define RTFILEAIOCTX_MAGIC_DEAD UINT32_C(0x19370315)
57/** The value of RTFILEAIOREQINT::u32Magic. (Stephen Edwin King) */
58#define RTFILEAIOREQ_MAGIC UINT32_C(0x19470921)
59/** The value of RTENVINTERNAL::u32Magic. (Rumiko Takahashi) */
60#define RTENV_MAGIC UINT32_C(0x19571010)
61/** Magic number for RTHANDLETABLEINT::u32Magic. (Hitomi Kanehara) */
62#define RTHANDLETABLE_MAGIC UINT32_C(0x19830808)
63/** Magic number for RTHEAPOFFSETINTERNAL::u32Magic. (Neal Town Stephenson) */
64#define RTHEAPOFFSET_MAGIC UINT32_C(0x19591031)
65/** Magic number for RTHEAPSIMPLEINTERNAL::uMagic. (Kyoichi Katayama) */
66#define RTHEAPSIMPLE_MAGIC UINT32_C(0x19590105)
67/** The magic value for RTLDRMODINTERNAL::u32Magic. (Alan Moore) */
68#define RTLDRMOD_MAGIC UINT32_C(0x19531118)
69/** The magic value for RTLOCALIPCSERVER::u32Magic. (Naoki Yamamoto) */
70#define RTLOCALIPCSERVER_MAGIC UINT32_C(0x19600201)
71/** The magic value for RTLOCALIPCSERVER::u32Magic. (Katsuhiro Otomo) */
72#define RTLOCALIPCSESSION_MAGIC UINT32_C(0x19530414)
73/** The magic value for RTLOCKVALCLASSINT::u32Magic. (Thomas Mann) */
74#define RTLOCKVALCLASS_MAGIC UINT32_C(0x18750605)
75/** The magic value for RTLOCKVALCLASSINT::u32Magic after destruction. */
76#define RTLOCKVALCLASS_MAGIC_DEAD UINT32_C(0x19550812)
77/** The magic value for RTLOCKVALRECEXCL::u32Magic. (Vladimir Vladimirovich Nabokov) */
78#define RTLOCKVALRECEXCL_MAGIC UINT32_C(0x18990422)
79/** The dead magic value for RTLOCKVALRECEXCL::u32Magic. */
80#define RTLOCKVALRECEXCL_MAGIC_DEAD UINT32_C(0x19770702)
81/** The magic value for RTLOCKVALRECSHRD::u32Magic. (Agnar Mykle) */
82#define RTLOCKVALRECSHRD_MAGIC UINT32_C(0x19150808)
83/** The magic value for RTLOCKVALRECSHRD::u32Magic after deletion. */
84#define RTLOCKVALRECSHRD_MAGIC_DEAD UINT32_C(0x19940115)
85/** The magic value for RTLOCKVALRECSHRDOWN::u32Magic. (Jens Ingvald Bjoerneboe) */
86#define RTLOCKVALRECSHRDOWN_MAGIC UINT32_C(0x19201009)
87/** The magic value for RTLOCKVALRECSHRDOWN::u32Magic after deletion. */
88#define RTLOCKVALRECSHRDOWN_MAGIC_DEAD UINT32_C(0x19760509)
89/** The magic value for RTLOCKVALRECNEST::u32Magic. (Anne Desclos) */
90#define RTLOCKVALRECNEST_MAGIC UINT32_C(0x19071123)
91/** The magic value for RTLOCKVALRECNEST::u32Magic after deletion. */
92#define RTLOCKVALRECNEST_MAGIC_DEAD UINT32_C(0x19980427)
93/** Magic number for RTMEMCACHEINT::u32Magic. (Joseph Weizenbaum) */
94#define RTMEMCACHE_MAGIC UINT32_C(0x19230108)
95/** Dead magic number for RTMEMCACHEINT::u32Magic. */
96#define RTMEMCACHE_MAGIC_DEAD UINT32_C(0x20080305)
97/** The magic value for RTMEMPOOL::u32Magic. (Jane Austin) */
98#define RTMEMPOOL_MAGIC UINT32_C(0x17751216)
99/** The magic value for RTMEMPOOL::u32Magic after RTMemPoolDestroy. */
100#define RTMEMPOOL_MAGIC_DEAD UINT32_C(0x18170718)
101/** The magic value for heap blocks. (Edgar Allan Poe) */
102#define RTMEMHDR_MAGIC UINT32_C(0x18090119)
103/** The value of RTPIPEINTERNAL::u32Magic. (Frank Schaetzing) */
104#define RTPIPE_MAGIC UINT32_C(0x19570528)
105/** The value of RTPOLLSETINTERNAL::u32Magic. (Ai Yazawa) */
106#define RTPOLLSET_MAGIC UINT32_C(0x19670307)
107/** RTR0MEMOBJ::u32Magic. (Masakazu Katsura) */
108#define RTR0MEMOBJ_MAGIC UINT32_C(0x19611210)
109/** RTRANDINT::u32Magic. (Alan Moore) */
110#define RTRANDINT_MAGIC UINT32_C(0x19531118)
111/** Magic for the event semaphore structure. (Neil Gaiman) */
112#define RTSEMEVENT_MAGIC UINT32_C(0x19601110)
113/** Magic for the multiple release event semaphore structure. (Isaac Asimov) */
114#define RTSEMEVENTMULTI_MAGIC UINT32_C(0x19200102)
115/** Dead magic value for multiple release event semaphore structures. */
116#define RTSEMEVENTMULTI_MAGIC_DEAD UINT32_C(0x19920406)
117/** Magic value for RTSEMFASTMUTEXINTERNAL::u32Magic. (John Ronald Reuel Tolkien) */
118#define RTSEMFASTMUTEX_MAGIC UINT32_C(0x18920103)
119/** Dead magic value for RTSEMFASTMUTEXINTERNAL::u32Magic. */
120#define RTSEMFASTMUTEX_MAGIC_DEAD UINT32_C(0x19730902)
121/** Magic for the mutex semaphore structure. (Douglas Adams) */
122#define RTSEMMUTEX_MAGIC UINT32_C(0x19520311)
123/** Dead magic for the mutex semaphore structure. */
124#define RTSEMMUTEX_MAGIC_DEAD UINT32_C(0x20010511)
125/** Magic for the spinning mutex semaphore structure. (Natsume Soseki) */
126#define RTSEMSPINMUTEX_MAGIC UINT32_C(0x18670209)
127/** Dead magic value for RTSEMSPINMUTEXINTERNAL::u32Magic. */
128#define RTSEMSPINMUTEX_MAGIC_DEAD UINT32_C(0x19161209)
129/** RTSEMRWINTERNAL::u32Magic value. (Kosuke Fujishima) */
130#define RTSEMRW_MAGIC UINT32_C(0x19640707)
131/** RTSEMXROADSINTERNAL::u32Magic value. (Kenneth Elton "Ken" Kesey) */
132#define RTSEMXROADS_MAGIC UINT32_C(0x19350917)
133/** RTSEMXROADSINTERNAL::u32Magic value after RTSemXRoadsDestroy. */
134#define RTSEMXROADS_MAGIC_DEAD UINT32_C(0x20011110)
135/** The magic value for RTSOCKETINT::u32Magic. (Stanislaw Lem) */
136#define RTSOCKET_MAGIC UINT32_C(0x19210912)
137/** The magic value for RTSOCKETINT::u32Magic after destruction. */
138#define RTSOCKET_MAGIC_DEAD UINT32_C(0x20060326)
139/** Magic value for RTSPINLOCKINTERNAL::u32Magic. (Terry Pratchett) */
140#define RTSPINLOCK_MAGIC UINT32_C(0x19480428)
141/** Magic value for RTSTRCACHE::u32Magic. (Sir Arthur Charles Clarke) */
142#define RTSTRCACHE_MAGIC UINT32_C(0x19171216)
143/** Magic value for RTSTRCACHE::u32Magic after RTStrCacheDestroy. */
144#define RTSTRCACHE_MAGIC_DEAD UINT32_C(0x20080319)
145/** The value of RTSTREAM::u32Magic for a valid stream. */
146#define RTSTREAM_MAGIC UINT32_C(0xe44e44ee)
147/** Magic value for RTTCPSERVER::u32Magic. (Jan Garbarek) */
148#define RTTCPSERVER_MAGIC UINT32_C(0x19470304)
149/** Magic value for RTTCPSERVER::u32Magic. (Harlan Ellison) */
150#define RTUDPSERVER_MAGIC UINT32_C(0x19340527)
151/** RTTESTINT::u32Magic value. (Daniel Kehlmann) */
152#define RTTESTINT_MAGIC UINT32_C(0x19750113)
153/** RTTHREADINT::u32Magic value. (Gilbert Keith Chesterton) */
154#define RTTHREADINT_MAGIC UINT32_C(0x18740529)
155/** RTTHREADINT::u32Magic value for a dead thread. */
156#define RTTHREADINT_MAGIC_DEAD UINT32_C(0x19360614)
157/** Magic number for timer handles. (Jared Mason Diamond) */
158#define RTTIMER_MAGIC UINT32_C(0x19370910)
159/** Magic number for timer low resolution handles. (Saki Hiwatari) */
160#define RTTIMERLR_MAGIC UINT32_C(0x19610715)
161/** The value of RTS3::u32Magic. (Edgar Wallace) */
162#define RTS3_MAGIC UINT32_C(0x18750401)
163/** The value of RTS3::u32Magic after RTS3Destroy(). */
164#define RTS3_MAGIC_DEAD UINT32_C(0x19320210)
165/** The value of RTTAR::u32Magic. (Donald Ervin Knuth) */
166#define RTTAR_MAGIC UINT32_C(0x19380110)
167/** The value of RTTAR::u32Magic after RTTarClose(). */
168#define RTTAR_MAGIC_DEAD ~RTTAR_MAGIC
169/** The value of RTTARFILE::u32Magic. (Abraham Stoker) */
170#define RTTARFILE_MAGIC UINT32_C(0x18471108)
171/** The value of RTTARFILE::u32Magic after RTTarFileClose(). */
172#define RTTARFILE_MAGIC_DEAD UINT32_C(0x19120420)
173/** The value of RTVFSOBJINTERNAL::u32Magic. (Yasunari Kawabata) */
174#define RTVFSOBJ_MAGIC UINT32_C(0x18990614)
175/** The value of RTVFSOBJINTERNAL::u32Magic arter close. */
176#define RTVFSOBJ_MAGIC_DEAD UINT32_C(0x19720416)
177/** The value of RTVFSINTERNAL::u32Magic. (Sir Kingsley William Amis) */
178#define RTVFS_MAGIC UINT32_C(0x19220416)
179/** The value of RTVFSINTERNAL::u32Magic after close. */
180#define RTVFS_MAGIC_DEAD UINT32_C(0x19951022)
181/** The value of RTVFSFSSTREAMINTERNAL::u32Magic. (William McGuire "Bill" Bryson) */
182#define RTVFSFSSTREAM_MAGIC UINT32_C(0x19511208)
183/** The value of RTVFSFSSTREAMINTERNAL::u32Magic after close */
184#define RTVFSFSSTREAM_MAGIC_DEAD (~RTVFSFSSTREAM_MAGIC)
185/** The value of RTVFSDIRINTERNAL::u32Magic. (Franklin Patrick Herbert, Jr.) */
186#define RTVFSDIR_MAGIC UINT32_C(0x19201008)
187/** The value of RTVFSDIRINTERNAL::u32Magic after close. */
188#define RTVFSDIR_MAGIC_DEAD UINT32_C(0x19860211)
189/** The value of RTVFSFILEINTERNAL::u32Magic. (Charles John Huffam Dickens) */
190#define RTVFSFILE_MAGIC UINT32_C(0x18120207)
191/** The value of RTVFSFILEINTERNAL::u32Magic after close. */
192#define RTVFSFILE_MAGIC_DEAD UINT32_C(0x18700609)
193/** The value of RTVFSIOSTREAMINTERNAL::u32Magic. (Ernest Miller Hemingway) */
194#define RTVFSIOSTREAM_MAGIC UINT32_C(0x18990721)
195/** The value of RTVFSIOSTREAMINTERNAL::u32Magic after close. */
196#define RTVFSIOSTREAM_MAGIC_DEAD UINT32_C(0x19610702)
197/** The value of RTVFSSYMLINKINTERNAL::u32Magic. (Francis Scott Key Fitzgerald) */
198#define RTVFSSYMLINK_MAGIC UINT32_C(0x18960924)
199/** The value of RTVFSSYMLINKINTERNAL::u32Magic after close. */
200#define RTVFSSYMLINK_MAGIC_DEAD UINT32_C(0x19401221)
201
202/** @} */
203
204#endif
205
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