| 93 | |
| 94 | |
| 95 | void Device::AddIPAddress(const std::string &ip_address, |
| 96 | const unsigned int prefix, |
| 97 | const std::string &gateway, |
| 98 | bool ipv6) const |
| 99 | { |
| 100 | GVariant *r = proxy->Call(prxtgt, |
| 101 | "AddIPAddress", |
| 102 | g_variant_new("(susb)", |
| 103 | ip_address.c_str(), |
| 104 | prefix, |
| 105 | gateway.c_str(), |
| 106 | ipv6)); |
| 107 | if (r) |
| 108 | { |
| 109 | g_variant_unref(r); |
| 110 | } |
| 111 | } |
| 112 | |
| 113 | |
| 114 | void Device::AddNetworks(const std::vector<Network> &networks) const |
no outgoing calls
no test coverage detected