X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fnetdev-provider.h;h=93b6ab87d700327c2f4b20797920861b74a3ffc5;hb=9d77f19064597afe0c2e5af73c84df57b8e9b2f5;hp=58d51d7b70ea3a9ea694a65cf2995d952c0aed72;hpb=c56d226f8d3fc7a68716be87e3d651be604213fa;p=sliver-openvswitch.git diff --git a/lib/netdev-provider.h b/lib/netdev-provider.h index 58d51d7b7..93b6ab87d 100644 --- a/lib/netdev-provider.h +++ b/lib/netdev-provider.h @@ -29,11 +29,6 @@ extern "C" { #endif -struct arg { - char *key; - char *value; -}; - /* A network device (e.g. an Ethernet device). * * This structure should be treated as opaque by network device @@ -44,8 +39,7 @@ struct netdev_dev { this device. */ int ref_cnt; /* Times this devices was opened. */ struct shash_node *node; /* Pointer to element in global map. */ - struct arg *args; /* Argument list from last config. */ - int n_args; /* Number of arguments in 'args'. */ + struct shash args; /* Argument list from last config. */ }; void netdev_dev_init(struct netdev_dev *, const char *name,