magics.h revision dd3b708fb52e912a0a07fab811a5427d5abf15e6
/* $Id$ */
/** @file
* IPRT - Internal header defining The Magic Numbers.
*/
/*
* Copyright (C) 2007-2012 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* General Public License (GPL) as published by the Free Software
* Foundation, in version 2 as it comes in the "COPYING" file of the
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
*
* The contents of this file may alternatively be used under the terms
* of the Common Development and Distribution License Version 1.0
* (CDDL) only, as it comes in the "COPYING.CDDL" file of the
* VirtualBox OSE distribution, in which case the provisions of the
* CDDL are applicable instead of those of the GPL.
*
* You may elect to license modified versions of this file under the
* terms and conditions of either the GPL or the CDDL or both.
*/
#ifndef ___internal_magics_h
#define ___internal_magics_h
/** @name Magic Numbers.
* @{ */
/** Magic number for RTAIOMGRINT::u32Magic. (Emil Erich Kaestner) */
/** Magic number for RTAIOMGRINTFILE::u32Magic. (Ephraim Kishon) */
/** Magic number for RTDBGMODINT::u32Magic. (Charles Lloyd) */
/** Magic number for RTDBGCFGINT::u32Magic. (McCoy Tyner) */
/** Magic number for RTDBGMODINT::u32Magic. (Keith Jarrett) */
/** Magic number for RTDBGMODVTIMG::u32Magic. (Jack DeJohnette) */
/** Magic number for RTDBGMODVTIMG::u32Magic. (Cecil McBee) */
/** Magic value for RTDBGKRNLINFOINT::u32Magic. (John Carmack) */
/** The value of RTDIR::u32Magic. (Michael Ende) */
/** The value of RTDIR::u32Magic after RTDirClose(). */
/** The value of RTDVMINTERNAL::u32Magic. (Dan Brown) */
/** The value of RTDVMINTERNAL::u32Magic after close. */
#define RTDVM_MAGIC_DEAD (~RTDVM_MAGIC)
/** The value of RTDVMVOLUMEINTERNAL::u32Magic. (Daniel Defoe) */
/** The value of RTDVMVOLUMEINTERNAL::u32Magic after close. */
/** The value of RTFILEAIOCTXINT::u32Magic. (Howard Phillips Lovecraft) */
/** The value of RTFILEAIOCTXINT::u32Magic after RTFileAioCtxDestroy(). */
/** The value of RTFILEAIOREQINT::u32Magic. (Stephen Edwin King) */
/** The value of RTENVINTERNAL::u32Magic. (Rumiko Takahashi) */
/** The value of RTERRVARS::ai32Vars[0]. (Ryuichi Sakamoto) */
/** Magic number for RTHANDLETABLEINT::u32Magic. (Hitomi Kanehara) */
/** Magic number for RTHEAPOFFSETINTERNAL::u32Magic. (Neal Town Stephenson) */
/** Magic number for RTHEAPSIMPLEINTERNAL::uMagic. (Kyoichi Katayama) */
/** The magic value for RTHTTPINTERNAL::u32Magic. (Karl May) */
/** The value of RTHTTPINTERNAL::u32Magic after close. */
/** The magic value for RTLDRMODINTERNAL::u32Magic. (Alan Moore) */
/** The magic value for RTLOCALIPCSERVER::u32Magic. (Naoki Yamamoto) */
/** The magic value for RTLOCALIPCSERVER::u32Magic. (Katsuhiro Otomo) */
/** The magic value for RTLOCKVALCLASSINT::u32Magic. (Thomas Mann) */
/** The magic value for RTLOCKVALCLASSINT::u32Magic after destruction. */
/** The magic value for RTLOCKVALRECEXCL::u32Magic. (Vladimir Vladimirovich Nabokov) */
/** The dead magic value for RTLOCKVALRECEXCL::u32Magic. */
/** The magic value for RTLOCKVALRECSHRD::u32Magic. (Agnar Mykle) */
/** The magic value for RTLOCKVALRECSHRD::u32Magic after deletion. */
/** The magic value for RTLOCKVALRECSHRDOWN::u32Magic. (Jens Ingvald Bjoerneboe) */
/** The magic value for RTLOCKVALRECSHRDOWN::u32Magic after deletion. */
/** The magic value for RTLOCKVALRECNEST::u32Magic. (Anne Desclos) */
/** The magic value for RTLOCKVALRECNEST::u32Magic after deletion. */
/** Magic number for RTMEMCACHEINT::u32Magic. (Joseph Weizenbaum) */
/** Dead magic number for RTMEMCACHEINT::u32Magic. */
/** The magic value for RTMEMPOOL::u32Magic. (Jane Austin) */
/** The magic value for RTMEMPOOL::u32Magic after RTMemPoolDestroy. */
/** The magic value for heap blocks. (Edgar Allan Poe) */
/** The magic value for heap blocks after freeing. */
/** The value of RTPIPEINTERNAL::u32Magic. (Frank Schaetzing) */
/** The value of RTPOLLSETINTERNAL::u32Magic. (Ai Yazawa) */
/** RTR0MEMOBJ::u32Magic. (Masakazu Katsura) */
/** RTRANDINT::u32Magic. (Alan Moore) */
/** The value of RTREQ::u32Magic. */
/** The value of RTREQ::u32Magic of a freed request. */
#define RTREQ_MAGIC_DEAD (~RTREQ_MAGIC)
/** The value of RTREQPOOLINT::u32Magic. */
/** The value of RTREQPOOLINT::u32Magic after destruction. */
#define RTREQPOOL_MAGIC_DEAD (~RTREQPOOL_MAGIC)
/** The value of RTREQQUEUEINT::u32Magic. */
/** The value of RTREQQUEUEINT::u32Magic after destruction. */
#define RTREQQUEUE_MAGIC_DEAD (~RTREQQUEUE_MAGIC)
/** The value of RTS3::u32Magic. (Edgar Wallace) */
/** The value of RTS3::u32Magic after RTS3Destroy(). */
/** Magic for the event semaphore structure. (Neil Gaiman) */
/** Magic for the multiple release event semaphore structure. (Isaac Asimov) */
/** Dead magic value for multiple release event semaphore structures. */
/** Magic value for RTSEMFASTMUTEXINTERNAL::u32Magic. (John Ronald Reuel Tolkien) */
/** Dead magic value for RTSEMFASTMUTEXINTERNAL::u32Magic. */
/** Magic for the mutex semaphore structure. (Douglas Adams) */
/** Dead magic for the mutex semaphore structure. */
/** Magic for the spinning mutex semaphore structure. (Natsume Soseki) */
/** Dead magic value for RTSEMSPINMUTEXINTERNAL::u32Magic. */
/** RTSEMRWINTERNAL::u32Magic value. (Kosuke Fujishima) */
/** RTSEMXROADSINTERNAL::u32Magic value. (Kenneth Elton "Ken" Kesey) */
/** RTSEMXROADSINTERNAL::u32Magic value after RTSemXRoadsDestroy. */
/** The magic value for RTSOCKETINT::u32Magic. (Stanislaw Lem) */
/** The magic value for RTSOCKETINT::u32Magic after destruction. */
/** Magic value for RTSPINLOCKINTERNAL::u32Magic. (Terry Pratchett) */
/** Magic value for RTSTRCACHE::u32Magic. (Sir Arthur Charles Clarke) */
/** Magic value for RTSTRCACHE::u32Magic after RTStrCacheDestroy. */
/** The value of RTSTREAM::u32Magic for a valid stream. */
/** Magic value for RTTCPSERVER::u32Magic. (Jan Garbarek) */
/** Magic value for RTTCPSERVER::u32Magic. (Harlan Ellison) */
/** The value of RTTAR::u32Magic. (Donald Ervin Knuth) */
/** The value of RTTAR::u32Magic after RTTarClose(). */
#define RTTAR_MAGIC_DEAD ~RTTAR_MAGIC
/** The value of RTTARFILE::u32Magic. (Abraham Stoker) */
/** The value of RTTARFILE::u32Magic after RTTarFileClose(). */
/** RTTESTINT::u32Magic value. (Daniel Kehlmann) */
/** RTTHREADINT::u32Magic value. (Gilbert Keith Chesterton) */
/** RTTHREADINT::u32Magic value for a dead thread. */
/** Magic number for timer handles. (Jared Mason Diamond) */
/** Magic number for timer low resolution handles. (Saki Hiwatari) */
/** Magic value of RTTRACEBUFINT::u32Magic. (George Orwell) */
/** Magic value of RTTRACEBUFINT::u32Magic after the final release. */
/** The value of RTVFSOBJINTERNAL::u32Magic. (Yasunari Kawabata) */
/** The value of RTVFSOBJINTERNAL::u32Magic arter close. */
/** The value of RTVFSINTERNAL::u32Magic. (Sir Kingsley William Amis) */
/** The value of RTVFSINTERNAL::u32Magic after close. */
/** The value of RTVFSFSSTREAMINTERNAL::u32Magic. (William McGuire "Bill" Bryson) */
/** The value of RTVFSFSSTREAMINTERNAL::u32Magic after close */
#define RTVFSFSSTREAM_MAGIC_DEAD (~RTVFSFSSTREAM_MAGIC)
/** The value of RTVFSDIRINTERNAL::u32Magic. (Franklin Patrick Herbert, Jr.) */
/** The value of RTVFSDIRINTERNAL::u32Magic after close. */
/** The value of RTVFSFILEINTERNAL::u32Magic. (Charles John Huffam Dickens) */
/** The value of RTVFSFILEINTERNAL::u32Magic after close. */
/** The value of RTVFSIOSTREAMINTERNAL::u32Magic. (Ernest Miller Hemingway) */
/** The value of RTVFSIOSTREAMINTERNAL::u32Magic after close. */
/** The value of RTVFSSYMLINKINTERNAL::u32Magic. (Francis Scott Key Fitzgerald) */
/** The value of RTVFSSYMLINKINTERNAL::u32Magic after close. */
/** @} */
#endif