summaryrefslogtreecommitdiff
path: root/include/network.h
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2011-02-23 19:23:11 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2011-02-23 19:23:11 +0100
commit908ad3490cbffce2be29ccb73f7547224aafbe31 (patch)
treea3924c81857f0ae14e5482f02270c61f5012cc96 /include/network.h
parent6e45059d17b5e0a1c60edd8187b47a1ae6941a9e (diff)
downloadconnman-908ad3490cbffce2be29ccb73f7547224aafbe31.tar.gz
connman-908ad3490cbffce2be29ccb73f7547224aafbe31.tar.bz2
connman-908ad3490cbffce2be29ccb73f7547224aafbe31.zip
network: Add IP setters
Diffstat (limited to 'include/network.h')
-rw-r--r--include/network.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/network.h b/include/network.h
index a077fde9..d898531b 100644
--- a/include/network.h
+++ b/include/network.h
@@ -95,7 +95,14 @@ void connman_network_set_ipv4_method(struct connman_network *network,
enum connman_ipconfig_method method);
void connman_network_set_ipv6_method(struct connman_network *network,
enum connman_ipconfig_method method);
-
+int connman_network_set_ipaddress(struct connman_network *network,
+ struct connman_ipaddress *ipaddress);
+int connman_network_set_nameservers(struct connman_network *network,
+ const char *nameservers);
+int connman_network_set_domain(struct connman_network *network,
+ const char *domain);
+int connman_network_set_pac(struct connman_network *network,
+ const char *pac);
int connman_network_set_name(struct connman_network *network,
const char *name);
int connman_network_set_strength(struct connman_network *network,