source:
trunk/FACT++/dim_v19r15/src/util/check_dns.cxx@
10345
| Last change on this file since 10345 was 10183, checked in by , 15 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.
