IDZEBRA  2.1.2
imalloc.h
Go to the documentation of this file.
1 /* This file is part of the Zebra server.
2  Copyright (C) Index Data
3 
4 Zebra is free software; you can redistribute it and/or modify it under
5 the terms of the GNU General Public License as published by the Free
6 Software Foundation; either version 2, or (at your option) any later
7 version.
8 
9 Zebra is distributed in the hope that it will be useful, but WITHOUT ANY
10 WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 for more details.
13 
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17 
18 */
19 
20 
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
26 void *imalloc (size_t);
27 void *icalloc (size_t);
28 void ifree (void *);
29 
30 #if MEMDEBUG
31 void imemstat (void);
32 
33 extern long alloc;
34 extern long max_alloc;
35 extern int alloc_calls;
36 extern int free_calls;
37 
38 #endif
39 
40 #ifdef __cplusplus
41 }
42 #endif
43 
44 /*
45  * Local variables:
46  * c-basic-offset: 4
47  * c-file-style: "Stroustrup"
48  * indent-tabs-mode: nil
49  * End:
50  * vim: shiftwidth=4 tabstop=8 expandtab
51  */
52 
void * icalloc(size_t)
Definition: imalloc.c:68
void * imalloc(size_t)
Definition: imalloc.c:43
void ifree(void *)
Definition: imalloc.c:93