]> git.ipfire.org Git - network.git/blobdiff - src/networkd/port.h
ports: Implement destroying a port
[network.git] / src / networkd / port.h
index d89e1e0634a755080adb445e4262ffbb00b033c8..032d82c7f9cf31bc3b237770e4af0144704476ee 100644 (file)
@@ -47,6 +47,9 @@ int nw_port_create_from_config(nw_port** port, nw_daemon* daemon,
 nw_port* nw_port_ref(nw_port* port);
 nw_port* nw_port_unref(nw_port* port);
 
+int nw_port_destroy(nw_port* port);
+int __nw_port_drop_port(nw_daemon* daemon, nw_port* port, void* data);
+
 int nw_port_save(nw_port* port);
 
 const char* nw_port_name(nw_port* port);