diff options
author | Ben Pfaff <blp@nicira.com> | 2011-05-09 09:33:02 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2011-05-11 12:26:08 -0700 |
commit | f79e673f3d3f429cd213043b054c904d23c7151a (patch) | |
tree | 7e5a79e22da026c67e650139aa356c94d450b377 /lib/dpif.h | |
parent | 892815f564700501888139823ad282355a691e10 (diff) |
ofproto: Complete abstraction by adding enumeration and deletion functions.
This eliminates the final reference from bridge.c directly into the dpif
layer, which will make it easier to change the implementation of ofproto
to support other lower layers.
Diffstat (limited to 'lib/dpif.h')
-rw-r--r-- | lib/dpif.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -40,6 +40,7 @@ struct dpif_class; int dp_register_provider(const struct dpif_class *); int dp_unregister_provider(const char *type); void dp_enumerate_types(struct sset *types); +const char *dpif_normalize_type(const char *); int dp_enumerate_names(const char *type, struct sset *names); void dp_parse_name(const char *datapath_name, char **name, char **type); @@ -55,8 +56,6 @@ void dpif_wait(struct dpif *); const char *dpif_name(const struct dpif *); const char *dpif_base_name(const struct dpif *); -const char *dpif_normalize_type(const char *); - int dpif_delete(struct dpif *); int dpif_get_dp_stats(const struct dpif *, struct odp_stats *); |