diff options
author | Ewan Mellor <ewan@xensource.com> | 2007-02-26 00:07:14 +0000 |
---|---|---|
committer | Ewan Mellor <ewan@xensource.com> | 2007-02-26 00:07:14 +0000 |
commit | f8b1ed8706bf360431f7d632310b9060bffb5ecd (patch) | |
tree | 0b787c86144d2724c477fd1ff57d28fa96841a91 /tools/libxen/include | |
parent | 51b6900b84eb965c36752c9cf8d91af0c29182dd (diff) | |
download | xen-f8b1ed8706bf360431f7d632310b9060bffb5ecd.tar.gz xen-f8b1ed8706bf360431f7d632310b9060bffb5ecd.tar.bz2 xen-f8b1ed8706bf360431f7d632310b9060bffb5ecd.zip |
Remove unused network.default_{gateway,netmask}.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Diffstat (limited to 'tools/libxen/include')
-rw-r--r-- | tools/libxen/include/xen_network.h | 36 |
1 files changed, 3 insertions, 33 deletions
diff --git a/tools/libxen/include/xen_network.h b/tools/libxen/include/xen_network.h index 228c7c2ab4..f1bff0e229 100644 --- a/tools/libxen/include/xen_network.h +++ b/tools/libxen/include/xen_network.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2006, XenSource Inc. + * Copyright (c) 2006-2007, XenSource Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -26,8 +26,8 @@ /* - * The network class. - * + * The network class. + * * A virtual network. */ @@ -68,8 +68,6 @@ typedef struct xen_network_record char *name_description; struct xen_vif_record_opt_set *vifs; struct xen_pif_record_opt_set *pifs; - char *default_gateway; - char *default_netmask; } xen_network_record; /** @@ -222,20 +220,6 @@ xen_network_get_pifs(xen_session *session, struct xen_pif_set **result, xen_netw /** - * Get the default_gateway field of the given network. - */ -extern bool -xen_network_get_default_gateway(xen_session *session, char **result, xen_network network); - - -/** - * Get the default_netmask field of the given network. - */ -extern bool -xen_network_get_default_netmask(xen_session *session, char **result, xen_network network); - - -/** * Set the name/label field of the given network. */ extern bool @@ -250,20 +234,6 @@ xen_network_set_name_description(xen_session *session, xen_network network, char /** - * Set the default_gateway field of the given network. - */ -extern bool -xen_network_set_default_gateway(xen_session *session, xen_network network, char *default_gateway); - - -/** - * Set the default_netmask field of the given network. - */ -extern bool -xen_network_set_default_netmask(xen_session *session, xen_network network, char *default_netmask); - - -/** * Return a list of all the networks known to the system. */ extern bool |