// $Id$ /************************************************************ * The Data Acquisition Backbone Core (DABC) * ************************************************************ * Copyright (C) 2009 - * * GSI Helmholtzzentrum fuer Schwerionenforschung GmbH * * Planckstr. 1, 64291 Darmstadt, Germany * * Contact: http://dabc.gsi.de * ************************************************************ * This software can be used under the GPL license * * agreements as stated in LICENSE.txt file * * which is part of the distribution. * ************************************************************/ #include "dabc/ConfigBase.h" #include #include #include #include int main(int numc, char* args[]) { const char *configuration = nullptr; const char *workdir = nullptr; unsigned configid = 0; if(numc > 1) configuration = args[1]; dabc::ConfigBase cfg(configuration); if (!cfg.IsOk() || (cfg.GetVersion()!=2)) return 7; int cnt = 2; while (cnt