Main Page   Modules   Alphabetical List   Compound List   File List   Compound Members   File Members  

config.h

Go to the documentation of this file.
00001 /*  $Id: font.h,v 1.1 2000/12/02 07:26:03 dbryson Exp $
00002 **
00003 **  Copyright (c) 2000 Derry Bryson <derry@techass.com>
00004 **
00005 **  Description:
00006 **  
00007 **    Postscript Library
00008 **
00009 **
00010 **  License:
00011 **
00012 **    This library is free software; you can redistribute it and/or
00013 **    modify it under the terms of the GNU Lesser General Public
00014 **    License as published by the Free Software Foundation; either
00015 **    version 2.1 of the License, or (at your option) any later version.
00016 **
00017 **    This library is distributed in the hope that it will be useful,
00018 **    but WITHOUT ANY WARRANTY; without even the implied warranty of
00019 **    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00020 **    Lesser General Public License for more details.
00021 **
00022 **    You should have received a copy of the GNU Lesser General Public
00023 **    License along with this library; if not, write to the Free Software
00024 **    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00025 **
00026 **
00027 **  Contact:
00028 **
00029 **      Mail:
00030 **
00031 **        Technology Associates, Inc.
00032 **        LIBPS Project
00033 **        1455 Deming Way #11
00034 **        Sparks, NV  89431
00035 **        USA
00036 **
00037 **      Email:
00038 **
00039 **        libps@techass.com
00040 **
00041 **      See our website at:
00042 **
00043 **        libps.sourceforge.net
00044 **
00045 */
00046 
00051 #ifndef INCLUDE_CONFIG
00052 #define INCLUDE_CONFIG
00053 
00054 #ifdef __cplusplus
00055 extern "C" {
00056 #endif
00057 
00058 /******************************************************************************
00059 ****  DEFINES  ****************************************************************
00060 ******************************************************************************/
00061 
00062 #define PS_DEFAULT_SYSCONFIG_DIR        "/etc"
00063 #define PS_SYSCONFIG_FILENAME           "libps.config"
00064 #define PS_USERCONFIG_FILENAME          ".libps.config"
00065 #define PS_CONFIG_MAX_LINE_LEN          2048
00066 
00067 #define PS_CONFIG_FONT_SECTION          "Font"
00068 #define PS_CONFIG_FONT_PATH             "Path"
00069 
00070 /******************************************************************************
00071 ****  TYPEDEFS  ***************************************************************
00072 ******************************************************************************/
00073 
00074 /******************************************************************************
00075 ****  GLOBALS  ****************************************************************
00076 ******************************************************************************/
00077 
00078 /******************************************************************************
00079 ****  FUNCTION PROTOTYPES  ****************************************************
00080 ******************************************************************************/
00081 
00082 int psConfigGetValue(char *fileName, char *section, char *name,
00083                      char *value, char *deflt);
00084 int psConfigSetValue(char *fileName, char *section, char *name, char *value);
00085 int psConfigRead(char *sysConfDir);
00086 
00087 #ifdef __cplusplus
00088 }
00089 #endif
00090 
00091 #endif /* INCLUDE_CONFIG */

Generated at Mon Dec 11 22:46:27 2000 for Postscript Utility Library by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000