Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

iniaux.hh File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Functions

int iniAux (const char *filename)


Function Documentation

int iniAux const char *    filename
 

Definition at line 180 of file iniaux.cc.

Referenced by EMC_AUX_MODULE::INIT().

00181 {
00182   int retval = 0;
00183 
00184   auxInifile = new INIFILE;
00185 
00186   if (-1 == auxInifile->open(filename))
00187     {
00188       return -1;
00189     }
00190 
00191   // load aux values
00192   if (0 != loadAux())
00193     {
00194       retval = -1;
00195     }
00196 
00197   // close the inifile
00198   auxInifile->close();
00199   delete auxInifile;
00200 
00201   return retval;
00202 }


Generated on Sun Dec 2 15:28:05 2001 for EMC by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001