Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CacheConfig.H

Go to the documentation of this file.
00001 // Copyright (C) 2001, Compaq Computer Corporation
00002 // 
00003 // This file is part of Vesta.
00004 // 
00005 // Vesta is free software; you can redistribute it and/or
00006 // modify it under the terms of the GNU Lesser General Public
00007 // License as published by the Free Software Foundation; either
00008 // version 2.1 of the License, or (at your option) any later version.
00009 // 
00010 // Vesta is distributed in the hope that it will be useful,
00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013 // Lesser General Public License for more details.
00014 // 
00015 // You should have received a copy of the GNU Lesser General Public
00016 // License along with Vesta; if not, write to the Free Software
00017 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00018 
00019 // Last modified on Thu Nov  8 12:36:38 EST 2001 by ken@xorian.net
00020 //      modified on Tue Feb  1 14:25:34 PST 2000 by heydon
00021 
00022 #ifndef _CACHE_CONFIG_H
00023 #define _CACHE_CONFIG_H
00024 
00025 #include <Basics.H>
00026 
00027 // Section names in Vesta configuration file
00028 extern const char *Config_CacheSection;
00029 
00030 // Required configuration values
00031 extern const Text Config_Host;            // [CacheServer]/Host
00032 extern const Text Config_Port;            // [CacheServer]/Port
00033 extern const Text Config_MDRoot;          // [CacheServer]/MetatDataRoot
00034 extern const Text Config_MDDir;           // [CacheServer]/MetaDataDir
00035 extern const Text Config_SVarsDir;        // [CacheServer]/StableVarsDir
00036 extern const Text Config_Deleting;        // [CacheServer]/Deleting
00037 extern const Text Config_HitFilter;       // [CacheServer]/HitFilter
00038 extern const Text Config_MPKsToWeed;      // [CacheServer]/MPKsToWeed
00039 extern const Text Config_SCacheDir;       // [CacheServer]/SCacheDir
00040 extern const Text Config_WeededLogDir;    // [CacheServer]/WeededLogDir
00041 extern const Text Config_CacheLogDir;     // [CacheServer]/CacheLogDir
00042 extern const Text Config_EmptyPKLogDir;   // [CacheServer]/EmptyPKLogDir
00043 extern const Text Config_GraphLogDir;     // [CacheServer]/GraphLogDir
00044 extern const Text Config_CILogDir;        // [CacheServer]/CILogDir
00045 extern const int  Config_LeaseTimeoutHrs; // [CacheServer]/LeaseTimeoutHrs
00046 
00047 // optional values
00048 extern int Config_LeaseTimeoutSpeedup;    // [CacheServer]/LeaseTimeoutSpeedup
00049 
00050 // Note: the value "Config_MDRoot" is set to "." if [CacheServer]/MetaDataRoot
00051 // is bound to the empty string in the configuration file.
00052 
00053 // Values formed from configuration values
00054 extern const Text Config_CacheMDPath;     // MDRoot/MDDir
00055 extern const Text Config_SVarsPath;       //   CacheMDPath/SVarsDir
00056 extern const Text Config_DeletingFile;    //     SVarsPath/Deleting
00057 extern const Text Config_HitFilterFile;   //     SVarsPath/HitFilter
00058 extern const Text Config_MPKsToWeedFile;  //     SVarsPath/MPKsToWeed
00059 extern const Text Config_SCachePath;      //   CacheMDPath/SCacheDir
00060 extern const Text Config_WeededLogPath;   //   CacheMDPath/WeededLogDir
00061 extern const Text Config_CacheLogPath;    //   CacheMDPath/CacheLogDir
00062 extern const Text Config_EmptyPKLogPath;  //   CacheMDPath/EmptyPKLogDir
00063 extern const Text Config_GraphLogPath;    //   CacheMDPath/GraphLogDir
00064 extern const Text Config_CILogPath;       //   CacheMDPath/CILogDir
00065 
00066 // (LeaseTimeoutHrs * 3600) / LeaseTimeoutSpeedup
00067 extern int Config_LeaseTimeoutSecs;
00068 
00069 #endif // _CACHE_CONFIG_H

Generated on Mon May 8 00:48:31 2006 for Vesta by  doxygen 1.4.2