*/
//---------------------------------------------------------------------------
-#include <errno.h>
-#include <string.h>
-#include <stdlib.h>
+#include <cerrno>
+#include <cstring>
+#include <cstdlib>
+
#include <fstream>
#include <algorithm>
+
#include "conffiles.h"
#include "common.h"
return e;
}
//---------------------------------------------------------------------------
-int CONFIGFILE::FindParameter(const string ¶meter, string * value) const
-{
-it = param_val.find(parameter);
-if (it == param_val.end())
- return -1;
-
-*value = param_val[parameter];
-return 0;
-}
-//---------------------------------------------------------------------------
int CONFIGFILE::Flush()
{
fstream f(fileName.c_str(), ios::out);
return 0;
}
//---------------------------------------------------------------------------
-
-