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

inilube.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 iniLube (const char *filename)


Function Documentation

int iniLube const char *    filename
 

Definition at line 175 of file inilube.cc.

Referenced by EMC_LUBE_MODULE::INIT().

00176 {
00177   int retval = 0;
00178 
00179   lubeInifile = new INIFILE;
00180 
00181   if (-1 == lubeInifile->open(filename))
00182     {
00183       return -1;
00184     }
00185 
00186   // load lube values
00187   if (0 != loadLube())
00188     {
00189       retval = -1;
00190     }
00191 
00192   // close the inifile
00193   lubeInifile->close();
00194   delete lubeInifile;
00195 
00196   return retval;
00197 }


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