VirtualBox

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

Last change on this file since 7183 was 5999, checked in by vboxsync, 17 years ago

The Giant CDDL Dual-License Header Change.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.2 KB
Line 
1/* $Id: magics.h 5999 2007-12-07 15:05:06Z 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 (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/** The value of RTENVINTERNAL::u32Magic. (Rumiko Takahashi) */
34#define RTENV_MAGIC 0x19571010
35/** The value of RTDIR::u32Magic. (Michael Ende) */
36#define RTDIR_MAGIC 0x19291112
37/** The value of RTDIR::u32Magic after RTDirClose(). */
38#define RTDIR_MAGIC_DEAD 0x19950829
39/** Magic number for RTHEAPSIMPLEINTERNAL::u32Magic. (Kyoichi Katayama) */
40#define RTHEAPSIMPLE_MAGIC 0x19590105
41/** The magic value for RTLDRMODINTERNAL::u32Magic. (Alan Moore) */
42#define RTLDRMOD_MAGIC 0x19531118
43/** Magic number for heap blocks. (Edgar Allan Poe) */
44#define RTMEMHDR_MAGIC 0x18090119
45/** RTR0MEMOBJ::u32Magic. (Masakazu Katsura) */
46#define RTR0MEMOBJ_MAGIC 0x19611210
47/** Magic for the event semaphore structure. (Neil Gaiman) */
48#define RTSEMEVENT_MAGIC 0x19601110
49/** Magic for the multiple release event semaphore structure. (Isaac Asimov) */
50#define RTSEMEVENTMULTI_MAGIC 0x19200102
51/** Magic value for RTSEMFASTMUTEXINTERNAL::u32Magic. (John Ronald Reuel Tolkien) */
52#define RTSEMFASTMUTEX_MAGIC 0x18920102
53/** Dead magic value for RTSEMFASTMUTEXINTERNAL::u32Magic. */
54#define RTSEMFASTMUTEX_MAGIC_DEAD 0x19730902
55/** Magic for the mutex semaphore structure. (Douglas Adams) */
56#define RTSEMMUTEX_MAGIC 0x19520311
57/** Dead magic for the mutex semaphore structure. */
58#define RTSEMMUTEX_MAGIC_DEAD 0x20010511
59/** RTSEMRWINTERNAL::u32Magic value. (Kosuke Fujishima) */
60#define RTSEMRW_MAGIC 0x19640707
61/** Magic value for RTSPINLOCKINTERNAL::u32Magic. (Terry Pratchett) */
62#define RTSPINLOCK_MAGIC 0x19480428
63/** The value of RTSTREAM::u32Magic for a valid stream. */
64#define RTSTREAM_MAGIC 0xe44e44ee
65/** RTTHREADINT::u32Magic value. (Gilbert Keith Chesterton) */
66#define RTTHREADINT_MAGIC 0x18740529
67/** RTTHREADINT::u32Magic value for a dead thread. */
68#define RTTHREADINT_MAGIC_DEAD 0x19360614
69/** Magic number for timer handles. (Jared Mason Diamond) */
70#define RTTIMER_MAGIC 0x19370910
71
72/** @} */
73
74#endif
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