Release s3d 0.2.2
[s3d.git] / server / allocate.h
blob3aca3617174d0289264af9e6a5f61e0b590c93ab
1 /*
2 * allocate.h
4 * Copyright (C) 2006-2011 Marek Lindner <lindner_marek@yahoo.de>
5 * Copyright (C) 2006-2011 Simon Wunderlich <dotslash@packetmixer.de>
7 * This file is part of s3d, a 3d network display server.
8 * See http://s3d.berlios.de/ for more updates.
10 * s3d is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
15 * s3d is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with s3d; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25 /* this file is taken from the batman project (www.open-mesh.net/batman)
26 * to find heap corruptions... */
28 void checkIntegrity(void);
29 void checkLeak(void);
30 void *debugMalloc(unsigned int length, int tag);
31 void *debugRealloc(void *memory, unsigned int length, int tag);
32 void debugFree(void *memoryParameter);