source: trunk/src/win32k/kKrnlLib/include/kKrnlLib.h

Last change on this file was 9514, checked in by bird, 23 years ago

Cleanup/Backup.

File size: 2.7 KB
Line 
1/* $Id: kKrnlLib.h,v 1.8 2002-12-16 02:25:07 bird Exp $
2 *
3 * Top level header file for kKrnlLib exports.
4 *
5 * NOTE: This there is no need to include any kLib stuff.
6 * Everything goes thru this header file.
7 *
8 * Copyright (c) 2002-2003 knut st. osmundsen <bird@anduin.net>
9 *
10 *
11 * This file is part of kKrnlLib.
12 *
13 * kKrnlLib is free software; you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation; either version 2 of the License, or
16 * (at your option) any later version.
17 *
18 * kKrnlLib is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
22 *
23 * You should have received a copy of the GNU General Public License
24 * along with kKrnlLib; if not, write to the Free Software
25 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26 *
27 */
28
29#ifndef _kKrnlLib_h_
30#define _kKrnlLib_h_
31
32
33/*******************************************************************************
34* Defined Constants And Macros *
35*******************************************************************************/
36#ifdef INCL_KKL_ALL
37 #define INCL_KKL_HEAP
38 #define INCL_KKL_SPRINTF
39 #define INCL_KKL_PRINTF
40 #define INCL_KKL_AVL
41 #define INCL_KKL_FUNC
42 #define INCL_KKL_MISC
43#endif
44
45
46/*******************************************************************************
47* Header Files *
48*******************************************************************************/
49/*
50 * Basis types and macros.
51 */
52#include <kLib/kTypes.h>
53
54
55/*
56 * Basic kernel info.
57 */
58#ifndef NO_KKL_KERNEL
59 #include "kKLkernel.h"
60#endif
61
62
63/*
64 * Standard arg stuff.
65 */
66#ifndef NO_KKL_STDARG
67 #include <kLib/kStdArg.h>
68#endif
69
70
71/*
72 * Memory allocation.
73 */
74#ifdef INCL_KKL_HEAP
75 #include "kKLmalloc.h"
76 #include "kKLrmalloc.h"
77 #include "kKLsmalloc.h"
78 #ifdef __cpluscplus
79 #include "kKLnew.h"
80 #endif
81#endif
82
83
84/*
85 * String/IO stuff.
86 */
87#ifdef INCL_KKL_SPRINTF
88 #include <kLib/kString.h>
89 #define sprintf kStrFormat
90 #define vsprintf kStrVFormat
91#endif
92// replaced by kLib/kLog.h
93//#ifdef INCL_KKL_PRINTF
94// #include "kKLprintf.h"
95//#endif
96
97
98/*
99 * Avl tree.
100 */
101#ifdef INCL_KKL_AVL
102 #include <kLib/kAVL.h>
103#endif
104
105
106/*
107 * Logging.
108 */
109#ifndef NO_KKL_LOG
110 #include <kLib/kLog.h>
111#endif
112
113
114/*
115 * Function helpers.
116 */
117#ifdef INCL_KKL_FUNC
118 #include "kKLFunc.h"
119#endif
120
121
122/*
123 * Misc.
124 */
125#ifdef INCL_KKL_MISC
126 #include <kLib/kMisc.h>
127#endif
128
129#endif
130
Note: See TracBrowser for help on using the repository browser.