source: trunk/FACT++/dim_v19r20/src/util/check_dns.cxx@ 10773

Last change on this file since 10773 was 10614, checked in by tbretz, 14 years ago
New release V19 r20
File size: 297 bytes
Line 
1#include <iostream>
2#include <dic.hxx>
3using namespace std;
4
5int main()
6{
7 int version = 0;
8 DimCurrentInfo dns("DIS_DNS/VERSION_NUMBER",10,-1);
9
10 version = dns.getInt();
11 if(version == -1)
12 cout << "DNS not running" << endl;
13 else
14 cout << "DNS running" << endl;
15 return(0);
16}
Note: See TracBrowser for help on using the repository browser.