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