source: trunk/src/win32k/include/rmalloc.h@ 2502

Last change on this file since 2502 was 2502, checked in by bird, 26 years ago

Temporary backup checkin. Resident heap.

File size: 1.1 KB
Line 
1/* $Id: rmalloc.h,v 1.1 2000-01-22 18:22:26 bird Exp $
2 *
3 * Resident Heap.
4 *
5 * Note: This heap does very little checking on input.
6 * Use with care! We're running at Ring-0!
7 *
8 * Copyright (c) 1999-2000 knut st. osmundsen
9 *
10 * Project Odin Software License can be found in LICENSE.TXT
11 *
12 */
13
14/* XLATOFF */
15#ifndef _RMALLOC_H_
16#define _RMALLOC_H_
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21/* XLATON */
22
23/*******************************************************************************
24* Exported Functions and Variables *
25*******************************************************************************/
26int ResHeapInit(unsigned, unsigned);
27void * rmalloc(unsigned);
28void * rrealloc(void *, unsigned);
29void rfree(void *);
30
31unsigned _res_msize(void *);
32int _res_validptr(void *);
33int _res_validptr2(void *, unsigned);
34unsigned _res_memfree(void);
35int _res_heap_check(void);
36void _res_heapmin(void);
37void _res_dump_subheaps(void);
38void _res_dump_allocated(unsigned);
39
40/* XLATOFF */
41#ifdef __cplusplus
42}
43#endif
44#endif /* _MALLOC_H_ */
45/* XLATON */
46
Note: See TracBrowser for help on using the repository browser.