netdev: New function netdev_ref().
[sliver-openvswitch.git] / lib / netdev.h
index c7f3c1d..b1cc319 100644 (file)
@@ -110,6 +110,7 @@ bool netdev_is_reserved_name(const char *name);
 
 /* Open and close. */
 int netdev_open(const char *name, const char *type, struct netdev **);
+struct netdev *netdev_ref(const struct netdev *);
 void netdev_close(struct netdev *);
 
 void netdev_parse_name(const char *netdev_name, char **name, char **type);