source:
trunk/FACT++/dim_v19r20/src/util/check_dns.cxx@
10773
Last change on this file since 10773 was 10614, checked in by , 14 years ago | |
---|---|
File size: 297 bytes |
Line | |
---|---|
1 | #include <iostream> |
2 | #include <dic.hxx> |
3 | using namespace std; |
4 | |
5 | int 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.