Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

kTypes.h File Reference


Detailed Description

kTypes - Typedefs And Related Constants And Macros.

Copyright (c) 2007 knut st. osmundsen <bird-src-spam@anduin.net>

This file is part of kStuff.

kStuff is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

kStuff is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with kStuff; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Definition in file kTypes.h.

#include <k/kDefs.h>

Go to the source code of this file.

Defines

#define K_FALSE   KI8_C(0)
#define K_TRUE   KI8_C(1)
#define K_UNKNOWN   KI8_C(-1)
#define KBOOL_MAX   KI8_C(1)
#define KBOOL_MIN   KI8_C(-1)
#define KBOOL_PRI   KU8_PRI
#define KFOFF_C(c)   KI64_C(c)
#define KFOFF_MAX   KI64_MAX
#define KFOFF_MIN   KI64_MIN
#define KFOFF_PRI   KI64_PRI
#define KI16_MAX   KI16_C(0x7fff)
#define KI16_MIN   (KI16_C(-0x7fff) - 1)
#define KI32_MAX   KI32_C(0x7fffffff)
#define KI32_MIN   (KI32_C(-0x7fffffff) - 1)
#define KI64_MAX   KI64_C(0x7fffffffffffffff)
#define KI64_MIN   (KI64_C(-0x7fffffffffffffff) - 1)
#define KI8_MAX   KI8_C(0x7f)
#define KI8_MIN   (KI8_C(-0x7f) - 1)
#define KU16_MAX   KU16_C(0xffff)
#define KU32_MAX   KU32_C(0xffffffff)
#define KU64_MAX   KU64_C(0xffffffffffffffff)
#define KU8_MAX   KU8_C(0xff)

Typedefs

typedef KI8 KBOOL
typedef KI64 KFOFF
typedef KFOFFPCFOFF
typedef KBOOL const * PCKBOOL
typedef KPROT const * PCKPROT
typedef KFOFFPFOFF
typedef KBOOLPKBOOL
typedef KPROTPKPROT
Forward Declarations / Handle Types.
typedef struct KLDRSEGPCKLDRSEG
typedef struct KLDRSEGPKLDRSEG
typedef struct KRDRPKRDR
typedef struct KRDR ** PPKRDR

Enumerations

enum  KPROT {
  KPROT_INVALID = 0, KPROT_NOACCESS, KPROT_READONLY, KPROT_READWRITE,
  KPROT_WRITECOPY, KPROT_EXECUTE, KPROT_EXECUTE_READ, KPROT_EXECUTE_READWRITE,
  KPROT_EXECUTE_WRITECOPY, KPROT_END, KPROT_32BIT_HACK = 0x7fffffff
}


Generated by  Doxygen 1.6.0   Back to index