00001 /* 00002 ** Copyright 2005 - INL 00003 ** Written by Eric Leblond <regit@inl.fr> 00004 ** Vincent Deffontaines <vincent@inl.fr> 00005 ** INL http://www.inl.fr/ 00006 ** 00007 ** $Id: proc.h 4847 2008-06-13 14:48:31Z regit $ 00008 ** 00009 ** This program 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, version 3 of the License. 00012 ** 00013 ** This program is distributed in the hope that it will be useful, 00014 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 ** GNU General Public License for more details. 00017 ** 00018 ** You should have received a copy of the GNU General Public License 00019 ** along with this program; if not, write to the Free Software 00020 ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00021 */ 00022 00023 00024 #ifndef PROC_H 00025 #define PROC_H 00026 00027 #define PROGNAME_WIDTH 64 00028 #define PROGNAME_BASE64_WIDTH (PROGNAME_WIDTH*2) 00029 00030 #ifdef LINUX 00031 00032 #define PRG_HASH_SIZE 211 00033 00034 int prg_cache_loaded; 00035 00036 00037 void prg_cache_load(void); 00038 const char *prg_cache_get(unsigned long inode); 00039 void prg_cache_clear(void); 00040 #endif 00041 00042 #endif
1.4.7