Main Page | Modules | Data Structures | File List | Data Fields | Related Pages

dbug_mem.h

00001 /***************************************************************************
00002  * CVSID: $Id: dbug_mem.h,v 1.2 2004/08/07 15:10:47 stefanb Exp $
00003  *
00004  * dbug_mem.h : memory debugger wrapper for MNT daemon
00005  *
00006  * Copyright (C) 2004 Stefan Bambach, <sbambach@gmx.net>
00007  *
00008  * Licensed under the GNU General Public License 2.0
00009  *
00010  * This program is free software; you can redistribute it and/or modify
00011  * it under the terms of the GNU General Public License as published by
00012  * the Free Software Foundation; either version 2 of the License, or
00013  * (at your option) any later version.
00014  *
00015  * This program is distributed in the hope that it will be useful,
00016  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00017  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018  * GNU General Public License for more details.
00019  *
00020  * You should have received a copy of the GNU General Public License
00021  * along with this program; if not, write to the Free Software
00022  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00023  *
00024  **************************************************************************/
00025  
00026 #ifndef __DBUG_MEM_H__
00027 #define __DBUG_MEM_H__
00028 
00029 #ifdef MEMWATCH
00030    #include "memwatch.h"
00031 #endif
00032 
00033 #ifdef DMALLOC
00034    #include "dmalloc.h"
00035 #endif
00036 
00037 #ifdef MEMCHECK
00038    #include "memcheck.h"
00039 #endif
00040 
00041 #ifdef DEBUG
00042    #define DBUG_MEM_INIT() dbug_mem_init()
00043    #define DBUG_MEM_QUIT() dbug_mem_quit()
00044 #else
00045    #define DBUG_MEM_INIT()
00046    #define DBUG_MEM_QUIT()
00047 #endif
00048 
00049 void dbug_mem_init(void);
00050 void dbug_mem_quit(void);
00051 
00052 #endif

Generated on Wed Mar 30 13:43:26 2005 for Mntd by  doxygen 1.3.9.1