OpenVAS Libraries
4.0+rc3.SVN
|
00001 /* OpenVAS 00002 * $Id$ 00003 * Description: Memory management methods. 00004 * 00005 * Authors: 00006 * Renaud Deraison <deraison@nessus.org> (Original pre-fork development) 00007 * 00008 * Copyright: 00009 * Based on work Copyright (C) 1998 Renaud Deraison 00010 * 00011 * This library is free software; you can redistribute it and/or 00012 * modify it under the terms of the GNU Library General Public 00013 * License as published by the Free Software Foundation; either 00014 * version 2 of the License, or (at your option) any later version. 00015 * 00016 * This library is distributed in the hope that it will be useful, 00017 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00019 * Library General Public License for more details. 00020 * 00021 * You should have received a copy of the GNU General Public License 00022 * along with this program; if not, write to the Free Software 00023 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 00024 */ 00025 00026 #ifndef _LIBOPENVAS_SYSTEM_H 00027 #define _LIBOPENVAS_SYSTEM_H 00028 00029 #include <stdlib.h> 00030 00031 #ifndef HUNT_MEM_LEAKS 00032 #ifndef DMALLOC 00033 void *emalloc (size_t); 00034 char *estrdup (const char *); 00035 void efree (void *); 00036 #endif 00037 #endif 00038 size_t estrlen (const char *, size_t); 00039 00040 #endif