e_config.h

00001 
00002 
00003 /*---------------------------------------------------------------------------
00004                                     E.S.O.
00005  ----------------------------------------------------------------------------
00006    File name    :   e_config.h
00007    Author       :   N. Devillard
00008    Created on   :   Apr 1999
00009    Language     :   ANSI C
00010                     Part of ECLIPSE library
00011    Description  :   eclipse machine configuration handling
00012  *--------------------------------------------------------------------------*/
00013 
00014 /*
00015 
00016     $Id: e_config.h,v 1.1 2003/09/03 12:50:47 amodigli Exp $
00017     $Author: amodigli $
00018     $Date: 2003/09/03 12:50:47 $
00019     $Revision: 1.1 $
00020 
00021 */
00022 
00023 #ifndef _E_CONFIG_H_
00024 #define _E_CONFIG_H_
00025 
00026 /*---------------------------------------------------------------------------
00027                                 Includes
00028  ---------------------------------------------------------------------------*/
00029 
00030 #include <stdio.h>
00031 #include <stdlib.h>
00032 
00033 #include "memory.h"
00034 
00035 /*---------------------------------------------------------------------------
00036                             Function codes
00037  ---------------------------------------------------------------------------*/
00038 
00039 /*---------------------------------------------------------------------------
00040    Function :   eclipse_readenv_config()
00041    In       :   void
00042    Out      :   error code, 0 if Ok, anything else otherwise
00043    Job      :   sets up eclipse memory config through environment variables
00044    Notice   :   the following variables are read
00045 
00046                 (see messages.h)
00047                 E_VERBOSE if set (whatever value), verbose=true
00048                 E_DEBUG   if set (whatever value), debug=true
00049 
00050                 (see memory.h)
00051                 E_MAXRAM  if set to a value, it is used for max_ram
00052                 E_MAXSWAP if set to a value, it is used for max_swap
00053                 E_TMPDIR  if set to a value, it is used for tmpdirname
00054 
00055  ---------------------------------------------------------------------------*/
00056 
00057 int eclipse_readenv_config(void);
00058 
00059 #endif

Generated on Wed Oct 26 13:08:52 2005 for SINFONI Pipeline Reference Manual by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001