1 | /* $Id: magics.h 4475 2007-09-01 01:21:19Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * innotek Portable Runtime - Internal Header Defining The Magic Numbers.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2007 innotek GmbH
|
---|
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 as published by the Free Software Foundation,
|
---|
13 | * in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
|
---|
14 | * distribution. VirtualBox OSE is distributed in the hope that it will
|
---|
15 | * be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | */
|
---|
17 |
|
---|
18 | #ifndef ___internal_magics_h
|
---|
19 | #define ___internal_magics_h
|
---|
20 |
|
---|
21 | /** @name Magic Numbers.
|
---|
22 | * @{ */
|
---|
23 |
|
---|
24 | /** The value of RTENVINTERNAL::u32Magic. (Rumiko Takahashi) */
|
---|
25 | #define RTENV_MAGIC 0x19571010
|
---|
26 | /** The value of RTDIR::u32Magic. (Michael Ende) */
|
---|
27 | #define RTDIR_MAGIC 0x19291112
|
---|
28 | /** The value of RTDIR::u32Magic after RTDirClose(). */
|
---|
29 | #define RTDIR_MAGIC_DEAD 0x19950829
|
---|
30 | /** Magic number for RTHEAPSIMPLEINTERNAL::u32Magic. (Kyoichi Katayama) */
|
---|
31 | #define RTHEAPSIMPLE_MAGIC 0x19590105
|
---|
32 | /** The magic value for RTLDRMODINTERNAL::u32Magic. (Alan Moore) */
|
---|
33 | #define RTLDRMOD_MAGIC 0x19531118
|
---|
34 | /** Magic number for heap blocks. (Edgar Allan Poe) */
|
---|
35 | #define RTMEMHDR_MAGIC 0x18090119
|
---|
36 | /** RTR0MEMOBJ::u32Magic. (Masakazu Katsura) */
|
---|
37 | #define RTR0MEMOBJ_MAGIC 0x19611210
|
---|
38 | /** Magic for the event semaphore structure. (Neil Gaiman) */
|
---|
39 | #define RTSEMEVENT_MAGIC 0x19601110
|
---|
40 | /** Magic for the multiple release event semaphore structure. (Isaac Asimov) */
|
---|
41 | #define RTSEMEVENTMULTI_MAGIC 0x19200102
|
---|
42 | /** Magic value for RTSEMFASTMUTEXINTERNAL::u32Magic. (John Ronald Reuel Tolkien) */
|
---|
43 | #define RTSEMFASTMUTEX_MAGIC 0x18920102
|
---|
44 | /** Dead magic value for RTSEMFASTMUTEXINTERNAL::u32Magic. */
|
---|
45 | #define RTSEMFASTMUTEX_MAGIC_DEAD 0x19730902
|
---|
46 | /** Magic for the mutex semaphore structure. (Douglas Adams) */
|
---|
47 | #define RTSEMMUTEX_MAGIC 0x19520311
|
---|
48 | /** Dead magic for the mutex semaphore structure. */
|
---|
49 | #define RTSEMMUTEX_MAGIC_DEAD 0x20010511
|
---|
50 | /** RTSEMRWINTERNAL::u32Magic value. (Kosuke Fujishima) */
|
---|
51 | #define RTSEMRW_MAGIC 0x19640707
|
---|
52 | /** Magic value for RTSPINLOCKINTERNAL::u32Magic. (Terry Pratchett) */
|
---|
53 | #define RTSPINLOCK_MAGIC 0x19480428
|
---|
54 | /** The value of RTSTREAM::u32Magic for a valid stream. */
|
---|
55 | #define RTSTREAM_MAGIC 0xe44e44ee
|
---|
56 | /** RTTHREADINT::u32Magic value. (Gilbert Keith Chesterton) */
|
---|
57 | #define RTTHREADINT_MAGIC 0x18740529
|
---|
58 | /** RTTHREADINT::u32Magic value for a dead thread. */
|
---|
59 | #define RTTHREADINT_MAGIC_DEAD 0x19360614
|
---|
60 | /** Magic number for timer handles. (Jared Mason Diamond) */
|
---|
61 | #define RTTIMER_MAGIC 0x19370910
|
---|
62 |
|
---|
63 | /** @} */
|
---|
64 |
|
---|
65 | #endif
|
---|