00001 /* $Id: meminfo.h 4518 2008-07-28 15:39:28Z henningw $* 00002 * 00003 * mem (malloc) info 00004 * 00005 * Copyright (C) 2001-2003 FhG Fokus 00006 * 00007 * This file is part of Kamailio, a free SIP server. 00008 * 00009 * Kamailio is free software; you can redistribute it and/or modify 00010 * it under the terms of the GNU General Public License as published by 00011 * the Free Software Foundation; either version 2 of the License, or 00012 * (at your option) any later version 00013 * 00014 * Kamailio is distributed in the hope that it will be useful, 00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 * GNU General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU General Public License 00020 * along with this program; if not, write to the Free Software 00021 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00022 * 00023 */ 00024 /* 00025 * History: 00026 * -------- 00027 * 2005-03-02 created (andrei) 00028 * 2006-01-05 renamed meminfo to mem_info due to name conflict on solaris 00029 */ 00030 00031 #ifndef meminfo_h 00032 #define meminfo_h 00033 00034 struct mem_info{ 00035 unsigned long total_size; 00036 unsigned long free; 00037 unsigned long used; 00038 unsigned long real_used; /*used + overhead*/ 00039 unsigned long max_used; 00040 unsigned long min_frag; 00041 unsigned long total_frags; /* total fragment no */ 00042 }; 00043 00044 #endif 00045
1.5.6