summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'device.h')
-rw-r--r--device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/device.h b/device.h
index 0968c98..4f80caa 100644
--- a/device.h
+++ b/device.h
@@ -89,6 +89,7 @@ struct device_type {
void (*dump_info)(struct device *, struct blob_buf *buf);
void (*dump_stats)(struct device *, struct blob_buf *buf);
int (*check_state)(struct device *);
+ void (*stp_init)(struct device *);
void (*free)(struct device *);
};
@@ -301,6 +302,7 @@ void device_lock(void);
void device_unlock(void);
void device_vlan_update(bool done);
+void device_stp_init(void);
int device_type_add(struct device_type *devtype);
struct device_type *device_type_get(const char *tname);