Changeset 11002 for trunk/FACT++


Ignore:
Timestamp:
06/10/11 23:02:05 (13 years ago)
Author:
tbretz
Message:
Added a C-wrapper around GetLocalIp.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/DimSetup.cc

    r11000 r11002  
    148148    cout << "Setting DIM_DNS_NODE=" << dns << endl;
    149149}
     150
     151extern "C"
     152{
     153    const char *GetLocalIp(const char *dns)
     154    {
     155        return Dim::GetLocalIp(dns).c_str();
     156    }
     157}
Note: See TracChangeset for help on using the changeset viewer.